summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/idutils')
-rw-r--r--dev-util/idutils/Manifest4
-rw-r--r--dev-util/idutils/files/idutils-4.6-glibc-2.16.patch15
-rw-r--r--dev-util/idutils/idutils-4.2.ebuild43
-rw-r--r--dev-util/idutils/idutils-4.5.ebuild45
-rw-r--r--dev-util/idutils/idutils-4.6.ebuild33
-rw-r--r--dev-util/idutils/metadata.xml14
6 files changed, 154 insertions, 0 deletions
diff --git a/dev-util/idutils/Manifest b/dev-util/idutils/Manifest
new file mode 100644
index 000000000000..494f1b8b0d72
--- /dev/null
+++ b/dev-util/idutils/Manifest
@@ -0,0 +1,4 @@
+DIST id-utils_4.2-1.diff.gz 6178 SHA256 125cca5aad92bc91348ac1508df2187833d371d08a02aef322e366747f530d82 SHA512 ebeb2f3d35e21d0286d26ea6d703dea1ffbddc943c165ee6414484580a22e2883ace07b8e6670b0e90b6305f0e883fd22d8723c2c62dee664bdd8ab6a2a6106a WHIRLPOOL f6420b25b3b0a0a2db22f890959fb24b4f95bb3e5bc6bbf3eb12b00a4bdeec1143ce081034041eb7c17f8a028cf5dcc56ec170c485d991395ad913758b00e4ab
+DIST idutils-4.2.tar.gz 706193 SHA256 c5740eebf02812e61963a5f90b2e0aed240fe8009853f508fda22b99f7f1fa99 SHA512 319036d449baec65617670fa4ca17e89348f1ed5916731ef2376d96d15f3da032b25ae17234da409c6e439561ccb30056ea22ee37494fd9b196129a21607de3b WHIRLPOOL e2eee7ea6976e3662a4865a3e1e0a6eeb26b37485bbbe2325e0033f1611ab6d42d0d9d9e1bd81d7de731aa6aa1bb85d984bee2b630a79028cad9f543cfef4cd1
+DIST idutils-4.5.tar.gz 1476520 SHA256 58d8a765e14eb436b3646ee13e5476d5042a4c48db94f2459f018dc79b982249 SHA512 c5b50c15cdd92d6caf8748c3b35e9d6f2dafb41abab31d83ed0fe95cffc77e1170ac6512424d94a9a61033a99bda2961a9ab339b66078c417ea39c1bd8fe1e11 WHIRLPOOL 2c8508e756c40248717ec9c713a11dd8709161dd51b92dc501ab5195abaf71c23afa43eba4713a7f4e03243f98922af6d0e6c8799c060239c11c54580e3ff579
+DIST idutils-4.6.tar.xz 1001496 SHA256 8181f43a4fb62f6f0ccf3b84dbe9bec71ecabd6dfdcf49c6b5584521c888aac2 SHA512 830fe4a36693e9bcc8def25982c1a76decac2076165158c39858106f928c1b6ff2bb941fcce7244357c4205c2ecc945b772c9f5a083c4fedb1b75eea0af5445e WHIRLPOOL 305952de779173b698ef8193b23484db2e56dd0fdfde757b1a6660babe638292c6d07005c7c89d3af1b78294ca57872a54507d4c2720fd92fb2609b356a55f0e
diff --git a/dev-util/idutils/files/idutils-4.6-glibc-2.16.patch b/dev-util/idutils/files/idutils-4.6-glibc-2.16.patch
new file mode 100644
index 000000000000..c8659f071e26
--- /dev/null
+++ b/dev-util/idutils/files/idutils-4.6-glibc-2.16.patch
@@ -0,0 +1,15 @@
+--- idutils-4.6_O/lib/stdio.in.h 2012-01-28 17:26:05.000000000 +0100
++++ idutils-4.6/lib/stdio.in.h 2013-06-13 18:38:29.787232848 +0200
+@@ -712,10 +712,12 @@
+ # undef gets
+ # endif
+ _GL_CXXALIASWARN (gets);
++# if HAVE_RAW_DECL_GETS
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
++# endif
+ #endif
+
+
diff --git a/dev-util/idutils/idutils-4.2.ebuild b/dev-util/idutils/idutils-4.2.ebuild
new file mode 100644
index 000000000000..f2f064eecc07
--- /dev/null
+++ b/dev-util/idutils/idutils-4.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils elisp-common
+
+DESCRIPTION="Fast, high-capacity, identifier database tool"
+HOMEPAGE="http://www.gnu.org/software/idutils/"
+DEB_PN="id-utils" # old upstream name for it
+DEB_P="${DEB_PN}_${PV}"
+DEB_PR="1"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+ mirror://debian/pool/main/${PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="emacs nls"
+
+RDEPEND="emacs? ( virtual/emacs )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd "${S}"
+ epatch "${DISTDIR}"/${DEB_P}-${DEB_PR}.diff.gz
+ epatch "${S}"/debian/patches/*.dpatch
+}
+
+src_compile() {
+ use emacs || export EMACS=no
+ econf \
+ $(use_enable nls) \
+ "$(use_with emacs lispdir "${SITELISP}/${PN}")"
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc NEWS README* ChangeLog AUTHORS THANKS TODO
+}
diff --git a/dev-util/idutils/idutils-4.5.ebuild b/dev-util/idutils/idutils-4.5.ebuild
new file mode 100644
index 000000000000..29881768185b
--- /dev/null
+++ b/dev-util/idutils/idutils-4.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils elisp-common
+
+DESCRIPTION="Fast, high-capacity, identifier database tool"
+HOMEPAGE="http://www.gnu.org/software/idutils/"
+#DEB_PN="id-utils" # old upstream name for it
+#DEB_P="${DEB_PN}_${PV}"
+#DEB_PR="1"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+#mirror://debian/pool/main/${PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.diff.gz
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs nls"
+
+RDEPEND="emacs? ( virtual/emacs )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ if [ -n "${DEB_PR}" ]; then
+ cd "${S}"
+ epatch "${DISTDIR}"/${DEB_P}-${DEB_PR}.diff.gz
+ epatch "${S}"/debian/patches/*.dpatch
+ fi
+}
+
+src_compile() {
+ use emacs || export EMACS=no
+ econf \
+ $(use_enable nls) \
+ "$(use_with emacs lispdir "${SITELISP}/${PN}")"
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc NEWS README* ChangeLog AUTHORS THANKS TODO
+}
diff --git a/dev-util/idutils/idutils-4.6.ebuild b/dev-util/idutils/idutils-4.6.ebuild
new file mode 100644
index 000000000000..210a5e25c8f4
--- /dev/null
+++ b/dev-util/idutils/idutils-4.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit elisp-common eutils
+
+DESCRIPTION="Fast, high-capacity, identifier database tool"
+HOMEPAGE="http://www.gnu.org/software/idutils/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs nls"
+
+RDEPEND="emacs? ( virtual/emacs )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-4.6-glibc-2.16.patch"
+}
+
+src_configure() {
+ use emacs || export EMACS=no
+ econf \
+ $(use_enable nls) \
+ $(use_with emacs lispdir "${SITELISP}/${PN}")
+}
diff --git a/dev-util/idutils/metadata.xml b/dev-util/idutils/metadata.xml
new file mode 100644
index 000000000000..ad8adc2dd20c
--- /dev/null
+++ b/dev-util/idutils/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+<longdescription>
+ Fast, high-capacity, identifier database tool.
+ Actually, the term `identifier' is too limiting--`mkid' stores tokens, be
+ they program identifiers of any form, literal numbers, or words of
+ human-readable text. Database queries can be issued from the command-line,
+ or from within emacs, serving as an augmented tags facility.
+</longdescription>
+</pkgmetadata>