1 |
voyageur 10/02/17 12:34:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pure-ftpd-1.0.28.ebuild |
5 |
Log: |
6 |
Version bump by Polynomial-C, bug #305329 |
7 |
(Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.85 net-ftp/pure-ftpd/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/pure-ftpd/ChangeLog?rev=1.85&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/pure-ftpd/ChangeLog?rev=1.85&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/pure-ftpd/ChangeLog?r1=1.84&r2=1.85 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v |
19 |
retrieving revision 1.84 |
20 |
retrieving revision 1.85 |
21 |
diff -u -r1.84 -r1.85 |
22 |
--- ChangeLog 14 Dec 2009 22:10:19 -0000 1.84 |
23 |
+++ ChangeLog 17 Feb 2010 12:34:58 -0000 1.85 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-ftp/pure-ftpd |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.84 2009/12/14 22:10:19 voyageur Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/ChangeLog,v 1.85 2010/02/17 12:34:58 voyageur Exp $ |
30 |
+ |
31 |
+*pure-ftpd-1.0.28 (17 Feb 2010) |
32 |
+ |
33 |
+ 17 Feb 2010; Bernard Cafarelli <voyageur@g.o> |
34 |
+ +pure-ftpd-1.0.28.ebuild, +files/pure-ftpd-1.0.28-pam.patch: |
35 |
+ Version bump by Polynomial-C, bug #305329 |
36 |
|
37 |
*pure-ftpd-1.0.27-r1 (14 Dec 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-ftp/pure-ftpd/pure-ftpd-1.0.28.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.28.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.28.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pure-ftpd-1.0.28.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/pure-ftpd-1.0.28.ebuild,v 1.1 2010/02/17 12:34:58 voyageur Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
inherit eutils confutils flag-o-matic |
55 |
|
56 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
57 |
|
58 |
DESCRIPTION="Fast, production-quality, standard-conformant FTP server." |
59 |
HOMEPAGE="http://www.pureftpd.org/" |
60 |
SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2" |
61 |
|
62 |
LICENSE="BSD" |
63 |
SLOT="0" |
64 |
|
65 |
IUSE="anondel anonperm anonren anonres caps charconv ldap mysql noiplog pam paranoidmsg postgres selinux ssl vchroot xinetd" |
66 |
|
67 |
DEPEND="caps? ( sys-libs/libcap ) |
68 |
charconv? ( virtual/libiconv ) |
69 |
ldap? ( >=net-nds/openldap-2.0.25 ) |
70 |
mysql? ( virtual/mysql ) |
71 |
pam? ( virtual/pam ) |
72 |
postgres? ( virtual/postgresql-base ) |
73 |
ssl? ( >=dev-libs/openssl-0.9.6g ) |
74 |
xinetd? ( virtual/inetd )" |
75 |
|
76 |
RDEPEND="${DEPEND} |
77 |
net-ftp/ftpbase |
78 |
selinux? ( sec-policy/selinux-ftpd )" |
79 |
|
80 |
src_prepare() { |
81 |
epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch |
82 |
} |
83 |
|
84 |
src_configure() { |
85 |
# adjust max user length to something more appropriate |
86 |
# for virtual hosts. See bug #62472 for details. |
87 |
sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" -i "${S}/src/ftpd.h" || die "sed failed" |
88 |
|
89 |
local my_conf="" |
90 |
|
91 |
# Let's configure the USE-enabled stuff |
92 |
enable_extension_without "capabilities" "caps" |
93 |
enable_extension_with "rfc2640" "charconv" 0 |
94 |
enable_extension_with "ldap" "ldap" 0 |
95 |
enable_extension_with "mysql" "mysql" 0 |
96 |
enable_extension_with "pam" "pam" 0 |
97 |
enable_extension_with "paranoidmsg" "paranoidmsg" 0 |
98 |
enable_extension_with "pgsql" "postgres" 0 |
99 |
enable_extension_with "tls" "ssl" 0 |
100 |
enable_extension_with "virtualchroot" "vchroot" 0 |
101 |
enable_extension_without "inetd" "xinetd" |
102 |
|
103 |
# noiplog is a negative flag, we don't want that enabled by default, |
104 |
# so we handle it manually, as confutils can't do that |
105 |
use noiplog && my_conf="${my_conf} --without-iplogging" |
106 |
|
107 |
# Those features are only configurable like this, see bug #179375. |
108 |
use anondel && append-cppflags -DANON_CAN_DELETE |
109 |
use anonperm && append-cppflags -DANON_CAN_CHANGE_PERMS |
110 |
use anonren && append-cppflags -DANON_CAN_RENAME |
111 |
use anonres && append-cppflags -DANON_CAN_RESUME |
112 |
|
113 |
econf \ |
114 |
--with-altlog \ |
115 |
--with-cookie \ |
116 |
--with-diraliases \ |
117 |
--with-extauth \ |
118 |
--with-ftpwho \ |
119 |
--with-language=${PUREFTPD_LANG:=english} \ |
120 |
--with-peruserlimits \ |
121 |
--with-privsep \ |
122 |
--with-puredb \ |
123 |
--with-quotas \ |
124 |
--with-ratios \ |
125 |
--with-throttling \ |
126 |
--with-uploadscript \ |
127 |
--with-virtualhosts \ |
128 |
--enable-largefile \ |
129 |
${my_conf} || die "econf failed" |
130 |
} |
131 |
|
132 |
src_install() { |
133 |
emake DESTDIR="${D}" install || die "emake install failed" |
134 |
|
135 |
dodoc AUTHORS CONTACT ChangeLog FAQ HISTORY INSTALL README* NEWS |
136 |
|
137 |
newconfd "${FILESDIR}/pure-ftpd.conf_d" pure-ftpd |
138 |
|
139 |
newinitd "${FILESDIR}/pure-ftpd.rc7" pure-ftpd |
140 |
|
141 |
if use xinetd ; then |
142 |
insinto /etc/xinetd.d |
143 |
newins "${FILESDIR}/pure-ftpd.xinetd" pure-ftpd |
144 |
fi |
145 |
|
146 |
if use ldap ; then |
147 |
insinto /etc/openldap/schema |
148 |
doins pureftpd.schema |
149 |
insinto /etc/openldap |
150 |
insopts -m 0600 |
151 |
doins pureftpd-ldap.conf |
152 |
fi |
153 |
} |
154 |
|
155 |
pkg_postinst() { |
156 |
elog |
157 |
elog "Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!" |
158 |
elog |
159 |
ewarn "It's *really* important to read the README provided with Pure-FTPd!" |
160 |
ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info" |
161 |
ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info." |
162 |
ewarn |
163 |
if use charconv ; then |
164 |
ewarn "Charset conversion is an *experimental* feature!" |
165 |
ewarn "Remember to set a valid charset for your filesystem in the configuration!" |
166 |
fi |
167 |
} |