Gentoo Archives: gentoo-commits

From: "Robert Buchholz (rbu)" <rbu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-ftp/ftp: ChangeLog ftp-0.17-r7.ebuild
Date: Thu, 10 Jan 2008 23:51:38
Message-Id: E1JD7BO-00083D-To@stork.gentoo.org
1 rbu 08/01/10 23:51:34
2
3 Modified: ChangeLog
4 Added: ftp-0.17-r7.ebuild
5 Log:
6 Security: Fix a double-fclose() vulnerability in the getreply function (CVE-2007-5769, #199206)
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.29 net-ftp/ftp/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ftp/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ftp/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ftp/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-ftp/ftp/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 22 Feb 2007 02:14:36 -0000 1.28
23 +++ ChangeLog 10 Jan 2008 23:51:34 -0000 1.29
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-ftp/ftp
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftp/ChangeLog,v 1.28 2007/02/22 02:14:36 peper Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftp/ChangeLog,v 1.29 2008/01/10 23:51:34 rbu Exp $
30 +
31 +*ftp-0.17-r7 (10 Jan 2008)
32 +
33 + 10 Jan 2008; Robert Buchholz <rbu@g.o>
34 + +files/netkit-ftp-0.17-sigseg.patch, +ftp-0.17-r7.ebuild:
35 + Security: Fix a double-fclose() vulnerability in the getreply function
36 + (CVE-2007-5769, #199206)
37
38 22 Feb 2007; Piotr JaroszyƄski <peper@g.o> ChangeLog:
39 Transition to Manifest2.
40
41
42
43 1.1 net-ftp/ftp/ftp-0.17-r7.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ftp/ftp-0.17-r7.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ftp/ftp-0.17-r7.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ftp-0.17-r7.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-ftp/ftp/ftp-0.17-r7.ebuild,v 1.1 2008/01/10 23:51:34 rbu Exp $
53
54 inherit eutils toolchain-funcs flag-o-matic
55
56 MY_P=netkit-${P}
57 S=${WORKDIR}/${MY_P}
58 DESCRIPTION="Standard Linux FTP client"
59 HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
60 SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz"
61
62 LICENSE="as-is"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
65 IUSE="ssl ipv6"
66
67 RDEPEND=">=sys-libs/ncurses-5.2
68 ssl? ( dev-libs/openssl )"
69 DEPEND="${RDEPEND}
70 >=sys-apps/sed-4"
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75 epatch "${FILESDIR}"/${MY_P}-ssl-0.2.patch
76 epatch "${FILESDIR}"/${MY_P}-ipv6.patch #47507
77 epatch "${FILESDIR}"/${MY_P}-dont-strcpy-overlapping.patch #104311
78 epatch "${FILESDIR}"/${MY_P}-acct.patch #fedora
79 epatch "${FILESDIR}"/${MY_P}-locale.patch #fedora
80 epatch "${FILESDIR}"/${MY_P}-runique_mget.patch #fedora
81 epatch "${FILESDIR}"/${MY_P}-security.patch #fedora
82 epatch "${FILESDIR}"/${MY_P}-segv.patch #fedora
83 epatch "${FILESDIR}"/${MY_P}-custom-cflags.patch
84 epatch "${FILESDIR}"/${MY_P}-sigseg.patch #fedora, #199206
85 append-lfs-flags #101038
86 }
87
88 src_compile() {
89 ./configure \
90 --prefix=/usr \
91 $(use_enable ssl) \
92 $(use_enable ipv6) \
93 ${EXTRA_ECONF} \
94 || die "configure failed"
95 emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "make failed"
96 }
97
98 src_install() {
99 dobin ftp/ftp || die
100 doman ftp/ftp.1 ftp/netrc.5
101 dodoc ChangeLog README BUGS
102 }
103
104
105
106 --
107 gentoo-commits@l.g.o mailing list