Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608670 - net-ftp/pure-ftpd-1.0.45 - configure: WARNING: invalid host type: --with-rfc2640
Summary: net-ftp/pure-ftpd-1.0.45 - configure: WARNING: invalid host type: --with-rfc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-08 22:03 UTC by Ian Kumlien
Modified: 2017-02-17 13:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Kumlien 2017-02-08 22:03:21 UTC
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
Comment 1 Brian Evans (RETIRED) gentoo-dev 2017-02-09 00:58:50 UTC
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
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2017-02-17 12:45:33 UTC
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
>
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-02-17 13:17:14 UTC
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.