summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-10-07 03:36:17 +0000
committerNed Ludd <solar@gentoo.org>2004-10-07 03:36:17 +0000
commitb9aebf7841bd462e032afa15aa4bbfc9bd772ddb (patch)
tree0cd2a0af4b8a3266eb76a0adefa07de8047887e9 /app-arch/ncompress
parentversion bump, thanks to S. Fuchs (diff)
downloadgentoo-2-b9aebf7841bd462e032afa15aa4bbfc9bd772ddb.tar.gz
gentoo-2-b9aebf7841bd462e032afa15aa4bbfc9bd772ddb.tar.bz2
gentoo-2-b9aebf7841bd462e032afa15aa4bbfc9bd772ddb.zip
This update adds bounds checking to command line options used by ncompress bug #66251. Also minor clode cleanups and a bugfixes by using debian patch from http://packages.qa.debian.org/n/ncompress.html
Diffstat (limited to 'app-arch/ncompress')
-rw-r--r--app-arch/ncompress/ChangeLog9
-rw-r--r--app-arch/ncompress/Manifest5
-rw-r--r--app-arch/ncompress/files/digest-ncompress-4.2.4-r12
-rw-r--r--app-arch/ncompress/metadata.xml5
-rw-r--r--app-arch/ncompress/ncompress-4.2.4-r1.ebuild35
5 files changed, 54 insertions, 2 deletions
diff --git a/app-arch/ncompress/ChangeLog b/app-arch/ncompress/ChangeLog
index 1a0f6e260b0f..030ddc391661 100644
--- a/app-arch/ncompress/ChangeLog
+++ b/app-arch/ncompress/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-arch/ncompress
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/ncompress/ChangeLog,v 1.13 2004/06/24 21:33:40 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/ncompress/ChangeLog,v 1.14 2004/10/07 03:36:17 solar Exp $
+
+*ncompress-4.2.4-r1 (06 Oct 2004)
+
+ 06 Oct 2004; <solar@gentoo.org> +metadata.xml, +ncompress-4.2.4-r1.ebuild:
+ This update adds bounds checking to command line options used by ncompress bug
+ #66251. Also minor clode cleanups and a bugfixes by using debian patch from
+ http://packages.qa.debian.org/n/ncompress.html
15 Jun 2004; <solar@gentoo.org> ncompress-4.2.4.ebuild:
skip manfile when USE=build is set
diff --git a/app-arch/ncompress/Manifest b/app-arch/ncompress/Manifest
index c3b2f9558519..634751b3f051 100644
--- a/app-arch/ncompress/Manifest
+++ b/app-arch/ncompress/Manifest
@@ -1,4 +1,7 @@
-MD5 21750be43c966e530a90cb52f8bf09c8 ChangeLog 1505
+MD5 b8875d75263bf493e7b138cfafb052a2 ncompress-4.2.4-r1.ebuild 1067
+MD5 1764c492c27bd48e38d52cf55f68bdee ChangeLog 1826
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 c2ae98bc7ab7e655c5af32b0f17f1a12 ncompress-4.2.4.ebuild 894
MD5 44e597943ff90e32aacebcd702147801 files/digest-ncompress-4.2.4 66
+MD5 3e1ac2326e9d786e9ab4af766c9e1313 files/digest-ncompress-4.2.4-r1 135
MD5 e6539b304d089dd57b63d364379500b7 files/ncompress-gcc34.patch 915
diff --git a/app-arch/ncompress/files/digest-ncompress-4.2.4-r1 b/app-arch/ncompress/files/digest-ncompress-4.2.4-r1
new file mode 100644
index 000000000000..4cf105dcbfd8
--- /dev/null
+++ b/app-arch/ncompress/files/digest-ncompress-4.2.4-r1
@@ -0,0 +1,2 @@
+MD5 42a315841981690e2b5d82122b0064db ncompress-4.2.4.tar.gz 32513
+MD5 5c0665389b5809d024d5278dc53f738a ncompress_4.2.4-15.diff.gz 7809
diff --git a/app-arch/ncompress/metadata.xml b/app-arch/ncompress/metadata.xml
new file mode 100644
index 000000000000..96a2d586367d
--- /dev/null
+++ b/app-arch/ncompress/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>
diff --git a/app-arch/ncompress/ncompress-4.2.4-r1.ebuild b/app-arch/ncompress/ncompress-4.2.4-r1.ebuild
new file mode 100644
index 000000000000..200102dad73c
--- /dev/null
+++ b/app-arch/ncompress/ncompress-4.2.4-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/ncompress/ncompress-4.2.4-r1.ebuild,v 1.1 2004/10/07 03:36:17 solar Exp $
+
+inherit eutils
+
+DESCRIPTION="Another uncompressor for compatibility"
+HOMEPAGE="ftp://ftp.leo.org/pub/comp/os/unix/linux/sunsite/utils/compress/"
+SRC_URI="ftp://ftp.leo.org/pub/comp/os/unix/linux/sunsite/utils/compress/${P}.tar.gz
+ http://ftp.debian.org/debian/pool/main/n/ncompress/ncompress_4.2.4-15.diff.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~s390"
+IUSE="build"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/ncompress-gcc34.patch
+ # Add bounds checking for bug 66251
+ epatch ${DISTDIR}/ncompress_4.2.4-15.diff.gz
+}
+
+src_compile() {
+ sed -e "s:options= :options= ${CFLAGS} :" \
+ -e "s:CC=cc:CC=${CC:-gcc}:" Makefile.def > Makefile
+ make || die
+}
+
+src_install() {
+ dobin compress || die
+ dosym compress /usr/bin/uncompress
+ use build || doman compress.1
+}