freebsd-ports/dns/credns/files/pkg-install.in
Michael Scheidell d7b377b874 Credns is a software program aimed at fortifying DNSSEC by performing
validation in the DNS notify/transfer-chain.

WWW:	http://www.nlnetlabs.nl/projects/credns/

PR:		ports/169732
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl>
2012-08-12 21:00:32 +00:00

19 lines
500 B
Bash

#!/bin/sh
# $FreeBSD: ports/dns/nsd/files/pkg-install.in,v 1.1 2010/02/11 19:37:10 pgollucci Exp $
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
CREDNSUSER=%%CREDNSUSER%%
CREDNSGROUP=%%CREDNSGROUP%%
CREDNSDBDIR=%%CREDNSDBDIR%%
CREDNSRUNDIR=%%CREDNSRUNDIR%%
CHOWN="chown"
INSTALL_DIR="install -d -o ${CREDNSUSER} -g ${CREDNSGROUP} -m 0755"
if [ "$2" = "POST-INSTALL" ]; then
${INSTALL_DIR} ${CREDNSDBDIR} ${CREDNSRUNDIR}
${CHOWN} -R ${CREDNSUSER}:${CREDNSGROUP} ${CREDNSDBDIR} ${CREDNSRUNDIR}
fi
exit 0