From 19199c57b56fc899d2dbf55085bfafc60c078b60 Mon Sep 17 00:00:00 2001 From: Carl Perry Date: Mon, 17 Mar 2003 07:32:08 +0000 Subject: Initial Import of ldapdns --- net-dns/ldapdns/Changelog | 8 ++++++ net-dns/ldapdns/files/digest-ldapdns-2.03 | 1 + net-dns/ldapdns/ldapdns-2.03.ebuild | 46 +++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 net-dns/ldapdns/Changelog create mode 100644 net-dns/ldapdns/files/digest-ldapdns-2.03 create mode 100644 net-dns/ldapdns/ldapdns-2.03.ebuild (limited to 'net-dns') diff --git a/net-dns/ldapdns/Changelog b/net-dns/ldapdns/Changelog new file mode 100644 index 000000000000..7b01b4af5c90 --- /dev/null +++ b/net-dns/ldapdns/Changelog @@ -0,0 +1,8 @@ +# ChangeLog for net-dns/ldapdns +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/ldapdns/Changelog,v 1.1 2003/03/17 07:32:08 edolnx Exp $ + +*lapdns-2.03 (17 Mar 2003) + + 17 Mar 2003; Carl Perry , ldapdns-2.03.ebuild : + Initial import. Ebuild submitted by Mark Farver . diff --git a/net-dns/ldapdns/files/digest-ldapdns-2.03 b/net-dns/ldapdns/files/digest-ldapdns-2.03 new file mode 100644 index 000000000000..04b9689f4f80 --- /dev/null +++ b/net-dns/ldapdns/files/digest-ldapdns-2.03 @@ -0,0 +1 @@ +MD5 4f19050a08c43df4f3dc0bd7c5cefa3d ldapdns-2.03.tar.gz 99061 diff --git a/net-dns/ldapdns/ldapdns-2.03.ebuild b/net-dns/ldapdns/ldapdns-2.03.ebuild new file mode 100644 index 000000000000..665af5659610 --- /dev/null +++ b/net-dns/ldapdns/ldapdns-2.03.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +S=${WORKDIR}/${P} +DESCRIPTION="A tiny, fast authoritative nameserver that queries LDAP and can be updated instantly" +SRC_URI="http://www.nimh.org/dl/${P}.tar.gz" +HOMEPAGE="http://www.nimh.org/code/ldapdns/" +IUSE="" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +DEPEND="virtual/glibc + >=net-nds/openldap-2" +RDEPEND="${DEPEND} + >=sys-apps/daemontools-0.70 + sys-apps/ucspi-tcp" + +src_compile() { + local myconf="--prefix=/usr " + + cd ${S} + ./configure ${myconf} + emake || die "Compilation failed" +} + +src_install() { + einstall || die "Installation failed" + + + dodoc AUTHORS CHANGELOG FAQ INSTALL COPYING NEWS README* TODO +} + +pkg_postinst() { + + groupadd &>/dev/null nofiles + + id &>/dev/null ldapdns || \ + useradd -g nofiles -d /nonexistent -s /bin/false ldapdns + id &>/dev/null dnslog || \ + useradd -g nofiles -d /nonexistent -s /bin/false dnslog + + einfo "Read the readme.configure and use ldapdns-conf to setup" +} + -- cgit v1.2.3-65-gdbad