diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2003-11-02 04:36:26 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2003-11-02 04:36:26 +0000 |
commit | 140c53b8045a859e82a0591b2ddb4a884c649b28 (patch) | |
tree | b732a07c8961e1cdc53da14b69a9a5ce3dbc2668 /net-dns/posadis | |
parent | Initial import #26268 (diff) | |
download | gentoo-2-140c53b8045a859e82a0591b2ddb4a884c649b28.tar.gz gentoo-2-140c53b8045a859e82a0591b2ddb4a884c649b28.tar.bz2 gentoo-2-140c53b8045a859e82a0591b2ddb4a884c649b28.zip |
Initial import #26268
Diffstat (limited to 'net-dns/posadis')
-rw-r--r-- | net-dns/posadis/ChangeLog | 10 | ||||
-rw-r--r-- | net-dns/posadis/Manifest | 5 | ||||
-rw-r--r-- | net-dns/posadis/files/digest-posadis-0.60.1 | 1 | ||||
-rw-r--r-- | net-dns/posadis/files/posadis-0.60.1-init | 30 | ||||
-rw-r--r-- | net-dns/posadis/metadata.xml | 9 | ||||
-rw-r--r-- | net-dns/posadis/posadis-0.60.1.ebuild | 42 |
6 files changed, 95 insertions, 2 deletions
diff --git a/net-dns/posadis/ChangeLog b/net-dns/posadis/ChangeLog new file mode 100644 index 000000000000..d3a22aa7e44c --- /dev/null +++ b/net-dns/posadis/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-dns/posadis +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/posadis/ChangeLog,v 1.1 2003/11/02 04:36:22 matsuu Exp $ + +*posadis-0.60.1 (02 Nov 2003) + + 02 Nov 2003; MATSUU Takuto <matsuu@gentoo.org> metadata.xml, + posadis-0.60.1.ebuild: + Initial import + diff --git a/net-dns/posadis/Manifest b/net-dns/posadis/Manifest index 6cc42e5dc1ae..7135cbebee03 100644 --- a/net-dns/posadis/Manifest +++ b/net-dns/posadis/Manifest @@ -1,4 +1,5 @@ -MD5 f6e38ecd82585a04c4caf02f428df4d3 posadis-0.60.1.ebuild 1001 +MD5 3c200b988dd590361232d8bf0b2cd553 posadis-0.60.1.ebuild 1101 MD5 9958987a590a5ac0b9919f1d15ef001e metadata.xml 542 -MD5 d6f5abf830b31ba09b19a03dd505085e ChangeLog 261 +MD5 1ddeb53f353089415979a2bcb43ae48f ChangeLog 349 MD5 ebd4b8159124c93f03d46ba8f70ac6c8 files/digest-posadis-0.60.1 66 +MD5 dde6c2ce0131d5fc180fc630252fa860 files/posadis-0.60.1-init 726 diff --git a/net-dns/posadis/files/digest-posadis-0.60.1 b/net-dns/posadis/files/digest-posadis-0.60.1 new file mode 100644 index 000000000000..ac89edf12aa7 --- /dev/null +++ b/net-dns/posadis/files/digest-posadis-0.60.1 @@ -0,0 +1 @@ +MD5 feccf256162504785e994e5394594615 posadis-0.60.1.tar.gz 489050 diff --git a/net-dns/posadis/files/posadis-0.60.1-init b/net-dns/posadis/files/posadis-0.60.1-init new file mode 100644 index 000000000000..f8373015bdb7 --- /dev/null +++ b/net-dns/posadis/files/posadis-0.60.1-init @@ -0,0 +1,30 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header $ + +depend() { + need net +} + +checkconfig() { + if [ ! -e /etc/posadisrc ] ; then + eerror "You need an /etc/posadisrc to run Posadis" + eerror "For more help, do man posadisrc." + return 1 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting Posadis" + start-stop-daemon --quiet --start -p /var/posadis/pidfile --exec /usr/bin/posadis -- -p /var/posadis/pidfile -f + eend $? +} + +stop() { + ebegin "Stopping Posadis" + start-stop-daemon --quiet --stop --name posadis -p /var/posadis/pidfile --exec /usr/bin/posadis + eend $? +} + diff --git a/net-dns/posadis/metadata.xml b/net-dns/posadis/metadata.xml new file mode 100644 index 000000000000..d0b0ef313cef --- /dev/null +++ b/net-dns/posadis/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>matsuu@gentoo.org</email> +</maintainer> +<longdescription>Posadis is a powerful Domain Name Server for various platforms. It can be an authoritive DNS server for your zones (it supports standard DNS master files, DNS Notify and zone transfers), but it can also speed up DNS resolution for your local network by acting as a caching DNS server.</longdescription> +</pkgmetadata> diff --git a/net-dns/posadis/posadis-0.60.1.ebuild b/net-dns/posadis/posadis-0.60.1.ebuild new file mode 100644 index 000000000000..89e14eb482d4 --- /dev/null +++ b/net-dns/posadis/posadis-0.60.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/posadis/posadis-0.60.1.ebuild,v 1.1 2003/11/02 04:36:22 matsuu Exp $ + +DESCRIPTION="An authoritive/caching Domain Name Server" +HOMEPAGE="http://www.posadis.org/projects/posadis.php" +SRC_URI="mirror://sourceforge/posadis/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="fam" + +DEPEND=">=dev-cpp/poslib-0.9.7 + fam? ( >=app-admin/fam-oss-2.6.9 )" + +src_compile() { + econf `use_enable fam` || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + # make directory for posadis pidfile and zone data files + keepdir /var/posadis + keepdir /etc/posadis + + exeinto /etc/init.d; newexe ${FILESDIR}/${P}-init posadis + insinto /etc/ + doins posadisrc + + dodoc AUTHORS ChangeLog INSTALL README TODO +} + +pkg_preinst() { + source /etc/init.d/functions.sh + if [ -L ${svcdir}/started/posadis ]; then + einfo "The posadis init script is running. I'll stop it, merge the new files and restart the script." + /etc/init.d/posadis stop + fi +} |