diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /sys-apps/sed | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'sys-apps/sed')
| -rw-r--r-- | sys-apps/sed/Manifest | 4 | ||||
| -rw-r--r-- | sys-apps/sed/metadata.xml | 15 | ||||
| -rw-r--r-- | sys-apps/sed/sed-4.10.ebuild | 82 | ||||
| -rw-r--r-- | sys-apps/sed/sed-4.9-r1.ebuild | 75 |
4 files changed, 176 insertions, 0 deletions
diff --git a/sys-apps/sed/Manifest b/sys-apps/sed/Manifest new file mode 100644 index 000000000000..83f027d17126 --- /dev/null +++ b/sys-apps/sed/Manifest @@ -0,0 +1,4 @@ +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 diff --git a/sys-apps/sed/metadata.xml b/sys-apps/sed/metadata.xml new file mode 100644 index 000000000000..14505a4ee3da --- /dev/null +++ b/sys-apps/sed/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>base-system@gentoo.org</email> + <name>Gentoo Base System</name> + </maintainer> + <use> + <flag name="test-full">Run expensive tests (mostly CPU intensive).</flag> + </use> + <upstream> + <remote-id type="cpe">cpe:/a:gnu:sed</remote-id> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/sys-apps/sed/sed-4.10.ebuild b/sys-apps/sed/sed-4.10.ebuild new file mode 100644 index 000000000000..0f8ba3d69ffa --- /dev/null +++ b/sys-apps/sed/sed-4.10.ebuild @@ -0,0 +1,82 @@ +# 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 branding flag-o-matic verify-sig + +DESCRIPTION="Super-useful stream editor" +HOMEPAGE="https://www.gnu.org/software/sed/" + +if [[ ${PV} == *_p* ]] ; then + # Note: could put this in devspace, but if it's gone, we don't want + # it in tree anyway. It's just for testing. + MY_SNAPSHOT="$(ver_cut 1-2).87-682d" + SRC_URI=" + https://meyering.net/sed/sed-${MY_SNAPSHOT}.tar.xz -> ${P}.tar.xz + verify-sig? ( + https://meyering.net/sed/sed-${MY_SNAPSHOT}.tar.xz.sig -> ${P}.tar.xz.sig + ) + " + S="${WORKDIR}"/${PN}-${MY_SNAPSHOT} +else + SRC_URI="mirror://gnu/sed/${P}.tar.xz" + SRC_URI+=" verify-sig? ( mirror://gnu/sed/${P}.tar.xz.sig )" + + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-3+" +SLOT="0" +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_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 +} diff --git a/sys-apps/sed/sed-4.9-r1.ebuild b/sys-apps/sed/sed-4.9-r1.ebuild new file mode 100644 index 000000000000..091e033326a2 --- /dev/null +++ b/sys-apps/sed/sed-4.9-r1.ebuild @@ -0,0 +1,75 @@ +# 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 +} |
