Pure-FTPd is a fast, production-quality, standard-conformant FTP server, based
upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set up and
it is especially designed for modern kernels.
Features include PAM support, IPv6, chroot()ed home directories, virtual
domains, built-in 'ls', anti-warez system, configurable ports for passive
downloads, FXP protocol, bandwidth throttling, ratios, LDAP, customizable SQL,
fortune files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas, privilege separation and
more.
===> The following configuration options are available for pure-ftpd-1.0.54_1:
ANONDELETE=off: Allow anonymous user to delete files
ANONRENAME=off: Allow anonymous user to rename files
ANONRESUME=off: Allow anonymous user to resume file upload
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
LARGEFILE=on: 2GB+ file download
LDAP=off: User accounts in LDAP directories
MYSQL=off: User accounts in MySQL database
PAM=on: PAM authentication
PERUSERLIMITS=on: Per-user concurrency limits
PGSQL=off: User accounts in PostgreSQL database
PRIVSEP=on: Privilege separation (recommended)
SCRYPT=on: Hash passwords in PureDB with scrypt
SENDFILE=on: Sendfile syscall
THROTTLING=on: Bandwidth throttling
TLS=on: Secure network connection support via TLS
UPLOADSCRIPT=on: Uploadscript daemon support
VIRTUALCHROOT=on: Follow symlinks outside a chroot jail
===> Use 'make config' to modify these settings
ftp/pure-ftpd: fix pureftpd_flags and config mutual exclusion
Make flags and config file mutually exclusive in the rc script to
prevent "421 Invalid argument" errors.
PR: 239391
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:
- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features
Reviewed by: delphij
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38233
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
ftp: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Alexander Kriventsov
* Anders Nordby <anders@fix.no>
* Andreas Fehlner <fehlner@gmx.de>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrey Zakhvatov
* Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
* Chris Piazza <cpiazza@FreeBSD.org>
* Damjan Marion <dmarion@open.hr>
* Emanuel Haupt <ehaupt@critical.ch>
* Eric Freeman <freebsdports@chillibear.com>
(Only the first 15 lines of the commit message are shown above )
Remove UTF-8 option and iconv stuff
- Bump PORTREVISION for package change
RFC 2640 support has been removed from free version since 1.0.48.
PR: 240264
Reported by: Linus Sundqvist <linus.sundqvist@loopia.se>
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user. Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well. The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)
Make pure-ftpd flags configurable in /etc/rc.conf
Recognize a "pureftpd_flags" variable in pure-ftpd's rc script. Pretty much
anything that can be placed in /usr/local/etc/pure-ftpd.conf can be placed
in this variable instead.
ftp/pure-ftpd/Makefile
Bump PORTREVISION
ftp/pure-ftpd/files/pure-ftpd.in
Handle pureftpd_flags. It needs special handling because, unlike
most daemons, pure-config.pl takes its mandatory argument first and
its optional flags last.
PR: 210311
Approved by: maintainer-timeout
Approved by: brd (ports)
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D6676
security/libsodium: Upgrade version 1.0.8 => 1.0.10
Also bump all ports that depend on libsodium.
PR: 210999
Submitted by: manu
Approved by: vsevolod (maintainer)
converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
defined because the base system iconv supports these extensions too.
Add/remove patches to/from ports to call iconv with non-const arguments.
This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier. Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.
This exposed some ports that link with libiconv when it is available instead
of using libc iconv. In these cases one of the following changes has been
(Only the first 15 lines of the commit message are shown above )
- Update to 1.0.37
- Add SCRYPT option (on by default)
- Complete CONFIGURE_ARGS
- Add git repository to WWW
Note that this version includes several security changes:
- SSLv2 and SSLv3 are refused by default
- DES-hashed passwords are not supported
- RC4 was killed
Changes: https://github.com/jedisct1/pure-ftpd/blob/master/ChangeLog
net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD
databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip
databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample
(Only the first 15 lines of the commit message are shown above )
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Remove BANNER option since it's gone
- Add 3 new OPTIONS, ANUNRENAME, ANUNRESUME and ANONDELETE to give more
privileges to anonymous users
- Cump PORTREVISION since BANNER option was on by default
Submitted by: Edho P Arief <edhoprima@gmail.com>
- Update to 1.0.22
- Convert TLS to an option, off by default since this is considered
experimental
- Change PRIVSEP option on by default to reflect default configure
--with-largefile is not recommended to be default, so, convert it to OPTION and
set it off by default, since this changes the default options, bump PORTREVISION
Pointed by: Yar Odin <yarodin@gmail.com>
Fix following problem:
Pure-ftpd supports the "SITE UTIME" command, which allows the client to set the
modification time of a file to a particular timestamp, expressed in UTC.
However, pure-ftpd passes the UTC timestamp directly to the operating system's
utime() function, which is a bug, because utime() requires that the timestamp be
in local time instead of UTC.
For example for server with MSK localtime:
> ---> MDTM cuba2008_1.mpeg.stat
> <--- 213 20090106074437
> ---> SITE UTIME cuba2008_1.mpeg.stat 20090106104437 20090106104437
20090106104437 UTC
> <--- 250 UTIME OK
PR: ports/131645
Submitted by: Yar Odin <yarodin@gmai.com>
- Fix a problem with AUTH TLS [1]
- Bump PORTREVISION
- Some cosmetic changes (e.g. indentation)
- Move pkg-message to files/pkg-message.in
- Respect NOPORTEXAMPLES
- Use INSTALL_SCRIPT to install ${PREFIX}/sbin/pure-ftpd.pl
PR: ports/120187 [1]
Submitted by: Filip Palian <filip.palian@expro.pl> [1]