summaryrefslogtreecommitdiff
path: root/sys-apps/diffutils
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/diffutils')
-rw-r--r--sys-apps/diffutils/Manifest10
-rw-r--r--sys-apps/diffutils/diffutils-3.3.ebuild48
-rw-r--r--sys-apps/diffutils/diffutils-3.5.ebuild49
-rw-r--r--sys-apps/diffutils/diffutils-3.6.ebuild41
-rw-r--r--sys-apps/diffutils/files/diffutils-3.5-fix_macros.patch19
-rw-r--r--sys-apps/diffutils/metadata.xml8
6 files changed, 175 insertions, 0 deletions
diff --git a/sys-apps/diffutils/Manifest b/sys-apps/diffutils/Manifest
new file mode 100644
index 000000000000..2169ea2312e1
--- /dev/null
+++ b/sys-apps/diffutils/Manifest
@@ -0,0 +1,10 @@
+AUX diffutils-3.5-fix_macros.patch 928 SHA256 2d6389bb5dd669335826b9f20f64852ebccdf91a2a867d7da82eeb7de35f8e49 SHA512 ad0cff0aea2ac560b3c0171141b6d1975d2ffb8684a20697464471355cdb161dea5967b72732b4de5ff9375a2ba2f29aae532967abe5311820de817afaf354ba WHIRLPOOL e970547a22e40b0b8ba85f40973e530dfb3281772d907d65a819b449f4aa68107a35fe7f97cec343703cb3dd2e4e49cfd90c5b8a0c70c42c3a9c6686e1de96c6
+DIST diffutils-3.3.tar.xz 1197832 SHA256 a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c SHA512 b04b998717e45e8fd1ba675957dad1909beeed68ffc41c0d9bbaddaf78965f9e63af5a8d8811bb94f33a3cddcad2fe1ad794e52e545def9ce96c092999a74a83 WHIRLPOOL 8fd3b179afdc3fd127cee8829535b0fc6d949443645e8df80fa45c2fa44a732ea652259b644d81a9be14d4c7f7c3b5bad7b8861934a6bc691cd02a34c0200ed3
+DIST diffutils-3.5.tar.xz 1360996 SHA256 dad398ccd5b9faca6b0ab219a036453f62a602a56203ac659b43e889bec35533 SHA512 758229637e3703215adf66c5df04126ae594424abaf2cad8f1fa482bd9759e90838c943ef56e0129beb1396f5932ed9337c8396679da3de32e49bb43d423fd6b WHIRLPOOL 2f367fc10679bfc1377612bfdc693792f5afdc0969c06d7607370bb626d8eb63868b71d2342133fea6210291f34ad3f53b4af34d457a13fc675fc7dc5f6c2f6e
+DIST diffutils-3.6.tar.xz 1398296 SHA256 d621e8bdd4b573918c8145f7ae61817d1be9deb4c8d2328a65cea8e11d783bd6 SHA512 3c159ff1cb7c901b0a57518483566b5740ca3c45aeb8d3004089f052975481db52994cc18592c502c68b0d2a1e22f1f7830f0d8dd9a9ed86de96e28cce9f70c1 WHIRLPOOL 8b80d3963f65a62abb49805650a33b00be57f11892a7ce5e5fc7bdd6dc0d347adf959834998e8f9234e20ff1268727978ba9fe667b139ec16d72cb212a6a14bd
+EBUILD diffutils-3.3.ebuild 1449 SHA256 d136d1fb7e79c1edb4dc023c320a1d4b3419f9bf334c867da555c0db4a98bcd9 SHA512 b25387889515894f8b7249565f4c022b91268995ace9227829cbe67312a13222979eff92a9262816e5dff8043a70ddad635d6d53c06df2139324ab387dada12a WHIRLPOOL f774debbbc723d68bdd0d1e7409e4f5c43237698dc4e7fec9cac82cb22962c2a3cf5f1819ffe5f9f4ccf91cad3f364b6f69555bc12f973db26176910a41af4c9
+EBUILD diffutils-3.5.ebuild 1262 SHA256 2f1b87afa4e50935de904914e9e55086bbd12fd757253709eff19d7c190f0e4b SHA512 f7945872ccf1d61d411b1d209a522acc68e4a7c2261705b0be23f822c987b05ec92840693679e633ff5d1aaff198646c3df57aa12c0f0f16b2ea0297c5fef240 WHIRLPOOL c7fd0743e098943c5a15e45ca5e9b663e7a0f5fe39e875683452400b0c0ee6aa037681d03b43f9266cc57454b5fcd5aa83a691735467d918cc99e2189038e36d
+EBUILD diffutils-3.6.ebuild 1178 SHA256 927827b9a31051406ef26c28213831dcef0d81bcdd2896c05e140302fa7b222c SHA512 27e98ff03aba18e11a681fbdee5ae2b23b311806d647fe5dd07179d90ea8e277de0aa34f7e60d5d4c6077813c15f77f82a8be480bbe62efa53fd1b40af0428ff WHIRLPOOL a4f6115500887b188c78bcea35b2788d0fd3e9f526af11b76aaadedfdac1972bb9f820ab3fc087dd3da68de61cb106b78da6c6bd5baebdc6d350fd3eab07b07a
+MISC ChangeLog 4583 SHA256 86ed6ff382ada74c0bda309b713fb7400a00e67f752c24fea57953595b856cde SHA512 7e412c2cff75cd8f79c8c9d6b31ed7eb711c88026022e8055f5343f73bc448562934bca68f130a071f1b20d1cee2ea3492fc71ccc97464f104ff8b0df93d15c4 WHIRLPOOL ce2dfaf983cf603b73caf48a53e01b6578611cb9188854a9848a2e17bbc78241bf929c3e34b3e63ba6ccd0a82ee6298704d03930560329899aea25fe5d5db8e3
+MISC ChangeLog-2015 11823 SHA256 9b4d46735bf554fec25baee5aeaebe9cebb672a48f614aa8211bf5435690503e SHA512 29ff8ba52a49f483d629cf71a0832b8a2e05b2d37be8cfc7253024c7538784119eebc090fd1e7fbf8d2c718974f8b0ce0f1bd07f2950e36aa9352a0f290d5a3d WHIRLPOOL dae68c53bea1b79c1c26a56f4db6a81ea61422b51e0f57f761f3768de57a1b496d881f40f35bbc53e78529ccb2733189ad8a88f52a8360b03422adc091f5fbed
+MISC metadata.xml 253 SHA256 d82c33ef453113a5c1ebe250dcba373c22934a69b0a86c6ab15a5ca589c25b91 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 WHIRLPOOL e5aee23acff864609953a1e4de768f0e4aef704b44c53c021f28573e1ca5c99f1a46d92935ecec2449f7b4419a36d8373127d0ecfa8d7bae72d835e1839eb3f8
diff --git a/sys-apps/diffutils/diffutils-3.3.ebuild b/sys-apps/diffutils/diffutils-3.3.ebuild
new file mode 100644
index 000000000000..74de856d5c86
--- /dev/null
+++ b/sys-apps/diffutils/diffutils-3.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit flag-o-matic
+
+DESCRIPTION="Tools to make diffs and compare files"
+HOMEPAGE="https://www.gnu.org/software/diffutils/"
+SRC_URI="mirror://gnu-alpha/diffutils/${P}.tar.xz
+ mirror://gnu/diffutils/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls static"
+
+DEPEND="app-arch/xz-utils
+ nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+src_prepare() {
+ # Disable gnulib build test that has no impact on the source.
+ # Re-enable w/next version bump (and gnulib is updated). #554728
+ [[ ${PV} != "3.3" ]] && die "re-enable test #554728"
+ echo 'exit 0' > gnulib-tests/test-update-copyright.sh || die
+
+ sed -i 's:@mkdir_p@:@MKDIR_P@:g' po/Makefile.in.in || die #464604
+}
+
+src_configure() {
+ use static && append-ldflags -static
+
+ # Disable automagic dependency over libsigsegv; see bug #312351.
+ export ac_cv_libsigsegv=no
+
+ econf \
+ --with-packager="Gentoo" \
+ --with-packager-version="${PVR}" \
+ --with-packager-bug-reports="https://bugs.gentoo.org/" \
+ $(use_enable nls)
+}
+
+src_test() {
+ # explicitly allow parallel testing
+ emake check
+}
diff --git a/sys-apps/diffutils/diffutils-3.5.ebuild b/sys-apps/diffutils/diffutils-3.5.ebuild
new file mode 100644
index 000000000000..4f4cc34faea0
--- /dev/null
+++ b/sys-apps/diffutils/diffutils-3.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit flag-o-matic
+
+DESCRIPTION="Tools to make diffs and compare files"
+HOMEPAGE="https://www.gnu.org/software/diffutils/"
+SRC_URI="mirror://gnu/diffutils/${P}.tar.xz
+ mirror://gnu-alpha/diffutils/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls static"
+
+DEPEND="app-arch/xz-utils
+ nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+PATCHES=(
+ "${FILESDIR}/${P}-fix_macros.patch"
+)
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+}
+
+src_configure() {
+ use static && append-ldflags -static
+
+ # Disable automagic dependency over libsigsegv; see bug #312351.
+ export ac_cv_libsigsegv=no
+
+ local myeconfargs=(
+ --with-packager="Gentoo"
+ --with-packager-version="${PVR}"
+ --with-packager-bug-reports="https://bugs.gentoo.org/"
+ $(use_enable nls)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ # explicitly allow parallel testing
+ emake check
+}
diff --git a/sys-apps/diffutils/diffutils-3.6.ebuild b/sys-apps/diffutils/diffutils-3.6.ebuild
new file mode 100644
index 000000000000..3a2a7b9e2be5
--- /dev/null
+++ b/sys-apps/diffutils/diffutils-3.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit flag-o-matic
+
+DESCRIPTION="Tools to make diffs and compare files"
+HOMEPAGE="https://www.gnu.org/software/diffutils/"
+SRC_URI="mirror://gnu/diffutils/${P}.tar.xz
+ mirror://gnu-alpha/diffutils/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls static"
+
+DEPEND="app-arch/xz-utils
+ nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+src_configure() {
+ use static && append-ldflags -static
+
+ # Disable automagic dependency over libsigsegv; see bug #312351.
+ export ac_cv_libsigsegv=no
+
+ local myeconfargs=(
+ --with-packager="Gentoo"
+ --with-packager-version="${PVR}"
+ --with-packager-bug-reports="https://bugs.gentoo.org/"
+ $(use_enable nls)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ # explicitly allow parallel testing
+ emake check
+}
diff --git a/sys-apps/diffutils/files/diffutils-3.5-fix_macros.patch b/sys-apps/diffutils/files/diffutils-3.5-fix_macros.patch
new file mode 100644
index 000000000000..ae820fc372ce
--- /dev/null
+++ b/sys-apps/diffutils/files/diffutils-3.5-fix_macros.patch
@@ -0,0 +1,19 @@
+http://git.savannah.gnu.org/cgit/gnulib.git/commit/lib/intprops.h?id=175b4e22f99e00996b72f822f5ae54dca8243d19
+
+--- diffutils-3.5/lib/intprops.h
++++ diffutils-3.5/lib/intprops.h
+@@ -230,11 +230,11 @@
+ (e.g., A and B) have the same type as MIN and MAX. Instead, they assume
+ that the result (e.g., A + B) has that type. */
+ #if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
+-# define _GL_ADD_OVERFLOW(a, b, min, max)
++# define _GL_ADD_OVERFLOW(a, b, min, max) \
+ __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
+-# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
++# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
+ __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
+-# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
++# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
+ __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
+ #else
+ # define _GL_ADD_OVERFLOW(a, b, min, max) \
diff --git a/sys-apps/diffutils/metadata.xml b/sys-apps/diffutils/metadata.xml
new file mode 100644
index 000000000000..56c124413057
--- /dev/null
+++ b/sys-apps/diffutils/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+</maintainer>
+</pkgmetadata>