pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/munge security/munge: Fix PLIST issues, new m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6b2e6e13102
branches:  trunk
changeset: 377956:c6b2e6e13102
user:      bacon <bacon%pkgsrc.org@localhost>
date:      Sat Mar 24 18:05:58 2018 +0000

description:
security/munge: Fix PLIST issues, new maintainer bacon%NetBSD.org@localhost

Also add LICENSE, patch Linux init scripts, create etc/munge dir

diffstat:

 security/munge/Makefile                          |  25 ++++++++++++++++++-----
 security/munge/PLIST                             |   5 +++-
 security/munge/PLIST.FreeBSD                     |   6 ++--
 security/munge/PLIST.Linux                       |   6 ++--
 security/munge/PLIST.NetBSD                      |   6 ++--
 security/munge/distinfo                          |   4 +-
 security/munge/patches/patch-src_etc_Makefile.in |   6 +++-
 7 files changed, 38 insertions(+), 20 deletions(-)

diffs (127 lines):

diff -r f3fcc672da13 -r c6b2e6e13102 security/munge/Makefile
--- a/security/munge/Makefile   Sat Mar 24 17:33:04 2018 +0000
+++ b/security/munge/Makefile   Sat Mar 24 18:05:58 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2018/02/28 09:20:29 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2018/03/24 18:05:58 bacon Exp $
 
 DISTNAME=      munge-0.5.13
 CATEGORIES=    security
@@ -6,20 +6,33 @@
 GITHUB_RELEASE=        ${DISTNAME}
 EXTRACT_SUFX=  .tar.xz
 
-MAINTAINER=    asau%inbox.ru@localhost
+MAINTAINER=    bacon%NetBSD.org@localhost
 HOMEPAGE=      https://dun.github.io/munge/
 COMMENT=       Authentication service for creating and validating credentials
+LICENSE=       gnu-gpl-v3
 
-USE_TOOLS=     perl pkg-config
-GNU_CONFIGURE= yes
-USE_LIBTOOL=   yes
+USE_TOOLS+=            perl pkg-config
+GNU_CONFIGURE=         yes
+USE_LIBTOOL=           yes
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
 INSTALLATION_DIRS+=    lib/pkgconfig
 
-OWN_DIRS=      ${VARBASE}/lib/munge ${VARBASE}/log/munge ${VARBASE}/run/munge
+OWN_DIRS=      ${VARBASE}/lib/munge
+OWN_DIRS+=     ${VARBASE}/log/munge
+OWN_DIRS+=     ${VARBASE}/run/munge
+OWN_DIRS+=     etc/munge
+
+BUILD_DEFS+=   VARBASE
 
 RCD_SCRIPTS+=  munge
 
+SUBST_CLASSES+=                init
+SUBST_STAGE.init=      post-build
+SUBST_FILES.init=      ${WRKSRC}/src/etc/munge.init
+SUBST_FILES.init+=     ${WRKSRC}/src/etc/munge.sysconfig
+SUBST_SED.init=                -e 's|USER="munge"|USER="daemon"|g'
+SUBST_SED.init+=       -e 's|GROUP="munge"|GROUP="daemon"|g'
+
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../security/libgcrypt/buildlink3.mk"
diff -r f3fcc672da13 -r c6b2e6e13102 security/munge/PLIST
--- a/security/munge/PLIST      Sat Mar 24 17:33:04 2018 +0000
+++ b/security/munge/PLIST      Sat Mar 24 18:05:58 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2018/02/28 09:20:29 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/03/24 18:05:58 bacon Exp $
 bin/munge
 bin/remunge
 bin/unmunge
@@ -28,3 +28,6 @@
 man/man7/munge.7
 man/man8/munged.8
 sbin/munged
