summaryrefslogtreecommitdiff
path: root/net/rp-l2tp/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-12-18 16:39:18 +0000
committeragc <agc@pkgsrc.org>2003-12-18 16:39:18 +0000
commit82ec40fec45ef49771b5b43b98ae3c084adff34b (patch)
tree3d2c0ba96f3dd2821a09bb261f10fd8c2e2dec3f /net/rp-l2tp/Makefile
parent5711082f2426035dd91a5c3bfae77da969c236e4 (diff)
downloadpkgsrc-82ec40fec45ef49771b5b43b98ae3c084adff34b.tar.gz
Initial import of rp-l2tp-0.3 into the NetBSD Packages Collection.
l2tpd is a user-space L2TP daemon. L2TP is the Layer Two Tunneling Protocol described in RFC 2661. It allows you to tunnel PPP sessions over a network or transport protocol (in this case, UDP.) Part of the l2tp code is implemented in the l2tpd program, and part of it is implemented as "handlers". A handler is a shared-object library which is dynamically linked into l2tpd at run-time using the "load-handler" configuration directive. Although the handlers included with this package (sync-pppd and cmd) are licensed under the GPL, as a special exception, you may write your own handlers which link to code in this package and not release them under the GPL. There may be other reasons why your handlers must be released under the GPL (for example, they may link with other GPL'd code), but in the absence of other reasons, you may keep your handlers proprietary.
Diffstat (limited to 'net/rp-l2tp/Makefile')
-rw-r--r--net/rp-l2tp/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/rp-l2tp/Makefile b/net/rp-l2tp/Makefile
new file mode 100644
index 00000000000..5deab82beea
--- /dev/null
+++ b/net/rp-l2tp/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/18 16:39:18 agc Exp $
+#
+
+DISTNAME= rp-l2tp-0.3
+CATEGORIES= net security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rp-l2tp/}
+
+MAINTAINER= tech-pkg@netbsd.org
+HOMEPAGE= http://sourceforge.net/projects/rp-l2tp/
+COMMENT= User-space implementation of layer 2 tunnelling protocol
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+USE_GMAKE= yes
+
+post-patch:
+ for f in l2tp.conf.5 l2tpd.8; do \
+ ${MV} ${WRKSRC}/man/$$f ${WRKSRC}/man/$$f.in && \
+ ${SED} -e 's|@SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
+ ${WRKSRC}/man/$$f.in > ${WRKSRC}/man/$$f; \
+ done
+
+.include "../../mk/bsd.pkg.mk"