Portage is a package management system used by Gentoo Linux
# ChangeLog for app-arch/unzip
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/ChangeLog,v 1.56 2008/03/29 16:57:06 jer Exp $
29 Mar 2008; Jeroen Roovers
Stable for HPPA (bug #213761).
29 Mar 2008; Raúl Porcel
alpha/ia64/sparc stable wrt security #213761
29 Mar 2008; Brent Baude
Marking unzip-5.52-r2 ppc64 and ppc for bug 213761
29 Mar 2008; Christian Faulhammer
stable x86, security bug 213761
29 Mar 2008; Robert Buchholz
amd64 stable, bug 213761
*unzip-5.52-r2 (29 Mar 2008)
29 Mar 2008; Mike Frysinger
+files/unzip-5.52-CVE-2008-0888.patch, +unzip-5.52-r2.ebuild:
Fix for CVE-2008-0888 #213761.
08 Feb 2008; Dawid Węgliński
Change SRC_URI as the old url wasn't fetchable
06 Oct 2007; Mike Frysinger
Fix from Paul Bredbury to make sure we respect CPPFLAGS #194264.
21 Feb 2007; Piotr Jaroszyński
Transition to Manifest2.
07 Jan 2007; Harald van Dijk
Handle NetBSD CHOST and properly check for x86 for other BSDs
24 Oct 2006; Roy Marples
Don't assume that freebsd == i386 :)
Added ~sparc-fbsd keyword.
04 Sep 2006; Joshua Kinard
Marked stable on mips.
18 Aug 2006; Bryan Østergaard
Stable on alpha.
16 Aug 2006; Markus Rothe
Stable on ppc64
09 Aug 2006; Danny van Dyk
Marked stable on amd64.
05 Aug 2006; Michael Hanselmann
Stable on ppc.
03 Aug 2006; Gustavo Zacarias
Stable on hppa
03 Aug 2006; Gustavo Zacarias
Stable on sparc
31 Jul 2006; Andrej Kacian
Stable on x86. Bug #142149, by Daniel Black
05 Apr 2006; Diego Pettenò
Add ~x86-fbsd keyword.
15 Feb 2006; Mike Frysinger
unzip-5.52-r1.ebuild:
Robert Sebastian Gerus adds support for DragonFly BSD #122843.
*unzip-5.52-r1 (04 Oct 2005)
04 Oct 2005; Mike Frysinger
+files/unzip-5.52-no-exec-stack.patch, +unzip-5.52-r1.ebuild:
Make sure unzip isnt built with an executable stack.
09 Sep 2005; Aron Griffis
Mark 5.52 stable on alpha
03 Sep 2005; Markus Rothe
Stable on ppc64
18 Aug 2005; Michael Hanselmann
Stable on ppc.
18 Aug 2005; Aaron Walker
Stable on mips.
16 Aug 2005; Gustavo Zacarias
Stable on sparc
23 Jul 2005; Kito
~ppc-macos keyword
31 May 2005; Sven Wegener
unzip-5.52.ebuild:
Let portage handle the stripping of binaries.
*unzip-5.52 (13 Mar 2005)
13 Mar 2005; Mike Frysinger
Version bump #84914 by Kenyon Ralph.
26 Jun 2004; Seemant Kulleen
my mistake
26 Jun 2004; Seemant Kulleen
can not have virtual/libc at all yet actually
11 May 2004; Michael McCabe
Added s390 keywords
16 Mar 2004; Michael Sterrett
tighten DEPEND (bug #44817); sed in src_unpack, not src_compile; use emake
16 Mar 2004; Michael Sterrett
unzip-5.50-r1.ebuild, unzip-5.50.ebuild:
clean old ebuilds
14 Mar 2004; Tom Gall
ppc64 marked stable
03 Oct 2003; Christian Birchinger
Added sparc stable keyword
29 Sep 2003; Jason Wever
Added ~sparc keyword.
*unzip-5.50-r2 (11 Jul 2003)
11 Jul 2003; Daniel Ahlberg
Added patch from RedHat to fix '..' vulnerabilities.
20 May 2003; Tavis Ormandy
Removing gcc hardcode, and CFLAGS hardcode on non-x86
*unzip-5.50-r1 (21 Oct 2002)
12 Mar 2003; Zach Welch
add arm keyword
15 Feb 2003; Jan Seidel
Added mips to keywords
10 Feb 2003; Guy Martin
Added hppa to keywords.
06 Dec 2002; Rodney Rees
21 Oct 2002; Mike Frysinger
Added a symlink for zipinfo per #9425
*unzip-5.50 (01 Oct 2002)
01 Oct 2002; Daniel Ahlberg
Security update.
*unzip-5.42-r1 (25 Jul 2002)
05 Sep 2002; Seemant Kulleen
Per bug #7540 by rob1@rekl.yi.org (robert longhausen), the arch was not
matching. The arch check has been switched to the new format (use x86 &&
|| )
15 Aug 2002; Jack Morgan
Added KEYWORDS sparc64
*unzip-5.42 (18 Feb 2002)
15 Jul 2002; Owen Stampflee
Added KEYWORDS.
18 Feb 2002; F.Meyndert
Removed patch. Patch broke more things then it fixes. Waiting for new
vendor patch. This is also the fix for bug #650
*unzip-5.42 (1 Feb 2002)
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX unzip-5.52-CVE-2008-0888.patch 1075 RMD160 03d5ec7845ae9347a197c7d1484bb2d9ab96cb93 SHA1 a72e703048ddd2226d430b7375b531320997b98a SHA256 a93b927000ff5923c3e84fc4108a0f19d76a3a057a33556a2f761c18b270f87c
AUX unzip-5.52-no-exec-stack.patch 334 RMD160 81d73b5bb66fb54f8f71252c1fe6e2036d488de9 SHA1 0f318fecebd548e9feb2e93a32c56258d5c552b1 SHA256 8e165db2c138f9729020f3e60e9d8be58d504f4cf8eb7aae18b9432d2d751d4f
DIST unzip552.tar.gz 1140291 RMD160 b749b0923bc4cceaa6f937aef688e9713a84328c SHA1 1831bd59b9e607a69052f83b263384895e2d4a19 SHA256 145d95e2ef1ef9add2e3c97d1340907e33ab8749eb1235372e7f0b7af600a8e9
EBUILD unzip-5.52-r1.ebuild 1655 RMD160 351656bbfa64f9d060cddfcd5a2f3c960e62a389 SHA1 82f7b51e8e49eeab2241637eb91e36e47f1344ed SHA256 0f5a0ebca4350722877526e68346fa6782b35590d960bcb83223b8f306ba74ee
EBUILD unzip-5.52-r2.ebuild 1720 RMD160 6c59ccdfca5f8419b8a42c4f413e713779f91243 SHA1 592acc13fcd0b3163167fa62544bc0b4f8c9d6c2 SHA256 f096a21f240208afc02a9c9523badd4220f76a76679400f778612a41cba05722
MISC ChangeLog 6467 RMD160 770e82daa17ff8659f09e204e6e9a16462df6aba SHA1 afcd5e68bbc560cea19b9e1f56d957c9ad437225 SHA256 d0f74e5098f9aa50373862c31f1cfedd2c6525d18c8e51fab8ffe6603afe085e
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFIAo+Wj9hvisErhMIRApQ0AKDtz0DKtae5XV3VVdiNxkuOYkntTgCgt9V7
3YN1E9uGuzJc7DLKnOiEavs=
=XGSF
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.52-r1.ebuild,v 1.21 2008/02/08 15:09:57 cla Exp $
inherit eutils toolchain-funcs flag-o-matic
DESCRIPTION="unzipper for pkzip-compressed files"
HOMEPAGE="http://www.info-zip.org/"
SRC_URI="mirror://gentoo/${PN}${PV/.}.tar.gz"
LICENSE="Info-ZIP"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE=""
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-no-exec-stack.patch
sed -i \
-e 's:-O3:$(CFLAGS) $(CPPFLAGS):' \
-e 's:-O :$(CFLAGS) $(CPPFLAGS) :' \
-e "s:CC=gcc :CC=$(tc-getCC) :" \
-e "s:LD=gcc :LD=$(tc-getCC) :" \
-e 's:LF2 = -s:LF2 = :' \
-e 's:LF = :LF = $(LDFLAGS) :' \
-e 's:SL = :SL = $(LDFLAGS) :' \
-e 's:FL = :FL = $(LDFLAGS) :' \
unix/Makefile \
|| die "sed unix/Makefile failed"
}
src_compile() {
local TARGET
case ${CHOST} in
i?86*-linux*) TARGET=linux_asm ;;
*-linux*) TARGET=linux_noasm ;;
i?86*-freebsd* | i?86*-dragonfly* | i?86*-openbsd* | i?86*-netbsd*)
TARGET=freebsd ;; # mislabelled bsd with x86 asm
*-freebsd* | *-dragonfly* | *-openbsd* | *-netbsd*)
TARGET=bsd ;;
*-darwin*) TARGET=macosx ;;
*) die "Unknown target, you suck" ;;
esac
append-lfs-flags #104315
emake -f unix/Makefile ${TARGET} || die "emake failed"
}
src_install() {
dobin unzip funzip unzipsfx unix/zipgrep || die "dobin failed"
dosym unzip /usr/bin/zipinfo
doman man/*.1
dodoc BUGS History* README ToDo WHERE
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.52-r2.ebuild,v 1.7 2008/04/13 22:56:16 vapier Exp $
inherit eutils toolchain-funcs flag-o-matic
DESCRIPTION="unzipper for pkzip-compressed files"
HOMEPAGE="http://www.info-zip.org/"
SRC_URI="mirror://gentoo/${PN}${PV/.}.tar.gz"
LICENSE="Info-ZIP"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE=""
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-no-exec-stack.patch
epatch "${FILESDIR}"/${P}-CVE-2008-0888.patch #213761
sed -i \
-e 's:-O3:$(CFLAGS) $(CPPFLAGS):' \
-e 's:-O :$(CFLAGS) $(CPPFLAGS) :' \
-e "s:CC=gcc :CC=$(tc-getCC) :" \
-e "s:LD=gcc :LD=$(tc-getCC) :" \
-e 's:LF2 = -s:LF2 = :' \
-e 's:LF = :LF = $(LDFLAGS) :' \
-e 's:SL = :SL = $(LDFLAGS) :' \
-e 's:FL = :FL = $(LDFLAGS) :' \
unix/Makefile \
|| die "sed unix/Makefile failed"
}
src_compile() {
local TARGET
case ${CHOST} in
i?86*-linux*) TARGET=linux_asm ;;
*-linux*) TARGET=linux_noasm ;;
i?86*-freebsd* | i?86*-dragonfly* | i?86*-openbsd* | i?86*-netbsd*)
TARGET=freebsd ;; # mislabelled bsd with x86 asm
*-freebsd* | *-dragonfly* | *-openbsd* | *-netbsd*)
TARGET=bsd ;;
*-darwin*) TARGET=macosx ;;
*) die "Unknown target, you suck" ;;
esac
append-lfs-flags #104315
emake -f unix/Makefile ${TARGET} || die "emake failed"
}
src_install() {
dobin unzip funzip unzipsfx unix/zipgrep || die "dobin failed"
dosym unzip /usr/bin/zipinfo || die
doman man/*.1
dodoc BUGS History* README ToDo WHERE
}