From 82ec40fec45ef49771b5b43b98ae3c084adff34b Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 18 Dec 2003 16:39:18 +0000 Subject: 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. --- net/rp-l2tp/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 net/rp-l2tp/Makefile (limited to 'net/rp-l2tp/Makefile') 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" -- cgit v1.2.3