1 |
commit: 2f149a2ea9ff654e305feea7693e6ff9e2663c9a |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 8 08:30:55 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 8 08:32:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f149a2e |
7 |
|
8 |
app-arch/gzip: Bump to version 1.9 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
app-arch/gzip/Manifest | 1 + |
13 |
.../gzip/files/gzip-1.3.8-install-symlinks.patch | 4 +-- |
14 |
app-arch/gzip/files/gzip-1.4-asmv.patch | 4 +-- |
15 |
app-arch/gzip/gzip-1.9.ebuild | 39 ++++++++++++++++++++++ |
16 |
4 files changed, 44 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/app-arch/gzip/Manifest b/app-arch/gzip/Manifest |
19 |
index 472b9a3b396..3233d4dd97c 100644 |
20 |
--- a/app-arch/gzip/Manifest |
21 |
+++ b/app-arch/gzip/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST gzip-1.6.tar.xz 725084 BLAKE2B 3f4e6ac2e3186de403a1be58041f4b8f86074d8659cb360a64cd1bab023c0f46a1521aadf1a8669636ec1202cca96a1b73a77c208a7eb99b0eb6b14657231a4f SHA512 06da599fc38b459d7e9a3f43fdd06d1a0d7b29ad14cb7b6552176bab584a1135bb47ba37a4eb377e6c42c4934d557079ace1e289a252ae192ee154079a62ed01 |
24 |
DIST gzip-1.7.tar.xz 764056 BLAKE2B baa5a6b95cf89dffbff05d2b91c3a619dcb67e8692bdff24385b8867259a4191612e8586ebbc96c334d5bd224bf0364ffbf3c0b1384f7632a46ebe09686452c2 SHA512 e28f23738f0d2936773d9b50ea9e46c59945e227a90ca7d8e953fb5a774b8692a3341b744320e924da2d5825117dab730affce506f6fc8e65f0af372f3082539 |
25 |
DIST gzip-1.8.tar.xz 728116 BLAKE2B 34b707bd403791aca8620de3520637c460dbd9167a4fb693c78438115862781350ef5e256ad0accce75b25515b82fcd3e405cc310d6ea36f2d2609b0a270c4db SHA512 efd3e2439476054badeb127d9156e24e9252129111219f13fd939596c057b2a96291630b2717181984b391abf249ac8699488bbd01ceeb8a70b121c500b10c55 |
26 |
+DIST gzip-1.9.tar.xz 762516 BLAKE2B 4001fc7a770634916d52b026dab1b621fc96275bfb61ec2df2d0e7d7ec1c81414270d3c866034e6ef758870f38e9d4396a25832abe558915a7ded1f1511eb4b0 SHA512 c0852e7f7662141e79d14bc36e50f1940dba3e804feff3b0b8fa084ffec720ac245352282d2f1db117fadc95758424dd418d192b94621dac4367834ccf101fad |
27 |
|
28 |
diff --git a/app-arch/gzip/files/gzip-1.3.8-install-symlinks.patch b/app-arch/gzip/files/gzip-1.3.8-install-symlinks.patch |
29 |
index 8d92b609b5d..6f04b42c769 100644 |
30 |
--- a/app-arch/gzip/files/gzip-1.3.8-install-symlinks.patch |
31 |
+++ b/app-arch/gzip/files/gzip-1.3.8-install-symlinks.patch |
32 |
@@ -1,5 +1,5 @@ |
33 |
---- Makefile.in |
34 |
-+++ Makefile.in |
35 |
+--- a/Makefile.in |
36 |
++++ b/Makefile.in |
37 |
@@ -926,7 +926,7 @@ |
38 |
rm -f "$$dest" && \ |
39 |
case $@ in \ |
40 |
|
41 |
diff --git a/app-arch/gzip/files/gzip-1.4-asmv.patch b/app-arch/gzip/files/gzip-1.4-asmv.patch |
42 |
index c87855018cf..1be1f63738b 100644 |
43 |
--- a/app-arch/gzip/files/gzip-1.4-asmv.patch |
44 |
+++ b/app-arch/gzip/files/gzip-1.4-asmv.patch |
45 |
@@ -1,7 +1,7 @@ |
46 |
http://bugs.gentoo.org/show_bug.cgi?id=302773 |
47 |
|
48 |
---- tailor.h.old 2010-01-29 11:13:02.000000000 +0000 |
49 |
-+++ tailor.h 2010-01-29 13:18:15.000000000 +0000 |
50 |
+--- a/tailor.h |
51 |
++++ b/tailor.h |
52 |
@@ -69,9 +69,6 @@ |
53 |
# include <io.h> |
54 |
# define OS_CODE 0x00 |
55 |
|
56 |
diff --git a/app-arch/gzip/gzip-1.9.ebuild b/app-arch/gzip/gzip-1.9.ebuild |
57 |
new file mode 100644 |
58 |
index 00000000000..d582478b998 |
59 |
--- /dev/null |
60 |
+++ b/app-arch/gzip/gzip-1.9.ebuild |
61 |
@@ -0,0 +1,39 @@ |
62 |
+# Copyright 1999-2018 Gentoo Foundation |
63 |
+# Distributed under the terms of the GNU General Public License v2 |
64 |
+ |
65 |
+EAPI=6 |
66 |
+ |
67 |
+inherit flag-o-matic |
68 |
+ |
69 |
+DESCRIPTION="Standard GNU compressor" |
70 |
+HOMEPAGE="https://www.gnu.org/software/gzip/" |
71 |
+SRC_URI="mirror://gnu/gzip/${P}.tar.xz |
72 |
+ mirror://gnu-alpha/gzip/${P}.tar.xz |
73 |
+ mirror://gentoo/${P}.tar.xz" |
74 |
+ |
75 |
+LICENSE="GPL-3" |
76 |
+SLOT="0" |
77 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
78 |
+IUSE="pic static" |
79 |
+ |
80 |
+PATCHES=( |
81 |
+ "${FILESDIR}/${PN}-1.3.8-install-symlinks.patch" |
82 |
+) |
83 |
+ |
84 |
+src_configure() { |
85 |
+ use static && append-flags -static |
86 |
+ # avoid text relocation in gzip |
87 |
+ use pic && export DEFS="NO_ASM" |
88 |
+ econf |
89 |
+} |
90 |
+ |
91 |
+src_install() { |
92 |
+ default |
93 |
+ docinto txt |
94 |
+ dodoc algorithm.doc gzip.doc |
95 |
+ |
96 |
+ # keep most things in /usr, just the fun stuff in / |
97 |
+ dodir /bin |
98 |
+ mv "${ED%/}"/usr/bin/{gunzip,gzip,uncompress,zcat} "${ED%/}"/bin/ || die |
99 |
+ sed -e "s:${EPREFIX}/usr:${EPREFIX}:" -i "${ED%/}"/bin/gunzip || die |
100 |
+} |