summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-12-10 07:27:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-12-10 07:27:06 +0000
commite4a080c40b9052ee0f266de685649e8d581ee9c0 (patch)
tree96624fb69bda9c9ae8c72212fb0fba89a00b4b4c /net-dns
parentppc stable, bug #157643 (diff)
downloadgentoo-2-e4a080c40b9052ee0f266de685649e8d581ee9c0.tar.gz
gentoo-2-e4a080c40b9052ee0f266de685649e8d581ee9c0.tar.bz2
gentoo-2-e4a080c40b9052ee0f266de685649e8d581ee9c0.zip
resurrect stable version of ebuild
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/hesiod/ChangeLog6
-rw-r--r--net-dns/hesiod/files/digest-hesiod-3.0.2-r13
-rw-r--r--net-dns/hesiod/hesiod-3.0.2-r1.ebuild48
3 files changed, 56 insertions, 1 deletions
diff --git a/net-dns/hesiod/ChangeLog b/net-dns/hesiod/ChangeLog
index 14d9a0adf902..8d9246005fb1 100644
--- a/net-dns/hesiod/ChangeLog
+++ b/net-dns/hesiod/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dns/hesiod
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/hesiod/ChangeLog,v 1.21 2006/12/09 10:05:10 masterdriverz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/hesiod/ChangeLog,v 1.22 2006/12/10 07:27:05 mr_bones_ Exp $
+
+ 10 Dec 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +hesiod-3.0.2-r1.ebuild:
+ resurrect stable version of ebuild
*hesiod-3.0.2-r2 (09 Dec 2006)
diff --git a/net-dns/hesiod/files/digest-hesiod-3.0.2-r1 b/net-dns/hesiod/files/digest-hesiod-3.0.2-r1
new file mode 100644
index 000000000000..36e651e3d639
--- /dev/null
+++ b/net-dns/hesiod/files/digest-hesiod-3.0.2-r1
@@ -0,0 +1,3 @@
+MD5 0362311e80fb1e029a1588cbbd09ad57 hesiod-3.0.2.tar.gz 31974
+RMD160 b2abfdebc9874a4d111748c687b63e275220316b hesiod-3.0.2.tar.gz 31974
+SHA256 ee0ff39ad2445728360e1550de3c18d48813b3f9359ea3ad8a49f71ffb314c25 hesiod-3.0.2.tar.gz 31974
diff --git a/net-dns/hesiod/hesiod-3.0.2-r1.ebuild b/net-dns/hesiod/hesiod-3.0.2-r1.ebuild
new file mode 100644
index 000000000000..9f9f313375d6
--- /dev/null
+++ b/net-dns/hesiod/hesiod-3.0.2-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/hesiod/hesiod-3.0.2-r1.ebuild,v 1.22 2006/12/10 07:27:05 mr_bones_ Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="system which uses existing DNS functionality to provide access to databases of information that changes infrequently"
+HOMEPAGE="ftp://athena-dist.mit.edu/pub/ATHENA/hesiod"
+SRC_URI="ftp://athena-dist.mit.edu/pub/ATHENA/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 s390 sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ filter-flags -fstack-protector
+
+ #Patches stolen from RH
+ epatch ${FILESDIR}/hesiod-${PV}-redhat.patch
+ autoconf || die "autoconf failed"
+
+ for manpage in *.3
+ do
+ if grep -q '^\.so man3/hesiod.3' ${manpage}
+ then
+ echo .so hesiod.3 > ${manpage}
+ elif grep -q '^\.so man3/hesiod_getmailhost.3' ${manpage}
+ then
+ echo .so hesiod_getmailhost.3 > ${manpage}
+ elif grep -q '^\.so man3/hesiod_getpwnam.3' ${manpage}
+ then
+ echo .so hesiod_getpwnam.3 > ${manpage}
+ elif grep -q '^\.so man3/hesiod_getservbyname.3' ${manpage}
+ then
+ echo .so hesiod_getservbyname.3 > ${manpage}
+ fi
+ done
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+}