From owner-freebsd-ports Sun Nov 19 15: 0: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8BB6E37B479 for ; Sun, 19 Nov 2000 15:00:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA15705; Sun, 19 Nov 2000 15:00:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sun, 19 Nov 2000 15:00:05 -0800 (PST) Message-Id: <200011192300.PAA15705@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Roman Shterenzon Subject: Re: ports/22963: NEW PORT: net/pdnsd - cacheing only name server Reply-To: Roman Shterenzon Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/22963; it has been noted by GNATS. From: Roman Shterenzon 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