summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron>1999-04-24 23:53:33 +0000
committertron <tron>1999-04-24 23:53:33 +0000
commit49d854b4503ad0d5437ac9eb987cfca670985e83 (patch)
treec829cc0cc5458292a77d2713c431ed0edc5f84cf /net
parent024bde9d6eda0f9de7a263b24adbcbff90336145 (diff)
downloadpkgsrc-49d854b4503ad0d5437ac9eb987cfca670985e83.tar.gz
Explain how to setup configuration files.
Diffstat (limited to 'net')
-rw-r--r--net/radius/Makefile9
-rw-r--r--net/radius/pkg/MESSAGE2
2 files changed, 9 insertions, 2 deletions
diff --git a/net/radius/Makefile b/net/radius/Makefile
index bb2d518507b..466470aa4be 100644
--- a/net/radius/Makefile
+++ b/net/radius/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 1999/04/24 23:47:08 tron Exp $
+# $NetBSD: Makefile,v 1.9 1999/04/24 23:53:33 tron Exp $
#
# Tempted to install another radius package?
#
@@ -21,8 +21,9 @@ HOMEPAGE= http://www.merit.edu/aaa/
DECOMPRESS_CMD= ${GZCAT} -f
DIST_SUBDIR= radius
-NO_WRKSUBDIR= yes
INSTALL_TARGET= man-install install util-install config-install
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+NO_WRKSUBDIR= yes
CFLAGS+= -DHAVE_SETVBUF -DNOSHADOW
MAKE_ENV+= RADLIBS="${RADLIBS} -lskey" LIBS=-lcrypt \
@@ -43,4 +44,8 @@ pre-patch:
@cd ${WRKSRC}; ${PATCH} -sp <${FILE}.diff
.endfor
+post-build:
+ @${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE \
+ >${MESSAGE_FILE}
+
.include "../../mk/bsd.pkg.mk"
diff --git a/net/radius/pkg/MESSAGE b/net/radius/pkg/MESSAGE
new file mode 100644
index 00000000000..afb65c8154b
--- /dev/null
+++ b/net/radius/pkg/MESSAGE
@@ -0,0 +1,2 @@
+To use the The Merit AAA Server you have to copy the contents of the directory
+"@PREFIX@/share/examples/radius" to "/etc/raddb" and to customize it.