Package Details: pure-ftpd 1.0.49-3

Git Clone URL: (read-only)
Package Base: pure-ftpd
Description: A secure, production-quality and standard-conformant FTP server, focused on efficiency and ease of use.
Upstream URL:
Licenses: custom
Conflicts: pure-ftpd-db
Submitter: ilpianista
Maintainer: mrxx
Last Packager: mrxx
Votes: 47
Popularity: 0.310265
First Submitted: 2010-11-13 15:23
Last Updated: 2019-05-23 11:15

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

kleph commented on 2015-10-08 01:14

Just for the reference, I had trouble with a few FTP clients since 1.0.42.
Andftp and Total Commander, to name them, but filezilla and lftp are OK.
The first connection was good, logs were OK, but clients did not see anything in the directory.
Total commander did not say anything, and andftp complained about "connection closed unexpectedly". It was for the data connection, that's why ls did not show a thing.
I found that enabling "BrokenClientsCompatibility" fixed the problem.
As you're already modifying some parts of the defaults, maybe also adding this could be useful.

Extract of the upstream's changelog for the version 1.0.42 :
- The ONLY_ACCEPT_REUSED_SSL_SESSIONS switch (introduced in Pure-FTPd
1.0.22 circa 2009, but disabled back then due to client compatibility
concerns) is now on by default, except in broken clients compatibility mode.

kleph commented on 2015-10-08 01:07

Thanks for the fast answer and fast integration :)

I do not face the FQDN problem, but that's may be due to the my config.
Pure's host is resolved as a FQDN for the local zone and I set the CN of my certificate (delivered by a local CA) to the FQDN of my external zone.
But as the forward and the reverse are resolved by a local DNS, I may miss the issue.

mrxx commented on 2015-10-07 02:20

Thanks kleph, I totally agree.
I've added an install script similar to your suggestions, but instead of only telling the user how to generate a self-signed certificate, it also generates one with matching CN=FQDN at install time if missing. (Otherwise the TLS-enabled ftp service would refuse to start.)

Updated to 1.0.42-2.

kleph commented on 2015-10-06 22:05


The install conflicts if you already have certificates and DH params files.

Wouldn't it be better to check if certificates and DH params files already exists and generate new files rather that providing secret keys and always the same dh params with the package ?
That way the user can provide its own Common Name to match his FQDN.

I try it in my local variant built with --ldap
- removed the line "install -Dm640 -t ${pkgdir}/etc/ssl/private/ ${srcdir}/pure-ftpd.pem ${srcdir}/pure-ftpd-dhparams.pem" from the PKGBUILD

- and added a pure-ftpd.install :
if [ ! -e /etc/ssl/private/pure-ftpd-dhparams.pem ];then
echo "Generating new DH params"
openssl dhparam -out /etc/ssl/private/pure-ftpd-dhparams.pem 2048
chmod 0600 /etc/ssl/private/pure-ftpd.pem

if [ ! -e /etc/ssl/private/pure-ftpd.pem ]; then
echo "You need to place a certificate and its key in /etc/ssl/private/pure-ftpd.pem to start TLS enabled pure-ftpd"
echo "You can generate a self signed certificate with the following command :"
echo "openssl req -x509 -nodes -newkey rsa:2048 -sha256 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem"
echo "Note: The Common Name (CN) should be the same as the FQDN of the server."
echo "Note2: Remember to chmod 0600 the generated certificate."

mrxx commented on 2015-07-12 19:57

Taken over maintainership, overall improvements, updated to 1.0.41.

akorop commented on 2015-03-02 07:14

Also works the link${pkgname}/releases/${pkgname}-${pkgver}.tar.bz2

Anonymous comment on 2015-01-29 11:39

If you experience problems downloading the source file from the FTP server given in PKGBUILD, try the following (worked for me as of today):


mezcal commented on 2013-06-05 07:28

I'm sorry for the delay bin issue. We have terrible flood in the central Europe. My comp is in a flooded house. If someone want to adopt the package I will disown it. Or wait till next week.

notme commented on 2013-06-04 18:22

build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--with-puredb \
--with-ftpwho \
--with-altlog \
--with-tls \
--with-mysql \

line 43:
install -Dm755 configuration-file/ ${pkgdir}/usr/bin/

abbradar commented on 2013-06-03 19:49

Arch is moving all binaries to /usr/bin.
Please fix this package.