Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/sed/, sys-apps/sed/files/
Date: Wed, 28 Dec 2022 00:38:17
Message-Id: 1672187882.f2d65e46e675dd061336f8168e0a4f39aa299760.sam@gentoo
1 commit: f2d65e46e675dd061336f8168e0a4f39aa299760
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 28 00:38:02 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 28 00:38:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d65e46
7
8 sys-apps/sed: drop 4.8, 4.8-r1
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-apps/sed/Manifest | 2 -
13 .../files/sed-4.8-avoid-noreturn-diagnostic.patch | 21 --------
14 sys-apps/sed/sed-4.8-r1.ebuild | 60 ----------------------
15 sys-apps/sed/sed-4.8.ebuild | 50 ------------------
16 4 files changed, 133 deletions(-)
17
18 diff --git a/sys-apps/sed/Manifest b/sys-apps/sed/Manifest
19 index 6c15c512bef2..2ecd59ea0cf7 100644
20 --- a/sys-apps/sed/Manifest
21 +++ b/sys-apps/sed/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST sed-4.8.tar.xz 1348048 BLAKE2B 62f6b6500cc9a20a35cafc2b09b12bb7da67fa0afb0b1b26153babc0023424b3126f44d29eba14c25fc4490996c90738b191c9440c66da6c120bbb9bc6f6df65 SHA512 7de25d9bc2981c63321c2223f3fbcab61d7b0df4fcf7d4394b72400b91993e1288d8bf53948ed5fffcf5a98c75265726a68ad4fb98e1d571bf768603a108c1c8
24 -DIST sed-4.8.tar.xz.sig 833 BLAKE2B 8e5b3c69a28ffbfa49ef6f769fbb72c6f1ec14e6e1e0cec3851d15d85e05560a8a74e28e037eefb916b10831b4afbe0e4735d713dc3b90d7d73de7d0b1176d0b SHA512 9b886bdbd18ee2d60608cee3fd2b4193a1b6c3309d887ee05828c14b89b7b515dbf042a9e0ebdd13e6ccfa42e3cd217a408c796d68c4ebedaaa64f795000f095
25 DIST sed-4.9.tar.xz 1397092 BLAKE2B 6c7c7dc782b87c3bd0b5e826ba46c2f1dc7bd8c1159945fcf14b394711742964628774cf9f27d844b672721d7849e6c31992d82fafb9ed4118b7feb60406d1e1 SHA512 36157a4b4a2430cf421b7bd07f1675d680d9f1616be96cf6ad6ee74a9ec0fe695f8d0b1e1f0b008bbb33cc7fcde5e1c456359bbbc63f8aebdd4fedc3982cf6dc
26 DIST sed-4.9.tar.xz.sig 833 BLAKE2B 256bb112aa3aec1a8d40544ef1b0a7570f35d66369047ed3d261c57f938042dcb4a169137eaed6639bcfb472e4a6fc6ebec2de243b2c4d4c0ba0e9081f92556d SHA512 ceb235850184b99017783486e182ade9db38313d20b2b34d23f54d8affe180f7a191139b993e8ec7718ca33eff732f547ca4b3b59aaf865feaae611dfeae5c46
27
28 diff --git a/sys-apps/sed/files/sed-4.8-avoid-noreturn-diagnostic.patch b/sys-apps/sed/files/sed-4.8-avoid-noreturn-diagnostic.patch
29 deleted file mode 100644
30 index d361780b548d..000000000000
31 --- a/sys-apps/sed/files/sed-4.8-avoid-noreturn-diagnostic.patch
32 +++ /dev/null
33 @@ -1,21 +0,0 @@
34 -https://github.com/coreutils/gnulib/commit/0cc39712803ade7b2d4b89c36b143dad72404063
35 -
36 -From 0cc39712803ade7b2d4b89c36b143dad72404063 Sun Oct 18 00:00:00 2020
37 -From: Bruno Haible <bruno@×××××.org>
38 -
39 -obstack: Fix a clang warning.
40 -* lib/obstack.c (print_and_abort): Mark as __attribute_noreturn__.
41 -
42 -diff --git a/lib/obstack.c b/lib/obstack.c
43 -index 6e82da054c..e6475a2a09 100644
44 ---- a/lib/obstack.c
45 -+++ b/lib/obstack.c
46 -@@ -326,7 +326,7 @@ int obstack_exit_failure = EXIT_FAILURE;
47 - # include <libio/iolibio.h>
48 - # endif
49 -
50 --static _Noreturn void
51 -+static __attribute_noreturn__ void
52 - print_and_abort (void)
53 - {
54 - /* Don't change any of these strings. Yes, it would be possible to add
55
56 diff --git a/sys-apps/sed/sed-4.8-r1.ebuild b/sys-apps/sed/sed-4.8-r1.ebuild
57 deleted file mode 100644
58 index de507fc75de2..000000000000
59 --- a/sys-apps/sed/sed-4.8-r1.ebuild
60 +++ /dev/null
61 @@ -1,60 +0,0 @@
62 -# Copyright 1999-2022 Gentoo Authors
63 -# Distributed under the terms of the GNU General Public License v2
64 -
65 -EAPI=8
66 -
67 -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/sed.asc
68 -inherit flag-o-matic verify-sig
69 -
70 -DESCRIPTION="Super-useful stream editor"
71 -HOMEPAGE="https://www.gnu.org/software/sed/"
72 -SRC_URI="mirror://gnu/sed/${P}.tar.xz"
73 -SRC_URI+=" verify-sig? ( mirror://gnu/sed/${P}.tar.xz.sig )"
74 -
75 -LICENSE="GPL-3+"
76 -SLOT="0"
77 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
78 -IUSE="acl nls selinux static"
79 -
80 -RDEPEND="
81 - !static? (
82 - acl? ( virtual/acl )
83 - nls? ( virtual/libintl )
84 - selinux? ( sys-libs/libselinux )
85 - )
86 -"
87 -DEPEND="${RDEPEND}
88 - static? (
89 - acl? ( virtual/acl[static-libs(+)] )
90 - nls? ( virtual/libintl[static-libs(+)] )
91 - selinux? ( sys-libs/libselinux[static-libs(+)] )
92 - )
93 -"
94 -BDEPEND="nls? ( sys-devel/gettext )
95 - verify-sig? ( sec-keys/openpgp-keys-sed )"
96 -
97 -PATCHES=(
98 - "${FILESDIR}/${P}-avoid-noreturn-diagnostic.patch"
99 -)
100 -
101 -src_configure() {
102 - use static && append-ldflags -static
103 -
104 - local myconf=(
105 - --exec-prefix="${EPREFIX}"
106 - $(use_enable acl)
107 - $(use_enable nls)
108 - $(use_with selinux)
109 - # rename to gsed for better BSD compatibility
110 - --program-prefix=g
111 - )
112 - econf "${myconf[@]}"
113 -}
114 -
115 -src_install() {
116 - default
117 -
118 - # symlink to the standard name
119 - dosym gsed /bin/sed
120 - dosym gsed.1 /usr/share/man/man1/sed.1
121 -}
122
123 diff --git a/sys-apps/sed/sed-4.8.ebuild b/sys-apps/sed/sed-4.8.ebuild
124 deleted file mode 100644
125 index c756f9b2c1ca..000000000000
126 --- a/sys-apps/sed/sed-4.8.ebuild
127 +++ /dev/null
128 @@ -1,50 +0,0 @@
129 -# Copyright 1999-2022 Gentoo Authors
130 -# Distributed under the terms of the GNU General Public License v2
131 -
132 -EAPI=7
133 -
134 -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/sed.asc
135 -inherit flag-o-matic verify-sig
136 -
137 -DESCRIPTION="Super-useful stream editor"
138 -HOMEPAGE="https://www.gnu.org/software/sed/"
139 -SRC_URI="mirror://gnu/sed/${P}.tar.xz"
140 -SRC_URI+=" verify-sig? ( mirror://gnu/sed/${P}.tar.xz.sig )"
141 -
142 -LICENSE="GPL-3+"
143 -SLOT="0"
144 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
145 -IUSE="acl nls selinux static"
146 -
147 -RDEPEND="
148 - !static? (
149 - acl? ( virtual/acl )
150 - nls? ( virtual/libintl )
151 - selinux? ( sys-libs/libselinux )
152 - )
153 -"
154 -DEPEND="${RDEPEND}
155 - static? (
156 - acl? ( virtual/acl[static-libs(+)] )
157 - nls? ( virtual/libintl[static-libs(+)] )
158 - selinux? ( sys-libs/libselinux[static-libs(+)] )
159 - )
160 -"
161 -BDEPEND="nls? ( sys-devel/gettext )
162 - verify-sig? ( sec-keys/openpgp-keys-sed )"
163 -
164 -PATCHES=(
165 - "${FILESDIR}/${P}-avoid-noreturn-diagnostic.patch"
166 -)
167 -
168 -src_configure() {
169 - use static && append-ldflags -static
170 -
171 - local myconf=(
172 - --exec-prefix="${EPREFIX}"
173 - $(use_enable acl)
174 - $(use_enable nls)
175 - $(use_with selinux)
176 - )
177 - econf "${myconf[@]}"
178 -}