Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/tar/
Date: Wed, 28 Dec 2022 00:33:06
Message-Id: 1672187535.da87c7a0f40c0e6a28fb139c668c3de6dc25631f.sam@gentoo
1 commit: da87c7a0f40c0e6a28fb139c668c3de6dc25631f
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 27 23:55:42 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 28 00:32:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da87c7a0
7
8 app-arch/tar: drop 1.34, 1.34-r1
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 app-arch/tar/tar-1.34-r1.ebuild | 84 -----------------------------------------
13 app-arch/tar/tar-1.34.ebuild | 74 ------------------------------------
14 2 files changed, 158 deletions(-)
15
16 diff --git a/app-arch/tar/tar-1.34-r1.ebuild b/app-arch/tar/tar-1.34-r1.ebuild
17 deleted file mode 100644
18 index 35df40e4465b..000000000000
19 --- a/app-arch/tar/tar-1.34-r1.ebuild
20 +++ /dev/null
21 @@ -1,84 +0,0 @@
22 -# Copyright 1999-2022 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/tar.asc
28 -inherit verify-sig
29 -
30 -DESCRIPTION="Use this to make tarballs :)"
31 -HOMEPAGE="https://www.gnu.org/software/tar/"
32 -SRC_URI="mirror://gnu/tar/${P}.tar.xz
33 - https://alpha.gnu.org/gnu/tar/${P}.tar.xz"
34 -SRC_URI+=" verify-sig? (
35 - mirror://gnu/tar/${P}.tar.xz.sig
36 - https://alpha.gnu.org/gnu/tar/${P}.tar.xz.sig
37 - )"
38 -
39 -LICENSE="GPL-3+"
40 -SLOT="0"
41 -if [[ -z "$(ver_cut 3)" ]] || [[ "$(ver_cut 3)" -lt 90 ]] ; then
42 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
43 -fi
44 -IUSE="acl minimal nls selinux xattr"
45 -
46 -RDEPEND="
47 - acl? ( virtual/acl )
48 - selinux? ( sys-libs/libselinux )
49 -"
50 -DEPEND="${RDEPEND}
51 - xattr? ( elibc_glibc? ( sys-apps/attr ) )
52 -"
53 -BDEPEND="
54 - nls? ( sys-devel/gettext )
55 - verify-sig? ( sec-keys/openpgp-keys-tar )
56 -"
57 -
58 -src_configure() {
59 - local myeconfargs=(
60 - --bindir="${EPREFIX}"/bin
61 - --enable-backup-scripts
62 - --libexecdir="${EPREFIX}"/usr/sbin
63 - $(use_with acl posix-acls)
64 - $(use_enable nls)
65 - $(use_with selinux)
66 - $(use_with xattr xattrs)
67 -
68 - # autoconf looks for gtar before tar (in configure scripts), hence
69 - # in Prefix it is important that it is there, otherwise, a gtar from
70 - # the host system (FreeBSD, Solaris, Darwin) will be found instead
71 - # of the Prefix provided (GNU) tar
72 - --program-prefix=g
73 - )
74 -
75 - FORCE_UNSAFE_CONFIGURE=1 econf "${myeconfargs[@]}"
76 -}
77 -
78 -src_install() {
79 - default
80 -
81 - # a nasty yet required piece of baggage
82 - exeinto /etc
83 - doexe "${FILESDIR}"/rmt
84 -
85 - mv "${ED}"/usr/sbin/{gbackup,backup-tar} || die
86 - mv "${ED}"/usr/sbin/{grestore,restore-tar} || die
87 - mv "${ED}"/usr/sbin/{g,}backup.sh || die
88 - mv "${ED}"/usr/sbin/{g,}dump-remind || die
89 -
90 - if use minimal ; then
91 - find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
92 - -type f -a '!' -name gtar \
93 - -delete || die
94 - fi
95 -
96 - # make tar a symlink
97 - dosym gtar /bin/tar
98 -
99 - if ! use minimal; then
100 - dosym grmt /usr/sbin/rmt
101 - fi
102 -
103 - dosym gtar.1 /usr/share/man/man1/tar.1
104 - dosym grmt.8 /usr/share/man/man8/rmt.8
105 -}
106
107 diff --git a/app-arch/tar/tar-1.34.ebuild b/app-arch/tar/tar-1.34.ebuild
108 deleted file mode 100644
109 index d8a77bc9b826..000000000000
110 --- a/app-arch/tar/tar-1.34.ebuild
111 +++ /dev/null
112 @@ -1,74 +0,0 @@
113 -# Copyright 1999-2022 Gentoo Authors
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI=7
117 -
118 -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/tar.asc
119 -inherit verify-sig
120 -
121 -DESCRIPTION="Use this to make tarballs :)"
122 -HOMEPAGE="https://www.gnu.org/software/tar/"
123 -SRC_URI="mirror://gnu/tar/${P}.tar.xz
124 - https://alpha.gnu.org/gnu/tar/${P}.tar.xz"
125 -SRC_URI+=" verify-sig? (
126 - mirror://gnu/tar/${P}.tar.xz.sig
127 - https://alpha.gnu.org/gnu/tar/${P}.tar.xz.sig
128 - )"
129 -
130 -LICENSE="GPL-3+"
131 -SLOT="0"
132 -if [[ -z "$(ver_cut 3)" ]] || [[ "$(ver_cut 3)" -lt 90 ]] ; then
133 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
134 -fi
135 -IUSE="acl minimal nls selinux xattr"
136 -
137 -RDEPEND="
138 - acl? ( virtual/acl )
139 - selinux? ( sys-libs/libselinux )
140 -"
141 -DEPEND="${RDEPEND}
142 - xattr? ( elibc_glibc? ( sys-apps/attr ) )
143 -"
144 -BDEPEND="
145 - nls? ( sys-devel/gettext )
146 - verify-sig? ( sec-keys/openpgp-keys-tar )
147 -"
148 -
149 -src_configure() {
150 - local myeconfargs=(
151 - --bindir="${EPREFIX}"/bin
152 - --enable-backup-scripts
153 - --libexecdir="${EPREFIX}"/usr/sbin
154 - $(use_with acl posix-acls)
155 - $(use_enable nls)
156 - $(use_with selinux)
157 - $(use_with xattr xattrs)
158 - )
159 -
160 - FORCE_UNSAFE_CONFIGURE=1 econf "${myeconfargs[@]}"
161 -}
162 -
163 -src_install() {
164 - default
165 -
166 - # a nasty yet required piece of baggage
167 - exeinto /etc
168 - doexe "${FILESDIR}"/rmt
169 -
170 - # autoconf looks for gtar before tar (in configure scripts), hence
171 - # in Prefix it is important that it is there, otherwise, a gtar from
172 - # the host system (FreeBSD, Solaris, Darwin) will be found instead
173 - # of the Prefix provided (GNU) tar
174 - if use prefix ; then
175 - dosym tar /bin/gtar
176 - fi
177 -
178 - mv "${ED}"/usr/sbin/backup{,-tar} || die
179 - mv "${ED}"/usr/sbin/restore{,-tar} || die
180 -
181 - if use minimal ; then
182 - find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
183 - -type f -a '!' '(' -name tar -o -name tar ')' \
184 - -delete || die
185 - fi
186 -}