Summary: | NEW PORT: net/pdnsd - cacheing only name server | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Roman Shterenzon <roman> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports (Nobody) <ports> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Roman Shterenzon
2000-11-19 22:30:01 UTC
oops :( As usual, noticed it too late. The package doesn't create /var/db/pdnsd .. I'll use pkg-install then. diff -urN pdnsd.orig/Makefile pdnsd/Makefile --- pdnsd.orig/Makefile Mon Nov 20 00:53:27 2000 +++ pdnsd/Makefile Mon Nov 20 00:44:13 2000 @@ -13,7 +13,9 @@ MAINTAINER= roman@xpert.com GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-cachedir=/var/db/pdnsd +CONFIGURE_ARGS= --with-cachedir=${PDNSDB} + +PDNSDB= /var/db/pdnsd post-install: @${MKDIR} ${PREFIX}/etc/rc.d diff -urN pdnsd.orig/pkg-install pdnsd/pkg-install --- pdnsd.orig/pkg-install Thu Jan 1 02:00:00 1970 +++ pdnsd/pkg-install Mon Nov 20 00:52:16 2000 @@ -0,0 +1,9 @@ +#!/bin/sh +PDNSDB=/var/db/pdnsd + +mkdir -p ${PDNSDB} +chown nobody ${PDNSDB} +chmod 755 ${PDNSDB} +dd if=/dev/zero of=${PDNSDB}/pdnsd.cache bs=1 count=4 >/dev/null 2>&1 +chown nobody ${PDNSDB}/pdnsd.cache +chmod 640 ${PDNSDB}/pdnsd.cache --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] State Changed From-To: open->closed Committed. Thanks. |