Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/gzip/files/, app-arch/gzip/
Date: Tue, 22 Jan 2019 11:05:31
Message-Id: 1548155106.761556c1682af7d7a51a1fb706afce9324dfc93e.zlogene@gentoo
1 commit: 761556c1682af7d7a51a1fb706afce9324dfc93e
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 22 11:05:06 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 22 11:05:06 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=761556c1
7
8 app-arch/gzip: Drop old
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 app-arch/gzip/Manifest | 1 -
14 app-arch/gzip/files/gzip-1.4-asmv.patch | 30 ----------------------
15 app-arch/gzip/gzip-1.8.ebuild | 44 ---------------------------------
16 3 files changed, 75 deletions(-)
17
18 diff --git a/app-arch/gzip/Manifest b/app-arch/gzip/Manifest
19 index 021ce88ebac..81f9c56bf5d 100644
20 --- a/app-arch/gzip/Manifest
21 +++ b/app-arch/gzip/Manifest
22 @@ -1,3 +1,2 @@
23 DIST gzip-1.10.tar.xz 775144 BLAKE2B 431dc0fd11061eabd9db86594777b86510b124b124fd74799eacd67334631af60f638be2638413bee0153a9da35528d0aecc5b5083152c395223705400c9103b SHA512 e6ba9e3906cdb6a6235b213515093d02afa1722686f73eddacbacae628542b586b449829783b6a1701e9b9e0c4d4dfa6845904d3b6b010f5cf21aec4997c9299
24 -DIST gzip-1.8.tar.xz 728116 BLAKE2B 34b707bd403791aca8620de3520637c460dbd9167a4fb693c78438115862781350ef5e256ad0accce75b25515b82fcd3e405cc310d6ea36f2d2609b0a270c4db SHA512 efd3e2439476054badeb127d9156e24e9252129111219f13fd939596c057b2a96291630b2717181984b391abf249ac8699488bbd01ceeb8a70b121c500b10c55
25 DIST gzip-1.9.tar.xz 762516 BLAKE2B 4001fc7a770634916d52b026dab1b621fc96275bfb61ec2df2d0e7d7ec1c81414270d3c866034e6ef758870f38e9d4396a25832abe558915a7ded1f1511eb4b0 SHA512 c0852e7f7662141e79d14bc36e50f1940dba3e804feff3b0b8fa084ffec720ac245352282d2f1db117fadc95758424dd418d192b94621dac4367834ccf101fad
26
27 diff --git a/app-arch/gzip/files/gzip-1.4-asmv.patch b/app-arch/gzip/files/gzip-1.4-asmv.patch
28 deleted file mode 100644
29 index 1be1f63738b..00000000000
30 --- a/app-arch/gzip/files/gzip-1.4-asmv.patch
31 +++ /dev/null
32 @@ -1,30 +0,0 @@
33 -http://bugs.gentoo.org/show_bug.cgi?id=302773
34 -
35 ---- a/tailor.h
36 -+++ b/tailor.h
37 -@@ -69,9 +69,6 @@
38 - # include <io.h>
39 - # define OS_CODE 0x00
40 - # define SET_BINARY_MODE(fd) setmode(fd, O_BINARY)
41 --# if !defined(NO_ASM) && !defined(ASMV)
42 --# define ASMV
43 --# endif
44 - #else
45 - # define near
46 - #endif
47 -@@ -182,7 +179,6 @@
48 - # define PATH_SEP2 ':'
49 - # define STDC_HEADERS
50 - # define OS_CODE 0x01
51 --# define ASMV
52 - # ifdef __GNUC__
53 - # define HAVE_DIRENT_H
54 - # define HAVE_FCNTL_H
55 -@@ -201,7 +197,6 @@
56 - #endif
57 -
58 - #if defined(ATARI) || defined(atarist)
59 --# define ASMV
60 - # define OS_CODE 0x05
61 - # ifdef TOSFS
62 - # define PATH_SEP2 '\\'
63
64 diff --git a/app-arch/gzip/gzip-1.8.ebuild b/app-arch/gzip/gzip-1.8.ebuild
65 deleted file mode 100644
66 index 03bc1b2ca59..00000000000
67 --- a/app-arch/gzip/gzip-1.8.ebuild
68 +++ /dev/null
69 @@ -1,44 +0,0 @@
70 -# Copyright 1999-2018 Gentoo Foundation
71 -# Distributed under the terms of the GNU General Public License v2
72 -
73 -EAPI=5
74 -
75 -inherit eutils flag-o-matic
76 -
77 -DESCRIPTION="Standard GNU compressor"
78 -HOMEPAGE="https://www.gnu.org/software/gzip/"
79 -SRC_URI="mirror://gnu/gzip/${P}.tar.xz
80 - mirror://gnu-alpha/gzip/${P}.tar.xz
81 - mirror://gentoo/${P}.tar.xz"
82 -
83 -LICENSE="GPL-3"
84 -SLOT="0"
85 -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"
86 -IUSE="pic static"
87 -
88 -PATCHES=(
89 - "${FILESDIR}/${PN}-1.3.8-install-symlinks.patch"
90 - "${FILESDIR}/${PN}-1.4-asmv.patch"
91 -)
92 -
93 -src_prepare() {
94 - epatch "${PATCHES[@]}"
95 -}
96 -
97 -src_configure() {
98 - use static && append-flags -static
99 - # avoid text relocation in gzip
100 - use pic && export DEFS="NO_ASM"
101 - econf
102 -}
103 -
104 -src_install() {
105 - default
106 - docinto txt
107 - dodoc algorithm.doc gzip.doc
108 -
109 - # keep most things in /usr, just the fun stuff in /
110 - dodir /bin
111 - mv "${ED}"/usr/bin/{gunzip,gzip,uncompress,zcat} "${ED}"/bin/ || die
112 - sed -e "s:${EPREFIX}/usr:${EPREFIX}:" -i "${ED}"/bin/gunzip || die
113 -}