Currently building pure-ftpd results in: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: --with-rfc2640 --with-ldap --with-mysql --with-pam --without-paranoidmsg --without-pgsql --with-tls --without-implicittls --without-virtualchroot --without-sysquotas --without-inetd Which results in a binary that is built without SSL/TLS Running the command line manually works - must be some quoting that goes wrong... Using: sys-apps/portage-2.3.3
Confirmed on my system with 'ebuild /usr/portage/net-ftp/pure-ftpd/pure-ftpd-1.45.0.ebuild clean configure' just under the ./configure command
This is critical because due to this error "--with-tls" will be ignored but because make won't run into an error you end up with an ftpd now allowing plaintext login even your configuration normally disallow that (but because you build without TLS support the configuration directives disallowing plaintext login are ignored): > >>> Configuring source in /var/tmp/portage/net-ftp/pure-ftpd-1.0.45/work/pure-ftpd-1.0.45 ... > * Enabling capabilities > * Enabling rfc2640 > * Disabling ldap > * Disabling mysql > * Disabling pam > * Disabling paranoidmsg > * Disabling pgsql > * Enabling tls > * Disabling implicittls > * Enabling virtualchroot > * Disabling sysquotas > * Disabling inetd > ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/ > share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silen > t-rules --docdir=/usr/share/doc/pure-ftpd-1.0.45 --htmldir=/usr/share/doc/pure-ftpd-1.0.45/html --libdir=/usr/lib64 --wi > th-altlog --with-cookie --with-diraliases --with-extauth --with-ftpwho --with-language=english --with-peruserlimits --wi > th-privsep --with-puredb --with-quotas --with-ratios --with-throttling --with-uploadscript --with-virtualhosts --enable- > largefile --with-rfc2640 --without-ldap --without-mysql --without-pam --without-paranoidmsg --without-pgsql --with-tls > --without-implicittls --with-virtualchroot --without-sysquotas --without-inetd > configure: WARNING: you should use --build, --host, --target > configure: WARNING: invalid host type: --with-rfc2640 --without-ldap --without-mysql --without-pam --without-paranoidmsg --without-pgsql --with-tls --without-implicittls --with-virtualchroot --without-sysquotas --without-inetd >
commit f1a37e3f3683fc475fd34aff8c55bf714ded5d24 Author: Lars Wendler <polynomial-c@gentoo.org> Date: Fri Feb 17 14:15:40 2017 net-ftp/pure-ftpd: Revbump to fix broken src_configure (bug #608670). Package-Manager: Portage-2.3.3, Repoman-2.3.1 Sorry, I broke this while doing some ebuild cleanup. Now it's fixed.