# ChangeLog for net-ftp/ftpbase
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/ChangeLog,v 1.31 2013/11/30 13:35:59 naota Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/ChangeLog,v 1.32 2015/04/18 06:13:32 mr_bones_ Exp $
+
+ 18 Apr 2015; Michael Sterrett <mr_bones_@gentoo.org> -ftpbase-0.00.ebuild,
+ -ftpbase-0.01-r1.ebuild, -ftpbase-0.01.ebuild:
+ old
30 Nov 2013; Naohiro Aota <naota@gentoo.org> ftpbase-0.01-r2.ebuild:
Use pam_ftpusers on FreeBSD. #462204
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX ftp-pamd 807 SHA256 c378eaaa16ca300bb828256d68807cf6f84751ae3ef9192186cf16bef89076dc SHA512 9ef62d9c174965895c42d8e75b6b2bcb2d974b9a965374e609f7a843bff509297ee57583e33647a1e09240fae272c014dd897225646fcbd2f82b076cb88a1db3 WHIRLPOOL 85758de3aa78296634c99074f2e8dd87e0291b7f0b3b99d3f6cb15e0327fe3245290bdaaedc6813ef1015d81c0adc135ec71cdc8394547b8daa89a4b4abd80dd
AUX ftp-pamd-include 747 SHA256 b6194c655619343e5908517a50a615b1b028181ea09280ec87dea23f6c10e9a6 SHA512 1da746d3c52bc32fb61668f13686c533e7f9f5475cb6aa89d51114e3a6f696f551d7218940e93880f5ffff70c91705ea82e30d05fe0f7967ab2185b0425b97bd WHIRLPOOL 8b878c149b76dd37f39cf517eed02e853ab3a1c2b62485086b8ae986a88f42ebff89d5b533362b2a5235a70d61e60cd4a9623da1f8b966f17dc3e51cc0394c0a
AUX ftpusers 407 SHA256 34360cd3a4700e8c03aa08d1a5c3f217bb58b5e935950e14868f5ff8d32e52bc SHA512 afad5856564cd9ac1d02081d39ee46caf48afb8888049ca8199f2b9ff2e87aa7c2c36e73ea7546e1780c7988c1ae82e90a0fe2253346c724c80627f4f79e57c9 WHIRLPOOL 4c762746f789d43b590cdca7a58349f8459d0e81748834b80377cba2a48350ffa0eb24322cd35bbf36bf6a8dfdaee641e709deb116a5680ca8086939978bfd85
-EBUILD ftpbase-0.00.ebuild 2301 SHA256 1798e750d775a149eb0f52a4c553f277cf82ffb1e8bde23e629efad30b514724 SHA512 22d2daf1a128facb9d5ec278dc7cdd1b1fafdaec5f7792716ea664e8db2792b20261ffc12200ba0f2f25c6a1bd1bfe19c8b30c8d7538488ec9c5ec65ada25e66 WHIRLPOOL 91443d5dbcae1daa4b899e5299b3225341f5c15f6494bbaa355886217cef66ffbd64e0f1f67f4bd2344146c0f7d000e014df40a70bf215bc6aeef106ad8cc68b
-EBUILD ftpbase-0.01-r1.ebuild 2173 SHA256 f65cd8bf4f53497687c656156b1612728ffd2c60b87f4760cb49c0c74c07b63d SHA512 3bcddebe65f4354904c9cb7c33a06ee3746b1ed134aabcea4ea9f2af5ca42d8812e01745f49d6f61276afeefbba1a7b414696517b4c2b0efd3a8ad6787d8b7a3 WHIRLPOOL f6acb936a1c93e3956d6d9b0599fa13884e41c21a7700fc9ce4bb3137599372d14fd43423b90f3b1921a846c9ec9883fc391ca624581e8ad3822803b4f7ec9c3
EBUILD ftpbase-0.01-r2.ebuild 1554 SHA256 7d5ce49902ccd3d17430a03c0be6253064eadf3fefa655d7b2e939a64ed28455 SHA512 799612082b281943fab24d4054c242567d63d0a6ecfec923ffd97b0d93f1986c01d84b41fc98704d9c1f6bd1e42dc16e9eaf866cdf46e1f6e6c2ec9abbcd390c WHIRLPOOL 603be988725f62b2cf02879a0920ff58bfee7702e606b856602527eb080f60360020ebfac7895385e14839e3d8b213bdc0ec60f864d7e24d14876d892f8fabd0
-EBUILD ftpbase-0.01.ebuild 2310 SHA256 b503295e60edde9702fc71e2e2a84e265438d06eaaf9940797a7b9e10d17fc10 SHA512 929a7073148b02916c4942ab28acc8d89a64182d22a1b20c646966392bb8b966d2193e02fe54d794243fc4511040f23265b1777b79c3747ea168fcb3c8505054 WHIRLPOOL 2fbaceb1d35b1469969103994fa1631b4ba8a252e00d9e5d64aeb392079ff561414e15f02be4828b00f8a570282ded2de6e13a9bbc5f5161a48fe6793f643e71
-MISC ChangeLog 4395 SHA256 e3a3e16ad819e5c426e062a86f98b5fe7b58007cda80ac184f910866a13d9922 SHA512 a5788fb5438b66888a026e6feb1d37321b2c9aa2b75786029dbf7b9205f565e24a774e533617e6039fac033919a86f0565c15c2d98be3bf6845a638d05d9df34 WHIRLPOOL 98276c1fe35e631d83aeb7e78d2a81abe9fa291b2db2199564533543af3b5bd3273631a56df37a00b79c58b3c12f6c967cd33cbd68f95d70ae9bace970230c07
+MISC ChangeLog 4532 SHA256 a1a37a46a7474ec0f28aefb7938903443a7167ce7621913c2fd8f610963ce5ed SHA512 992eef70ee50054a21ada65e73556147435072302d5a173494d7f41deade2fa3d33975aadfbf1ffb2b6d4424a3cd37d52aeeaee22ab34d2a47d107979a3d3570 WHIRLPOOL 8cf30012d25662cd0ff3aa30e7726e58d1e81668a4bfc813dcb52956cafeca40d237948c6ee45a27e4397afcdcd92f99dc1a96262afe0a397a672816b8cca3a8
MISC metadata.xml 282 SHA256 948831ad4451bafc35620aa18e528051593ffa2e7352f1a4a789cd896bcc9325 SHA512 e23d5cec5f24e3516d67c9f4b5117c00c65f4e3d0d14c0d0ce8d06a5d6fa24001f544a69b3c9bbd02b4f154ffc60da1d280af0af2e7b82ea0392267fe85769b7 WHIRLPOOL 7654060120f7d467fedf3a89966f31b7ba540a02c0a4db1fbb505c33e14c15e57c0e97a615f5186f542152ee3f599d1868c78d000c9b60f7d1948659b3051f5a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
-
-iQIcBAEBCAAGBQJSmenIAAoJEDYO1FT4VRUULwkQAJrcbyed1YTqe/k3eS6Du8J4
-Wht7n910vj1wFgdgPbIK591mT3cpC+HHI17YHMXnloRXMvpVNfv6dFv0BqdNClpz
-OEJDVkF0qWPGcW9Gjn0nfPzid8Ps9WMBmw5syp3Azvuq7PRSHxxRQ7dx8g+Lotr+
-+mjCMZSe2crOMSDXMfWIOcYeCIvvRF3fa+Bzha0bKdcmUAPEo2Hc3ISvtmBgwlK0
-DQf67Vj5yrHTR5qA0xI5+TknHWRxfPFFg01z+N3I3sjh+iD4xw/Ga1Gz1Wh8A9kD
-FAb7+LQ1jGa8We0qCSjlGjZhlTvWfTf2YSBzYK7cbdc46AtO+ImxJAvJU+rOwBlp
-xepXsoJVhJCvT+V+vCky2J8V69jEie6eLA8u9HkHG2ZDxs22ELKUAIjqxKtybt9S
-Wuh6oIJ3AUJv7FIf924v79qcldEpb9o8GT+PNfARPNmSSnnoMAasWzwNJP33pEFV
-cHsjLXWcJ87eg/CMp28Fv1DZDkkWsT7jEVbRczHJYdxMYJwoMfJtQLEy+Z8MoicE
-9Z75v1h5vonYPQV7VcQdQJzTGwtdj/MZ+7Wd9qThJyFa4IdSPuoAAAo6rmKzLs6K
-9Py/DXJDIbBHhfBJPVciP437RKViGYTXmyinF4/9kYTgPhrLqpxW2VcLpoZSpCAd
-e/IPKfV8/xXw6ZVWQhSA
-=PtIy
------END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2013 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.18 2013/03/03 09:00:33 vapier Exp $
-
-inherit eutils pam user
-
-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 ) )
- !<net-ftp/proftpd-1.2.10-r6
- !<net-ftp/pure-ftpd-1.0.20-r2
- !<net-ftp/vsftpd-2.0.3-r1"
-
-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 "<sys-libs/pam-0.78" ; then
- newpamd "${FILESDIR}/ftp-pamd" ftp
- else
- newpamd "${FILESDIR}/ftp-pamd-include" ftp
- fi
- fi
-}
+++ /dev/null
-# Copyright 1999-2013 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.8 2013/03/03 09:00:33 vapier Exp $
-
-inherit eutils pam user
-
-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 )
- !<net-ftp/proftpd-1.2.10-r6
- !<net-ftp/pure-ftpd-1.0.20-r2
- !<net-ftp/vsftpd-2.0.3-r1"
-
-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
-}
+++ /dev/null
-# Copyright 1999-2013 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.2 2013/03/03 09:00:33 vapier Exp $
-
-inherit eutils pam user
-
-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 ) )
- !<net-ftp/proftpd-1.2.10-r6
- !<net-ftp/pure-ftpd-1.0.20-r2
- !<net-ftp/vsftpd-2.0.3-r1"
-
-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 "<sys-libs/pam-0.78" ; then
- newpamd "${FILESDIR}/ftp-pamd" ftp
- else
- newpamd "${FILESDIR}/ftp-pamd-include" ftp
- fi
- fi
-}