ChangeLog

# ChangeLog for net-ftp/ftpbase
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/ChangeLog,v 1.22 2008/05/24 13:41:08 maekke Exp $

24 May 2008; Markus Meier ftpbase-0.01-r1.ebuild:
amd64 stable, bug #222151

16 May 2008; nixnut ftpbase-0.01-r1.ebuild:
Stable on ppc wrt bug 222151

16 May 2008; Markus Rothe ftpbase-0.01-r1.ebuild:
Stable on ppc64; bug #222151

15 May 2008; Jeroen Roovers ftpbase-0.01-r1.ebuild:
Stable for HPPA (bug #222151).

15 May 2008; Raúl Porcel ftpbase-0.01-r1.ebuild:
alpha/ia64/sparc/x86 stable wrt #222151

*ftpbase-0.01-r1 (14 May 2008)

14 May 2008; Diego Pettenò
+ftpbase-0.01-r1.ebuild:
add a new version that drops support for pam_stack configuration files and
just depends on virtual/pam.

25 Dec 2007; Christian Heim metadata.xml:
Removing uberlord from metadata.xml as per #199318. Assigning to
maintainer-needed.

*ftpbase-0.01 (09 Jul 2007)

09 Jul 2007; Roy Marples +ftpbase-0.01.ebuild:
Bumped for bug #184666 and keyworded ~x86-fbsd.

15 May 2007; Thilo Bangert metadata.xml:
add no-herd

06 May 2007; Marius Mauch ftpbase-0.00.ebuild:
Replacing einfo with eerror

27 Sep 2006; Roy Marples ftpbase-0.00.ebuild:
Give a newly created home dir sane ownership (root:ftp), #148748 thanks
to Sergey Borodich.

13 Apr 2006; Roy Marples ftpbase-0.00.ebuild:
Fixed up some quoting issues and remove eindent command, #129774.

05 Oct 2005; Roy Marples ftpbase-0.00.ebuild:
Use "egethome ftp" instead of greping and cuting /etc/passwd.
This allows us to work on other platforms with a minimum of fuss.

02 Oct 2005; MATSUU Takuto ftpbase-0.00.ebuild:
Stable on sh.

23 Aug 2005; Roy Marples ftpbase-0.00.ebuild:
Changed default shell from /bin/false to -1 so enewuser can pick the
correct nologin shell based on userland wrt bug #103421

31 Jul 2005; Fernando J. Pereda ftpbase-0.00.ebuild:
stable on alpha

30 Jul 2005; Rene Nussbaumer ftpbase-0.00.ebuild:
Stable on hppa. bug #100364

29 Jul 2005; Markus Rothe ftpbase-0.00.ebuild:
Stable on ppc64 (bug #100364)

29 Jul 2005; Tobias Scherbaum ftpbase-0.00.ebuild:
ppc stable, #100364

28 Jul 2005; Gustavo Zacarias ftpbase-0.00.ebuild:
Stable on sparc

27 Jul 2005; Roy Marples ftpbase-0.00.ebuild:
Stable on amd64 and x86.

*ftpbase-0.00 (28 Jun 2005)

28 Jun 2005; Roy Marples +files/ftp-pamd,
+files/ftp-pamd-include, +files/ftpusers, +metadata.xml,
+ftpbase-0.00.ebuild:
Initial ftpbase ebuild.
This is a meta-ebuild for vsftpd, proftpd and pureftp - possibly others too.
It provides a /etc/ftpusers, installs the ftp:ftp user and creates the
home directory.
Optionally it provides /etc/pam.d/ftp

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX ftp-pamd 807 RMD160 1dce921bb3045aca3f4d57f4bc70f804f49d91cb SHA1 f793dda67863e70ae943a1dc56dc094b9423cb93 SHA256 c378eaaa16ca300bb828256d68807cf6f84751ae3ef9192186cf16bef89076dc
AUX ftp-pamd-include 747 RMD160 086aa9c0e1b0f23f8792a9da32038efc1a92cf7a SHA1 b6ef4ae821e30acff6827ed6054f6467013e57c2 SHA256 b6194c655619343e5908517a50a615b1b028181ea09280ec87dea23f6c10e9a6
AUX ftpusers 407 RMD160 46a48b5ab2c51b4062b62a424bd88a244bb08445 SHA1 d814dedf066e0e2233b1c44fff2e5c4f8f66a1ef SHA256 34360cd3a4700e8c03aa08d1a5c3f217bb58b5e935950e14868f5ff8d32e52bc
EBUILD ftpbase-0.00.ebuild 2296 RMD160 7f5ec5f806e07d07ed059e116eb384e75ddddf70 SHA1 a6a79d1c06625ced2ed0cc78d19b7f57e7eaf218 SHA256 3bea086ac6e183219be377547b4844e0dd64b4c947ce011e63ee55203bd87db5
EBUILD ftpbase-0.01-r1.ebuild 2172 RMD160 4a4197cc0cb025c218e9204273968642751a0858 SHA1 acab0f29a41b26228acb8421b8483741f392be15 SHA256 3a79236655654ada9c24f715092ef3456b5a201c6e5add882be89ceeff9d2693
EBUILD ftpbase-0.01.ebuild 2307 RMD160 6e5f93d84b6a254fbbabe53a572de21e659b3276 SHA1 2578fa72e7d981139389cdc35027ec2a4825edcf SHA256 b5c49ccebc6bd967fe8e7c4ba36f39c7769f083ba84161fe1c7f2f697146351e
MISC ChangeLog 3251 RMD160 0b87e742bbc19e2f57181fb202c225d2dcad9956 SHA1 9fe933c869d84d3806757cb86e835a35536de368 SHA256 b9767d29d8685d1df1500d0726bf19aafb64c5bc5c4b5737e6c1ed0f5cdcaa67
MISC metadata.xml 304 RMD160 beebe43c38b7f732ba4e6c3342b21f32199754a8 SHA1 95da89a8ef677e561f97a2e5b70ffe959e94a307 SHA256 3da1224f2d247795716debc8ef84ed8216f546d3576db1c09f0c2cf11a5b7df3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkg4GyUACgkQkKaRLQcq0GKoLACfV3kmwzjebGE9psKq2zGSnQ1Z
M7EAn213cM5vDur3kc5tN0yUdRELWuIP
=Joav
-----END PGP SIGNATURE-----

files

ftpbase-0.00.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/ftpbase-0.00.ebuild,v 1.17 2007/05/06 10:52:00 genone Exp $

inherit eutils pam

DESCRIPTION="FTP layout package"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="pam"

DEPEND="pam? ( || ( virtual/pam sys-libs/pam ) )
! ! !
S=${WORKDIR}

check_collision() {
[[ ! -e $1 ]] && return 0

[[ $(head -n 1 "$1") == $(head -n 1 "$2") ]] && return 0

eerror " $1 exists and was not provided by ${P}"
return 1
}

pkg_setup() {
ebegin "Checking for possible file collisions..."

local collide=false
check_collision "${ROOT}etc/ftpusers" "${FILESDIR}/ftpusers" || collide=true

if use pam ; then
check_collision "${ROOT}etc/pam.d/ftp" "${FILESDIR}/ftp-pamd" || collide=true
fi

if ${collide} ; then
eerror
eerror "Those files listed above have to be removed in order to"
eerror "install this version of ftpbase."
eerror
eerror "If you edited them, remember to backup and when restoring make"
eerror " sure the first line in each file is:"
eerror "$(head -n 1 "${FILESDIR}/ftpusers")"
eend 1
die "Can't be installed, files will collide"
fi

eend 0

# Check if home exists
local exists=false
[[ -d "${ROOT}home/ftp" ]] && exists=true

# Add our default ftp user
enewgroup ftp 21
enewuser ftp 21 -1 /home/ftp ftp

# If home did not exist and does now then we created it in the enewuser
# command. Now we have to change it's permissions to something sane.
if [[ ${exists} == "false" && -d "${ROOT}home/ftp" ]] ; then
chown root:ftp "${ROOT}"home/ftp
fi
}

src_install() {
# The ftpusers file is a list of people who are NOT allowed
# to use the ftp service.
insinto /etc
doins "${FILESDIR}/ftpusers" || die

# Ideally we would create the home directory here with a dodir.
# But we cannot until bug #9849 is solved - so we kludge in pkg_postinst()

if use pam ; then
if has_version " newpamd "${FILESDIR}/ftp-pamd" ftp
else
newpamd "${FILESDIR}/ftp-pamd-include" ftp
fi
fi
}

ftpbase-0.01-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/ftpbase-0.01-r1.ebuild,v 1.6 2008/05/24 13:41:08 maekke Exp $

inherit eutils pam

DESCRIPTION="FTP layout package"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
IUSE="pam"

DEPEND="pam? ( virtual/pam )
! ! !
S=${WORKDIR}

check_collision() {
[[ ! -e $1 ]] && return 0

[[ $(head -n 1 "$1") == $(head -n 1 "$2") ]] && return 0

eerror " $1 exists and was not provided by ${P}"
return 1
}

pkg_setup() {
ebegin "Checking for possible file collisions..."

local collide=false
check_collision "${ROOT}etc/ftpusers" "${FILESDIR}/ftpusers" || collide=true

if use pam ; then
check_collision "${ROOT}etc/pam.d/ftp" "${FILESDIR}/ftp-pamd" || collide=true
fi

if ${collide} ; then
eerror
eerror "Those files listed above have to be removed in order to"
eerror "install this version of ftpbase."
eerror
eerror "If you edited them, remember to backup and when restoring make"
eerror " sure the first line in each file is:"
eerror "$(head -n 1 "${FILESDIR}/ftpusers")"
eend 1
die "Can't be installed, files will collide"
fi

eend 0

# Check if home exists
local exists=false
[[ -d "${ROOT}home/ftp" ]] && exists=true

# Add our default ftp user
enewgroup ftp 21
enewuser ftp 21 -1 /home/ftp ftp

# If home did not exist and does now then we created it in the enewuser
# command. Now we have to change it's permissions to something sane.
if [[ ${exists} == "false" && -d "${ROOT}home/ftp" ]] ; then
chown root:ftp "${ROOT}"home/ftp
fi
}

src_install() {
# The ftpusers file is a list of people who are NOT allowed
# to use the ftp service.
insinto /etc
doins "${FILESDIR}/ftpusers" || die

# Ideally we would create the home directory here with a dodir.
# But we cannot until bug #9849 is solved - so we kludge in pkg_postinst()

newpamd "${FILESDIR}/ftp-pamd-include" ftp
}

ftpbase-0.01.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/ftpbase-0.01.ebuild,v 1.1 2007/07/10 13:07:59 uberlord Exp $

inherit eutils pam

DESCRIPTION="FTP layout package"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="pam"

DEPEND="pam? ( || ( virtual/pam sys-libs/pam ) )
! ! !
S=${WORKDIR}

check_collision() {
[[ ! -e $1 ]] && return 0

[[ $(head -n 1 "$1") == $(head -n 1 "$2") ]] && return 0

eerror " $1 exists and was not provided by ${P}"
return 1
}

pkg_setup() {
ebegin "Checking for possible file collisions..."

local collide=false
check_collision "${ROOT}etc/ftpusers" "${FILESDIR}/ftpusers" || collide=true

if use pam ; then
check_collision "${ROOT}etc/pam.d/ftp" "${FILESDIR}/ftp-pamd" || collide=true
fi

if ${collide} ; then
eerror
eerror "Those files listed above have to be removed in order to"
eerror "install this version of ftpbase."
eerror
eerror "If you edited them, remember to backup and when restoring make"
eerror " sure the first line in each file is:"
eerror "$(head -n 1 "${FILESDIR}/ftpusers")"
eend 1
die "Can't be installed, files will collide"
fi

eend 0

# Check if home exists
local exists=false
[[ -d "${ROOT}home/ftp" ]] && exists=true

# Add our default ftp user
enewgroup ftp 21
enewuser ftp 21 -1 /home/ftp ftp

# If home did not exist and does now then we created it in the enewuser
# command. Now we have to change it's permissions to something sane.
if [[ ${exists} == "false" && -d "${ROOT}home/ftp" ]] ; then
chown root:ftp "${ROOT}"home/ftp
fi
}

src_install() {
# The ftpusers file is a list of people who are NOT allowed
# to use the ftp service.
insinto /etc
doins "${FILESDIR}/ftpusers" || die

# Ideally we would create the home directory here with a dodir.
# But we cannot until bug #9849 is solved - so we kludge in pkg_postinst()

if use pam ; then
if has_version " newpamd "${FILESDIR}/ftp-pamd" ftp
else
newpamd "${FILESDIR}/ftp-pamd-include" ftp
fi
fi
}

metadata.xml




no-herd

maintainer-needed@gentoo.org


FTP base package