bump(app-arch/zip): sync with upstream for arm64

Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
Geoff Levand 2015-05-20 11:30:38 -07:00
parent 46f304812d
commit 7199759f92
17 changed files with 1110 additions and 1 deletions

View File

@ -0,0 +1,378 @@
# ChangeLog for app-arch/zip
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/ChangeLog,v 1.114 2015/04/14 10:51:28 ago Exp $
14 Apr 2015; Agostino Sarubbo <ago@gentoo.org> zip-3.0-r3.ebuild:
Stable for ia64, wrt bug #530914
13 Apr 2015; Agostino Sarubbo <ago@gentoo.org> zip-3.0-r3.ebuild:
Stable for alpha, wrt bug #530914
01 Apr 2015; Agostino Sarubbo <ago@gentoo.org> zip-3.0-r3.ebuild:
Stable for sparc, wrt bug #530914
31 Mar 2015; Agostino Sarubbo <ago@gentoo.org> zip-3.0-r3.ebuild:
Stable for ppc64, wrt bug #530914
29 Mar 2015; Mikle Kolyada <zlogene@gentoo.org> zip-3.0-r3.ebuild:
x86 stable wrt bug #530914
28 Mar 2015; Agostino Sarubbo <ago@gentoo.org> zip-3.0-r3.ebuild:
Stable for ppc, wrt bug #530914
28 Mar 2015; Markus Meier <maekke@gentoo.org> zip-3.0-r3.ebuild:
arm stable, bug #530914
27 Mar 2015; Agostino Sarubbo <ago@gentoo.org> zip-3.0-r3.ebuild:
Stable for amd64, wrt bug #530914
21 Mar 2015; Jeroen Roovers <jer@gentoo.org> zip-3.0-r3.ebuild:
Stable for HPPA (bug #530914).
16 Mar 2015; Mike Frysinger <vapier@gentoo.org> zip-3.0-r3.ebuild:
Avoid EAPI=4 in core ebuilds for now.
*zip-3.0-r3 (28 Jan 2015)
28 Jan 2015; Tony Vroon <chainsaw@gentoo.org> +zip-3.0-r3.ebuild,
+files/zip-3.0-format-security.patch, +files/zip-3.0-zipnote-freeze.patch:
Upstream 3.1C fileio & zipnote changes backported by Rafał "galtgendo"
Mużyło, closes bug #322047. Incorrect printf usage changed to fputs by Ted
Tanberry, closes bug #512414.
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> zip-3.0-r1.ebuild,
zip-3.0-r2.ebuild:
Add arm64 love.
*zip-3.0-r2 (05 Jan 2014)
05 Jan 2014; Mike Frysinger <vapier@gentoo.org> +zip-3.0-r2.ebuild:
Handle running configure ourselves and be stricter with feature flags so they
are respected #435410 by Ambroz Bizjak.
18 Feb 2013; Zac Medico <zmedico@gentoo.org> zip-3.0-r1.ebuild:
Add ~arm-linux keyword.
16 Feb 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup due bug #96436
20 Oct 2012; Raúl Porcel <armin76@gentoo.org> zip-3.0-r1.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #436436
17 Oct 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> zip-3.0-r1.ebuild:
x86 stable wrt bug #436436
03 Oct 2012; Agostino Sarubbo <ago@gentoo.org> zip-3.0-r1.ebuild:
Stable for amd64, wrt bug #436436
02 Oct 2012; Jeroen Roovers <jer@gentoo.org> zip-3.0-r1.ebuild:
Stable for HPPA (bug #436436).
02 Oct 2012; Anthony G. Basile <blueness@gentoo.org> zip-3.0-r1.ebuild:
stable arm, bug #436436
29 Sep 2012; Anthony G. Basile <blueness@gentoo.org> zip-3.0-r1.ebuild:
stable ppc ppc64, bug #436436
09 May 2012; Alexis Ballier <aballier@gentoo.org> zip-3.0-r1.ebuild:
keyword ~amd64-fbsd
18 Dec 2011; Naohiro Aota <naota@gentoo.org> zip-3.0-r1.ebuild:
Add ~x86-fbsd wrt 349393
12 Apr 2011; Zac Medico <zmedico@gentoo.org> zip-3.0-r1.ebuild:
Bug #349706 - Add missing libnatspec dependency.
12 Mar 2011; Raúl Porcel <armin76@gentoo.org> zip-3.0-r1.ebuild:
Add ~ia64/~m68k/~s390/~sh/~sparc wrt #349393
07 Mar 2011; Tobias Klausmann <klausman@gentoo.org> zip-3.0-r1.ebuild:
Keyworded on alpha, bug #349393
13 Jan 2011; Jeroen Roovers <jer@gentoo.org> zip-3.0-r1.ebuild:
Marked ~hppa (bug #349393).
09 Jan 2011; Brent Baude <ranger@gentoo.org> zip-3.0-r1.ebuild:
marking zip-3.0-r1 ~ppc for bug 349393
02 Jan 2011; Markus Meier <maekke@gentoo.org> zip-3.0-r1.ebuild:
add ~arm, bug #349393
26 Dec 2010; Matt Turner <mattst88@gentoo.org> zip-3.0-r1.ebuild:
Added ~mips, bug 349393
*zip-3.0-r1 (22 Dec 2010)
22 Dec 2010; Peter Volkov <pva@gentoo.org> +zip-3.0-r1.ebuild,
+files/zip-3.0-natspec.patch:
Added patch to use libnatspec to fix interoperability with Windows, bug
#275244.
01 Jan 2010; Christian Faulhammer <fauli@gentoo.org> zip-3.0.ebuild:
Transfer Prefix keywords
16 Oct 2009; Jeroen Roovers <jer@gentoo.org> zip-3.0.ebuild:
Stable for HPPA (bug #287369).
08 Oct 2009; Raúl Porcel <armin76@gentoo.org> zip-3.0.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #287369
03 Oct 2009; Brent Baude <ranger@gentoo.org> zip-3.0.ebuild:
Marking zip-3.0 ppc64 for bug 287369
03 Oct 2009; Markus Meier <maekke@gentoo.org> zip-3.0.ebuild:
amd64/arm/x86 stable, bug #287369
03 Oct 2009; Mounir Lamouri <volkmar@gentoo.org> zip-3.0.ebuild:
Stable for ppc, bug 287369
04 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> zip-3.0.ebuild:
Add missing app-arch/unzip dependency to extract .zip sources.
25 Sep 2008; Mike Frysinger <vapier@gentoo.org>
+files/zip-3.0-no-crypt.patch, zip-3.0.ebuild:
Fix building with USE=-crypt #238398 by Nils Larsson.
*zip-3.0 (21 Sep 2008)
21 Sep 2008; Mike Frysinger <vapier@gentoo.org>
+files/zip-3.0-build.patch, +files/zip-3.0-exec-stack.patch,
+files/zip-3.0-pic.patch, +zip-3.0.ebuild:
Version bump #237141 by Conrad Kostecki.
17 Mar 2008; Jeroen Roovers <jer@gentoo.org> zip-2.32-r1.ebuild:
Stable for HPPA (bug #213585).
16 Mar 2008; nixnut <nixnut@gentoo.org> zip-2.32-r1.ebuild:
Stable on ppc wrt bug 213585
16 Mar 2008; Mike Frysinger <vapier@gentoo.org> zip-2.32-r1.ebuild:
Fix typo in man page symlink #212871 by Nikhil Patil.
07 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> zip-2.32-r1.ebuild:
amd64 stable
05 Feb 2008; Markus Rothe <corsair@gentoo.org> zip-2.32-r1.ebuild:
Stable on ppc64
16 Jan 2008; Raúl Porcel <armin76@gentoo.org> zip-2.32-r1.ebuild:
alpha/ia64/sparc/x86 stable
*zip-2.32-r1 (02 Dec 2007)
02 Dec 2007; Mike Frysinger <vapier@gentoo.org>
+files/zip-2.32-build.patch, +zip-2.32-r1.ebuild:
Cleanup the build system yet again #200995 by Tim Weber.
13 Jun 2007; Mike Frysinger <vapier@gentoo.org> files/zip-2.31-make.patch,
zip-2.32.ebuild:
Respect build flags #181783.
11 Jun 2007; Raúl Porcel <armin76@gentoo.org> zip-2.32.ebuild:
alpha stable
09 Jun 2007; Peter Weller <welp@gentoo.org> zip-2.32.ebuild:
Stable on amd64 wrt bug 181405
24 Apr 2007; Alexander Færøy <eroyf@gentoo.org> zip-2.32.ebuild:
Stable on MIPS.
15 Apr 2007; Markus Rothe <corsair@gentoo.org> zip-2.32.ebuild:
Stable on ppc64
12 Apr 2007; Jeroen Roovers <jer@gentoo.org> zip-2.32.ebuild:
Stable for HPPA too.
01 Apr 2007; Michael Hanselmann <hansmi@gentoo.org> zip-2.32.ebuild:
Stable on ppc.
22 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> zip-2.32.ebuild:
Stable on sparc
20 Mar 2007; Raúl Porcel <armin76@gentoo.org> zip-2.32.ebuild:
x86 stable
18 Dec 2006; Alexander H. Færøy <eroyf@gentoo.org> zip-2.31-r1.ebuild:
Stable on MIPS.
29 Sep 2006; Markus Rothe <corsair@gentoo.org> zip-2.31-r1.ebuild:
Stable on ppc64
28 Sep 2006; Fernando J. Pereda <ferdy@gentoo.org> zip-2.31-r1.ebuild:
Stable on alpha as per bug #147979
23 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org> zip-2.31-r1.ebuild:
hppa stable, bug #147979
21 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org> zip-2.31-r1.ebuild:
ppc stable, bug #147979
19 Sep 2006; Daniel Gryniewicz <dang@gentoo.org> zip-2.31-r1.ebuild:
Marked stable on amd64 bug #147979
18 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> zip-2.31-r1.ebuild:
Stable on sparc wrt #147979
18 Sep 2006; <ticho@gentoo.org> zip-2.31-r1.ebuild:
Stable on x86, bug #147979.
18 Sep 2006; Brent Baude <ranger@gentoo.org> ChangeLog:
Marking zip-2.31-r1 ppc64 stable per bug #147979
17 Sep 2006; Fabian Groffen <grobian@gentoo.org> zip-2.31-r1.ebuild:
marked ppc-macos stabl for progressive users (bug #147979)
*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:
Replace gmake workaround with proper fix, thanks Mike in bug #139663.
07 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> zip-2.31-r1.ebuild:
Use gmake instead of make when available (non-intrusive fix for FreeBSD).
Add ~x86-fbsd keyword.
28 Apr 2006; Joshua Kinard <kumba@gentoo.org> zip-2.31.ebuild:
Marked stable on mips.
14 Mar 2006; Fernando J. Pereda <ferdy@gentoo.org> zip-2.31.ebuild:
Stable on alpha as per bug #126101
14 Mar 2006; Markus Rothe <corsair@gentoo.org> zip-2.31.ebuild:
Stable on ppc64; bug #126101
14 Mar 2006; Chris White <chriswhite@gentoo.org> zip-2.31.ebuild:
ppc stable for bug #126101.
14 Mar 2006; Chris White <chriswhite@gentoo.org> zip-2.31.ebuild:
Stable on amd64 (tested with pitr) and x86.
14 Mar 2006; Jason Wever <weeve@gentoo.org> zip-2.31.ebuild:
Stable on SPARC wrt bug #126101.
*zip-2.31-r1 (14 Mar 2006)
14 Mar 2006; Mike Frysinger <vapier@gentoo.org>
+files/zip-2.31-exec-stack.patch, +zip-2.31-r1.ebuild:
Fix execstack markings on x86 and fixes by Roberto Teichmann for USE=crypt
support #122849.
23 Jul 2005; Kito <kito@gentoo.org> zip-2.31.ebuild:
~ppc-macos keyword
*zip-2.31 (13 Mar 2005)
13 Mar 2005; Mike Frysinger <vapier@gentoo.org> +zip-2.31.ebuild:
Version bump #84914 by Kenyon Ralph.
07 Nov 2004; Joshua Kinard <kumba@gentoo.org> zip-2.3-r4.ebuild:
Marked stable on mips.
06 Nov 2004; Lars Weiler <pylon@gentoo.org> zip-2.3-r4.ebuild:
Stable on ppc, bug #70227.
06 Nov 2004; Bryan Østergaard <kloeri@gentoo.org> zip-2.3-r4.ebuild:
Stable on alpha, bug 70227.
06 Nov 2004; <plasmaroo@gentoo.org> zip-2.3-r4.ebuild:
Stabling on Gentoo/IA64 with regard to security bug #70227.
06 Nov 2004; Karol Wojtaszek <sekretarz@gentoo.org> zip-2.3-r4.ebuild:
Stable on amd64, bug #70227
06 Nov 2004; Jason Wever <weeve@gentoo.org> zip-2.3-r4.ebuild:
Stable on sparc wrt security bug #70227.
06 Nov 2004; Olivier Crete <tester@gentoo.org> zip-2.3-r4.ebuild:
Stable on x86 per #70227
06 Nov 2004; Markus Rothe <corsair@gentoo.org> zip-2.3-r4.ebuild:
Stable on ppc64; bug #70227
*zip-2.3-r4 (06 Nov 2004)
06 Nov 2004; <solar@gentoo.org> +files/zip-CAN-2004-1010.patch,
+zip-2.3-r4.ebuild:
security bump for bug #70227 - CAN-2004-1010
*zip-2.3-r3 (28 Sep 2004)
28 Sep 2004; <solar@gentoo.org> +files/zip-2.3-unix_configure-pic.patch,
+zip-2.3-r3.ebuild:
pie executables will have runtime text relocations in them with zip unless we
disable the inline asm. This is done by adding a patch(tests via the pre
compiler to see if we are generating pic code) to zips homegrown configure
script. A better long term solution would be to fix said asm so pic users can
get any speed advantages that may come from using inline asm.
20 Jul 2004; Tom Gall <tgall@gentoo.org> zip-2.3-r2.ebuild:
stable on ppc64, bug #57660
01 Jun 2004; Aron Griffis <agriffis@gentoo.org> zip-2.3-r2.ebuild:
Fix use invocation
13 Apr 2004; Joshua Kinard <kumba@gentoo.org> zip-2.3-r2.ebuild:
Marked stable on mips.
17 Feb 2004; Joshua Kinard <kumba@gentoo.org> zip-2.3-r2.ebuild:
Added ~mips to keywords
17 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> :
manifest fix
16 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> zip-2.3-r2.ebuild:
set ppc in keywords
11 Jan 2004; Jason Wever <weeve@gentoo.org> zip-2.3-r2.ebuild:
Marked stable on sparc.
09 Jan 2004; Aron Griffis <agriffis@gentoo.org> zip-2.3-r2.ebuild:
stable on alpha
28 Dec 2003; Seemant Kulleen <seemant@gentoo.org> zip-2.3-r2.ebuild:
SRC_URI to mirror://gentoo instead of ibiblio only
13 Dec 2003; Guy Martin <gmsoft@gentoo.org> zip-2.3-r2.ebuild:
Marked stable on hppa.
14 Nov 2003; Aron Griffis <agriffis@gentoo.org> zip-2.3-r2.ebuild:
Stable on ia64
12 Oct 2003; Chuck Short <zul@gentoo.org> zip-2.3-r2.ebuild:
Added ~ia64 to keywords.
07 Aug 2003; Lisa Seelye <lisa@gentoo.org> zip-2.3-r2.ebuild:
Changed make to emake for bug 26149
18 Jul 2003; Martin Holzer <mholzer@gentoo.org> zip-2.3-r2.ebuild:
Added DEPEND. Closes #24739.
*zip-2.3-r2 (16 Jul 2003)
16 Jul 2003; <raker@gentoo.org> zip-2.3-r2.ebuild:
Added encryption support via the crypt use variable.
Thanks to tobias on bug #13598 for suggesting this feature.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*zip-2.3-r1 (1 Feb 2002)
14 Jun 2003; Guy Martin <gmsoft@gentoo.org> zip-2.3-r1.ebduild :
Added hppa to KEYWORDS.
15 Aug 2002; Jack Morgan <jmorgan@gentoo.org> :
Added KEYWORDS sparc64
15 Jul 2002; Owen Stampflee <owen@gentoo.org> :
Added KEYWORDS.
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
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.

View File

@ -1 +1,39 @@
DIST zip30.zip 1287223 RMD160 88f34a3cc15ea153952289289f3d70f9a8a41f47 SHA1 4f244128ee8fa3fc07eedfee3d4ac634dcabd492 SHA256 7061ceac0407682b6dc54bb480347205f680f4e56cf34fe1423df2309f18968a -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX zip-2.3-unix_configure-pic.patch 444 SHA256 3e348be7890f21280fceab6cb2a87f3020b08a31608ab93d1b5a53667760e556 SHA512 33a8ff4bd59d50868321ea04b7454ec3be2affaa998a9ccd0fa8cd51a3b1024a4b89c56102def8fa800b3124b9d0a508d7bf679c2e006315c3cf41be41ccf590 WHIRLPOOL 87c2b56315f9b2135f1251dfd30579fe2ecca4ff5c9dd6d7a2f9fb3fe94abf554106543bf7705a37aa535705ec3ad84201e9d7c8f7c77783b0c41b752ffe2099
AUX zip-2.31-exec-stack.patch 407 SHA256 108686d8854096422bd4895690a37202aee66757d0d2b43afa16d9fb914cbb29 SHA512 a4e9eae229cece47052bb0f1de0314b72fa0bca3e7e9e8cfa484471746a39c3a1cf5f5f7f5996bca4bccf843361d5560c201d2f76ccaa36ebc2c0da13b7f8004 WHIRLPOOL cb1d57d9222467448f06b70abdca6d075a42db8c3d281bb4e82a5e8c5aaf23f54072824f91dda42eec6dc9cd71c1350b60ad7c1dfb17e11464234609a3d8cfb8
AUX zip-2.32-build.patch 2003 SHA256 3e4b94015c1448c8769d7154b308bd986e1d0e6e514da151d658d1b8ba3a774c SHA512 e4853ac5537072c6b887d5e0fff5afa7bcbaf902910739698e76ba362f670fcdab807d1b142fe8f55a2b3e431412ed0d40f56fbf430a6bbaa65ed032758f413b WHIRLPOOL 3264a7d8867bc58f759fb101f4e3705a83549aa28fd94f22963bef547783c10721869fc57fdda9c4f3039ce9088d65a4c01cbb172b72f2fa4a2bd0ad3fc674c0
AUX zip-3.0-build.patch 923 SHA256 a66386c3a48019d8063a48c3610a28862412926f04a3b8f44662c6a87bb250f5 SHA512 c9cf162505938a0200eed0333849c2c4a3b59088a6549377a3af9ac89cd7a26fd388d09df55a6cd117e607c1a2f2960bc5e85f7384ff30565c2be01ce4ff442d WHIRLPOOL 44585744d662222c8d168cbf32b246e0ba5c4e911c06014bc9397455e1507ddce072d33895a30876c2f422d2e7c0951d5fdc02cd64babc7e9ad283cdd5724b41
AUX zip-3.0-exec-stack.patch 548 SHA256 5e46b247107c71f34e00c93d27d9f5cf0812d1c8ffc171fc71addee715308ff5 SHA512 575516abe5ed633bdda22c3ee41109400360eef437671f9b658d7591bb8fa3b3854c1cd92d6396e47d91545b23ecbbc1218190192e39a60b00d6b7b5bb793eab WHIRLPOOL f777439907edb695956a6eb5c6934865575cdeca50fbcdfcc173f16b8fc6294306044245916d44eaf3083be7779e6bf308aac504c4ac99ce65ff0a8ef71c38f6
AUX zip-3.0-format-security.patch 507 SHA256 c7f1b10f0693793954b0fdef4dea7a02ee63cb816c987bb56122899cc18ab697 SHA512 172e842e1cd43006713f570ceb8bd4998595282b973569d0e264bd9599375668a4045d691fc952a75088ad6f17e6ff90baf22606388f73ad2f2c0ac64d250fa2 WHIRLPOOL 0814288f8c665a58ff33ac2d6d603038f2c3bda30cc3e9b89222434adf8b880ee897336238aa1b17119a85f8a95f4dd103e6f0adbd3cc24c7fffb5f1c8eb1a51
AUX zip-3.0-natspec.patch 6800 SHA256 999283d54dda78def1a21a023a5c2eb6a2f7ea407fab9718fb8334dcf2bc088a SHA512 67cf89ad016d51ec99e153cb05ee150318c18b3243b04daad0a9a0c0fce7e908bf7ed6fcd6361029bdd4da68759c22abf02dcbcca704b45a75367b1f42ebe964 WHIRLPOOL a2110dae96a3fe75522e5bfe93ce2144e600b698340021854112a5c3e03f2b288d3de22bd80fe51a469aa76ad92ad37cf0be5ec2356d0c3404bedd7b3caa11d6
AUX zip-3.0-no-crypt.patch 1108 SHA256 e5bbe9ce46a3ab89e7dab3515cbe119c57f3330d289b7fca967c5da9b6844cff SHA512 89a99e694fa2ad289ecc93a514e7b408e4b9e01778e622b2c2928d98181de3823446e91085f401e3478afce1ccbf8775fb227c1908144889dd0106c2d7029b83 WHIRLPOOL 09b5f8e251dee686d46c49a7baf948c1f4911f48d3c21f08f82d9c5f89b1b8007d98544dbd8d5128eae28e044a4c82f607c0afccfe7c78681b6e0890d8f3cba0
AUX zip-3.0-pic.patch 499 SHA256 5f64ef0fc1afc0256fdb3a503dda10de6c5df576b8bfad328de720c68f8b777a SHA512 a5f4381de900821c91bb164f580b7abe0bb61ebbbcb00e376f38763255bc647bda678fd66af59e9d56cb8bb7a2166553a77af79cfa75f3e0ea4dbc515b876b8e WHIRLPOOL cdec56f005c806b9d0f5a74486ea190db330d358a71e1c79cc5a425fb731f95c2f463a297fda6009be1d397b10a087b306ff51ee8a365c12b2746f56c05935fa
AUX zip-3.0-zipnote-freeze.patch 2170 SHA256 2e0bd374a92c123578550ac559f4e601a51687ca2fe2e020e1c07b05368531b4 SHA512 c7db2d8c43d33bff4be6068c89603d2f67876f2b5ea72a01ad53f1baa42206c7a0a967f101a54092715f7fcc3ee2bf45a448e76a0ef55e64dc0fe0b204966367 WHIRLPOOL e6e6101d0536606e8a0358f92768e1b8c6e1a0c2a96c01c286ecf381cec28cb54d2edb63f862d8992cf5ce7f791b25c541f6b45b8d0601a7a584fa12717056d2
DIST zip232.tar.gz 807180 SHA256 d0d3743f732a9baa162f80d0c4567b9c545b41a3385825042113810f2a56eb2f SHA512 706646115440597f361b77569ef0301a72c4c990ace5053d4c3b730f20ba0f08af2a8c4fe27c4df5808649cad52d477a6e36e731e82057d6b426a3983836fde2 WHIRLPOOL 3bf33c495c004089c06a17e4146b9542f21fdef6ee45368d9891893d84101ee62e0ca3190ce9eb318a5f1e02f8f4d94bcf361b90350190584d5e28833ffeb8da
DIST zip30.zip 1287223 SHA256 7061ceac0407682b6dc54bb480347205f680f4e56cf34fe1423df2309f18968a SHA512 642ea6768d79adc1499251a3fb7bfc7ddc8d708699cbf9e0cfe849deda94165cb93e21dc2606bea1166ae5d8531e1e2cb056a7246bf2ab86ea7587bd4712d8d8 WHIRLPOOL 9e25cd9bcc25645667438019ab3423056a43b62d137c176e7aabad4ed8b7f7ddf6a7ccdedd9ada848c22d33b7f50f442910c39c4b2a5a188ad872109519cae7f
EBUILD zip-2.32-r1.ebuild 1188 SHA256 c2055e9c02652dc728926d7fd5aace4673204b12abb155ccd0af1f11b1fd637d SHA512 62349d472665a40827215e5692cfee28feace2456810bce4cd262a329e925152ace6b69566a6c7e9384ef243c406173123f8164685d18445ffefcbcf78f1cb60 WHIRLPOOL 4279f0132b606ab79ce4ed793a4eb4207f4ae460acda16f28f6fa049fc8bbfa02a2da6268e5ce8791d38d821441d2cbe5bd5163b98d6e5ece9b0330490aaff72
EBUILD zip-3.0-r1.ebuild 1484 SHA256 417396790a9a1701ef6a4c36a85ec62d98ee4d8129c45c2c2f9ea5a09e300d0e SHA512 39acc7776931fe276f6cc49e1e2fe7a3ac68968e9a02e85d368029ea5e7a1c9006c2498842dfb2532d4c5def74a448d97e1d0ac1b3a17534e1c3daab0f7f5648 WHIRLPOOL fc3699d86c6f2180097d95e60766dd791052898178d2ba6f9528080499c29eda653fa8f69407f30c47302e51d7603f8d4be24b9862946e56f02faad54889ce58
EBUILD zip-3.0-r2.ebuild 1725 SHA256 5ae8d2fd790df2045ab9234c65d50c45a783f397c302f8321012bc664a60b89c SHA512 faafe0dffb848702d3ca38b4e18399548584b7dd64480d84875fbb14c66768b7f70bf95332f54883d8dfe30235fcbd51aae9f4ae772aeecfa531fc279bef3ded WHIRLPOOL 8c618680f7ec74641ab9309e834fe7dcd630047d24a6d732a97d38ac195c0a49d37f2105c2bf741f762beef590012b2a099877c999b6e81eb0adde0217895adb
EBUILD zip-3.0-r3.ebuild 1823 SHA256 54061416800f8bf1d8a55fd0ff7ca21e55f2330e1704b7ec3f6646444b7393a6 SHA512 6716701f2d90942574a64ac5b4abee4b2af44178b0fb22862ffadc37f4ed1a8e51d08d38448cb781e547481501d4554fd7d3858f730992290d44f85ba1d7603f WHIRLPOOL f5696de4d35ea4d46108eeaec14e095374386d3d45556f005986dfa08143cd4ab83a40218f323e62bdce8110ab3c4e295ca88d617964150e1a91b851a9b8f936
EBUILD zip-3.0.ebuild 1493 SHA256 9514836f62da469c48a8e7cf619b92aa8637140655274ce4c632064927119e43 SHA512 599bc91b3c4be69f0e71d98191c92373bdc357ab9f56491c1def80a88266b82d4022b3b47af8c67843daa46c29ddc8f3daa79816e90d7e4abd7e6dd386320a90 WHIRLPOOL 24959ae1e39ab04c727ede04a724da79077c1c0272991a3591142b435e72c19d20e6d145d151fb844152636f94292ad67905c7473b677fad281e216d12c5b26a
MISC ChangeLog 12952 SHA256 224c69cdcdea94cdeb038f32f58c7ec03a6f47ea9c2ae0c626bffc6c50b5dbcb SHA512 9cccf8a5b2ee17b90636181935cf19a1c99b4192f4eda41ee69becf751d8df5baa2d5a90704db14a86625e5c6baae7eada038a6483c931e754233c7dbdf78b37 WHIRLPOOL 05b745b72df497a899b9b9b2a964ecaa8b17b2407adcd3cca8617956acec6a5bbe2ba294049c2b37408ad2a4f80ad1936969ac1fffe003217128e5eb5211911d
MISC metadata.xml 398 SHA256 891de1d65a105972c5476663b951438a4506f15271009898514b0d37c14ede51 SHA512 18f64d7473c52c97195f0357ad3a2f353bab115cbf2cabf413c020e5d4f3b71d5a5cd589b79ab4e2be92858ab87eb71443f9a5d61799d98dc762a9adeee10850 WHIRLPOOL 4bd7748303c2ad8725da919e713a10b034334cae183d02a1227ae195198669520057b5f763cfe9e83c2edb4369c59bfbfc8b1eec04bb7569e69dcb38fbbf02bf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVLPEwAAoJELp701BxlEWfC+wP/j/R8n8eZ1XhIBubqXU3tELq
e9Vjpf/qmkTHPzaQUmMSvm12DGDkwmNe1pzbWFfhb3b2qqVjXY19g/YNUcZQjpXO
WYSp2x09RZnpfbi13mCImS8IC7Tf1y9HGFErkUO/3GyTecGpF1xeuA4t+IRarjZL
Ai/NE3/OWqhzOoQK1KZLOL4KdOxu41MrfMtZJrXDXsLgxCdcL3wQsAK4nDnFoGkD
dmDRE5r5Sy9+IBR0OkLGViNomOirhhRhjJvQQHyJv4RU44q2RTShB0p5wl4PyzWh
vHvcFQ352/1z2TyjfkW1q5W62zGqDyxZh++xYdrV5yw1egpLCviZycrzfAin2pbF
1F+joXnomB1Ds6b51kTXH30qHMwRLkwz0PuaDZ9UXTuNiRgoYfX9bL3dWSKMVra2
IS610onaBgX3+wE7jiRPhRO4IKW0Vd1/Nymdn36dPqN/o4Dkgw1vgPPHXcA3hAvI
dvKOqV8ji8B98WTnOnNt+khXujHgVGPH8BODcBdYGzs6rf+aPlBiJOWkljnyCoUM
MAefLh0CgjHtp7vYTGe7hK1Monww+A9yvvMWfzK4qNz8XraMFzGt48IYle78DuQt
0SIzKZLRmMyrE3CITJNyLyot3bWtixKZ3LW5Hn8qYshtyXBMJs9E191MKyFq18/I
o/IA7fAe06VJ/UA3NN1z
=MBKK
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,12 @@
--- unix/configure.orig 2004-09-28 06:45:33.000000000 +0000
+++ unix/configure 2004-09-28 06:54:53.000000000 +0000
@@ -29,6 +29,9 @@
echo Check if we can use asm code
OBJA=""
+piclib="$(echo | $CPP -dM $CFLAGS - | grep -i __pic__)"
+echo "Checking if compiler wants to create pic code"
+[ "$piclib" == "" ] && \
if eval "$CPP match.S > _match.s 2>/dev/null"; then
if test ! -s _match.s || grep error < _match.s > /dev/null; then
:

View File

@ -0,0 +1,20 @@
--- zip-2.31/crc_i386.S
+++ zip-2.31/crc_i386.S
@@ -238,3 +238,7 @@
#endif /* i386 || _i386 || _I386 || __i386 */
#endif /* !USE_ZLIB */
+
+#ifdef __ELF__
+.section .note.GNU-stack,"",@progbits
+#endif
--- zip-2.31/match.S
+++ zip-2.31/match.S
@@ -405,3 +405,7 @@
#endif /* i386 || _I386 || _i386 || __i386 */
#endif /* !USE_ZLIB */
+
+#ifdef __ELF__
+.section .note.GNU-stack,"",@progbits
+#endif

View File

@ -0,0 +1,89 @@
respect build environment settings
--- zip/unix/Makefile
+++ zip/unix/Makefile
@@ -12,15 +12,15 @@
list: all
-MAKE = make -f unix/Makefile
+MAKE := $(MAKE) -f unix/Makefile
SHELL = /bin/sh
LN = ln -s
# (to use the Gnu compiler, change cc to gcc in CC)
-CC = cc
+CC ?= gcc
BIND = $(CC)
AS = $(CC) -c
-CPP = /lib/cpp
+CPP ?= $(CC)
EXE =
# probably can change this to 'install' if you have it
@@ -47,7 +47,7 @@
# LFLAGS1 flags after output file spec, before obj file list
# LFLAGS2 flags after obj file list (libraries, etc)
CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP)
-CFLAGS = -O2 $(CFLAGS_NOOPT)
+CFLAGS ?= -O2 $(CFLAGS_NOOPT)
LFLAGS1 =
LFLAGS2 = -s
--- zip/unix/configure
+++ zip/unix/configure
@@ -13,52 +13,13 @@
CC=${1-cc}
-CFLAGS=${2-"-I. -DUNIX"}
-LFLAGS1=""
+CFLAGS="${2--I. -DUNIX} ${CFLAGS} ${CPPFLAGS}"
+LFLAGS1="${LDFLAGS}"
LN="ln -s"
-echo "Check C compiler type (optimization option)"
-cat > conftest.c << _EOF_
-int main()
-{
-#ifndef __SUNPRO_C
- bad code
-#endif
- return 0;
-}
-_EOF_
-$CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null
-if test $? -eq 0; then
- echo ' Sun C (-xO3)'
- CFLAGS="${CFLAGS} -xO3"
-else
- cat > conftest.c << _EOF_
-int main()
-{
-#ifndef __DECC
- bad code
-#endif
- return 0;
-}
-_EOF_
- $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null
- if test $? -eq 0; then
- echo ' DEC C (-O3)'
- CFLAGS="${CFLAGS} -O3"
- else
- echo ' Other (gcc?) (-O2)'
- CFLAGS="${CFLAGS} -O2"
- fi
-fi
echo Check for the C preprocessor
# on SVR4, cc -E does not produce correct assembler files. Need /lib/cpp.
CPP="${CC} -E"
# solaris as(1) needs -P, maybe others as well ?
-[ -f /usr/ccs/lib/cpp ] && CPP="/usr/ccs/lib/cpp -P"
-[ -f /usr/lib/cpp ] && CPP=/usr/lib/cpp
-[ -f /lib/cpp ] && CPP=/lib/cpp
-[ -f /usr/bin/cpp ] && CPP=/usr/bin/cpp
-[ -f /xenix ] && CPP="${CC} -E"
-[ -f /lynx.os ] && CPP="${CC} -E"
echo "#include <stdio.h>" > conftest.c
$CPP conftest.c >/dev/null 2>/dev/null || CPP="${CC} -E"

View File

@ -0,0 +1,20 @@
--- zip.c
+++ zip.c
@@ -1028,7 +1028,7 @@
for (i = 0; i < sizeof(text)/sizeof(char *); i++)
{
- printf(text[i]);
+ fputs(text[i], stdout);
putchar('\n');
}
#ifdef DOS
@@ -1225,7 +1225,7 @@
CR_MAJORVER, CR_MINORVER, CR_BETA_VER, CR_VERSION_DATE);
for (i = 0; i < sizeof(cryptnote)/sizeof(char *); i++)
{
- printf(cryptnote[i]);
+ fputs(cryptnote[i], stdout);
putchar('\n');
}
++i; /* crypt support means there IS at least one compilation option */

View File

@ -0,0 +1,214 @@
This patch makes zip use libnatspec to recode file names is national charset.
Initially this patch was written for altlinux:
http://sisyphus.ru/ru/srpm/Sisyphus/zip/patches
Later it was a bit improved and improved version was posted here (in Russian):
http://www.opennet.ru/tips/info/2494.shtml
Also I've added natspec support to output of zipnote (thank vapier for notice).
Gentoo reference:
https://bugs.gentoo.org/show_bug.cgi?id=275244
--
pva@gentoo.org
=== modified file 'fileio.c'
--- fileio.c 2010-12-22 13:02:43 +0000
+++ fileio.c 2010-12-22 13:03:00 +0000
@@ -929,7 +929,7 @@
}
if ((zname = in2ex(iname)) == NULL)
return ZE_MEM;
-#ifdef UNICODE_SUPPORT
+#if defined(UNICODE_SUPPORT) && !defined(UNIX)
/* Convert name to display or OEM name */
oname = local_to_display_string(iname);
#else
=== modified file 'globals.c'
--- globals.c 2010-12-22 13:02:43 +0000
+++ globals.c 2010-12-22 13:03:00 +0000
@@ -32,7 +32,7 @@
int scanimage = 1; /* 1=scan through image files */
#endif
int method = BEST; /* one of BEST, DEFLATE (only), or STORE (only) */
-int dosify = 0; /* 1=make new entries look like MSDOS */
+int dosify = 1; /* 1=make new entries look like MSDOS */
int verbose = 0; /* 1=report oddities in zip file structure */
int fix = 0; /* 1=fix the zip file, 2=FF, 3=ZipNote */
int filesync = 0; /* 1=file sync, delete entries not on file system */
=== modified file 'unix/Makefile'
--- unix/Makefile 2010-12-22 13:02:43 +0000
+++ unix/Makefile 2010-12-22 15:43:40 +0000
@@ -38,7 +38,7 @@
MANFLAGS = 644
# target directories - where to install executables and man pages to
-prefix = /usr/local
+prefix = /usr
BINDIR = $(prefix)/bin
MANEXT=1
MANDIR = $(prefix)/man/man$(MANEXT)
@@ -61,6 +61,7 @@
CFLAGS = -O2 $(CFLAGS_NOOPT)
LFLAGS1 =
LFLAGS2 = -s
+LDADD = -lnatspec
# object file lists
OBJZ = zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o \
@@ -125,9 +126,9 @@
zipsman: $(ZIPS) $(ZIPMANUALs)
zip$E: $(OBJZ) $(OBJI) $(OBJA) $(LIB_BZ)
- $(BIND) -o zip$E $(LFLAGS1) $(OBJZ) $(OBJI) $(OBJA) $(LFLAGS2)
+ $(BIND) -o zip$E $(LFLAGS1) $(OBJZ) $(OBJI) $(OBJA) $(LFLAGS2) $(LDADD)
zipnote$E: $(OBJN)
- $(BIND) -o zipnote$E $(LFLAGS1) $(OBJN) $(LFLAGS2)
+ $(BIND) -o zipnote$E $(LFLAGS1) $(OBJN) $(LFLAGS2) $(LDADD)
zipcloak$E: $(OBJC) $(OCRCTB)
$(BIND) -o zipcloak$E $(LFLAGS1) $(OBJC) $(LFLAGS2)
zipsplit$E: $(OBJS)
=== modified file 'unix/osdep.h'
--- unix/osdep.h 2010-12-22 13:02:43 +0000
+++ unix/osdep.h 2010-12-22 15:45:29 +0000
@@ -78,3 +78,6 @@
#if !defined(NO_EF_UT_TIME) && !defined(USE_EF_UT_TIME)
# define USE_EF_UT_TIME
#endif
+
+/* Set Windows code as archive type */
+# define OS_CODE 0xb00
=== modified file 'unix/unix.c'
--- unix/unix.c 2010-12-22 13:02:43 +0000
+++ unix/unix.c 2010-12-22 13:03:00 +0000
@@ -14,6 +14,11 @@
#include <time.h>
+#ifdef UNIX
+# include <natspec.h>
+# include <locale.h>
+#endif
+
#if defined(MINIX) || defined(__mpexl)
# ifdef S_IWRITE
# undef S_IWRITE
@@ -60,6 +65,7 @@
/* Local functions */
local char *readd OF((DIR *));
+local const char *oem_charset = NULL;
#ifdef NO_DIR /* for AT&T 3B1 */
@@ -262,6 +268,16 @@
if (!pathput)
t = last(t, PATH_END);
+#ifdef UNIX
+ if (!oem_charset) {
+ setlocale(LC_CTYPE, "");
+ oem_charset = natspec_get_charset_by_locale(NATSPEC_DOSCS, "");
+ }
+ /* Convert to internal encoding */
+ if ((n = natspec_convert(t, oem_charset, 0, 0)) == NULL)
+ return NULL;
+ return n;
+#else
/* Malloc space for internal name and copy it */
if ((n = malloc(strlen(t) + 1)) == NULL)
return NULL;
@@ -269,6 +285,7 @@
if (dosify)
msname(n);
+#endif
#ifdef EBCDIC
strtoasc(n, n); /* here because msname() needs native coding */
@@ -289,8 +306,19 @@
{
char *x; /* external file name */
+#ifdef UNIX
+ if (!oem_charset) {
+ oem_charset = natspec_get_charset_by_locale(NATSPEC_DOSCS, "");
+ setlocale(LC_CTYPE, "");
+ }
+ /* Convert to internal encoding */
+ if ((x = natspec_convert(n, 0, oem_charset, 0)) == NULL)
+ return NULL;
+ return x;
+#else
if ((x = malloc(strlen(n) + 1 + PAD)) == NULL)
return NULL;
+#endif
#ifdef EBCDIC
strtoebc(x, n);
#else
=== modified file 'zip.c'
--- zip.c 2010-12-22 13:02:43 +0000
+++ zip.c 2010-12-22 13:03:00 +0000
@@ -2025,6 +2025,7 @@
#endif /* ?MACOS */
{"J", "junk-sfx", o_NO_VALUE, o_NOT_NEGATABLE, 'J', "strip self extractor from archive"},
{"k", "DOS-names", o_NO_VALUE, o_NOT_NEGATABLE, 'k', "force use of 8.3 DOS names"},
+ {"K", "no DOS-names",o_NO_VALUE, o_NOT_NEGATABLE, 'K', "no use 8.3 DOS names"},
{"l", "to-crlf", o_NO_VALUE, o_NOT_NEGATABLE, 'l', "convert text file line ends - LF->CRLF"},
{"ll", "from-crlf", o_NO_VALUE, o_NOT_NEGATABLE, o_ll, "convert text file line ends - CRLF->LF"},
{"lf", "logfile-path",o_REQUIRED_VALUE, o_NOT_NEGATABLE, o_lf, "log to log file at path (default overwrite)"},
@@ -2289,7 +2290,7 @@
dispose = 0; /* 1=remove files after put in zip file */
pathput = 1; /* 1=store path with name */
method = BEST; /* one of BEST, DEFLATE (only), or STORE (only) */
- dosify = 0; /* 1=make new entries look like MSDOS */
+ dosify = 1; /* 1=make new entries look like MSDOS */
verbose = 0; /* 1=report oddities in zip file structure */
fix = 0; /* 1=fix the zip file */
adjust = 0; /* 1=adjust offsets for sfx'd file (keep preamble) */
@@ -2859,6 +2860,8 @@
junk_sfx = 1; break;
case 'k': /* Make entries using DOS names (k for Katz) */
dosify = 1; break;
+ case 'K': /* Make entries using DOS names (K for Kompat) */
+ dosify = 0; break;
case 'l': /* Translate end-of-line */
translate_eol = 1; break;
case o_ll:
=== modified file 'zipnote.c'
--- zipnote.c 2010-12-22 13:02:43 +0000
+++ zipnote.c 2010-12-22 15:42:45 +0000
@@ -21,6 +21,11 @@
#include "revision.h"
#include <signal.h>
+#ifdef UNIX
+# include <natspec.h>
+# include <locale.h>
+#endif
+
/* Calculate size of static line buffer used in write (-w) mode. */
#define WRBUFSIZ 2047
/* The line buffer size should be at least as large as FNMAX. */
@@ -537,7 +542,13 @@
{
for (z = zfiles; z != NULL; z = z->nxt)
{
+#ifdef UNIX
+ char *oem_charset = NULL;
+ oem_charset = natspec_get_charset_by_locale(NATSPEC_DOSCS, "");
+ printf("%c %s\n", MARK, natspec_convert(z->zname, 0, oem_charset, 0));
+#else
printf("%c %s\n", MARK, z->zname);
+#endif
putclean(z->comment, z->com);
printf("%c%s\n", MARK, MARKE);
}

View File

@ -0,0 +1,61 @@
diff -dupr zip30-old/fileio.c zip30/fileio.c
--- zip30-old/fileio.c 2008-05-28 20:13:24.000000000 +0200
+++ zip30/fileio.c 2012-06-12 17:30:29.794547493 +0200
@@ -3502,7 +3502,7 @@ zwchar *local_to_wide_string(local_strin
if ((wc_string = (wchar_t *)malloc((wsize + 1) * sizeof(wchar_t))) == NULL) {
ZIPERR(ZE_MEM, "local_to_wide_string");
}
- wsize = mbstowcs(wc_string, local_string, strlen(local_string) + 1);
+ wsize = mbstowcs(wc_string, local_string, wsize + 1);
wc_string[wsize] = (wchar_t) 0;
/* in case wchar_t is not zwchar */
diff -dupr zip30-old/zipfile.c zip30/zipfile.c
--- zip30/zipfile.c 2008-07-01 00:15:30.000000000 +0200
+++ zip30/zipfile.c 2012-06-10 01:59:42.571706181 +0200
@@ -5406,6 +5406,8 @@ int putlocal(z, rewrite)
if (z->flg & UTF8_BIT) {
/* If this flag is set, then restore UTF-8 as path name */
use_uname = 1;
+ tempzn -= nam;
nam = strlen(z->uname);
+ tempzn += nam;
} else {
/* use extra field */
add_Unicode_Path_local_extra_field(z);
@@ -5647,7 +5650,9 @@ int putcentral(z)
if (z->flg & UTF8_BIT) {
/* If this flag is set, then restore UTF-8 as path name */
use_uname = 1;
+ tempzn -= nam;
nam = strlen(z->uname);
+ tempzn += nam;
} else {
add_Unicode_Path_cen_extra_field(z);
}
diff -dupr zip30/zipnote.c zip30/zipnote.c
--- zip30/zipnote.c 2008-05-08 04:17:08.000000000 +0200
+++ zip30/zipnote.c 2012-06-10 02:33:36.372663528 +0200
@@ -575,6 +575,13 @@ char **argv; /* command line
strcpy(z->iname, a+2);
#endif
+#ifdef UNICODE_SUPPORT
+#define UTF8_BIT (1 << 11)
+ if (using_utf8) {
+ z->uname = z->iname;
+ }
+#endif
+
/*
* Don't update z->nam here, we need the old value a little later.....
* The update is handled in zipcopy().
@@ -661,7 +668,7 @@ char **argv; /* command line
if ((r = zipcopy(z)) != ZE_OK)
ziperr(r, "was copying an entry");
}
- fclose(x);
+ fclose(in_file);
/* Write central directory and end of central directory with new comments */
if ((c = zftello(y)) == (zoff_t)-1) /* get start of central */

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
<longdescription>Application that supports the Info Zip series of encryption.</longdescription>
<use>
<flag name='natspec'>Use <pkg>dev-libs/libnatspec</pkg> to correctly decode non-ascii file names archived in Windows.</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,43 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/zip-2.32-r1.ebuild,v 1.8 2008/03/17 16:06:43 jer 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 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.32-build.patch
}
src_compile() {
tc-export CC CPP
use crypt || append-flags -DNO_CRYPT
append-lfs-flags
emake -f unix/Makefile 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/zipsplit.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
}

View File

@ -0,0 +1,52 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/zip-3.0-r1.ebuild,v 1.19 2014/01/18 01:45:41 vapier Exp $
EAPI="2"
inherit toolchain-funcs eutils flag-o-matic
MY_P="${PN}${PV//.}"
DESCRIPTION="Info ZIP (encryption support)"
HOMEPAGE="http://www.info-zip.org/"
SRC_URI="mirror://sourceforge/infozip/${MY_P}.zip"
LICENSE="Info-ZIP"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux"
IUSE="bzip2 crypt natspec unicode"
RDEPEND="bzip2? ( app-arch/bzip2 )
natspec? ( dev-libs/libnatspec )"
DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${PN}-3.0-no-crypt.patch #238398
epatch "${FILESDIR}"/${PN}-3.0-pic.patch
epatch "${FILESDIR}"/${PN}-3.0-exec-stack.patch
epatch "${FILESDIR}"/${PN}-3.0-build.patch
use natspec && epatch "${FILESDIR}"/${PN}-3.0-natspec.patch #275244
}
src_compile() {
use bzip2 || append-flags -DNO_BZIP2_SUPPORT
use crypt || append-flags -DNO_CRYPT
use unicode || append-flags -DNO_UNICODE_SUPPORT
emake \
CC="$(tc-getCC)" \
LOCAL_ZIP="${CFLAGS} ${CPPFLAGS}" \
-f unix/Makefile generic \
|| die
}
src_install() {
dobin zip zipnote zipsplit || die
doman man/zip{,note,split}.1
if use crypt ; then
dobin zipcloak || die
doman man/zipcloak.1
fi
dodoc BUGS CHANGES README* TODO WHATSNEW WHERE proginfo/*.txt
}

View File

@ -0,0 +1,61 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/zip-3.0-r2.ebuild,v 1.2 2014/01/18 01:45:41 vapier Exp $
EAPI="4"
inherit toolchain-funcs eutils flag-o-matic
MY_P="${PN}${PV//.}"
DESCRIPTION="Info ZIP (encryption support)"
HOMEPAGE="http://www.info-zip.org/"
SRC_URI="mirror://sourceforge/infozip/${MY_P}.zip"
LICENSE="Info-ZIP"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux"
IUSE="bzip2 crypt natspec unicode"
RDEPEND="bzip2? ( app-arch/bzip2 )
natspec? ( dev-libs/libnatspec )"
DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${PN}-3.0-no-crypt.patch #238398
epatch "${FILESDIR}"/${PN}-3.0-pic.patch
epatch "${FILESDIR}"/${PN}-3.0-exec-stack.patch
epatch "${FILESDIR}"/${PN}-3.0-build.patch
use natspec && epatch "${FILESDIR}"/${PN}-3.0-natspec.patch #275244
}
src_configure() {
append-cppflags \
-DLARGE_FILE_SUPPORT \
-DUIDGID_NOT_16BIT \
-D$(usex bzip2 '' NO)BZIP2_SUPPORT \
-D$(usex crypt '' NO)CRYPT \
-D$(usex unicode '' NO)UNICODE_SUPPORT
# Third arg disables bzip2 logic as we handle it ourselves above.
sh ./unix/configure "$(tc-getCC)" "-I. -DUNIX ${CFLAGS} ${CPPFLAGS}" "${T}" || die
if use bzip2 ; then
sed -i -e "s:LFLAGS2=:&'-lbz2 ':" flags || die
fi
}
src_compile() {
emake \
CPP="$(tc-getCPP)" \
-f unix/Makefile generic
}
src_install() {
dobin zip zipnote zipsplit
doman man/zip{,note,split}.1
if use crypt ; then
dobin zipcloak
doman man/zipcloak.1
fi
dodoc BUGS CHANGES README* TODO WHATSNEW WHERE proginfo/*.txt
}

View File

@ -0,0 +1,63 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/zip-3.0-r3.ebuild,v 1.11 2015/04/14 10:51:28 ago Exp $
EAPI="4"
inherit toolchain-funcs eutils flag-o-matic
MY_P="${PN}${PV//.}"
DESCRIPTION="Info ZIP (encryption support)"
HOMEPAGE="http://www.info-zip.org/"
SRC_URI="mirror://sourceforge/infozip/${MY_P}.zip"
LICENSE="Info-ZIP"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux"
IUSE="bzip2 crypt natspec unicode"
RDEPEND="bzip2? ( app-arch/bzip2 )
natspec? ( dev-libs/libnatspec )"
DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-no-crypt.patch #238398
epatch "${FILESDIR}"/${P}-pic.patch
epatch "${FILESDIR}"/${P}-exec-stack.patch #122849
epatch "${FILESDIR}"/${P}-build.patch #200995
epatch "${FILESDIR}"/${P}-zipnote-freeze.patch #322047
epatch "${FILESDIR}"/${P}-format-security.patch #512414
use natspec && epatch "${FILESDIR}"/${PN}-3.0-natspec.patch #275244
}
src_configure() {
append-cppflags \
-DLARGE_FILE_SUPPORT \
-DUIDGID_NOT_16BIT \
-D$(usex bzip2 '' NO)BZIP2_SUPPORT \
-D$(usex crypt '' NO)CRYPT \
-D$(usex unicode '' NO)UNICODE_SUPPORT
# Third arg disables bzip2 logic as we handle it ourselves above.
sh ./unix/configure "$(tc-getCC)" "-I. -DUNIX ${CFLAGS} ${CPPFLAGS}" "${T}" || die
if use bzip2 ; then
sed -i -e "s:LFLAGS2=:&'-lbz2 ':" flags || die
fi
}
src_compile() {
emake \
CPP="$(tc-getCPP)" \
-f unix/Makefile generic
}
src_install() {
dobin zip zipnote zipsplit
doman man/zip{,note,split}.1
if use crypt ; then
dobin zipcloak
doman man/zipcloak.1
fi
dodoc BUGS CHANGES README* TODO WHATSNEW WHERE proginfo/*.txt
}

View File

@ -0,0 +1,10 @@
DEFINED_PHASES=compile install unpack
DESCRIPTION=Info ZIP (encryption support)
HOMEPAGE=http://www.info-zip.org/
IUSE=crypt
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd
LICENSE=Info-ZIP
SLOT=0
SRC_URI=ftp://ftp.info-zip.org/pub/infozip/src/zip232.tar.gz
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c263990f1b677b0f0be0a3299f179762 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=7e846f0498597e71b9f9ad8f1aebe58d

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile install prepare
DEPEND=bzip2? ( app-arch/bzip2 ) natspec? ( dev-libs/libnatspec ) app-arch/unzip
DESCRIPTION=Info ZIP (encryption support)
EAPI=2
HOMEPAGE=http://www.info-zip.org/
IUSE=bzip2 crypt natspec unicode
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux
LICENSE=Info-ZIP
RDEPEND=bzip2? ( app-arch/bzip2 ) natspec? ( dev-libs/libnatspec )
SLOT=0
SRC_URI=mirror://sourceforge/infozip/zip30.zip
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c263990f1b677b0f0be0a3299f179762 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=b822d36881fe799a7dffd431c244a9be

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install prepare
DEPEND=bzip2? ( app-arch/bzip2 ) natspec? ( dev-libs/libnatspec ) app-arch/unzip
DESCRIPTION=Info ZIP (encryption support)
EAPI=4
HOMEPAGE=http://www.info-zip.org/
IUSE=bzip2 crypt natspec unicode
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux
LICENSE=Info-ZIP
RDEPEND=bzip2? ( app-arch/bzip2 ) natspec? ( dev-libs/libnatspec )
SLOT=0
SRC_URI=mirror://sourceforge/infozip/zip30.zip
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c263990f1b677b0f0be0a3299f179762 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=a27ea0889342c47aed3f9b97e0aab183

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install prepare
DEPEND=bzip2? ( app-arch/bzip2 ) natspec? ( dev-libs/libnatspec ) app-arch/unzip
DESCRIPTION=Info ZIP (encryption support)
EAPI=4
HOMEPAGE=http://www.info-zip.org/
IUSE=bzip2 crypt natspec unicode
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux
LICENSE=Info-ZIP
RDEPEND=bzip2? ( app-arch/bzip2 ) natspec? ( dev-libs/libnatspec )
SLOT=0
SRC_URI=mirror://sourceforge/infozip/zip30.zip
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c263990f1b677b0f0be0a3299f179762 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=66b961655a303091a155a655691f706c