summaryrefslogtreecommitdiff
path: root/dev-libs/libexplain
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libexplain
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libexplain')
-rw-r--r--dev-libs/libexplain/Manifest7
-rw-r--r--dev-libs/libexplain/files/libexplain-0.45-configure.patch23
-rw-r--r--dev-libs/libexplain/libexplain-1.4-r1.ebuild50
-rw-r--r--dev-libs/libexplain/libexplain-1.4.ebuild50
-rw-r--r--dev-libs/libexplain/metadata.xml11
5 files changed, 141 insertions, 0 deletions
diff --git a/dev-libs/libexplain/Manifest b/dev-libs/libexplain/Manifest
new file mode 100644
index 000000000000..e283ac3a35e5
--- /dev/null
+++ b/dev-libs/libexplain/Manifest
@@ -0,0 +1,7 @@
+AUX libexplain-0.45-configure.patch 385 SHA256 468c3be75400f7a86d19e0a7d5532a968752fae6b229d942ef18860e7497feed SHA512 ab85c6ba83b02b2e4ac86f5505bf8bb303176cbaab6eb9d703fa2069bc1e58c79b761778faafb01822bc3473d4a6fd04e6cbe5807d4bd83df2ce6bedf17f3e8c WHIRLPOOL a3ed75ffbcbdc8203a4683946dd39750f79c796d1fe0e2218e0f43368d811c20ddd867576117f6ed443c8281d31cb900c5b3b4c609f69abd45acbcb8b6463400
+DIST libexplain-1.4.tar.gz 4770006 SHA256 28863b65eccc74934e237cac41364cb3c1802c36c9e2318ed0417460fee83f80 SHA512 c236732f57d0688fed173c27474a00a39c9ac6d5dfbd22f3b68b5d0fff7a70fb130bcedbeb174767f4fd2c012148025e92635cc8df2b958774a3cfba58e6ff2c WHIRLPOOL ce3131c68d57c3d867960eaf2451d5aed152276c85e0182fee70b6499ebbee29ae0fea6d1a84aaefa927c9b983677953003b1a253e54ab3fc516d2b70dc3a3c1
+EBUILD libexplain-1.4-r1.ebuild 1008 SHA256 270e0ec258ede499d01a65360fc972f414b55a7fc93a5a9155d6a59889151f98 SHA512 a0401e67628a0b35adf4067ab567a1c39e10eb675f3227a4256ef2949f1a21d562e58bfae21f088bc2043940fe75e141e3b345684cb9d0bbd6bdb51462e63d2b WHIRLPOOL 33835c3e16a32a76717111cd6c111f42f5badcfd21bbd95f688eaf93e125976390a116badf71b665b8bf0913e54417b5757149969450367ff39ab4a5855dc723
+EBUILD libexplain-1.4.ebuild 1051 SHA256 ba57f84aafd2277822829b714642af8fbb4eca71fdc76af631d9790e9bdc193c SHA512 6f06630f594ca1253d8479d8c3379e554c4c71b0135cd52089299b4ba9b135b3aa116bcc676f284af762e73e81134637e62ffc260595e89aeccddc399b559634 WHIRLPOOL dc35355268b81d7344d186d75f791df04b4adb57d331fb50c72fdb21a99f2594054a7e7b6a5cbb6c693a4338bb499e13d8f51881d2f4315ebd1b9b2baa0d3d2e
+MISC ChangeLog 3424 SHA256 81aa42c6547fa25edc29050c85c92231c60bf89207e0124f3cfa7cc54e7e8e2b SHA512 fe490ff8fa05c8b67087a610adf3dde6a1a2b77e19933e835811e0564f7ce4b120de84ccf3d5633bb7d70d11a1e8faa18037101195245377034d5e7fdd8cf38a WHIRLPOOL 2157694e87946a4b4decc5806d9aa08c8e1b4b17f77fb9c8de5d5364d2c5881023c1e5cb6d13094140b5eb8bc753fc21ae3926f94f6335dcef69a4bef279c5bb
+MISC ChangeLog-2015 5163 SHA256 320b07a9cb2a30055c284601360ad5683a68994c1672ef4c59aa5e333e9b524e SHA512 2a8d580e95e1d2dbde60761e6baeb8c24fa93e93ae233be366d740ac6f892fd77949d3216960a39b796d580b366320affe5b79fd9bccaa350d42a5f9be854a0e WHIRLPOOL 0dfd0421501f40d0069fea7c581c399c87ddf6a0342e69b693eec4d6315350d714c166d4ff42fee90968266c860c818bce80bd3cc53ce1d88e9114c26fede458
+MISC metadata.xml 355 SHA256 39652a0843e96bf5eacbc5e98d3f9db4ea75383aff1bef8a9a884796faa2adce SHA512 da9d74fbff908b754b891941038f9f01a65641444f4d8a36502f9d967a33558ef74716ce33223be27fdb3dc80e7e65bccf51e4908d41e39ff50bbbc4aab3ed86 WHIRLPOOL 40ed7094b8bcdf6b43abdaae05e4e599b158dbedb01a5910c78434ee4834513cfd844794d821461bbcae4a4c90d1f659746683db3540618dc1177bd3901a0b36
diff --git a/dev-libs/libexplain/files/libexplain-0.45-configure.patch b/dev-libs/libexplain/files/libexplain-0.45-configure.patch
new file mode 100644
index 000000000000..0f031fb8d348
--- /dev/null
+++ b/dev-libs/libexplain/files/libexplain-0.45-configure.patch
@@ -0,0 +1,23 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -26,6 +26,10 @@
+ AC_PROG_RANLIB
+ AC_PROG_YACC
+
++LT_INIT
++top_builddir=`pwd`
++AC_SUBST(top_builddir)
++
+ case "$YACC" in
+ *bison*)
+ ;;
+--- libexplain-0.45.D001.orig/Makefile.in
++++ libexplain-0.45.D001/Makefile.in
+@@ -35,6 +35,7 @@
+ #
+ # directory containing the source
+ #
++top_builddir = @top_builddir@
+ srcdir = @srcdir@
+ VPATH = @srcdir@
+
diff --git a/dev-libs/libexplain/libexplain-1.4-r1.ebuild b/dev-libs/libexplain/libexplain-1.4-r1.ebuild
new file mode 100644
index 000000000000..94aaf264a854
--- /dev/null
+++ b/dev-libs/libexplain/libexplain-1.4-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Library which may be used to explain Unix and Linux system call errors"
+HOMEPAGE="http://libexplain.sourceforge.net/"
+SRC_URI="http://libexplain.sourceforge.net/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-3 LGPL-3"
+IUSE="static-libs"
+
+DEPEND="
+ sys-apps/acl
+ sys-apps/groff
+ app-text/ghostscript-gpl
+ >=sys-kernel/linux-headers-2.6.35"
+
+RDEPEND="
+ ${DEPEND}
+ sys-libs/libcap
+ sys-process/lsof
+ sys-libs/glibc"
+
+# Test fails with:
+# This is not a bug, but it does indicate where libexplain's ioctl support
+# could be improved.
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.45-configure.patch )
+
+src_prepare() {
+ # Portage incompatible test
+ sed \
+ -e '/t0524a/d' \
+ -e '/t0363a/d' \
+ -i Makefile.in || die
+
+ cp -v "${S}"/etc/configure.ac "${S}" || die
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+}
diff --git a/dev-libs/libexplain/libexplain-1.4.ebuild b/dev-libs/libexplain/libexplain-1.4.ebuild
new file mode 100644
index 000000000000..c92cd08d91c5
--- /dev/null
+++ b/dev-libs/libexplain/libexplain-1.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=yes
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit autotools-utils
+
+DESCRIPTION="Library which may be used to explain Unix and Linux system call errors"
+HOMEPAGE="http://libexplain.sourceforge.net/"
+SRC_URI="http://libexplain.sourceforge.net/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-3 LGPL-3"
+IUSE="static-libs"
+
+RDEPEND="
+ sys-libs/libcap
+ >=sys-libs/glibc-2.11
+ sys-process/lsof"
+DEPEND="${RDEPEND}
+ >=sys-kernel/linux-headers-2.6.35
+ app-text/ghostscript-gpl
+ sys-apps/groff
+"
+# Test fails with:
+# This is not a bug, but it does indicate where libexplain's ioctl support
+# could be improved.
+RESTRICT="test"
+
+DOCS=( README )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.45-configure.patch
+)
+
+src_prepare() {
+ # Portage incompatible test
+ sed \
+ -e '/t0524a/d' \
+ -e '/t0363a/d' \
+ -i Makefile.in || die
+
+ cp "${S}"/etc/configure.ac "${S}" || die
+
+ autotools-utils_src_prepare
+}
diff --git a/dev-libs/libexplain/metadata.xml b/dev-libs/libexplain/metadata.xml
new file mode 100644
index 000000000000..330032124fc7
--- /dev/null
+++ b/dev-libs/libexplain/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">libexplain</remote-id>
+ </upstream>
+</pkgmetadata>