diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-02-22 10:42:17 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-02-22 10:48:47 +0100 |
commit | 780e1a2faff8e62942b7a516b811be519f3ae2aa (patch) | |
tree | d839aa231dd2e7ab063d62171c0ce374f389a99b /net-ftp/pure-ftpd | |
parent | dev-perl/Graphics-ColorNames-WWW: remove myself from maintainers (diff) | |
download | gentoo-780e1a2faff8e62942b7a516b811be519f3ae2aa.tar.gz gentoo-780e1a2faff8e62942b7a516b811be519f3ae2aa.tar.bz2 gentoo-780e1a2faff8e62942b7a516b811be519f3ae2aa.zip |
net-ftp/pure-ftpd: Converted away from confutils eclass (bug #610482).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-ftp/pure-ftpd')
-rw-r--r-- | net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild index 92f84ee4736f..9d942e9c77fc 100644 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild +++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.45-r1.ebuild @@ -3,7 +3,7 @@ # $Id$ EAPI=6 -inherit eutils confutils flag-o-matic +inherit eutils flag-o-matic KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" @@ -47,27 +47,6 @@ src_configure() { sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \ -i "${S}/src/ftpd.h" || die "sed failed" - # required for confutils.eclass - local my_conf="" - - # Let's configure the USE-enabled stuff - enable_extension_without "capabilities" "caps" - enable_extension_with "rfc2640" "charconv" 0 - enable_extension_with "ldap" "ldap" 0 - enable_extension_with "mysql" "mysql" 0 - enable_extension_with "pam" "pam" 0 - 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" - - # noiplog is a negative flag, we don't want that enabled by default, - # so we handle it manually, as confutils can't do that - use noiplog && my_conf+=" --without-iplogging" - # Those features are only configurable like this, see bug #179375. use anondel && append-cppflags -DANON_CAN_DELETE use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS @@ -79,6 +58,7 @@ src_configure() { export ax_cv_check_cflags___fstack_protector_all=no local myeconfargs=( + --enable-largefile --with-altlog --with-cookie --with-diraliases @@ -93,9 +73,21 @@ src_configure() { --with-throttling --with-uploadscript --with-virtualhosts - --enable-largefile + $(use_with charconv rfc2640) + $(use_with ldap) + $(use_with mysql) + $(use_with pam) + $(use_with paranoidmsg) + $(use_with postgres pgsql) + $(use_with ssl tls) + $(use_with implicittls) + $(use_with vchroot virtualchroot) + $(use_with sysquota sysquotas) + $(usex caps '' '--without-capabilities') + $(usex noiplog '--without-iplogging' '') + $(usex xinetd '' '--without-inetd') ) - econf "${myeconfargs[@]}" ${my_conf} + econf "${myeconfargs[@]}" } src_install() { |