Mon Jun 1 14:01:21 2015 UTC ()
rc.d scripts live in share/examples/rc.d/


(hauke)
diff -r1.2 -r1.3 pkgsrc/net/xl2tpd/Makefile
diff -r1.1 -r1.2 pkgsrc/net/xl2tpd/PLIST

cvs diff -r1.2 -r1.3 pkgsrc/net/xl2tpd/Makefile (expand / switch to context diff)
--- pkgsrc/net/xl2tpd/Makefile 2014/02/14 22:06:39 1.2
+++ pkgsrc/net/xl2tpd/Makefile 2015/06/01 14:01:21 1.3
@@ -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 @@
 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"

cvs diff -r1.1 -r1.2 pkgsrc/net/xl2tpd/PLIST (expand / switch to context diff)
--- pkgsrc/net/xl2tpd/PLIST 2013/07/02 00:22:16 1.1
+++ pkgsrc/net/xl2tpd/PLIST 2015/06/01 14:01:21 1.2
@@ -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/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