diff options
author | tron <tron> | 1999-04-24 23:53:33 +0000 |
---|---|---|
committer | tron <tron> | 1999-04-24 23:53:33 +0000 |
commit | 621985631e21180eae1a898d3a343a42b642e10d (patch) | |
tree | c829cc0cc5458292a77d2713c431ed0edc5f84cf /net/radius | |
parent | a15fd99b533b7d01200ebb2e71e4de5baa23023c (diff) | |
download | pkgsrc-621985631e21180eae1a898d3a343a42b642e10d.tar.gz |
Explain how to setup configuration files.
Diffstat (limited to 'net/radius')
-rw-r--r-- | net/radius/Makefile | 9 | ||||
-rw-r--r-- | net/radius/pkg/MESSAGE | 2 |
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. |