summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-30 06:20:56 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-30 06:20:56 +0000
commit615e3e89edaff1c9351c06b3a0a262dc106c33a3 (patch)
tree080754c5f5f7eba0ec7755ce8f9d2d26ecf82f98 /net-ftp/ftp
parentVersion bump to force linking with newer zlib #100683. (diff)
downloadgentoo-2-615e3e89edaff1c9351c06b3a0a262dc106c33a3.tar.gz
gentoo-2-615e3e89edaff1c9351c06b3a0a262dc106c33a3.tar.bz2
gentoo-2-615e3e89edaff1c9351c06b3a0a262dc106c33a3.zip
Add some user-input buffer len checks #100423 by Amir Sadoughi.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-ftp/ftp')
-rw-r--r--net-ftp/ftp/ChangeLog7
-rw-r--r--net-ftp/ftp/files/digest-ftp-0.17-r51
-rw-r--r--net-ftp/ftp/ftp-0.17-r5.ebuild49
3 files changed, 56 insertions, 1 deletions
diff --git a/net-ftp/ftp/ChangeLog b/net-ftp/ftp/ChangeLog
index 35393ea60b4c..ec43cf731369 100644
--- a/net-ftp/ftp/ChangeLog
+++ b/net-ftp/ftp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-ftp/ftp
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftp/ChangeLog,v 1.18 2005/07/27 08:53:44 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftp/ChangeLog,v 1.19 2005/07/30 06:20:56 vapier Exp $
+
+*ftp-0.17-r5 (30 Jul 2005)
+
+ 30 Jul 2005; Mike Frysinger <vapier@gentoo.org> +ftp-0.17-r5.ebuild:
+ Add some user-input buffer len checks #100423 by Amir Sadoughi.
27 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org> ftp-0.17-r4.ebuild:
Use the correct toolchain compiler.
diff --git a/net-ftp/ftp/files/digest-ftp-0.17-r5 b/net-ftp/ftp/files/digest-ftp-0.17-r5
new file mode 100644
index 000000000000..d98bdd29a960
--- /dev/null
+++ b/net-ftp/ftp/files/digest-ftp-0.17-r5
@@ -0,0 +1 @@
+MD5 94441610c9b86ef45c4c6ec609444060 netkit-ftp-0.17.tar.gz 53934
diff --git a/net-ftp/ftp/ftp-0.17-r5.ebuild b/net-ftp/ftp/ftp-0.17-r5.ebuild
new file mode 100644
index 000000000000..a448e375b9f3
--- /dev/null
+++ b/net-ftp/ftp/ftp-0.17-r5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftp/ftp-0.17-r5.ebuild,v 1.1 2005/07/30 06:20:56 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+MY_P=netkit-${P}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Standard Linux FTP client"
+HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
+SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="ssl ipv6"
+
+RDEPEND=">=sys-libs/ncurses-5.2
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${MY_P}-ssl-0.2.patch
+ epatch ${FILESDIR}/${MY_P}-ipv6.patch #47507
+ epatch ${FILESDIR}/${MY_P}-acct.patch #fedora
+ epatch ${FILESDIR}/${MY_P}-locale.patch #fedora
+ epatch ${FILESDIR}/${MY_P}-runique_mget.patch #fedora
+ epatch ${FILESDIR}/${MY_P}-security.patch #fedora
+ epatch ${FILESDIR}/${MY_P}-custom-cflags.patch
+}
+
+src_compile() {
+ ./configure \
+ --prefix=/usr \
+ $(use_enable ssl) \
+ $(use_enable ipv6) \
+ ${EXTRA_ECONF} \
+ || die "configure failed"
+ emake CC="$(tc-getCC)" || die "make failed"
+}
+
+src_install() {
+ dobin ftp/ftp || die
+ doman ftp/ftp.1 ftp/netrc.5
+ dodoc ChangeLog README BUGS
+}