diff options
author | wiz <wiz@pkgsrc.org> | 2019-12-28 12:50:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-12-28 12:50:19 +0000 |
commit | 497c0db3759bfad82da3eff88cccaf21b55a7703 (patch) | |
tree | 750173f0bed4aecda6c7518ecfb67bf1073f184f | |
parent | e990a26821638d2ef3388d5a2c986a34cf321425 (diff) | |
download | pkgsrc-497c0db3759bfad82da3eff88cccaf21b55a7703.tar.gz |
racoon2: update to 20180701nb3.
Install config files in examples directory.
Fixes installation which did not use DESTDIR.
-rw-r--r-- | security/racoon2/Makefile | 12 | ||||
-rw-r--r-- | security/racoon2/PLIST | 53 | ||||
-rw-r--r-- | security/racoon2/distinfo | 3 | ||||
-rw-r--r-- | security/racoon2/patches/patch-samples_Makefile.in | 15 |
4 files changed, 49 insertions, 34 deletions
diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile index 438e6211896..061a1a65b39 100644 --- a/security/racoon2/Makefile +++ b/security/racoon2/Makefile @@ -1,14 +1,9 @@ -# $NetBSD: Makefile,v 1.17 2019/11/04 21:13:01 rillig Exp $ -# - -PKGREVISION= 2 -CATEGORIES= security net -#DISTNAME= racoon2-20100526a -#MASTER_SITES= ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/ -#EXTRACT_SUFX= .tgz +# $NetBSD: Makefile,v 1.18 2019/12/28 12:50:19 wiz Exp $ DISTNAME= racoon2 PKGNAME= racoon2-20180701 +PKGREVISION= 3 +CATEGORIES= security net MASTER_SITES= ${MASTER_SITE_GITHUB:=zoulasc/} GITHUB_PROJECT= racoon2 GITHUB_TAG= b2a193fc9875d1fb89c0a51690745379bc135fcf @@ -70,7 +65,6 @@ RCD_SCRIPT_SRC.iked= ${WRKSRC}/samples/rc.d-iked RCD_SCRIPT_SRC.kinkd= ${WRKSRC}/samples/rc.d-kinkd RCD_SCRIPT_SRC.spmd= ${WRKSRC}/samples/rc.d-spmd RCD_SCRIPT_SRC.racoon2= ${WRKSRC}/samples/rc.d-racoon2 -CONFIGURE_ARGS+= --disable-startup-scripts SAMPLE_CONFS= default.conf racoon2.conf vals.conf \ transport_ike.conf tunnel_ike.conf \ diff --git a/security/racoon2/PLIST b/security/racoon2/PLIST index bb94a13bdfa..fe3991f5064 100644 --- a/security/racoon2/PLIST +++ b/security/racoon2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2015/06/07 03:43:53 joerg Exp $ +@comment $NetBSD: PLIST,v 1.5 2019/12/28 12:50:19 wiz Exp $ ${IKED}man/man8/iked.8 ${KINKD}man/man8/kinkd.8 man/man8/pskgen.8 @@ -10,39 +10,44 @@ sbin/pskgen sbin/spmd sbin/spmdctl share/doc/racoon2/COPYRIGHT -share/doc/racoon2/README -share/doc/racoon2/NEWS share/doc/racoon2/INSTALL +share/doc/racoon2/NEWS +share/doc/racoon2/README share/doc/racoon2/USAGE share/doc/racoon2/cfg-usage.txt share/doc/racoon2/config-usage.txt share/examples/racoon2/default.conf -share/examples/racoon2/racoon2.conf -share/examples/racoon2/vals.conf -share/examples/racoon2/transport_ike.conf -share/examples/racoon2/tunnel_ike.conf -share/examples/racoon2/tunnel_ike_natt.conf -share/examples/racoon2/transport_kink.conf -share/examples/racoon2/tunnel_kink.conf -share/examples/racoon2/local-test.conf -share/examples/racoon2/hook/functions -share/examples/racoon2/hook/child-up -share/examples/racoon2/hook/child-up.d/00childup_sample +share/examples/racoon2/default.conf.sample share/examples/racoon2/hook/child-down share/examples/racoon2/hook/child-rekey -share/examples/racoon2/hook/ikesa-up -share/examples/racoon2/hook/ikesa-up.d/00ikesaup_sample +share/examples/racoon2/hook/child-up +share/examples/racoon2/hook/child-up.d/00childup_sample +share/examples/racoon2/hook/functions share/examples/racoon2/hook/ikesa-down share/examples/racoon2/hook/ikesa-rekey +share/examples/racoon2/hook/ikesa-up +share/examples/racoon2/hook/ikesa-up.d/00ikesaup_sample share/examples/racoon2/hook/migration -share/examples/racoon2/hook/ph1-up share/examples/racoon2/hook/ph1-down -@pkgdir share/examples/racoon2/hook/child-down.d -@pkgdir share/examples/racoon2/hook/child-rekey.d -@pkgdir share/examples/racoon2/hook/ikesa-down.d -@pkgdir share/examples/racoon2/hook/ikesa-rekey.d -@pkgdir share/examples/racoon2/hook/migration.d -@pkgdir share/examples/racoon2/hook/ph1-up.d -@pkgdir share/examples/racoon2/hook/ph1-down.d +share/examples/racoon2/hook/ph1-up +share/examples/racoon2/init.d/iked +share/examples/racoon2/init.d/kinkd +share/examples/racoon2/init.d/spmd +share/examples/racoon2/local-test.conf +share/examples/racoon2/local-test.conf.sample +share/examples/racoon2/racoon2.conf +share/examples/racoon2/racoon2.conf.sample +share/examples/racoon2/transport_ike.conf +share/examples/racoon2/transport_ike.conf.sample +share/examples/racoon2/transport_kink.conf +share/examples/racoon2/transport_kink.conf.sample +share/examples/racoon2/tunnel_ike.conf +share/examples/racoon2/tunnel_ike.conf.sample +share/examples/racoon2/tunnel_ike_natt.conf +share/examples/racoon2/tunnel_ike_natt.conf.sample +share/examples/racoon2/tunnel_kink.conf +share/examples/racoon2/tunnel_kink.conf.sample +share/examples/racoon2/vals.conf +share/examples/racoon2/vals.conf.sample @exec %D/sbin/pskgen -r -o ${PKG_SYSCONFDIR}/spmd.pwd @unexec ${RM} ${PKG_SYSCONFDIR}/spmd.pwd diff --git a/security/racoon2/distinfo b/security/racoon2/distinfo index 76e19026ac3..8fa180f25a0 100644 --- a/security/racoon2/distinfo +++ b/security/racoon2/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.7 2018/07/01 15:47:17 christos Exp $ +$NetBSD: distinfo,v 1.8 2019/12/28 12:50:19 wiz Exp $ SHA1 (racoon2-b2a193fc9875d1fb89c0a51690745379bc135fcf.tar.gz) = 5f36bf656682f794d933584485296c2556500536 RMD160 (racoon2-b2a193fc9875d1fb89c0a51690745379bc135fcf.tar.gz) = ad6c26b5a2f818bc38989bf687f4a623b995c0df SHA512 (racoon2-b2a193fc9875d1fb89c0a51690745379bc135fcf.tar.gz) = b3dcbe43f7f2454f0befd4434a9335df6063e4468924d8c6ab22c960dc45802c7733f0e8720b2674666fbe953309668221352ee25c6bb1ffaafc7eab4666ce49 Size (racoon2-b2a193fc9875d1fb89c0a51690745379bc135fcf.tar.gz) = 1144364 bytes +SHA1 (patch-samples_Makefile.in) = e86ae807d4d0e51e862eda67d7f555eb3ce27015 diff --git a/security/racoon2/patches/patch-samples_Makefile.in b/security/racoon2/patches/patch-samples_Makefile.in new file mode 100644 index 00000000000..b4c0d062c50 --- /dev/null +++ b/security/racoon2/patches/patch-samples_Makefile.in @@ -0,0 +1,15 @@ +$NetBSD: patch-samples_Makefile.in,v 1.1 2019/12/28 12:50:19 wiz Exp $ + +Install config into examples directory. + +--- samples/Makefile.in.orig 2018-07-01 15:39:24.000000000 +0000 ++++ samples/Makefile.in +@@ -2,7 +2,7 @@ + + srcdir=@srcdir@ + prefix=@prefix@ +-sysconfdir=@sysconfdir@ ++sysconfdir=${DESTDIR}${PREFIX}/share/examples/racoon2 + datarootdir=@datarootdir@ + INSTALL =@INSTALL@ @INSTALL_OPTS@ + INSTALL_PROGRAM=@INSTALL_PROGRAM@ |