Index: head/dns/totd/pkg-deinstall =================================================================== --- head/dns/totd/pkg-deinstall (revision 519967) +++ head/dns/totd/pkg-deinstall (nonexistent) @@ -1,18 +0,0 @@ -#!/bin/sh -# $OpenBSD: DEINSTALL,v 1.1 2000/06/11 01:15:53 fgsch Exp $ -# -# Post-deinstallation cleanup of totd - -if [ x$2 = "xDEINSTALL" ]; then -echo "" -echo "** To completely deinstall the totd package you need to perform this" -echo "** as root:" -echo "**" -echo "** rm -f ${PKG_PREFIX}/etc/totd.conf" -echo "**" -echo "** Be absolutly sure you want to completely remove the package before" -echo "** issuing this command." -echo "" -fi - -exit 0 Property changes on: head/dns/totd/pkg-deinstall ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/dns/totd/pkg-install =================================================================== --- head/dns/totd/pkg-install (revision 519967) +++ head/dns/totd/pkg-install (nonexistent) @@ -1,45 +0,0 @@ -#! /bin/sh -# $OpenBSD: INSTALL,v 1.1 2000/06/11 01:15:53 fgsch Exp $ -# -# Post-installation setup of totd - based on majordomo INSTALL script -# from daniel@reichardt.ch - -set -e -PATH=/bin:/usr/bin:/sbin:/usr/sbin -PREFIX=${PKG_PREFIX:-/usr/local} - -do_install_configuration() -{ - echo -n "Let's see if there is already a configuration file... " - if [ -f ${PREFIX}/etc/totd.conf ]; then - echo "yes" - echo "Please compare your existing configuration with" - echo "${PREFIX}/etc/totd.conf.sample" - else - echo "no" - echo -n "Copying sample configuration file... " - install -o root -g wheel -m 644 ${PREFIX}/etc/totd.conf.sample \ - ${PREFIX}/etc/totd.conf - echo "ok" - echo "Please review new configuration ${PREFIX}/etc/totd.conf" - fi -} - -if [ $# -ne 2 ]; then - echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 - exit 1 -fi - -case $2 in - PRE-INSTALL) - ;; - POST-INSTALL) - do_install_configuration - ;; - *) - echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 - exit 1 - ;; -esac - -exit 0 Property changes on: head/dns/totd/pkg-install ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/dns/totd/Makefile =================================================================== --- head/dns/totd/Makefile (revision 519967) +++ head/dns/totd/Makefile (revision 519968) @@ -1,32 +1,33 @@ # Created by: Kris Kennaway # $FreeBSD$ PORTNAME= totd PORTVERSION= 1.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= https://BSDforge.com/projects/source/dns/totd/ MAINTAINER= ed@FreeBSD.org COMMENT= DNS proxy that supports IPv6 <==> IPv4 record translation USES= desthack uidfix USE_RC_SUBR= totd GNU_CONFIGURE= yes -PLIST_FILES= etc/totd.conf.sample sbin/totd \ - man/man8/totd.8.gz +PLIST_FILES= "@sample etc/totd.conf.sample" \ + man/man8/totd.8.gz \ + sbin/totd EXTRA_PATCHES= ${FILESDIR}/extra-patch-ne_mesg.c \ ${FILESDIR}/extra-patch-tcp_response.c MAKE_ARGS= CC="${CC}" post-patch: ${REINPLACE_CMD} -e 's/-o bin -g bin//g; s/-o root -g wheel//g' ${WRKSRC}/Makefile.in post-install: ${INSTALL_DATA} ${FILESDIR}/totd.conf.sample ${STAGEDIR}${PREFIX}/etc .include