From e7cfdf2c0f8faabe66f0b88f24331d5ee6d1c08d Mon Sep 17 00:00:00 2001 From: hauke Date: Mon, 1 Jun 2015 14:01:21 +0000 Subject: rc.d scripts live in share/examples/rc.d/ --- net/xl2tpd/Makefile | 13 ++++++++----- net/xl2tpd/PLIST | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'net') 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 -- cgit v1.2.3