pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/xl2tpd rc.d scripts live in share/examples/rc.d/



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e70bef0ec31
branches:  trunk
changeset: 652430:2e70bef0ec31
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Mon Jun 01 14:01:21 2015 +0000

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

diffstat:

 net/xl2tpd/Makefile |  13 ++++++++-----
 net/xl2tpd/PLIST    |   4 ++--
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (55 lines):

diff -r d2ed4c3417bf -r 2e70bef0ec31 net/xl2tpd/Makefile
--- a/net/xl2tpd/Makefile       Mon Jun 01 13:20:25 2015 +0000
+++ b/net/xl2tpd/Makefile       Mon Jun 01 14:01:21 2015 +0000
@@ -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"
diff -r d2ed4c3417bf -r 2e70bef0ec31 net/xl2tpd/PLIST
--- a/net/xl2tpd/PLIST  Mon Jun 01 13:20:25 2015 +0000
+++ b/net/xl2tpd/PLIST  Mon Jun 01 14:01:21 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index