ChangeLog

# ChangeLog for net-ftp/pure-ftpd
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.76 2008/07/16 16:02:47 chtekk Exp $

16 Jul 2008; Luca Longinotti
pure-ftpd-1.0.21-r1.ebuild:
Dep on PostgreSQL libs only.

21 May 2008; Tiziano Müller
pure-ftpd-1.0.21-r1.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server

21 Apr 2008; Luca Longinotti metadata.xml:
Metadata update.

18 Apr 2008; Luca Longinotti -files/ftpusers,
files/pure-ftpd.rc6, -pure-ftpd-1.0.20-r1.ebuild,
pure-ftpd-1.0.21-r1.ebuild:
Remove old version. Fix bugs #173365, #179375 and #182906.

02 Aug 2007; Roy Marples pure-ftpd-1.0.20-r1.ebuild,
pure-ftpd-1.0.21-r1.ebuild:
Keyworded ~x86-fbsd, #173648 thanks to Alessio Cassibba

15 May 2007; Thilo Bangert metadata.xml:
add no-herd

06 May 2007; Marius Mauch pure-ftpd-1.0.20-r1.ebuild,
pure-ftpd-1.0.21-r1.ebuild:
Replacing einfo with elog

28 Apr 2007; Sven Wegener
pure-ftpd-1.0.20-r1.ebuild, pure-ftpd-1.0.21-r1.ebuild:
Drop dodir from dodir/*into combination.

19 Jan 2007; Alexander H. Færøy
pure-ftpd-1.0.21-r1.ebuild:
Stable on IA64; bug #156718

20 Dec 2006; Steve Dibb pure-ftpd-1.0.21-r1.ebuild:
amd64 stable, bug 156718

03 Dec 2006; Christian Faulhammer
pure-ftpd-1.0.21-r1.ebuild:
stable x86, bug #156718

02 Dec 2006; Alexander H. Færøy
pure-ftpd-1.0.21-r1.ebuild:
Stable on Alpha; bug #156718

01 Dec 2006; Markus Rothe pure-ftpd-1.0.21-r1.ebuild:
Stable on ppc64; bug #156718

01 Dec 2006; Tobias Scherbaum
pure-ftpd-1.0.21-r1.ebuild:
ppc stable, bug #156718

01 Dec 2006; Gustavo Zacarias
pure-ftpd-1.0.21-r1.ebuild:
Stable on sparc wrt #156718

01 Dec 2006; Jeroen Roovers pure-ftpd-1.0.21-r1.ebuild:
Stable for HPPA (bug #156718).

23 Nov 2006; Francesco Riosa pure-ftpd-1.0.20-r1.ebuild,
pure-ftpd-1.0.21-r1.ebuild:
dev-db/mysql => virtual/mysql

28 Sep 2006; Luca Longinotti files/pure-ftpd.conf_d:
Update conf.d, fixes bug #149403.

23 Sep 2006; Luca Longinotti Manifest:
Fix Manifest.

*pure-ftpd-1.0.21-r1 (23 Sep 2006)

23 Sep 2006; Luca Longinotti
-files/pure-ftpd-1.0.20-pam.patch, files/pure-ftpd.conf_d,
+files/pure-ftpd.rc6, -files/pure-ftpd.rc6-r1, files/pure-ftpd.xinetd,
pure-ftpd-1.0.20-r1.ebuild, -pure-ftpd-1.0.20-r2.ebuild,
-pure-ftpd-1.0.21.ebuild, +pure-ftpd-1.0.21-r1.ebuild:
General ebuild cleanup. Fix bugs #41097, #90528, #109647, #115799, #117936,
#122671 and #130690.

22 Sep 2006; Luca Longinotti metadata.xml:
Set myself as maintainer.

12 Jul 2006; Danny van Dyk
pure-ftpd-1.0.20-r1.ebuild:
QA: Added selinux to IUSE.

*pure-ftpd-1.0.21 (14 Mar 2006)

14 Mar 2006; Gustavo Felisberto ;
+files/pure-ftpd-1.0.21-pam.patch, +pure-ftpd-1.0.21.ebuild:
Version bump to 10.0.21. Thanks to Charles Sheridan on bug #124933 for
reporting.

19 Sep 2005; Roy Marples pure-ftpd-1.0.20-r1.ebuild,
pure-ftpd-1.0.20-r2.ebuild:
New USE flag selinux now depends on the selinux-ftpd policy, wrt #106355.

*pure-ftpd-1.0.20-r2 (31 Aug 2005)

31 Aug 2005; Gustavo Felisberto ;
+files/pure-ftpd-1.0.20-pam.patch, +pure-ftpd-1.0.20-r2.ebuild:
Added ftpbase compatible version that helps close bug #102479

21 Aug 2005; Gustavo Felisberto ;
files/pure-ftpd.conf_d:
Changed coment in conf.d file. Credit to David in bug #103195 .

06 May 2005; Sven Wegener
pure-ftpd-1.0.20-r1.ebuild:
Removed * postfix from <, <=, >= and > dependencies.

04 May 2005; Herbie Hopkins pure-ftpd-1.0.20-r1.ebuild:
Stable on amd64.

02 Mar 2005; Gustavo Felisberto ;
-files/pure-ftpd-1.0.18-fcntl.patch, files/pure-ftpd.conf_d,
-files/pure-ftpd.rc6, -pure-ftpd-1.0.16b.ebuild, -pure-ftpd-1.0.16c.ebuild,
-pure-ftpd-1.0.17a.ebuild, -pure-ftpd-1.0.18-r1.ebuild,
-pure-ftpd-1.0.18.ebuild, -pure-ftpd-1.0.20.ebuild:
Removing older versions and files. Also closing bug #75026.

04 Feb 2005; Michael Hanselmann
pure-ftpd-1.0.20-r1.ebuild:
Stable on ppc.

04 Feb 2005; Bryan Østergaard
pure-ftpd-1.0.20-r1.ebuild:
Stable on alpha, bug 80458.

03 Feb 2005; Gustavo Zacarias
pure-ftpd-1.0.20-r1.ebuild:
Stable on sparc wrt #80458

02 Feb 2005; Gustavo Felisberto ;
pure-ftpd-1.0.20-r1.ebuild:
Stable on x86

02 Feb 2005; Markus Rothe pure-ftpd-1.0.20-r1.ebuild:
Stable on ppc64

*pure-ftpd-1.0.20-r1 (02 Feb 2005)

02 Feb 2005; Gustavo Felisberto ;
files/pure-ftpd.conf_d, +pure-ftpd-1.0.20-r1.ebuild:
Adding version to solve sec bug #80458 and a warning to the conf file about
bug #75861.

29 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

18 Sep 2004; Gustavo Felisberto ;
pure-ftpd-1.0.20.ebuild:
Added privilege separation option to configure.

01 Sep 2004; Gustavo Felisberto ;
pure-ftpd-1.0.20.ebuild:
Updated username lenght limit from 32 to 127, see bug #62472 for details.

*pure-ftpd-1.0.20 (09 Aug 2004)

09 Aug 2004; Gustavo Felisberto ;
pure-ftpd-1.0.20.ebuild:
Added caps flag. Closes bug #59458. thanks to erkan kaplan

09 Aug 2004; Gustavo Felisberto ; :
Version bump tp 1.0.20, closes bug #59355.

15 Jul 2004; Tom Gall pure-ftpd-1.0.18-r1.ebuild:
stable on ppc64, bug #55407

10 Jul 2004; Gustavo Felisberto ; metadata.xml:
Taking maintainership of this package due to raker's retire. Will update this
to the new version ASAP

04 Jul 2004; Michael Hanselmann
pure-ftpd-1.0.18-r1.ebuild:
Stable on ppc.

01 Jul 2004; Jeremy Huddleston
pure-ftpd-1.0.16b.ebuild, pure-ftpd-1.0.16c.ebuild,
pure-ftpd-1.0.17a.ebuild, pure-ftpd-1.0.18-r1.ebuild,
pure-ftpd-1.0.18.ebuild:
virtual/glibc -> virtual/libc

24 Jun 2004; Aron Griffis pure-ftpd-1.0.18-r1.ebuild:
stable on ia64 #54590

23 Jun 2004; Jason Wever pure-ftpd-1.0.18-r1.ebuild:
Marked stable on sparc wrt bug #54590.

23 Jun 2004; Bryan Østergaard
pure-ftpd-1.0.18-r1.ebuild:
Stable on alpha, see bug #54590.

*pure-ftpd-1.0.18-r1 (22 Jun 2004)

22 Jun 2004; pure-ftpd-1.0.18-r1.ebuild,
files/pure-ftpd-1.0.18-fcntl.patch:
fix DoS when max connections is reached. secuirty bug #54590

09 Jun 2004; Aron Griffis pure-ftpd-1.0.16b.ebuild,
pure-ftpd-1.0.16c.ebuild, pure-ftpd-1.0.17a.ebuild, pure-ftpd-1.0.18.ebuild:
Fix use invocation

26 Apr 2004; Aron Griffis pure-ftpd-1.0.16b.ebuild,
pure-ftpd-1.0.16c.ebuild, pure-ftpd-1.0.17a.ebuild, pure-ftpd-1.0.18.ebuild:
Add die following econf for bug 48950

13 Apr 2004; pure-ftpd-1.0.18.ebuild:
Stable on alpha and ia64

*pure-ftpd-1.0.18 (06 Apr 2004)

06 Apr 2004; Nick Hadaway pure-ftpd-1.0.18.ebuild:
Version bump. Adjusted pam-related stuff. Added support for files
larger than 2GB. Thanks to cvo on bug #45796 for noticing this
missing option.

01 Feb 2004; Jon Portnoy pure-ftpd-1.0.17a.ebuild :
AMD64 keywords.

*pure-ftpd-1.0.17a (22 Jan 2004)

22 Jan 2004; Nick Hadaway pure-ftpd-1.0.17a.ebuild:
Version bump. Upstream fixes include better SSL error responses and
other minor changes. Nothing earth-shattering AFAICT.

*pure-ftpd-1.0.16c (29 Oct 2003)

29 Oct 2003; Nick Hadaway pure-ftpd-1.0.16c.ebuild:
Version bump. A fix for PAM authentication and some other minor
changes.

20 Oct 2003; Nick Hadaway pure-ftpd-1.0.16b.ebuild:
Marking stable for all arches based on the suggestion of the upstream
authors.

*pure-ftpd-1.0.16b (19 Oct 2003)

19 Oct 2003; Nick Hadaway pure-ftpd-1.0.16b.ebuild:
Version bump. Important bugfixes.

17 Oct 2003; Nick Hadaway pure-ftpd-1.0.16a.ebuild:
Marked stable for x86.

*pure-ftpd-1.0.16a (13 Aug 2003)

13 Aug 2003; Nick Hadaway pure-ftpd-1.0.16a.ebuild:
Version bump. Fixes for the ldap and pam portion of the install.
Added ssl to IUSE. Other minor build cleanups.

*pure-ftpd-1.0.15 (21 Jun 2003)

29 Jul 2003; Guy Martin pure-ftpd-1.0.15.ebuild :
Added hppa to KEYWORDS.

21 Jun 2003; Nick Hadaway pure-ftpd-1.0.15.ebuild:
Bug fixes. :) Just a bump is all that's needed.

*pure-ftpd-1.0.14 (09 Feb 2003)

09 Jun 2003; Nick Hadaway pure-ftpd-1.0.14.ebuild:
Changed license to BSD.

09 Feb 2003; Nick Hadaway pure-ftpd-1.0.14.ebuild,
files/digest-pure-ftpd-1.0.14 :
Version bump. Added some logic to complete ldap support as suggested
in bug #15367 by claer@unixlover.com

*pure-ftpd-1.0.13a (28 Jan 2003)

29 Jan 2003; Nick Hadaway pure-ftpd-1.0.13a.ebuild :
Removed the --with-largefile option per bug #11215

28 Jan 2003; Nick Hadaway pure-ftpd-1.0.13a.ebuld,
files/digest-pure-ftpd-1.0.13a, files/pureftpd.rc6-r1 :
Version bump. And changed the init script so start-stop-daemon
is utilized.

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

*pure-ftpd-1.0.12-r1 (25 Nov 2002)

25 Nov 2002; Mike Frysinger :
Added support for lfs #11215

*pure-ftpd-1.0.12 (12 Oct 2002)

12 Oct 2002; Maik Schreiber : New version, closes
bug #6000.

*pure-ftpd-1.0.11-r1 (19 Apr 2002)

19 Apr 2002; Bart Verwilst : Added fix, conf.d
file wasn't copied... this new revision (r1) should fix the problem.

*pure-ftpd-1.0.11 (14 Apr 2002)

14 Apr 2002; Bart Verwilst : Upgraded version,
removed old one.. New ebuild (1.0.11) includes pam fixes as well..

*pure-ftpd-1.0.8-r1 (13 Feb 2003)

13 Jul 2003; Daniel Ahlberg :
Added missing changelog entry.

*pure-ftpd-1.0.8 (01 Feb 2002)

01 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX pure-ftpd-1.0.21-pam.patch 586 RMD160 3246183eb4914dd605c181da17aa02c8e1e99726 SHA1 df99422a026e403ccecfe95ae9a1e13a7138b4d2 SHA256 4eab3ab63c403e02782df0b07d2f83b741b0b07cb10e37046dc2c874682509a6
AUX pure-ftpd.conf_d 3378 RMD160 82d5d319b35e1262e8d72cff46c328429e3e3bce SHA1 93c4f65ce1592ad1ccbe8e04250c4cc1c9cdb5f2 SHA256 4361690c4217fd1cdae0c050015629ce6e74046446def2c7d646020d0682a579
AUX pure-ftpd.rc6 1455 RMD160 5bb57d4e162e08d113da9c349cf57480244948f7 SHA1 54b0abe7e27f10bdec9a22917e57f5ed625ebca3 SHA256 d554e4bab0c11a23c19e8fac9070c2550ca461dce72047745ca9f3fcf2660770
AUX pure-ftpd.xinetd 247 RMD160 5789f98ffc48dcd5f67ad4777cbc70e158e89de6 SHA1 a698d0145612eb9503612ff2485f7dfcb6487bda SHA256 30e166051c7331c48ab1d948d6deecaa71130aaf3cfdc3ffb99124971b64f80c
DIST pure-ftpd-1.0.21.tar.bz2 476117 RMD160 1ad61243c1f8a8d1055ee839eec0d9117681cf20 SHA1 1405ff2b9b9c3616c4e390eb99779884173a3347 SHA256 f2f03e5bb42325b470b88e8ee7e6014226518b620beb5dd8cf1f07bcdb64559c
EBUILD pure-ftpd-1.0.21-r1.ebuild 3757 RMD160 8b7614888cad7968bc3b076f0bfd5bdee986da0a SHA1 e47bc88a65c7a651d6f18a5718d2b0cbdf8355a7 SHA256 24175e9724fde68b498b2720d6c79ff13afc7fb67ab8591bf38179541054d463
MISC ChangeLog 11317 RMD160 dda48ad129a591adcc67a2c01b4d37c06b235456 SHA1 93fa8c44265ebde33533438a7533b662ec91d47a SHA256 a820f6ded95c53a8297118260c9050abbe2607b4a3abc24d90db6af4fdeaee0d
MISC metadata.xml 473 RMD160 00ef2a3d2b1197540351487c9176aae053babd3d SHA1 d60b2443e90832790c80522afaa6ade5ba5c6e15 SHA256 1bf86931359d6821a0b29028441252f4f754093bcfdc3a37e2a422832bd84d36

files

metadata.xml




no-herd

chtekk@gentoo.org
Luca Longinotti

Free (BSD), secure, production-quality and standard-conformant FTP server based upon Troll-FTPd. It doesn't provide useless bells and whistles, but focuses on efficiency and ease of use.

pure-ftpd-1.0.21-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.21-r1.ebuild,v 1.16 2008/07/16 16:02:47 chtekk Exp $

inherit eutils confutils flag-o-matic

KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"

DESCRIPTION="Fast, production-quality, standard-conformant FTP server."
HOMEPAGE="http://www.pureftpd.org/"
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"

IUSE="anondel anonperm anonren anonres caps charconv ldap mysql noiplog pam paranoidmsg postgres selinux ssl vchroot xinetd"

DEPEND="caps? ( sys-libs/libcap )
charconv? ( virtual/libiconv )
ldap? ( >=net-nds/openldap-2.0.25 )
mysql? ( virtual/mysql )
pam? ( virtual/pam )
postgres? ( virtual/postgresql-base )
ssl? ( >=dev-libs/openssl-0.9.6g )
xinetd? ( virtual/inetd )"

RDEPEND="${DEPEND}
net-ftp/ftpbase
selinux? ( sec-policy/selinux-ftpd )"

src_unpack() {
unpack ${A}

cd "${S}"

epatch "${FILESDIR}/${P}-pam.patch"
}

src_compile() {
# adjust max user length to something more appropriate
# for virtual hosts. See bug #62472 for details.
sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" -i "${S}/src/ftpd.h" || die "sed failed"

local my_conf=""

# Let's configure the USE-enabled stuff
enable_extension_without "capabilities" "caps"
enable_extension_with "rfc2640" "charconv" 0
enable_extension_with "ldap" "ldap" 0
enable_extension_with "mysql" "mysql" 0
enable_extension_with "pam" "pam" 0
enable_extension_with "paranoidmsg" "paranoidmsg" 0
enable_extension_with "pgsql" "postgres" 0
enable_extension_with "tls" "ssl" 0
enable_extension_with "virtualchroot" "vchroot" 0
enable_extension_without "inetd" "xinetd"

# noiplog is a negative flag, we don't want that enabled by default,
# so we handle it manually, as confutils can't do that
use noiplog && my_conf="${my_conf} --without-iplogging"

# Those features are only configurable like this, see bug #179375.
use anondel && append-cppflags -DANON_CAN_DELETE
use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS
use anonren && append-cppflags -DANON_CAN_RENAME
use anonres && append-cppflags -DANON_CAN_RESUME

econf \
--with-altlog \
--with-cookie \
--with-diraliases \
--with-extauth \
--with-ftpwho \
--with-language=${PUREFTPD_LANG:=english} \
--with-largefile \
--with-peruserlimits \
--with-privsep \
--with-puredb \
--with-quotas \
--with-ratios \
--with-throttling \
--with-uploadscript \
--with-virtualhosts \
${my_conf} || die "econf failed"

emake || die "emake failed"
}

src_install() {
emake DESTDIR="${D}" install || die "emake install failed"

dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS

newconfd "${FILESDIR}/pure-ftpd.conf_d" pure-ftpd

newinitd "${FILESDIR}/pure-ftpd.rc6" pure-ftpd

if use xinetd ; then
insinto /etc/xinetd.d
newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd
fi

if use ldap ; then
insinto /etc/openldap/schema
doins pureftpd.schema
insinto /etc/openldap
insopts -m 0600
doins pureftpd-ldap.conf
fi
}

pkg_postinst() {
elog
elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!"
elog
ewarn "It's *really* important to read the README provided with Pure-FTPd!"
ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info"
ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info."
ewarn
if use charconv ; then
ewarn "Charset conversion is an *experimental* feature!"
ewarn "Remember to set a valid charset for your filesystem in the configuration!"
fi
}