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