diff options
author | Charlie Shepherd <masterdriverz@gentoo.org> | 2006-12-09 10:05:10 +0000 |
---|---|---|
committer | Charlie Shepherd <masterdriverz@gentoo.org> | 2006-12-09 10:05:10 +0000 |
commit | d614ceff73c498b3930e43e2363661488949060f (patch) | |
tree | 6a2869e1c69da84486eae38ad13fba9eec71e7f5 /net-dns/hesiod/hesiod-3.0.2-r2.ebuild | |
parent | Add kdeenablefinal flag; bug 156407 (diff) | |
download | historical-d614ceff73c498b3930e43e2363661488949060f.tar.gz historical-d614ceff73c498b3930e43e2363661488949060f.tar.bz2 historical-d614ceff73c498b3930e43e2363661488949060f.zip |
Fix hesiod not reading /etc/hesiod.conf; thanks to Jacob Welsh for reporting; bug 157555
Package-Manager: portage-2.1.2_rc2-r2
Diffstat (limited to 'net-dns/hesiod/hesiod-3.0.2-r2.ebuild')
-rw-r--r-- | net-dns/hesiod/hesiod-3.0.2-r2.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/net-dns/hesiod/hesiod-3.0.2-r2.ebuild b/net-dns/hesiod/hesiod-3.0.2-r2.ebuild new file mode 100644 index 000000000000..143dfe596853 --- /dev/null +++ b/net-dns/hesiod/hesiod-3.0.2-r2.ebuild @@ -0,0 +1,53 @@ +# 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-r2.ebuild,v 1.1 2006/12/09 10:05:10 masterdriverz 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_compile() { + econf --sysconfdir /etc || die 'econf failed' + emake || die 'emake failed' +} + +src_install() { + make DESTDIR="${D}" install || die +} |