summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhauke <hauke>2015-06-01 14:01:21 +0000
committerhauke <hauke>2015-06-01 14:01:21 +0000
commit2c9e5a781b3cfaf5804c16e8d607ed314a09e69a (patch)
tree81962a7c5610cfdf1bdc50bbb797b96f2a1cdfb3 /net
parentc4d03bd404be48cd61e62da9f0312bc48aff3c11 (diff)
downloadpkgsrc-2c9e5a781b3cfaf5804c16e8d607ed314a09e69a.tar.gz
rc.d scripts live in share/examples/rc.d/
Diffstat (limited to 'net')
-rw-r--r--net/xl2tpd/Makefile13
-rw-r--r--net/xl2tpd/PLIST4
2 files changed, 10 insertions, 7 deletions
diff --git a/net/xl2tpd/Makefile b/net/xl2tpd/Makefile
index e97bfdeadcb..86a13376884 100644
--- a/net/xl2tpd/Makefile
+++ b/net/xl2tpd/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2014/02/14 22:06:39 christos Exp $
+# $NetBSD: Makefile,v 1.3 2015/06/01 14:01:21 hauke Exp $
#
DISTNAME= xl2tpd-20140214
CATEGORIES= net
+PKGREVISION= 1
MASTER_SITES= -https://github.com/xelerance/xl2tpd/archive/master.zip
EXTRACT_SUFX= .zip
WRKSRC= ${WRKDIR}/xl2tpd-master
@@ -11,13 +12,15 @@ MAINTAINER= christos@NetBSD.org
HOMEPAGE= http://www.xelerance.com/services/software/xl2tpd/
COMMENT= Layer 2 Protocol Daemon
-EXDIR= ${PREFIX}/share/examples/xl2tpd
-INSTALLATION_DIRS= ${EXDIR}
+EXDIR= ${PREFIX}/share/examples
+INSTALLATION_DIRS+= ${EXDIR}/xl2tpd \
+ ${EXDIR}/rc.d
post-install:
-.for i in chap-secrets ipsec.conf options.xl2tpd psk.txt racoon.conf xl2tpd xl2tpd.conf
- ${INSTALL_DATA} ${FILESDIR}/$i ${DESTDIR}${EXDIR}/$i
+.for i in chap-secrets ipsec.conf options.xl2tpd psk.txt racoon.conf xl2tpd.conf
+ ${INSTALL_DATA} ${FILESDIR}/${i} ${DESTDIR}${EXDIR}/xl2tpd/${i}
.endfor
+ ${INSTALL_SCRIPT} ${FILESDIR}/xl2tpd ${DESTDIR}${EXDIR}/rc.d/xl2tpd
.include "../../mk/compiler.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/xl2tpd/PLIST b/net/xl2tpd/PLIST
index 4c43722d04f..f84e47376d4 100644
--- a/net/xl2tpd/PLIST
+++ b/net/xl2tpd/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2013/07/02 00:22:16 christos Exp $
+@comment $NetBSD: PLIST,v 1.2 2015/06/01 14:01:21 hauke Exp $
bin/pfc
man/man1/pfc.1
man/man5/l2tp-secrets.5
@@ -6,10 +6,10 @@ man/man5/xl2tpd.conf.5
man/man8/xl2tpd.8
sbin/xl2tpd
sbin/xl2tpd-control
+share/examples/rc.d/xl2tpd
share/examples/xl2tpd/chap-secrets
share/examples/xl2tpd/ipsec.conf
share/examples/xl2tpd/options.xl2tpd
share/examples/xl2tpd/racoon.conf
share/examples/xl2tpd/psk.txt
-share/examples/xl2tpd/xl2tpd
share/examples/xl2tpd/xl2tpd.conf