- Package:
- src:pure-ftpd
- Source:
- pure-ftpd
- Submitter:
- Helmut Grohne
- Date:
- 2021-12-06 09:27:03 UTC
- Severity:
- normal
- Tags:
pure-ftpd fails to cross build from source, because it fails finding mariadb or mysql. During cross compilation, mysql_config does not work. I've looked into it and we cannot make it work. The way to fix this is using pkg-config. I've attached a patch that makes pure-ftpd try pkg-config and then fall back to mysql_config. In order to apply it, you need to regenerate configure and add a build dependency on pkg-config. Once doing so, pure-ftpd will become cross buildable. Helmut
We believe that the bug you reported is fixed in the latest version of
pure-ftpd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 981387@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefan Hornburg (Racke) <racke@linuxia.de> (supplier of updated pure-ftpd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 27 Nov 2021 12:38:13 +0100
Source: pure-ftpd
Binary: pure-ftpd pure-ftpd-common pure-ftpd-dbgsym pure-ftpd-ldap pure-ftpd-ldap-dbgsym pure-ftpd-mysql pure-ftpd-mysql-dbgsym pure-ftpd-postgresql pure-ftpd-postgresql-dbgsym
Architecture: source all amd64
Version: 1.0.50-1
Distribution: unstable
Urgency: medium
Maintainer: Stefan Hornburg (Racke) <racke@linuxia.de>
Changed-By: Stefan Hornburg (Racke) <racke@linuxia.de>
Description:
pure-ftpd - Secure and efficient FTP server
pure-ftpd-common - Pure-FTPd FTP server (Common Files)
pure-ftpd-ldap - Secure and efficient FTP server with LDAP user authentication
pure-ftpd-mysql - Secure and efficient FTP server with MySQL user authentication
pure-ftpd-postgresql - Secure and efficient FTP server with PostgreSQL user authenticati
Closes: 980051 981387 987011 993810
Changes:
pure-ftpd (1.0.50-1) unstable; urgency=medium
.
* New upstream release.
* Fixes possible denial of service caused by an incorrect
max_filesize quota mechanism (CVE-2021-40524, Closes: #993810).
* Fix FTCBFS caused by not finding mysql/mariadb (Closes: #981387).
* Label runtime directory correctly on SE Linux systems (Closes: #980051).
* Add pure-certd binary to packages (Closes: #987011).
Checksums-Sha1:
67dee479494b0f2e7d7ff0a6ebdbe42e03447d8f 2230 pure-ftpd_1.0.50-1.dsc
d59fb3be051ce54480d97edf46b01cdadf57e01c 520167 pure-ftpd_1.0.50.orig.tar.bz2
fc4bd2dcf7e00c70ac512405f93261b607e4b884 44864 pure-ftpd_1.0.50-1.debian.tar.xz
b3c53316d4698ca71b0cbcea316fe321f7b5bc2c 192052 pure-ftpd-common_1.0.50-1_all.deb
cc462135953495f7d184a8faa123b6c551b75fba 601268 pure-ftpd-dbgsym_1.0.50-1_amd64.deb
271c204adbe3a93d1cf0c692695199a83388a7da 622880 pure-ftpd-ldap-dbgsym_1.0.50-1_amd64.deb
071341ab607756f5083a0bdf566469c241e1fdb6 177560 pure-ftpd-ldap_1.0.50-1_amd64.deb
4a5ff312727b421f9d4a407db17cc37894601241 646012 pure-ftpd-mysql-dbgsym_1.0.50-1_amd64.deb
4bded10dcb179b019f47a21cbe0a0c126bd4090e 177680 pure-ftpd-mysql_1.0.50-1_amd64.deb
9d0df4508e4e576819e937c3659e03923be4b76c 632324 pure-ftpd-postgresql-dbgsym_1.0.50-1_amd64.deb
72a36d390422b3eac3500de74ecf080e19ae268e 178548 pure-ftpd-postgresql_1.0.50-1_amd64.deb
05e1c53dc77c0878606a09cc24444c979e7a4610 9740 pure-ftpd_1.0.50-1_amd64.buildinfo
30545e8a37c5903690460a569d360519f02ad93e 172552 pure-ftpd_1.0.50-1_amd64.deb
Checksums-Sha256:
b1d1a1fdd6334dd6520bc4448a2621499e95e43ad017ecc5660c896544d59827 2230 pure-ftpd_1.0.50-1.dsc
6722c7fd09fe3c9ebbd572f3d097087ec7b32aacb3df8fa3400d4c07e4f377d7 520167 pure-ftpd_1.0.50.orig.tar.bz2
6ec0a5a7eb4739cec53ffd45e1f6baee0f326ee9345786d76afa077132e26962 44864 pure-ftpd_1.0.50-1.debian.tar.xz
ae27181199fbe8454e7a84e19c2db8c965f53373a138496ecec2db2b12f003b4 192052 pure-ftpd-common_1.0.50-1_all.deb
953ea0cd9ed643d809126cde83beae90d30e41e1f4c0b865b41f9e8918595fed 601268 pure-ftpd-dbgsym_1.0.50-1_amd64.deb
fad0f5b41d0507bb5ba76d79293845cced37a03f84bb940811597dd50c3bab12 622880 pure-ftpd-ldap-dbgsym_1.0.50-1_amd64.deb
e5ddf11001324fc0e36951213b8d2b44683c5082d68edb6eccb5944b25d90f65 177560 pure-ftpd-ldap_1.0.50-1_amd64.deb
62a2c0969ad28fc04a0ea7c7954ece6195801a085c94474fe5273d26e6fc95c2 646012 pure-ftpd-mysql-dbgsym_1.0.50-1_amd64.deb
86becdcab431136bfc3f8145a1fae277ad7670fbff3292f366f41024e4e2141c 177680 pure-ftpd-mysql_1.0.50-1_amd64.deb
7e56ab94e9cbc40142686f9c31bdbb16162e3f2d4efae6d053de4583d9fa1b2d 632324 pure-ftpd-postgresql-dbgsym_1.0.50-1_amd64.deb
1b7df2d8c45385574e6c86f0ae9f56ac032aee87f3a0a3605b1392c979bc2a92 178548 pure-ftpd-postgresql_1.0.50-1_amd64.deb
9501a6b77453c0e11dd4cf8be8accb30db6494d862b21d44d8f5bb96a3efa3f5 9740 pure-ftpd_1.0.50-1_amd64.buildinfo
2f0ffc4acacb40ec2dcd9f0d205b9ee7bb48b70e5cddc5c583c32f09e74c68dd 172552 pure-ftpd_1.0.50-1_amd64.deb
Files:
f63495cbf9295ea5392cebcde2a4aeae 2230 net optional pure-ftpd_1.0.50-1.dsc
f55af39fc85edceba4b02ee4fa116d00 520167 net optional pure-ftpd_1.0.50.orig.tar.bz2
76463b3b7a910f7e7af73223505fa9ae 44864 net optional pure-ftpd_1.0.50-1.debian.tar.xz
0ae76dfb0ba7a91f03a5489ac1bbd3fd 192052 net optional pure-ftpd-common_1.0.50-1_all.deb
012ca1984c58abafd5066aabd50a9207 601268 debug optional pure-ftpd-dbgsym_1.0.50-1_amd64.deb
bb43fa53559d27654e145b48a7bb5ec2 622880 debug optional pure-ftpd-ldap-dbgsym_1.0.50-1_amd64.deb
de91acc150f3c992ad1d431aa9adfc4d 177560 net optional pure-ftpd-ldap_1.0.50-1_amd64.deb
c796bbdae695ca48095c37b5f49fa05a 646012 debug optional pure-ftpd-mysql-dbgsym_1.0.50-1_amd64.deb
9e46c8680f9c4fcf83c0c445da6b0d95 177680 net optional pure-ftpd-mysql_1.0.50-1_amd64.deb
8dc5db08c9303d110b0a08efc2e7a779 632324 debug optional pure-ftpd-postgresql-dbgsym_1.0.50-1_amd64.deb
8ecb5c432648c971c36097b7244d1186 178548 net optional pure-ftpd-postgresql_1.0.50-1_amd64.deb
7d95064e97fd0625c6e56eadd8d13e53 9740 net optional pure-ftpd_1.0.50-1_amd64.buildinfo
3e9fd6887f929cbf7b980efcf00cb153 172552 net optional pure-ftpd_1.0.50-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE1oFJdaJ3d0yY0N/vW5MBW/onIPgFAmGjz0QRHHJhY2tlQGxp
bnV4aWEuZGUACgkQW5MBW/onIPgH6A//VTjPkhveZfWOIcVCXUjpdNQBQEYEy8mj
eJM9T0w8RlEJVF+yl4n+bTPj0if7THx2Cpm5elCyt1xyrmLFYeLd+DE0zIv9hVrV
D9pJ1X38lMccN+bbxU9yoeJ28v8zUkmsoYhdWckE4K5CWWqfYNwKiK7idLYaLHq2
D6xBxmQ0R4/Zyb1XmXs+bEnvzhSmd+QlDz2gGme6DnzcIAaXo2aWPsVgY8KP0rWC
jPiD1NoP7n4l1svhhSIzYGMowk/KC34Ip2jnf+DMLDAN4JlE2GNT8J93I/WloQwg
Bsuz2uyFvHwWdJZ2BsOVA3gY1ST9SE1fdbY1ji5pkij3zYocQ/V3U7l8sNIosutX
WcacrRLnyEEF9268UxWyMIoTb9Dohy8YAnk6DH52uiB9wcGDiPcsq/TuNetaIzzV
OU4yr/7xiJzDRSlAQzv6rCHotGOwwcZhqwJvrLYHTACrbJH4IsOHCumhewlGzgnN
vVyoT72wR1tkM/Q3Ey0QHt5SP00Vu9TKTM2sdfwa5umdmWj34DAg9Ypi2l9/AEL8
45Rs87fUAdaA5JHfYk3pht3u6DIR6/gsFw0OYLHpS54lLmNMwa+Qlg5bjq/ZvKXK
fw8NI29VFSvQ3I3RNiIxkzbwe7PGZd9AkQH6kOVxqUY6znBQbi0RUExREemnnGlC
YAbli/M0XcA=
=0uKG
-----END PGP SIGNATURE-----
Control: reopen -1 I think the bug is only partially fixed. While configure.ac has been patched, configure wasn't updated and since it isn't regenerated during build, the unfixed version is actually being used. Helmut
Hello Helmut,
are you going to create a patch that fixes the problem for good?
Regards
Racke
I don't think that would make sense. Suppose I were to regenerate configure and diff the present configure with the new one. You'd get a giant diff that essentially replaces configure. How would you review tens of thousands of lines changed? Instead, you should locally regenerate configure before uploading. The alternative chosen by most maintainers (due to being automatically enabled in debhelper compat level >= 10) is using dh_autoreconf. It will ignore the shipped configure and regenerate it during build. You're presently using compat level 9, which happens to be deprecated. Helmut
Hello Helmet,
thanks for your advice. I bumped up the compat level for the next release
of the package.
Regards
Racke
We believe that the bug you reported is fixed in the latest version of pure-ftpd, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 981387@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Stefan Hornburg (Racke) <racke@linuxia.de> (supplier of updated pure-ftpd package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sat, 04 Dec 2021 14:45:50 +0100 Source: pure-ftpd Binary: pure-ftpd pure-ftpd-common pure-ftpd-dbgsym pure-ftpd-ldap pure-ftpd-ldap-dbgsym pure-ftpd-mysql pure-ftpd-mysql-dbgsym pure-ftpd-postgresql pure-ftpd-postgresql-dbgsym Architecture: source all amd64 Version: 1.0.50-2 Distribution: unstable Urgency: medium Maintainer: Stefan Hornburg (Racke) <racke@linuxia.de> Changed-By: Stefan Hornburg (Racke) <racke@linuxia.de> Description: pure-ftpd - Secure and efficient FTP server pure-ftpd-common - Pure-FTPd FTP server (Common Files) pure-ftpd-ldap - Secure and efficient FTP server with LDAP user authentication pure-ftpd-mysql - Secure and efficient FTP server with MySQL user authentication pure-ftpd-postgresql - Secure and efficient FTP server with PostgreSQL user authenticati Closes: 981387 Changes: pure-ftpd (1.0.50-2) unstable; urgency=medium . * Set debhelper compat level to 11 (Closes: #981387). Checksums-Sha1: 37a540fa380cf16ea8439fd78022571b371d9f10 2294 pure-ftpd_1.0.50-2.dsc b5e7eae17786ef5572a4010cd598e17bb6006d48 44968 pure-ftpd_1.0.50-2.debian.tar.xz 320ca24779d825c07f392a46ac497a8780383e7f 192112 pure-ftpd-common_1.0.50-2_all.deb 7836311af2962ed7fcde3fbfa27f1b17e04c9bc7 601284 pure-ftpd-dbgsym_1.0.50-2_amd64.deb 524249ddcbe91f1f826ee8f6606fe437454a0937 622940 pure-ftpd-ldap-dbgsym_1.0.50-2_amd64.deb b7b919754aa2d139491a983a68d900082e3664e7 178072 pure-ftpd-ldap_1.0.50-2_amd64.deb 4fea133c3b7bfef04af838b3b069750a0274637e 646028 pure-ftpd-mysql-dbgsym_1.0.50-2_amd64.deb cb019a8be80e66ccdfea274f88e7e5bb4f1fb0a7 177488 pure-ftpd-mysql_1.0.50-2_amd64.deb c10cb378ce62a7d9b6477f02c0826990e4060df3 632440 pure-ftpd-postgresql-dbgsym_1.0.50-2_amd64.deb 871eff71e4a24f67c7e0d73cf3cf4b902086c18e 177948 pure-ftpd-postgresql_1.0.50-2_amd64.deb 4054fd48c432eaa60d0f3636b607da59f76372e2 9740 pure-ftpd_1.0.50-2_amd64.buildinfo b5c1c0bdbf00d0acbdc7aa398671481bf01d6be6 172672 pure-ftpd_1.0.50-2_amd64.deb Checksums-Sha256: e4af69be5e5f7fe4b9bf509f652a4e5719c7e69274f4055243202793a321e2a3 2294 pure-ftpd_1.0.50-2.dsc 90d561af00d50557162c0b1d6953f947f89a7779a2fbdf03760db08bf7505ff7 44968 pure-ftpd_1.0.50-2.debian.tar.xz a0ad090af85deb3855ea9320dd645f894fa77b5dcc494e2f6585609922387745 192112 pure-ftpd-common_1.0.50-2_all.deb dafd572d5fb24f37b4db142240916361946d1391bcf57fa3214561081dd6b39e 601284 pure-ftpd-dbgsym_1.0.50-2_amd64.deb 77522086847dbaf41a0be759a9c4fcb091a9c266c49439dd6397ab9d836f3caf 622940 pure-ftpd-ldap-dbgsym_1.0.50-2_amd64.deb 9e072bae59145dd6018d381314b1904244177cb6a4b238036558a3d625f29698 178072 pure-ftpd-ldap_1.0.50-2_amd64.deb d06756e942018919a31bb7989f28c3bb9008d8aad238433c813ef492ce8b9532 646028 pure-ftpd-mysql-dbgsym_1.0.50-2_amd64.deb ff1e51b1c60d4917e5e67aa3cc15c098c5a84cfdd816b7ca82c8b3ad59df7477 177488 pure-ftpd-mysql_1.0.50-2_amd64.deb 61d9d6ee00bdfc9bfe6bdddba7e4f49a18bd8780807f61a07cb13800e86a8a04 632440 pure-ftpd-postgresql-dbgsym_1.0.50-2_amd64.deb fa9810a2d73487b718f6ac8626f81f8fb924af7a5b44f087c2f4b2a1f04188bc 177948 pure-ftpd-postgresql_1.0.50-2_amd64.deb f018efbe015d773c9f9e3afa607666c63b313b9e53b7ad5e3ea4e17718883782 9740 pure-ftpd_1.0.50-2_amd64.buildinfo 4ca96218b09b8f0ac02d3547f26537802dbc114a6840eac3343fb0b9951cb443 172672 pure-ftpd_1.0.50-2_amd64.deb Files: 40f3cd9b4e86f72d462191c2311768b4 2294 net optional pure-ftpd_1.0.50-2.dsc 17238df4ac7670f2d2367d189adfa673 44968 net optional pure-ftpd_1.0.50-2.debian.tar.xz 530e71c52e0d18956b6dbc4dada4cd33 192112 net optional pure-ftpd-common_1.0.50-2_all.deb 3e7c3f2d8465d0aa877dc99308ff6cbb 601284 debug optional pure-ftpd-dbgsym_1.0.50-2_amd64.deb 289a714172fe6a8cd769cbf6fb3c5eac 622940 debug optional pure-ftpd-ldap-dbgsym_1.0.50-2_amd64.deb c5d77847e3a1f86e125a045724c49b7a 178072 net optional pure-ftpd-ldap_1.0.50-2_amd64.deb 373c10a3043bb1c10d5e517dafeac9ea 646028 debug optional pure-ftpd-mysql-dbgsym_1.0.50-2_amd64.deb 18028d39fda3e5fa98d0c132d2b95d3e 177488 net optional pure-ftpd-mysql_1.0.50-2_amd64.deb 19878ad980b9f653446121af457dc298 632440 debug optional pure-ftpd-postgresql-dbgsym_1.0.50-2_amd64.deb a887319a1bfb0a3ead3f8074e24c7ad6 177948 net optional pure-ftpd-postgresql_1.0.50-2_amd64.deb bcb6c75d9462adb9f704edb4c5617296 9740 net optional pure-ftpd_1.0.50-2_amd64.buildinfo d0c89c8c03826a6837a678e358d4d646 172672 net optional pure-ftpd_1.0.50-2_amd64.deb -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE1oFJdaJ3d0yY0N/vW5MBW/onIPgFAmGss0wRHHJhY2tlQGxp bnV4aWEuZGUACgkQW5MBW/onIPhScQ//QXV/NG4rVB+CZw11vrV1HjbazqSJ4fD6 a+Ox4L4C9pQt6WygfxR+7yRh8bnTiUtaJ/6ppLEWinE7K/w+m3Hr+KsiPOTQUTn2 HK/E3MIfc0mfGKNlcx1wtNs0bJ2GsrHAF6WPfu2RrsmKC7JrfDtcmhKp1WIoEXdH Dpzo6LXbM+MLqWciI/j+0JHhdy0Tl8nEAxAj/uflfkDb+LpNPt+u05cbeZh6o9BS dchNVgCiAZ5GldRKhL1fSe6l4EbSyePBnHXYPHdWkFsBKPA4IVNxqV1XzoSmE4Ma n09QHr3lBpzYRZREPvy9rZfFrZ+qgA1e3Xe55CvyM5g3pTm9DwepB0j1rayuuMZO Lv96cW6K7NVfle6ORHRhR+2Orhrx4+EhXUifNoPpGjrVnEtifY4gOJWneeOwU9dk TcyPAQsBeabZH1asNqe53+FAAN0FGybqZq47Od21kyW4rJ72Uoqo+9ph2a+6oshT w7nVj8ysoywcTHT/XofoMxVVO+RzhnS8/pn++HRxkCelP8zlxgfsIx8CpDmFxaR1 H21crNEqnAHab8bBaN14saH/mh5h9ZzVjcvpnLAs1iNmpkvfenFKXfWJPCkmScG4 rX6xsGcteb04cmvdurA+D1focyelpsJveHACDQ3ps0BRbKLRjBtduz/VIUA2a/7e n2gQcjoDAkk= =oIdj -----END PGP SIGNATURE-----
Control: reopen -1 compat level >= 10 does not work, because pure-ftpd does not use dh. As such, it cannot benefit from the automation. The bug persists. Your options: * Use dh. * Explicitly call dh_autoreconf. * Run autoreconf before upload. Helmut