Date: Sun, 19 Nov 2000 15:00:05 -0800 (PST) From: Roman Shterenzon <roman@xpert.com> To: freebsd-ports@FreeBSD.org Subject: Re: ports/22963: NEW PORT: net/pdnsd - cacheing only name server Message-ID: <200011192300.PAA15705@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/22963; it has been noted by GNATS. From: Roman Shterenzon <roman@xpert.com> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: ports/22963: NEW PORT: net/pdnsd - cacheing only name server Date: Mon, 20 Nov 2000 00:56:06 +0200 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 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011192300.PAA15705>