1 |
commit: 4774d267ddde82eb3da5f7c217dacbc677b088f5 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 30 16:25:20 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 30 16:25:49 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4774d267 |
7 |
|
8 |
app-arch/gzip: Bump to version 1.10 |
9 |
|
10 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
app-arch/gzip/Manifest | 1 + |
14 |
app-arch/gzip/gzip-1.10.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 40 insertions(+) |
16 |
|
17 |
diff --git a/app-arch/gzip/Manifest b/app-arch/gzip/Manifest |
18 |
index dfdaf24aa98..021ce88ebac 100644 |
19 |
--- a/app-arch/gzip/Manifest |
20 |
+++ b/app-arch/gzip/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
+DIST gzip-1.10.tar.xz 775144 BLAKE2B 431dc0fd11061eabd9db86594777b86510b124b124fd74799eacd67334631af60f638be2638413bee0153a9da35528d0aecc5b5083152c395223705400c9103b SHA512 e6ba9e3906cdb6a6235b213515093d02afa1722686f73eddacbacae628542b586b449829783b6a1701e9b9e0c4d4dfa6845904d3b6b010f5cf21aec4997c9299 |
23 |
DIST gzip-1.8.tar.xz 728116 BLAKE2B 34b707bd403791aca8620de3520637c460dbd9167a4fb693c78438115862781350ef5e256ad0accce75b25515b82fcd3e405cc310d6ea36f2d2609b0a270c4db SHA512 efd3e2439476054badeb127d9156e24e9252129111219f13fd939596c057b2a96291630b2717181984b391abf249ac8699488bbd01ceeb8a70b121c500b10c55 |
24 |
DIST gzip-1.9.tar.xz 762516 BLAKE2B 4001fc7a770634916d52b026dab1b621fc96275bfb61ec2df2d0e7d7ec1c81414270d3c866034e6ef758870f38e9d4396a25832abe558915a7ded1f1511eb4b0 SHA512 c0852e7f7662141e79d14bc36e50f1940dba3e804feff3b0b8fa084ffec720ac245352282d2f1db117fadc95758424dd418d192b94621dac4367834ccf101fad |
25 |
|
26 |
diff --git a/app-arch/gzip/gzip-1.10.ebuild b/app-arch/gzip/gzip-1.10.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d8bd176b4ea |
29 |
--- /dev/null |
30 |
+++ b/app-arch/gzip/gzip-1.10.ebuild |
31 |
@@ -0,0 +1,39 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit flag-o-matic |
38 |
+ |
39 |
+DESCRIPTION="Standard GNU compressor" |
40 |
+HOMEPAGE="https://www.gnu.org/software/gzip/" |
41 |
+SRC_URI="mirror://gnu/gzip/${P}.tar.xz |
42 |
+ mirror://gnu-alpha/gzip/${P}.tar.xz |
43 |
+ mirror://gentoo/${P}.tar.xz" |
44 |
+ |
45 |
+LICENSE="GPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
48 |
+IUSE="pic static" |
49 |
+ |
50 |
+PATCHES=( |
51 |
+ "${FILESDIR}/${PN}-1.3.8-install-symlinks.patch" |
52 |
+) |
53 |
+ |
54 |
+src_configure() { |
55 |
+ use static && append-flags -static |
56 |
+ # avoid text relocation in gzip |
57 |
+ use pic && export DEFS="NO_ASM" |
58 |
+ econf --disable-gcc-warnings #663928 |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ default |
63 |
+ docinto txt |
64 |
+ dodoc algorithm.doc gzip.doc |
65 |
+ |
66 |
+ # keep most things in /usr, just the fun stuff in / |
67 |
+ dodir /bin |
68 |
+ mv "${ED%/}"/usr/bin/{gunzip,gzip,uncompress,zcat} "${ED%/}"/bin/ || die |
69 |
+ sed -e "s:${EPREFIX}/usr:${EPREFIX}:" -i "${ED%/}"/bin/gunzip || die |
70 |
+} |