diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2015-07-28 13:23:15 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2015-07-28 13:23:15 +0000 |
commit | 4663b73141f1f582bb027f509888c6b3a9002dd5 (patch) | |
tree | 67cbdc98f0fabc7aa54bea05deebf1ca3737aeaf /net-ftp | |
parent | Version bump: gmp-6.0.0 and above required. isl-0.15 is bundled, we match ve... (diff) | |
download | gentoo-2-4663b73141f1f582bb027f509888c6b3a9002dd5.tar.gz gentoo-2-4663b73141f1f582bb027f509888c6b3a9002dd5.tar.bz2 gentoo-2-4663b73141f1f582bb027f509888c6b3a9002dd5.zip |
Version bump. Removed old
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 981CA6FC)
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/pure-ftpd/ChangeLog | 8 | ||||
-rw-r--r-- | net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild (renamed from net-ftp/pure-ftpd/pure-ftpd-1.0.36.ebuild) | 45 |
2 files changed, 36 insertions, 17 deletions
diff --git a/net-ftp/pure-ftpd/ChangeLog b/net-ftp/pure-ftpd/ChangeLog index 1276b9dc3c3b..c7536c617748 100644 --- a/net-ftp/pure-ftpd/ChangeLog +++ b/net-ftp/pure-ftpd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-ftp/pure-ftpd # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.168 2015/07/22 16:32:18 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.169 2015/07/28 13:23:15 polynomial-c Exp $ + +*pure-ftpd-1.0.42 (28 Jul 2015) + + 28 Jul 2015; Lars Wendler <polynomial-c@gentoo.org> -pure-ftpd-1.0.36.ebuild, + +pure-ftpd-1.0.42.ebuild: + Version bump. Removed old. 22 Jul 2015; Mikle Kolyada <zlogene@gentoo.org> pure-ftpd-1.0.40.ebuild: ia64 stable wrt bug #552254 diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.36.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild index ebbd68cfb28d..21215529a564 100644 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.36.ebuild +++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.36.ebuild,v 1.16 2015/04/16 09:35:12 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild,v 1.1 2015/07/28 13:23:15 polynomial-c Exp $ EAPI=5 inherit eutils confutils flag-o-matic -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" DESCRIPTION="Fast, production-quality, standard-conformant FTP server" HOMEPAGE="http://www.pureftpd.org/" @@ -15,7 +15,9 @@ SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2 LICENSE="BSD" SLOT="0" -IUSE="anondel anonperm anonren anonres caps charconv ldap mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd" +IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd" + +REQUIRED_USE="implicittls? ( ssl )" DEPEND="caps? ( sys-libs/libcap ) charconv? ( virtual/libiconv ) @@ -23,11 +25,12 @@ DEPEND="caps? ( sys-libs/libcap ) mysql? ( virtual/mysql ) pam? ( virtual/pam ) postgres? ( dev-db/postgresql:= ) - ssl? ( >=dev-libs/openssl-0.9.6g:0= ) + ssl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] ) sysquota? ( sys-fs/quota[-rpc] ) xinetd? ( virtual/inetd )" RDEPEND="${DEPEND} + dev-libs/libsodium net-ftp/ftpbase selinux? ( sec-policy/selinux-ftp )" @@ -38,7 +41,8 @@ src_prepare() { src_configure() { # adjust max user length to something more appropriate # for virtual hosts. See bug #62472 for details. - sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" -i "${S}/src/ftpd.h" || die "sed failed" + sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \ + -i "${S}/src/ftpd.h" || die "sed failed" local my_conf="" @@ -51,6 +55,7 @@ src_configure() { enable_extension_with "paranoidmsg" "paranoidmsg" 0 enable_extension_with "pgsql" "postgres" 0 enable_extension_with "tls" "ssl" 0 + enable_extension_with "implicittls" "implicittls" 0 enable_extension_with "virtualchroot" "vchroot" 0 enable_extension_with "sysquotas" "sysquota" 0 enable_extension_without "inetd" "xinetd" @@ -93,7 +98,12 @@ src_install() { dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS - newconfd "${FILESDIR}/pure-ftpd.conf_d-3" pure-ftpd + newconfd "${FILESDIR}/pure-ftpd.conf_d-3" ${PN} + + if use implicittls ; then + sed -i '/^SERVER/s@21@990@' "${ED}"/etc/conf.d/${PN} \ + || die "Adjusting default server port for implicittls usage failed!" + fi newinitd "${FILESDIR}/pure-ftpd.rc11" pure-ftpd @@ -114,15 +124,18 @@ src_install() { } pkg_postinst() { - elog - elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!" - elog - ewarn "It's *really* important to read the README provided with Pure-FTPd!" - ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info" - ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info." - ewarn - if use charconv ; then - ewarn "Charset conversion is an *experimental* feature!" - ewarn "Remember to set a valid charset for your filesystem in the configuration!" + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # This is a new installation + elog + elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!" + elog + ewarn "It's *really* important to read the README provided with Pure-FTPd!" + ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info" + ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info." + ewarn + if use charconv ; then + ewarn "Charset conversion is an *experimental* feature!" + ewarn "Remember to set a valid charset for your filesystem in the configuration!" + fi fi } |