1 |
hwoarang 10/08/20 09:15:43 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: vsftpd-2.3.2.ebuild |
5 |
Log: |
6 |
Version bump. Bug #331441. Johan Bergström <bugs@××××××××××.nu> will be proxy-maintainer |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.10 net-ftp/vsftpd/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/vsftpd/metadata.xml?rev=1.10&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/vsftpd/metadata.xml?rev=1.10&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/vsftpd/metadata.xml?r1=1.9&r2=1.10 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/metadata.xml,v |
19 |
retrieving revision 1.9 |
20 |
retrieving revision 1.10 |
21 |
diff -u -r1.9 -r1.10 |
22 |
--- metadata.xml 20 Aug 2010 08:49:15 -0000 1.9 |
23 |
+++ metadata.xml 20 Aug 2010 09:15:42 -0000 1.10 |
24 |
@@ -6,6 +6,11 @@ |
25 |
<email>hwoarang@g.o</email> |
26 |
<name>Markos Chandras</name> |
27 |
</maintainer> |
28 |
+ <maintainer> |
29 |
+ <email>bugs@××××××××××.nu</email> |
30 |
+ <name>Johan Bergström</name> |
31 |
+ <description>Proxy Maintainer. CC him on bugs</description> |
32 |
+ </maintainer> |
33 |
<longdescription lang="en"> |
34 |
Very Secure FTP Daemon written with speed, size and security |
35 |
in mind |
36 |
|
37 |
|
38 |
|
39 |
1.127 net-ftp/vsftpd/ChangeLog |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/vsftpd/ChangeLog?rev=1.127&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/vsftpd/ChangeLog?rev=1.127&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/vsftpd/ChangeLog?r1=1.126&r2=1.127 |
44 |
|
45 |
Index: ChangeLog |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/ChangeLog,v |
48 |
retrieving revision 1.126 |
49 |
retrieving revision 1.127 |
50 |
diff -u -r1.126 -r1.127 |
51 |
--- ChangeLog 20 Aug 2010 08:49:15 -0000 1.126 |
52 |
+++ ChangeLog 20 Aug 2010 09:15:42 -0000 1.127 |
53 |
@@ -1,6 +1,13 @@ |
54 |
# ChangeLog for net-ftp/vsftpd |
55 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/ChangeLog,v 1.126 2010/08/20 08:49:15 hwoarang Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/ChangeLog,v 1.127 2010/08/20 09:15:42 hwoarang Exp $ |
58 |
+ |
59 |
+*vsftpd-2.3.2 (20 Aug 2010) |
60 |
+ |
61 |
+ 20 Aug 2010; Markos Chandras <hwoarang@g.o> +vsftpd-2.3.2.ebuild, |
62 |
+ metadata.xml: |
63 |
+ Version bump. Bug #331441. Johan Bergström <bugs@××××××××××.nu> will be |
64 |
+ proxy-maintainer |
65 |
|
66 |
20 Aug 2010; Markos Chandras <hwoarang@g.o> metadata.xml: |
67 |
Taking over maintainership |
68 |
|
69 |
|
70 |
|
71 |
1.1 net-ftp/vsftpd/vsftpd-2.3.2.ebuild |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/vsftpd/vsftpd-2.3.2.ebuild?rev=1.1&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/vsftpd/vsftpd-2.3.2.ebuild?rev=1.1&content-type=text/plain |
75 |
|
76 |
Index: vsftpd-2.3.2.ebuild |
77 |
=================================================================== |
78 |
# Copyright 1999-2010 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/vsftpd-2.3.2.ebuild,v 1.1 2010/08/20 09:15:42 hwoarang Exp $ |
81 |
|
82 |
inherit eutils toolchain-funcs |
83 |
|
84 |
DESCRIPTION="Very Secure FTP Daemon written with speed, size and security in mind" |
85 |
HOMEPAGE="http://vsftpd.beasts.org/" |
86 |
SRC_URI="ftp://vsftpd.beasts.org/users/cevans/${P}.tar.gz" |
87 |
|
88 |
LICENSE="GPL-2" |
89 |
SLOT="0" |
90 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
91 |
IUSE="caps pam tcpd ssl selinux xinetd" |
92 |
|
93 |
DEPEND="caps? ( >=sys-libs/libcap-2 ) |
94 |
pam? ( virtual/pam ) |
95 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) |
96 |
ssl? ( >=dev-libs/openssl-0.9.7d )" |
97 |
RDEPEND="${DEPEND} |
98 |
net-ftp/ftpbase |
99 |
selinux? ( sec-policy/selinux-ftpd ) |
100 |
xinetd? ( sys-apps/xinetd )" |
101 |
|
102 |
src_unpack() { |
103 |
unpack ${A} |
104 |
cd "${S}" |
105 |
|
106 |
# Patch the source, config and the manpage to use /etc/vsftpd/ |
107 |
epatch "${FILESDIR}/${PN}-2.2.0-gentoo.patch" |
108 |
|
109 |
# Fix building without the libcap |
110 |
epatch "${FILESDIR}/${PN}-2.1.0-caps.patch" |
111 |
|
112 |
# Configure vsftpd build defaults |
113 |
use tcpd && echo "#define VSF_BUILD_TCPWRAPPERS" >> builddefs.h |
114 |
use ssl && echo "#define VSF_BUILD_SSL" >> builddefs.h |
115 |
use pam || echo "#undef VSF_BUILD_PAM" >> builddefs.h |
116 |
|
117 |
# Ensure that we don't link against libcap unless asked |
118 |
if ! use caps ; then |
119 |
sed -i '/^#define VSF_SYSDEP_HAVE_LIBCAP$/ d' sysdeputil.c |
120 |
epatch "${FILESDIR}"/${PN}-2.2.0-dont-link-caps.patch |
121 |
fi |
122 |
|
123 |
# Let portage control stripping |
124 |
sed -i '/^LINK[[:space:]]*=[[:space:]]*/ s/-Wl,-s//' Makefile |
125 |
} |
126 |
|
127 |
src_compile() { |
128 |
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
into /usr |
133 |
doman vsftpd.conf.5 vsftpd.8 || die "doman failed" |
134 |
dosbin vsftpd || die "disbin failed" |
135 |
|
136 |
dodoc AUDIT BENCHMARKS BUGS Changelog FAQ \ |
137 |
README README.security REWARD SIZE \ |
138 |
SPEED TODO TUNING || die "dodoc failed" |
139 |
newdoc vsftpd.conf vsftpd.conf.example || die "newdoc failed" |
140 |
|
141 |
docinto security |
142 |
dodoc SECURITY/* || die "dodoc failed" |
143 |
|
144 |
insinto "/usr/share/doc/${PF}/examples" |
145 |
doins -r EXAMPLE/* || die "doins faileD" |
146 |
|
147 |
insinto /etc/vsftpd |
148 |
newins vsftpd.conf vsftpd.conf.example || die "newins failed" |
149 |
|
150 |
insinto /etc/logrotate.d |
151 |
newins "${FILESDIR}/vsftpd.logrotate" vsftpd || die "newins failed" |
152 |
|
153 |
if use xinetd ; then |
154 |
insinto /etc/xinetd.d |
155 |
newins "${FILESDIR}/vsftpd.xinetd" vsftpd || die "newins failed" |
156 |
fi |
157 |
|
158 |
newinitd "${FILESDIR}/vsftpd.init" vsftpd || die "newinitd failed" |
159 |
|
160 |
keepdir /usr/share/vsftpd/empty |
161 |
} |
162 |
|
163 |
pkg_preinst() { |
164 |
# If we use xinetd, then we set listen=NO |
165 |
# so that our default config works under xinetd - fixes #78347 |
166 |
if use xinetd ; then |
167 |
sed -i 's/listen=YES/listen=NO/g' "${D}"/etc/vsftpd/vsftpd.conf.example |
168 |
fi |
169 |
} |
170 |
|
171 |
pkg_postinst() { |
172 |
einfo "vsftpd init script can now be multiplexed." |
173 |
einfo "The default init script forces /etc/vsftpd/vsftpd.conf to exist." |
174 |
einfo "If you symlink the init script to another one, say vsftpd.foo" |
175 |
einfo "then that uses /etc/vsftpd/foo.conf instead." |
176 |
einfo |
177 |
einfo "Example:" |
178 |
einfo " cd /etc/init.d" |
179 |
einfo " ln -s vsftpd vsftpd.foo" |
180 |
einfo "You can now treat vsftpd.foo like any other service" |
181 |
} |