diff options
author | Sam James <sam@gentoo.org> | 2023-05-14 08:32:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-14 08:32:10 +0100 |
commit | 90277877e04790b8a30eebfc213aab5c59ce141a (patch) | |
tree | 0dcd31374bd9a766d22dcd01e8122b22a56c1331 /sys-apps/diffutils | |
parent | sci-libs/pdal: fix gcc-13 build (diff) | |
download | gentoo-90277877e04790b8a30eebfc213aab5c59ce141a.tar.gz gentoo-90277877e04790b8a30eebfc213aab5c59ce141a.tar.bz2 gentoo-90277877e04790b8a30eebfc213aab5c59ce141a.zip |
sys-apps/diffutils: add 3.9_p20230514 (unkeyworded)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/diffutils')
-rw-r--r-- | sys-apps/diffutils/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/diffutils/diffutils-3.9_p20230514.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-apps/diffutils/Manifest b/sys-apps/diffutils/Manifest index eda49eac05c5..c4ea2ee61b4a 100644 --- a/sys-apps/diffutils/Manifest +++ b/sys-apps/diffutils/Manifest @@ -1,4 +1,6 @@ DIST diffutils-3.8.tar.xz 1585120 BLAKE2B 573abbfba55c62ba30d2084ca68860e9681cfe92648407f7fb04e1aaed2e4719e2fb5a29cf25bd125d762f4dfd52f85ee91f2ec19b099365bada7fe27a0394af SHA512 279441270987e70d5ecfaf84b6285a4866929c43ec877e50f154a788858d548a8a316f2fc26ad62f7348c8d289cb29a09d06dfadce1806e3d8b4ea88c8b1aa7c DIST diffutils-3.8.tar.xz.sig 833 BLAKE2B 439d331d9839d8b434b7192c52628bc9e8e1c11cada28170f85c9390abc3e5e9ea86aee696a4f9260552133053194680ff54b960ed539fabec85fdff54dee3a2 SHA512 0464ac89209411993800666b45ff90243d22fbda53bf1d71c6870d565b39cc8d9c54c141b9d297a181ce74ad8fb5313953f416bced179ff7728a52a3e9a4f5a5 +DIST diffutils-3.9.17-cc36.tar.xz 1621272 BLAKE2B cf4056c425031bfb5f40c1730f69c2b22601fcbdb60fe2286943d9b0aabfa7e253239b60be0aa04cae7f5b398da408e9fafd1e69e373bd6e4ceb5b398e2af21e SHA512 686273402568c754fdd41f76b8bc6e0d99273ec379ef6b444ea82c0955350d5fcae949250b4b94af5b2f4ad0f5959a0ebcc2d72190f163281fc08e3baa954bc5 +DIST diffutils-3.9.17-cc36.tar.xz.sig 833 BLAKE2B e9fcdecafe5cf1d69932338456ed2d20ab70b4dec781d1811896ed014b6acc15ef1d6c3849e56b0db31c53fd84dbbffffe6d96af508bb4f035362cc42d1b32e3 SHA512 79f9d62722d15b8efaf7edb04a40d636bcb10104450d7f396d0dc3a2a5048cdf5f685ea00132c62677564ca15f9a06845f8d060162b9097c79f3ba8da4e129dd DIST diffutils-3.9.tar.xz 1587916 BLAKE2B d43ed9f1643ac46b69083755974fc9611ad00c3b98b08332c681223d17d762567562233b51342a16f7dad8f28dfc5536999143594e33a64e6624001a71787c8f SHA512 d43280cb1cb2615a8867d971467eb9a3fa037fe9a411028068036f733dab42b10d42767093cea4de71e62b2659a3ec73bd7d1a8f251befd49587e32802682d0f DIST diffutils-3.9.tar.xz.sig 833 BLAKE2B 3bc4aa2b5c73da03dbcfab6edc10f8d5062d5564a6fa2d3a1e0e791d29e189285ff69a3c618685e4471a4c5e37c4f921fe6a12594d7a4b7d7085f9af3ed885d5 SHA512 38e90b7b5708f65f9f3bd04c69d718facbe5109ce3ba55a9bd6aa6becbc69d4b3a8a4e1579ce7ad84514d55ec45fb520b9b22c0cc4a286e6e28714a5c633e9ed diff --git a/sys-apps/diffutils/diffutils-3.9_p20230514.ebuild b/sys-apps/diffutils/diffutils-3.9_p20230514.ebuild new file mode 100644 index 000000000000..afcdb4c15edf --- /dev/null +++ b/sys-apps/diffutils/diffutils-3.9_p20230514.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/diffutils.asc +inherit verify-sig + +DESCRIPTION="Tools to make diffs and compare files" +HOMEPAGE="https://www.gnu.org/software/diffutils/" + +if [[ ${PV} == *_p* ]] ; then + # Subscribe to the 'platform-testers' ML to find these. + # Useful to test on our especially more niche arches and report issues upstream. + MY_COMMIT="17-cc36" + MY_P=${PN}-$(ver_cut 1-2).${MY_COMMIT} + SRC_URI="https://meyering.net/diff/${MY_P}.tar.xz" + SRC_URI+=" verify-sig? ( https://meyering.net/diff/${MY_P}.tar.xz.sig )" + S="${WORKDIR}"/${MY_P} +else + SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" + SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="nls" + +BDEPEND=" + nls? ( sys-devel/gettext ) + verify-sig? ( sec-keys/openpgp-keys-diffutils ) +" + +src_prepare() { + default + + # Needed because of ${P}-diff-D-option-regression.patch + #touch man/diff.1 || die +} + +src_configure() { + # Disable automagic dependency over libsigsegv; see bug #312351. + export ac_cv_libsigsegv=no + + # required for >=glibc-2.26, bug #653914 + use elibc_glibc && export gl_cv_func_getopt_gnu=yes + + local myeconfargs=( + # Interferes with F_S (sets F_S=2) + --disable-gcc-warnings + --with-packager="Gentoo" + --with-packager-version="${PVR}" + --with-packager-bug-reports="https://bugs.gentoo.org/" + $(use_enable nls) + ) + econf "${myeconfargs[@]}" +} |