rc.d scripts live in share/examples/rc.d/

This commit is contained in:
hauke 2015-06-01 14:01:21 +00:00
parent ca34ac6bb7
commit 6060e4327f
2 changed files with 10 additions and 7 deletions

View file

@ -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"

View file

@ -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