summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xaccounts1
-rwxr-xr-xgroups1
-rwxr-xr-xnet/nsd/BUILD9
-rwxr-xr-xnet/nsd/DEPENDS1
-rwxr-xr-xnet/nsd/DETAILS17
-rw-r--r--net/nsd/HISTORY2
-rwxr-xr-xnet/nsd/INSTALL4
-rwxr-xr-xnet/nsd/init.d/nsd8
9 files changed, 48 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 204f181df4..dc09fc1790 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-05 Vlad Glagolev <stealth@sourcemage.org>
+ * net/nsd: new spell, authoritative only, high performance name server
+ * groups: added group nsd (GID 164)
+ * accounts: added user nsd (UID 160)
+
2008-09-04 Ladislav Hagara <hgr@vabo.cz>
* crypto/GnuPG.gpg: added key FCD2A293 (Marcus Brinkmann)
gpa-0.8.0 & scute-1.2.0 sources are signed by this key
diff --git a/accounts b/accounts
index 0f788af315..5877490937 100755
--- a/accounts
+++ b/accounts
@@ -70,4 +70,5 @@ musicdaemon:155:29
iplog:156:156
davfs2:158:158
dovecot:159:159
+nsd:160:164
nobody:65534:65534
diff --git a/groups b/groups
index 271d876636..4b64ec3fea 100755
--- a/groups
+++ b/groups
@@ -84,5 +84,6 @@ netdev:160:
kde4:161:
avahi:162:
vlock:163:
+nsd:164:
users:1000:
nogroup:65534:
diff --git a/net/nsd/BUILD b/net/nsd/BUILD
new file mode 100755
index 0000000000..5da6bcc326
--- /dev/null
+++ b/net/nsd/BUILD
@@ -0,0 +1,9 @@
+create_account nsd &&
+
+OPTS="--enable-bind8-stats \
+ --enable-nsid \
+ --with-ssl=$INSTALL_ROOT/usr
+ --with-zonesdir=$INSTALL_ROOT/etc/nsd/zones
+ $OPTS" &&
+
+default_build
diff --git a/net/nsd/DEPENDS b/net/nsd/DEPENDS
new file mode 100755
index 0000000000..ed472ed907
--- /dev/null
+++ b/net/nsd/DEPENDS
@@ -0,0 +1 @@
+depends openssl
diff --git a/net/nsd/DETAILS b/net/nsd/DETAILS
new file mode 100755
index 0000000000..776a2da219
--- /dev/null
+++ b/net/nsd/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=nsd
+ VERSION=3.1.1
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=http://www.nlnetlabs.nl/downloads/$SPELL/$SOURCE
+ SOURCE_HASH=sha512:d492266b7dfeb50008a520af81db794c63dbf613d7e834b8b41df67770594bcb3abe49cc306b2cbfc5cb33329d3b505276e63c6f63d9503a3a2394b3450eb7dd
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://www.nlnetlabs.nl/projects/nsd/
+ LICENSE[0]=BSD
+ ENTERED=20080904
+ SHORT="authoritative only, high performance and simple name server"
+cat << EOF
+The NLnet Labs Name Server Daemon (NSD) is an authoritative RFC compliant
+DNS nameserver. It was first conceived to allow for more genetic diversity
+for DNS server implementations used by the root-server system and it has
+been developed for operations in environments where speed, reliability,
+stability, and security are of high importance.
+EOF
diff --git a/net/nsd/HISTORY b/net/nsd/HISTORY
new file mode 100644
index 0000000000..068ac0bf25
--- /dev/null
+++ b/net/nsd/HISTORY
@@ -0,0 +1,2 @@
+2008-09-04 Vlad Glagolev <stealth@sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL, init.d/nsd: spell created
diff --git a/net/nsd/INSTALL b/net/nsd/INSTALL
new file mode 100755
index 0000000000..51549d7963
--- /dev/null
+++ b/net/nsd/INSTALL
@@ -0,0 +1,4 @@
+default_install &&
+
+install -vm 700 -o nsd -g nsd -d "$INSTALL_ROOT/var/db/nsd" \
+ "$INSTALL_ROOT/etc/nsd/zones"
diff --git a/net/nsd/init.d/nsd b/net/nsd/init.d/nsd
new file mode 100755
index 0000000000..6795229489
--- /dev/null
+++ b/net/nsd/init.d/nsd
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+PROGRAM=/usr/sbin/nsd
+PIDFILE=/var/run/nsd.pid
+RUNLEVEL=3
+NEEDS="+network +remote_fs"
+
+. /etc/init.d/smgl_init