summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-arch/zip/ChangeLog7
-rw-r--r--app-arch/zip/files/digest-zip-2.323
-rw-r--r--app-arch/zip/zip-2.32.ebuild47
3 files changed, 56 insertions, 1 deletions
diff --git a/app-arch/zip/ChangeLog b/app-arch/zip/ChangeLog
index 4b63ef2027ae..6c8cc3b85820 100644
--- a/app-arch/zip/ChangeLog
+++ b/app-arch/zip/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/zip
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/ChangeLog,v 1.46 2006/07/08 13:55:52 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/ChangeLog,v 1.47 2006/09/17 19:44:59 vapier Exp $
+
+*zip-2.32 (17 Sep 2006)
+
+ 17 Sep 2006; Mike Frysinger <vapier@gentoo.org> +zip-2.32.ebuild:
+ Version bump #147973 by Kai.
08 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+files/zip-2.31-make.patch, zip-2.31-r1.ebuild:
diff --git a/app-arch/zip/files/digest-zip-2.32 b/app-arch/zip/files/digest-zip-2.32
new file mode 100644
index 000000000000..8b69fc356e59
--- /dev/null
+++ b/app-arch/zip/files/digest-zip-2.32
@@ -0,0 +1,3 @@
+MD5 8a4da4460386e324debe97f3b7fe4d96 zip232.tar.gz 807180
+RMD160 6b9326c8a60bc6bf08825e416140fd0ca8a6a7f1 zip232.tar.gz 807180
+SHA256 d0d3743f732a9baa162f80d0c4567b9c545b41a3385825042113810f2a56eb2f zip232.tar.gz 807180
diff --git a/app-arch/zip/zip-2.32.ebuild b/app-arch/zip/zip-2.32.ebuild
new file mode 100644
index 000000000000..1274a223dae5
--- /dev/null
+++ b/app-arch/zip/zip-2.32.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/zip-2.32.ebuild,v 1.1 2006/09/17 19:44:59 vapier Exp $
+
+inherit toolchain-funcs eutils flag-o-matic
+
+DESCRIPTION="Info ZIP (encryption support)"
+HOMEPAGE="http://www.info-zip.org/"
+SRC_URI="ftp://ftp.info-zip.org/pub/infozip/src/zip${PV//.}.tar.gz"
+
+LICENSE="Info-ZIP"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="crypt"
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/zip-2.3-unix_configure-pic.patch
+ epatch "${FILESDIR}"/${PN}-2.31-exec-stack.patch
+ epatch "${FILESDIR}"/${PN}-2.31-make.patch
+ cd unix
+ use crypt || append-flags -DNO_CRYPT
+ sed -i -e "s:-O2:${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ emake \
+ -f unix/Makefile \
+ CC="$(tc-getCC)" \
+ CPP="$(tc-getCC) -E" \
+ generic || die
+}
+
+src_install() {
+ dobin zip zipnote zipsplit || die
+ doman man/zip.1
+ dosym zip.1 /usr/share/man/man1/zipnote.1
+ dosym zip.1 /usr/share/man/man1/zipzplit.1
+ if use crypt ; then
+ dobin zipcloak || die
+ dosym zip.1 /usr/share/man/man1/zipcloak.1
+ fi
+ dodoc BUGS CHANGES MANUAL README TODO WHATSNEW WHERE proginfo/*.txt
+}