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