mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
sys-apps/sed: drop 4.9-r1
Bug: https://bugs.gentoo.org/973318 Signed-off-by: Brett A C Sheffield <bacs@librecast.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1270 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST sed-4.10.tar.xz 1732800 BLAKE2B 6decea38a3e6eb3b672af2380ec3f32759b60350dba528d28a57b74806db33208baed69a8497d423bc7626105930e3e9c9ea68f68b8bcd4a3270f2d8922a2487 SHA512 20224df834b363ca1357024234bb93df3929c252c40c7ef3d23e78fc05177c7986e3145a5049d63db746a4dc2c97befb0324a87ea081507292ff6cd5383ee9db
|
||||
DIST sed-4.10.tar.xz.sig 833 BLAKE2B 8c4af8f8d8c9d1dac9f1808aafa8e5cdda5af1a77af5f5c4bea599c64a3b1df8d6417ade8a819c2cb405191d83660e8144473d1d6a977cac8532803658418a85 SHA512 7a4fef4601f9c9c7bb45426eb5505f1ba2a4caa875e933b2a476623691a93671de36470bc51bda8f8a7467e7d1f2f382c6e43a1b98e9bb958556039ec43ba17c
|
||||
DIST sed-4.9.tar.xz 1397092 BLAKE2B 6c7c7dc782b87c3bd0b5e826ba46c2f1dc7bd8c1159945fcf14b394711742964628774cf9f27d844b672721d7849e6c31992d82fafb9ed4118b7feb60406d1e1 SHA512 36157a4b4a2430cf421b7bd07f1675d680d9f1616be96cf6ad6ee74a9ec0fe695f8d0b1e1f0b008bbb33cc7fcde5e1c456359bbbc63f8aebdd4fedc3982cf6dc
|
||||
DIST sed-4.9.tar.xz.sig 833 BLAKE2B 256bb112aa3aec1a8d40544ef1b0a7570f35d66369047ed3d261c57f938042dcb4a169137eaed6639bcfb472e4a6fc6ebec2de243b2c4d4c0ba0e9081f92556d SHA512 ceb235850184b99017783486e182ade9db38313d20b2b34d23f54d8affe180f7a191139b993e8ec7718ca33eff732f547ca4b3b59aaf865feaae611dfeae5c46
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sed.asc
|
||||
inherit autotools branding flag-o-matic verify-sig
|
||||
|
||||
DESCRIPTION="Super-useful stream editor"
|
||||
HOMEPAGE="https://www.gnu.org/software/sed/"
|
||||
SRC_URI="mirror://gnu/sed/${P}.tar.xz"
|
||||
SRC_URI+=" verify-sig? ( mirror://gnu/sed/${P}.tar.xz.sig )"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos"
|
||||
IUSE="acl nls selinux static test-full"
|
||||
|
||||
RDEPEND="
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
nls? ( virtual/libintl )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs(+)] )
|
||||
nls? ( virtual/libintl[static-libs(+)] )
|
||||
selinux? ( sys-libs/libselinux[static-libs(+)] )
|
||||
)
|
||||
"
|
||||
BDEPEND="nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-sed )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Ignore prefix as a workaround for bug #934329
|
||||
if ! use prefix ; then
|
||||
# Modern C fixes from latest autotools. bug #900382
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
local myconf=(
|
||||
--exec-prefix="${EPREFIX}"
|
||||
$(use_enable acl)
|
||||
$(use_enable nls)
|
||||
$(use_with selinux)
|
||||
# rename to gsed for better BSD compatibility
|
||||
--program-prefix=g
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x RUN_{VERY_,}EXPENSIVE_TESTS=$(usex test-full yes no)
|
||||
|
||||
# We don't want to automagically use Valgrind for tests.
|
||||
sed -i -e 's:valgrind --error-exitcode=1:false:' init.cfg || die
|
||||
|
||||
emake VERBOSE=yes check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# symlink to the standard name
|
||||
dosym gsed /bin/sed
|
||||
dosym gsed.1 /usr/share/man/man1/sed.1
|
||||
}
|
||||
Reference in New Issue
Block a user