aboutsummaryrefslogtreecommitdiff
path: root/net/nph
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-08-15 16:32:34 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-08-15 16:32:34 +0000
commitdf6d51ba28ed787c499b68e61021b52dd1708e26 (patch)
tree8e54d98b6f255e6e2b0a9287678d32c7bef59172 /net/nph
parent92f121405763ce478a0d11e619f55a552c73ceeb (diff)
downloadports-df6d51ba28ed787c499b68e61021b52dd1708e26.tar.gz
ports-df6d51ba28ed787c499b68e61021b52dd1708e26.zip
Notes
Diffstat (limited to 'net/nph')
-rw-r--r--net/nph/Makefile1
-rw-r--r--net/nph/pkg-install7
2 files changed, 4 insertions, 4 deletions
diff --git a/net/nph/Makefile b/net/nph/Makefile
index 1e91a1ca2808..5fb79910913e 100644
--- a/net/nph/Makefile
+++ b/net/nph/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nph
PORTVERSION= 1.2.3
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.feep.net/pub/software/nph/
diff --git a/net/nph/pkg-install b/net/nph/pkg-install
index df19b74cb06b..38e097083e6d 100644
--- a/net/nph/pkg-install
+++ b/net/nph/pkg-install
@@ -36,11 +36,10 @@ case $2 in
fi
fi
- if [ -n "${PH_SERVER}" ]; then
- echo "${PH_SERVER}" > ${PKG_PREFIX}/etc/ph_server.sample;
- elif [ ! -f "${PKG_PREFIX}/etc/ph_server" ]; then
- echo "WARNING: cannot determine PH server name - you must create ${PKG_PREFIX}/etc/ph_server manually";
+ if [ -z "${PH_SERVER}" ]; then
+ PH_SERVER="ns.some-domain.example.org";
fi
+ echo "${PH_SERVER}" > ${PKG_PREFIX}/etc/ph_server.sample;
if [ ! -f "${PKG_PREFIX}/etc/ph_server" ]; then
echo "creating default ${PKG_PREFIX}/etc/ph_server file...";