1 |
rbu 08/01/10 23:51:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: netkit-ftpd-0.17-r7.ebuild |
5 |
Removed: netkit-ftpd-0.17-r6.ebuild |
6 |
Log: |
7 |
Security: Fix a double-fclose vulnerability in the dataconn function (CVE-2007-6263, #199206) |
8 |
(Portage version: 2.1.3.19) |
9 |
|
10 |
Revision Changes Path |
11 |
1.9 net-ftp/netkit-ftpd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog?rev=1.9&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog?rev=1.9&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog?r1=1.8&r2=1.9 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog,v |
20 |
retrieving revision 1.8 |
21 |
retrieving revision 1.9 |
22 |
diff -u -r1.8 -r1.9 |
23 |
--- ChangeLog 30 Dec 2007 20:38:31 -0000 1.8 |
24 |
+++ ChangeLog 10 Jan 2008 23:51:08 -0000 1.9 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for net-ftp/netkit-ftpd |
27 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog,v 1.8 2007/12/30 20:38:31 ulm Exp $ |
29 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-ftpd/ChangeLog,v 1.9 2008/01/10 23:51:08 rbu Exp $ |
31 |
+ |
32 |
+*netkit-ftpd-0.17-r7 (10 Jan 2008) |
33 |
+ |
34 |
+ 10 Jan 2008; Robert Buchholz <rbu@g.o> |
35 |
+ +files/netkit-ftpd-0.17-fclose-CVE-2007-6263.patch, |
36 |
+ -netkit-ftpd-0.17-r6.ebuild, +netkit-ftpd-0.17-r7.ebuild: |
37 |
+ Security: Fix a double-fclose vulnerability in the dataconn function |
38 |
+ (CVE-2007-6263, #199206) |
39 |
|
40 |
*netkit-ftpd-0.17-r6 (30 Dec 2007) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 net-ftp/netkit-ftpd/netkit-ftpd-0.17-r7.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r7.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r7.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: netkit-ftpd-0.17-r7.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2008 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-ftpd/netkit-ftpd-0.17-r7.ebuild,v 1.1 2008/01/10 23:51:08 rbu Exp $ |
55 |
|
56 |
inherit eutils ssl-cert |
57 |
|
58 |
MY_P="linux-ftpd-${PV}" |
59 |
DESCRIPTION="The netkit FTP server with optional SSL support" |
60 |
HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html" |
61 |
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz |
62 |
mirror://gentoo/${MY_P}-ssl.patch" |
63 |
|
64 |
LICENSE="as-is" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~s390 ~sh ~sparc ~x86" |
67 |
IUSE="ssl" |
68 |
|
69 |
DEPEND="ssl? ( dev-libs/openssl )" |
70 |
RDEPEND="${DEPEND} |
71 |
virtual/inetd" |
72 |
|
73 |
S=${WORKDIR}/${MY_P} |
74 |
|
75 |
src_unpack() { |
76 |
unpack ${MY_P}.tar.gz |
77 |
cd "${S}" |
78 |
use ssl && epatch "${DISTDIR}"/${MY_P}-ssl.patch "${FILESDIR}"/${P}-cleanup-ssl.patch |
79 |
epatch "${FILESDIR}"/${P}-cleanup.patch |
80 |
epatch "${FILESDIR}"/${P}-build.patch |
81 |
epatch "${FILESDIR}"/${P}-shadowfix.patch |
82 |
epatch "${FILESDIR}"/${P}-gcc41.patch |
83 |
epatch "${FILESDIR}"/${P}-setguid.patch |
84 |
epatch "${FILESDIR}"/${P}-fclose-CVE-2007-6263.patch #199206 |
85 |
} |
86 |
|
87 |
src_compile() { |
88 |
./configure --prefix=/usr || die "configure failed" |
89 |
emake || die "parallel make failed" |
90 |
} |
91 |
|
92 |
src_install() { |
93 |
dobin ftpd/ftpd || die |
94 |
doman ftpd/ftpd.8 |
95 |
dodoc README ChangeLog |
96 |
insinto /etc/xinetd.d |
97 |
newins "${FILESDIR}"/ftp.xinetd ftp |
98 |
} |
99 |
|
100 |
pkg_postinst() { |
101 |
if use ssl ; then |
102 |
install_cert /etc/ssl/certs/ftpd |
103 |
elog "In order to start the server with SSL support" |
104 |
elog "You need a certificate /etc/ssl/certs/ftpd.pem." |
105 |
elog "A temporary certificiate has been created." |
106 |
fi |
107 |
} |
108 |
|
109 |
|
110 |
|
111 |
-- |
112 |
gentoo-commits@l.g.o mailing list |