summaryrefslogtreecommitdiff
path: root/net/mppe-lkm/Makefile
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2005-01-02 02:52:56 +0000
committercube <cube@pkgsrc.org>2005-01-02 02:52:56 +0000
commit9737cd7203adecebc17d0dd65b85bf7a1c84c8c8 (patch)
tree815e41bbd9ed4abc2a706cce70c35766582f7507 /net/mppe-lkm/Makefile
parent3e861581566373837c074b8c9af2ffddc6215e9c (diff)
downloadpkgsrc-9737cd7203adecebc17d0dd65b85bf7a1c84c8c8.tar.gz
Initial import of mppe-lkm, version 0.0.4, into the NetBSD Packages
Collection. To get encryption over a PPTP connection, you need the kernel to support the MPPE algorithm. It is used as a PPP compression module, and the mppe-lkm package provides a LKM (Loadable Kernel Module) that will install the functionality into your NetBSD kernel.
Diffstat (limited to 'net/mppe-lkm/Makefile')
-rw-r--r--net/mppe-lkm/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/mppe-lkm/Makefile b/net/mppe-lkm/Makefile
new file mode 100644
index 00000000000..6b9aef92b7f
--- /dev/null
+++ b/net/mppe-lkm/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/02 02:52:56 cube Exp $
+
+DISTNAME= kernel_ppp_mppe-0.0.4-src
+PKGNAME= mppe-lkm-0.0.4
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=poptop/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= cube@NetBSD.org
+COMMENT= NetBSD kernel module for MPPE compression with PPP
+
+NO_CONFIGURE= yes
+
+ONLY_FOR_PLATFORM= NetBSD-*-*
+MAKE_ENV+= KMODDIR=${PREFIX}/lkm
+WRKSRC= ${WRKDIR}/mppe-lkm
+KPM_SRC= ${WRKDIR}/${DISTNAME:C/-src$//}
+
+INSTALLATION_DIRS= lkm
+
+post-extract:
+ @${CP} -Rp ${FILESDIR} ${WRKSRC}
+ @${CHMOD} -R u+w ${KPM_SRC}
+ @${CP} -p ${KPM_SRC}/ppp-comp-local.h ${KPM_SRC}/ppp_mppe_compress.c \
+ ${WRKSRC}
+
+.include "../../mk/bsd.pkg.mk"