+@pkgdir var/run/munge
+@pkgdir var/log/munge
+@pkgdir var/lib/munge
diff -r f3fcc672da13 -r c6b2e6e13102 security/munge/PLIST.FreeBSD
--- a/security/munge/PLIST.FreeBSD      Sat Mar 24 17:33:04 2018 +0000
+++ b/security/munge/PLIST.FreeBSD      Sat Mar 24 18:05:58 2018 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST.FreeBSD,v 1.4 2018/01/01 22:29:54 rillig Exp $
-share/examples/default/munge
-share/examples/init.d/munge
+@comment $NetBSD: PLIST.FreeBSD,v 1.5 2018/03/24 18:05:58 bacon Exp $
+share/examples/munge/default/munge
+share/examples/munge/init.d/munge
diff -r f3fcc672da13 -r c6b2e6e13102 security/munge/PLIST.Linux
--- a/security/munge/PLIST.Linux        Sat Mar 24 17:33:04 2018 +0000
+++ b/security/munge/PLIST.Linux        Sat Mar 24 18:05:58 2018 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST.Linux,v 1.3 2015/12/29 04:04:31 dholland Exp $
-share/examples/rc.d/init.d/munge
-share/examples/sysconfig/munge
+@comment $NetBSD: PLIST.Linux,v 1.4 2018/03/24 18:05:58 bacon Exp $
+share/examples/munge/rc.d/init.d/munge
+share/examples/munge/sysconfig/munge
diff -r f3fcc672da13 -r c6b2e6e13102 security/munge/PLIST.NetBSD
--- a/security/munge/PLIST.NetBSD       Sat Mar 24 17:33:04 2018 +0000
+++ b/security/munge/PLIST.NetBSD       Sat Mar 24 18:05:58 2018 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST.NetBSD,v 1.5 2018/02/28 09:20:29 wiz Exp $
-share/munge/examples/default/munge
-share/munge/examples/init.d/munge
+@comment $NetBSD: PLIST.NetBSD,v 1.6 2018/03/24 18:05:58 bacon Exp $
+share/examples/munge/default/munge
+share/examples/munge/init.d/munge
diff -r f3fcc672da13 -r c6b2e6e13102 security/munge/distinfo
--- a/security/munge/distinfo   Sat Mar 24 17:33:04 2018 +0000
+++ b/security/munge/distinfo   Sat Mar 24 18:05:58 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2018/02/28 09:20:29 wiz Exp $
+$NetBSD: distinfo,v 1.6 2018/03/24 18:05:58 bacon Exp $
 
 SHA1 (munge-0.5.13.tar.xz) = bcb0b89e44c5c0ec21f4bcfaacb4493b82aace61
 RMD160 (munge-0.5.13.tar.xz) = 77c6e9df935ddc1ffe6cd481e015f59e2f74e1b7
 SHA512 (munge-0.5.13.tar.xz) = 2e024c0438f9208379a037daabd1c31f206820ab74a410e2bb69870755e99f9c9fbf60c294c96941008bc43425fbb31dd2374e5f088b7978479e7c65816e9002
 Size (munge-0.5.13.tar.xz) = 389952 bytes
-SHA1 (patch-src_etc_Makefile.in) = ca2e4a47a9a6986c962675368eab5e770df99ad3
+SHA1 (patch-src_etc_Makefile.in) = 2133f8cf5e718d786bf2ec86c2f7fd3e2a4cdfee
diff -r f3fcc672da13 -r c6b2e6e13102 security/munge/patches/patch-src_etc_Makefile.in
--- a/security/munge/patches/patch-src_etc_Makefile.in  Sat Mar 24 17:33:04 2018 +0000
+++ b/security/munge/patches/patch-src_etc_Makefile.in  Sat Mar 24 18:05:58 2018 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-src_etc_Makefile.in,v 1.4 2018/02/28 09:20:29 wiz Exp $
+$NetBSD: patch-src_etc_Makefile.in,v 1.5 2018/03/24 18:05:58 bacon Exp $
+
+Install configuration into example directory.
 
 --- src/etc/Makefile.in.orig   2017-09-26 21:57:53.000000000 +0000
 +++ src/etc/Makefile.in
@@ -6,7 +8,7 @@
  sharedstatedir = @sharedstatedir@
  srcdir = @srcdir@
  sysconfdir = @sysconfdir@
-+sysconfexampledir = $(pkgdatadir)/examples
++sysconfexampledir = $(prefix)/share/examples/munge
  target_alias = @target_alias@
  top_build_prefix = @top_build_prefix@
  top_builddir = @top_builddir@



Home | Main Index | Thread Index | Old Index