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