[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2023-08-03 Thread Arthur Zamarin
commit: 927f737fe6cfd91402ca976a7f9a1331e2a41892
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug  3 10:27:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug  3 10:27:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=927f737f

sys-auth/munge: Stabilize 0.5.15 ppc, #909652

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-auth/munge/munge-0.5.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.15.ebuild 
b/sys-auth/munge/munge-0.5.15.ebuild
index 2b3fdceaeb22..a1a5d61cf62c 100644
--- a/sys-auth/munge/munge-0.5.15.ebuild
+++ b/sys-auth/munge/munge-0.5.15.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/${P}/${P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv sparc 
x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc 
x86"
 IUSE="debug gcrypt static-libs"
 # TODO: still tries to use ${S}?
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2023-07-04 Thread Sam James
commit: 3ba54225661336c7e7a517f859b9f4fd647c636b
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  4 22:40:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  4 22:40:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba54225

sys-auth/munge: Stabilize 0.5.15 ppc64, #909652

Signed-off-by: Sam James  gentoo.org>

 sys-auth/munge/munge-0.5.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.15.ebuild 
b/sys-auth/munge/munge-0.5.15.ebuild
index 9bc4353b919a..2b3fdceaeb22 100644
--- a/sys-auth/munge/munge-0.5.15.ebuild
+++ b/sys-auth/munge/munge-0.5.15.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/${P}/${P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv sparc 
x86"
 IUSE="debug gcrypt static-libs"
 # TODO: still tries to use ${S}?
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2023-07-04 Thread Sam James
commit: db191f5cf54731ce39912bda0ad2dd3a90aebffc
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  4 22:23:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  4 22:23:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db191f5c

sys-auth/munge: Stabilize 0.5.15 sparc, #909652

Signed-off-by: Sam James  gentoo.org>

 sys-auth/munge/munge-0.5.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.15.ebuild 
b/sys-auth/munge/munge-0.5.15.ebuild
index 2d783ee95ce7..cec783f10b08 100644
--- a/sys-auth/munge/munge-0.5.15.ebuild
+++ b/sys-auth/munge/munge-0.5.15.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/${P}/${P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc ~x86"
 IUSE="debug gcrypt static-libs"
 # TODO: still tries to use ${S}?
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2023-07-04 Thread Sam James
commit: b70e7f16ca0373010a2c58ae1847073aa0f6718f
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  4 22:23:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  4 22:23:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b70e7f16

sys-auth/munge: Stabilize 0.5.15 x86, #909652

Signed-off-by: Sam James  gentoo.org>

 sys-auth/munge/munge-0.5.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.15.ebuild 
b/sys-auth/munge/munge-0.5.15.ebuild
index cec783f10b08..9bc4353b919a 100644
--- a/sys-auth/munge/munge-0.5.15.ebuild
+++ b/sys-auth/munge/munge-0.5.15.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/${P}/${P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86"
 IUSE="debug gcrypt static-libs"
 # TODO: still tries to use ${S}?
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2023-07-04 Thread Sam James
commit: 5f0f442c7fc66422e8ff4c8a754b3ab755eb4870
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  4 22:13:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  4 22:13:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f0f442c

sys-auth/munge: Stabilize 0.5.15 amd64, #909652

Signed-off-by: Sam James  gentoo.org>

 sys-auth/munge/munge-0.5.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.15.ebuild 
b/sys-auth/munge/munge-0.5.15.ebuild
index d7cab612870d..2d783ee95ce7 100644
--- a/sys-auth/munge/munge-0.5.15.ebuild
+++ b/sys-auth/munge/munge-0.5.15.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/${P}/${P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
 IUSE="debug gcrypt static-libs"
 # TODO: still tries to use ${S}?
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2023-06-03 Thread WANG Xuerui
commit: 6df9413ca417a326700eb216b571fdcfedb0df5a
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sat Jun  3 06:54:02 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat Jun  3 07:39:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df9413c

sys-auth/munge: keyword 0.5.15 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-auth/munge/munge-0.5.15.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/munge/munge-0.5.15.ebuild 
b/sys-auth/munge/munge-0.5.15.ebuild
index 885f7c485398..d7cab612870d 100644
--- a/sys-auth/munge/munge-0.5.15.ebuild
+++ b/sys-auth/munge/munge-0.5.15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/${P}/${P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
 IUSE="debug gcrypt static-libs"
 # TODO: still tries to use ${S}?
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/files/, sys-auth/munge/

2022-11-19 Thread Sam James
commit: fbe8861b0c541ee7fabc1c196d414450906575a6
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 20 04:05:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 20 04:05:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe8861b

sys-auth/munge: restore tmpfiles

Upstream dropped it apart from for CentOS 7, but let's keep it
as it's easier than trying to handle in init scripts.

Closes: https://bugs.gentoo.org/881781
Signed-off-by: Sam James  gentoo.org>

 sys-auth/munge/files/munged.tmpfiles.conf | 1 +
 sys-auth/munge/munge-0.5.15.ebuild| 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-auth/munge/files/munged.tmpfiles.conf 
b/sys-auth/munge/files/munged.tmpfiles.conf
new file mode 100644
index ..2f82354844f3
--- /dev/null
+++ b/sys-auth/munge/files/munged.tmpfiles.conf
@@ -0,0 +1 @@
+d /run/munge 0755 munge munge -

diff --git a/sys-auth/munge/munge-0.5.15.ebuild 
b/sys-auth/munge/munge-0.5.15.ebuild
index 475278514dd8..885f7c485398 100644
--- a/sys-auth/munge/munge-0.5.15.ebuild
+++ b/sys-auth/munge/munge-0.5.15.ebuild
@@ -78,11 +78,13 @@ src_install() {
newconfd "$(prefixify_ro "${FILESDIR}"/${PN}d.confd)" ${PN}d
newinitd "$(prefixify_ro "${FILESDIR}"/${PN}d.initd)" ${PN}d
 
+   newtmpfiles "${FILESDIR}"/munged.tmpfiles.conf munged.conf
+
if ! use static-libs; then
find "${ED}" -name '*.la' -delete || die
fi
 }
 
 pkg_postinst() {
-   tmpfiles_process munge.conf
+   tmpfiles_process munged.conf
 }



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2022-11-17 Thread Sam James
commit: e508ff0cae888422286121c2c155223843cc25a2
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 01:54:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 01:54:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e508ff0c

sys-auth/munge: add 0.5.15

Closes: https://bugs.gentoo.org/798102
Signed-off-by: Sam James  gentoo.org>

 sys-auth/munge/Manifest|  1 +
 sys-auth/munge/munge-0.5.15.ebuild | 88 ++
 2 files changed, 89 insertions(+)

diff --git a/sys-auth/munge/Manifest b/sys-auth/munge/Manifest
index 5a684b9ed3a1..d04baae21b73 100644
--- a/sys-auth/munge/Manifest
+++ b/sys-auth/munge/Manifest
@@ -1 +1,2 @@
 DIST munge-0.5.13.tar.xz 389952 BLAKE2B 
67887469dccf0f4e136a3fba12660dd8d0bfbd5d5024582c6be164b7e837959380ee9d09055ea95db2a307b1da75a8e7c643844fceb56b8a35f59ab7b1b811d8
 SHA512 
2e024c0438f9208379a037daabd1c31f206820ab74a410e2bb69870755e99f9c9fbf60c294c96941008bc43425fbb31dd2374e5f088b7978479e7c65816e9002
+DIST munge-0.5.15.tar.xz 459468 BLAKE2B 
e007d767d29bf8f492f4b8b3380d4beffd6eed4ff648492130b7d7f049bc90f1047c059bac6263947aa46f7ab2b0366f7d5079ddee39225e5a61870d20ae363c
 SHA512 
266af1cf2df30f6bd7338527bd69736c0cf91e7390e7bbeea9a225af4829d456907be77a1e77ecef4716f2fff634d144d4b3d5cc3d0afc12f5c2d1acfd6974e1

diff --git a/sys-auth/munge/munge-0.5.15.ebuild 
b/sys-auth/munge/munge-0.5.15.ebuild
new file mode 100644
index ..475278514dd8
--- /dev/null
+++ b/sys-auth/munge/munge-0.5.15.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools prefix systemd tmpfiles
+
+DESCRIPTION="An authentication service for creating and validating credentials"
+HOMEPAGE="https://github.com/dun/munge;
+SRC_URI="https://github.com/dun/munge/releases/download/${P}/${P}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+IUSE="debug gcrypt static-libs"
+# TODO: still tries to use ${S}?
+RESTRICT="test"
+
+DEPEND="
+   app-arch/bzip2
+   sys-libs/zlib
+   gcrypt? ( dev-libs/libgcrypt:= )
+   !gcrypt? ( dev-libs/openssl:= )
+"
+RDEPEND="
+   ${DEPEND}
+   acct-group/munge
+   acct-user/munge
+"
+BDEPEND="app-arch/xz-utils[extra-filters]"
+
+src_prepare() {
+   default
+
+   hprefixify config/x_ac_path_openssl.m4
+
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --localstatedir="${EPREFIX}"/var
+   --with-logrotateddir="${EPREFIX}"/etc/logrotate.d
+   --with-pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig"
+   --with-systemdunitdir="$(systemd_get_systemunitdir)"
+   --with-crypto-lib=$(usex gcrypt libgcrypt openssl)
+   $(use_enable debug)
+   $(use_enable static-libs static)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_test() {
+   # Note that both verboses seem to be needed, otherwise output
+   # is verbose but not maximally so
+   emake check root="${T}"/munge VERBOSE=t verbose=t
+}
+
+src_install() {
+   default
+
+   # bug #450830
+   if [[ -d "${ED}"/var/run ]] ; then
+   rm -rf "${ED}"/var/run || die
+   fi
+
+   dodir /etc/munge
+   keepdir /var/{lib,log}/munge
+
+   local d
+   for d in "init.d" "default" "sysconfig"; do
+   if [[ -d "${ED}"/etc/${d} ]] ; then
+   rm -r "${ED}"/etc/${d} || die
+   fi
+   done
+
+   newconfd "$(prefixify_ro "${FILESDIR}"/${PN}d.confd)" ${PN}d
+   newinitd "$(prefixify_ro "${FILESDIR}"/${PN}d.initd)" ${PN}d
+
+   if ! use static-libs; then
+   find "${ED}" -name '*.la' -delete || die
+   fi
+}
+
+pkg_postinst() {
+   tmpfiles_process munge.conf
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2022-02-01 Thread Sam James
commit: 1eedf2d597fa37b824ed82a927758643ceaa8d76
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  2 06:20:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  2 06:20:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eedf2d5

sys-auth/munge: Keyword 0.5.13-r2 arm64, #832459

Signed-off-by: Sam James  gentoo.org>

 sys-auth/munge/munge-0.5.13-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/munge/munge-0.5.13-r2.ebuild 
b/sys-auth/munge/munge-0.5.13-r2.ebuild
index 6eb0ac441fed..eeea6494d60a 100644
--- a/sys-auth/munge/munge-0.5.13-r2.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="debug gcrypt static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2021-09-26 Thread Conrad Kostecki
commit: 8c9a45d4532b73f1694a91b55cb6f05e33ccdf30
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Sep 26 19:20:02 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Sep 26 19:36:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9a45d4

sys-auth/munge: fix tmpfiles

Closes: https://bugs.gentoo.org/810835
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 sys-auth/munge/munge-0.5.13-r2.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.13-r2.ebuild 
b/sys-auth/munge/munge-0.5.13-r2.ebuild
index b10bf0e8169..6eb0ac441fe 100644
--- a/sys-auth/munge/munge-0.5.13-r2.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools prefix
+inherit autotools prefix tmpfiles
 
 DESCRIPTION="An authentication service for creating and validating credentials"
 HOMEPAGE="https://github.com/dun/munge;
@@ -71,3 +71,7 @@ src_install() {
find "${D}" -name '*.la' -delete || die
fi
 }
+
+pkg_postinst() {
+   tmpfiles_process munge.conf
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2021-07-18 Thread Conrad Kostecki
commit: 92670031bcae20472384e7e90cd5ca49defcfb98
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Jul 18 11:22:33 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Jul 18 16:17:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92670031

sys-auth/munge: drop old version

Closes: https://bugs.gentoo.org/781491
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 sys-auth/munge/munge-0.5.13-r1.ebuild | 69 ---
 1 file changed, 69 deletions(-)

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
deleted file mode 100644
index 0376f12d7bc..000
--- a/sys-auth/munge/munge-0.5.13-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools user prefix
-
-DESCRIPTION="An authentication service for creating and validating credentials"
-HOMEPAGE="https://github.com/dun/munge;
-SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="debug gcrypt static-libs"
-
-DEPEND="
-   app-arch/bzip2
-   sys-libs/zlib
-   gcrypt? ( dev-libs/libgcrypt:0 )
-   !gcrypt? ( dev-libs/openssl:0= )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-   enewgroup munge
-   enewuser munge -1 -1 /var/lib/munge munge
-}
-
-src_prepare() {
-   default
-
-   hprefixify config/x_ac_path_openssl.m4
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --localstatedir="${EPREFIX}"/var \
-   --with-crypto-lib=$(usex gcrypt libgcrypt openssl) \
-   $(use_enable debug) \
-   $(use_enable static-libs static)
-}
-
-src_install() {
-   local d
-
-   default
-
-   # 450830
-   if [ -d "${ED}"/var/run ]; then
-   rm -rf "${ED}"/var/run || die
-   fi
-
-   dodir /etc/munge
-
-   for d in "init.d" "default" "sysconfig"; do
-   if [ -d "${ED}"/etc/${d} ]; then
-   rm -r "${ED}"/etc/${d} || die
-   fi
-   done
-
-   newconfd "$(prefixify_ro "${FILESDIR}"/${PN}d.confd)" ${PN}d
-   newinitd "$(prefixify_ro "${FILESDIR}"/${PN}d.initd)" ${PN}d
-
-   if ! use static-libs; then
-   find "${D}" -name '*.la' -delete || die
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2021-07-18 Thread Conrad Kostecki
commit: fb9c532fc04f8fdef947abd565e8f7bc99b465d3
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Jul 18 11:21:23 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Jul 18 16:17:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb9c532f

sys-auth/munge: migrate to GLEP 81

Bug: https://bugs.gentoo.org/781491
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 sys-auth/munge/munge-0.5.13-r2.ebuild | 73 +++
 1 file changed, 73 insertions(+)

diff --git a/sys-auth/munge/munge-0.5.13-r2.ebuild 
b/sys-auth/munge/munge-0.5.13-r2.ebuild
new file mode 100644
index 000..b10bf0e8169
--- /dev/null
+++ b/sys-auth/munge/munge-0.5.13-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools prefix
+
+DESCRIPTION="An authentication service for creating and validating credentials"
+HOMEPAGE="https://github.com/dun/munge;
+SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+IUSE="debug gcrypt static-libs"
+
+DEPEND="
+   app-arch/bzip2
+   sys-libs/zlib
+   gcrypt? ( dev-libs/libgcrypt:0 )
+   !gcrypt? ( dev-libs/openssl:0= )
+"
+RDEPEND="
+   ${DEPEND}
+   acct-group/munge
+   acct-user/munge
+"
+
+src_prepare() {
+   default
+
+   hprefixify config/x_ac_path_openssl.m4
+
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --localstatedir="${EPREFIX}"/var
+   --with-crypto-lib=$(usex gcrypt libgcrypt openssl)
+   $(use_enable debug)
+   $(use_enable static-libs static)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   local d
+
+   default
+
+   # Bug 450830
+   if [ -d "${ED}"/var/run ]; then
+   rm -rf "${ED}"/var/run || die
+   fi
+
+   dodir /etc/munge
+   keepdir /var/{lib,log}/munge
+
+   for d in "init.d" "default" "sysconfig"; do
+   if [ -d "${ED}"/etc/${d} ]; then
+   rm -r "${ED}"/etc/${d} || die
+   fi
+   done
+
+   newconfd "$(prefixify_ro "${FILESDIR}"/${PN}d.confd)" ${PN}d
+   newinitd "$(prefixify_ro "${FILESDIR}"/${PN}d.initd)" ${PN}d
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2021-07-05 Thread Marek Szuba
commit: a8399d701424d80f0b5b5a33bfed9f044915830a
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jul  5 12:45:07 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jul  5 13:24:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8399d70

sys-auth/munge: keyword 0.5.13-r1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/munge/munge-0.5.13-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
index 6d57251b567..0376f12d7bc 100644
--- a/sys-auth/munge/munge-0.5.13-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="debug gcrypt static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2020-02-09 Thread Mikle Kolyada
commit: 73f7d8683f308b6f43546b2d92c4772d5bd745e6
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Feb  9 12:11:41 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Feb  9 12:12:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f7d868

sys-auth/munge: Drop old

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-auth/munge/Manifest   |  1 -
 sys-auth/munge/munge-0.5.10-r2.ebuild | 62 ---
 sys-auth/munge/munge-0.5.13.ebuild| 69 ---
 3 files changed, 132 deletions(-)

diff --git a/sys-auth/munge/Manifest b/sys-auth/munge/Manifest
index 9f026d6198f..5a684b9ed3a 100644
--- a/sys-auth/munge/Manifest
+++ b/sys-auth/munge/Manifest
@@ -1,2 +1 @@
-DIST munge-0.5.10.tar.bz2 424285 BLAKE2B 
07c6423ba799400e9a99e3f33a7dee61ed35b8caa8b290f7da5ffc1e7fbdc37ad985d10101b9a18ccae4ca4274c44999549f9754b0e782cda98976b5f15e3f30
 SHA512 
b1b780d205d6cfbadfe6096156840d559c70de5b0023cbd604acfc29e1135036c98a949981d5c022e994c77213ee3d8d70e8fe825b645b030ad1adef92ed9479
 DIST munge-0.5.13.tar.xz 389952 BLAKE2B 
67887469dccf0f4e136a3fba12660dd8d0bfbd5d5024582c6be164b7e837959380ee9d09055ea95db2a307b1da75a8e7c643844fceb56b8a35f59ab7b1b811d8
 SHA512 
2e024c0438f9208379a037daabd1c31f206820ab74a410e2bb69870755e99f9c9fbf60c294c96941008bc43425fbb31dd2374e5f088b7978479e7c65816e9002

diff --git a/sys-auth/munge/munge-0.5.10-r2.ebuild 
b/sys-auth/munge/munge-0.5.10-r2.ebuild
deleted file mode 100644
index f8a071127fc..000
--- a/sys-auth/munge/munge-0.5.10-r2.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit user
-
-DESCRIPTION="An authentication service for creating and validating credentials"
-HOMEPAGE="https://code.google.com/p/munge/;
-SRC_URI="https://munge.googlecode.com/files/${P}.tar.bz2;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE="gcrypt"
-
-DEPEND="
-   app-arch/bzip2
-   sys-libs/zlib
-   gcrypt? ( dev-libs/libgcrypt:0 )
-   !gcrypt? ( dev-libs/openssl )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-   enewgroup munge
-   enewuser munge -1 -1 /var/lib/munge munge
-}
-
-src_configure() {
-   local conf=""
-
-   if use gcrypt; then
-   conf="${conf} --with-crypto-lib=libgcrypt"
-   else
-   conf="${conf} --with-crypto-lib=openssl"
-   fi
-
-   econf ${conf} \
-   --localstatedir=/var
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   # 450830
-   if [ -d "${D}"/var/run ]; then
-   rm -rf "${D}"/var/run || die
-   fi
-
-   dodir /etc/munge
-
-   [ -d "${D}"/etc/init.d ] && rm -r "${D}"/etc/init.d
-   [ -d "${D}"/etc/default ] && rm -r "${D}"/etc/default
-   [ -d "${D}"/etc/sysconfig ] && rm -r "${D}"/etc/sysconfig
-
-   newconfd "${FILESDIR}"/${PN}d.confd ${PN}d
-   newinitd "${FILESDIR}"/${PN}d.initd ${PN}d
-}
-
-src_test() {
-   emake check
-}

diff --git a/sys-auth/munge/munge-0.5.13.ebuild 
b/sys-auth/munge/munge-0.5.13.ebuild
deleted file mode 100644
index 0c918321242..000
--- a/sys-auth/munge/munge-0.5.13.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools user prefix
-
-DESCRIPTION="An authentication service for creating and validating credentials"
-HOMEPAGE="https://github.com/dun/munge;
-SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug gcrypt static-libs"
-
-DEPEND="
-   app-arch/bzip2
-   sys-libs/zlib
-   gcrypt? ( dev-libs/libgcrypt:0 )
-   !gcrypt? ( dev-libs/openssl:0= )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-   enewgroup munge
-   enewuser munge -1 -1 /var/lib/munge munge
-}
-
-src_prepare() {
-   default
-
-   hprefixify config/x_ac_path_openssl.m4
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --localstatedir="${EPREFIX}"/var \
-   --with-crypto-lib=$(usex gcrypt libgcrypt openssl) \
-   $(use_enable debug) \
-   $(use_enable static-libs static)
-}
-
-src_install() {
-   local d
-
-   default
-
-   # 450830
-   if [ -d "${ED}"/var/run ]; then
-   rm -rf "${ED}"/var/run || die
-   fi
-
-   dodir /etc/munge
-
-   for d in "init.d" "default" "sysconfig"; do
-   if [ -d "${ED}"/etc/${d} ]; then
-   rm -r "${ED}"/etc/${d} || die
-   fi
-   done
-
-   newconfd "$(prefixify_ro "${FILESDIR}"/${PN}d.confd)" ${PN}d
-   newinitd "$(prefixify_ro "${FILESDIR}"/${PN}d.initd)" 

[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2019-12-28 Thread Mikle Kolyada
commit: df8ac57e280324204c0a5929e03c27b171e50ae2
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Dec 28 15:46:08 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Dec 28 15:46:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df8ac57e

sys-auth/munge: alpha stable wrt bug #698900

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="alpha"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-auth/munge/munge-0.5.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
index b60f76304d8..2d291b640b8 100644
--- a/sys-auth/munge/munge-0.5.13-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
 IUSE="debug gcrypt static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2019-12-25 Thread Sergei Trofimovich
commit: abae98e47298fb6c13fb2ad887ea5a98fc0c018c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Dec 25 20:20:52 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Dec 25 20:21:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abae98e4

sys-auth/munge: stable 0.5.13-r1 for hppa, bug #698900

Package-Manager: Portage-2.3.83, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-auth/munge/munge-0.5.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
index be849cc7ff0..b60f76304d8 100644
--- a/sys-auth/munge/munge-0.5.13-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
 IUSE="debug gcrypt static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2019-12-15 Thread Agostino Sarubbo
commit: 6f3e074ba1cd0856e732d52b0bc2de8797d825b7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 15 14:15:26 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 15 14:15:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f3e074b

sys-auth/munge: ppc64 stable wrt bug #698900

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/munge/munge-0.5.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
index f0c7d53fbf3..be849cc7ff0 100644
--- a/sys-auth/munge/munge-0.5.13-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ~mips ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86"
 IUSE="debug gcrypt static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2019-12-15 Thread Agostino Sarubbo
commit: 06b091203a2e38dc9aa555911df0bcbe23e64754
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 15 14:06:51 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 15 14:07:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06b09120

sys-auth/munge: ppc stable wrt bug #698900

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/munge/munge-0.5.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
index 836819c1843..f0c7d53fbf3 100644
--- a/sys-auth/munge/munge-0.5.13-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ~mips ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ia64 ~mips ppc ~ppc64 sparc x86"
 IUSE="debug gcrypt static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2019-12-15 Thread Agostino Sarubbo
commit: 648d7ad64c08db667cd0f1bfccc2e39c84ab3e5b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 15 13:51:47 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 15 13:51:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648d7ad6

sys-auth/munge: x86 stable wrt bug #698900

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/munge/munge-0.5.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
index a84991862bb..836819c1843 100644
--- a/sys-auth/munge/munge-0.5.13-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ~mips ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ia64 ~mips ~ppc ~ppc64 sparc x86"
 IUSE="debug gcrypt static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2019-12-15 Thread Sergei Trofimovich
commit: 829c2c3380ef4c714f44f3c8796a9a54c153848d
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Dec 15 10:26:56 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 15 13:23:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=829c2c33

sys-auth/munge: stable 0.5.13-r1 for sparc, bug #698900

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-auth/munge/munge-0.5.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
index 34a5e5a34ea..b971ebfc7f7 100644
--- a/sys-auth/munge/munge-0.5.13-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
 IUSE="debug gcrypt static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2019-12-15 Thread Agostino Sarubbo
commit: 1dc8379d9c706ed48f1d39324f78a5739a25bdd6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 15 12:38:56 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 15 12:38:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dc8379d

sys-auth/munge: amd64 stable wrt bug #698900

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/munge/munge-0.5.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
index 0c918321242..34a5e5a34ea 100644
--- a/sys-auth/munge/munge-0.5.13-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="debug gcrypt static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/files/

2019-03-10 Thread Aaron Bauman
commit: 78c19d6b0415b3024d565a186cfe2996d561b498
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue Mar  5 16:57:28 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Mar 11 04:46:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78c19d6b

sys-auth/munge: remove unused patch

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11273
Signed-off-by: Aaron Bauman  gentoo.org>

 .../fixed-recursive-use-of-make-in-makefiles.patch | 134 -
 1 file changed, 134 deletions(-)

diff --git 
a/sys-auth/munge/files/fixed-recursive-use-of-make-in-makefiles.patch 
b/sys-auth/munge/files/fixed-recursive-use-of-make-in-makefiles.patch
deleted file mode 100644
index 1810abc91f4..000
--- a/sys-auth/munge/files/fixed-recursive-use-of-make-in-makefiles.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-From 5634ce9890da48f9ea88feece856361ce8f1563c Mon Sep 17 00:00:00 2001
-From: Brendan Horan 
-Date: Tue, 23 Jun 2015 09:32:31 +0800
-Subject: [PATCH] Fixed recursive use of make in makefiles [ make -> $(MAKE) ]
-

- Makefile.in| 2 +-
- config/Make-inc.mk | 2 +-
- src/Makefile.in| 2 +-
- src/etc/Makefile.in| 2 +-
- src/libcommon/Makefile.in  | 2 +-
- src/libmissing/Makefile.in | 2 +-
- src/libmunge/Makefile.in   | 2 +-
- src/munge/Makefile.in  | 2 +-
- src/munged/Makefile.in | 2 +-
- 9 files changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 8b8ca76..df53ff1 100644
 a/Makefile.in
-+++ b/Makefile.in
-@@ -830,7 +830,7 @@ $(top_builddir)/src/libcommon/libcommon.la \
- $(top_builddir)/src/libmissing/libmissing.la \
- $(top_builddir)/src/libmunge/libmunge.la \
- : force-dependency-check
--  @cd `dirname $@` && make `basename $@`
-+  @cd `dirname $@` && $(MAKE) `basename $@`
- 
- force-dependency-check:
- 
-diff --git a/config/Make-inc.mk b/config/Make-inc.mk
-index 03a9622..edffea1 100644
 a/config/Make-inc.mk
-+++ b/config/Make-inc.mk
-@@ -31,7 +31,7 @@ $(top_builddir)/src/libcommon/libcommon.la \
- $(top_builddir)/src/libmissing/libmissing.la \
- $(top_builddir)/src/libmunge/libmunge.la \
- : force-dependency-check
--  @cd `dirname $@` && make `basename $@`
-+  @cd `dirname $@` && $(MAKE) `basename $@`
- 
- force-dependency-check:
- 
-diff --git a/src/Makefile.in b/src/Makefile.in
-index c89ec9c..38c32da 100644
 a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -648,7 +648,7 @@ $(top_builddir)/src/libcommon/libcommon.la \
- $(top_builddir)/src/libmissing/libmissing.la \
- $(top_builddir)/src/libmunge/libmunge.la \
- : force-dependency-check
--  @cd `dirname $@` && make `basename $@`
-+  @cd `dirname $@` && $(MAKE) `basename $@`
- 
- force-dependency-check:
- 
-diff --git a/src/etc/Makefile.in b/src/etc/Makefile.in
-index ffd41a0..d1eed84 100644
 a/src/etc/Makefile.in
-+++ b/src/etc/Makefile.in
-@@ -451,7 +451,7 @@ $(top_builddir)/src/libcommon/libcommon.la \
- $(top_builddir)/src/libmissing/libmissing.la \
- $(top_builddir)/src/libmunge/libmunge.la \
- : force-dependency-check
--  @cd `dirname $@` && make `basename $@`
-+  @cd `dirname $@` && $(MAKE) `basename $@`
- 
- force-dependency-check:
- 
-diff --git a/src/libcommon/Makefile.in b/src/libcommon/Makefile.in
-index 45419a8..8512b74 100644
 a/src/libcommon/Makefile.in
-+++ b/src/libcommon/Makefile.in
-@@ -683,7 +683,7 @@ $(top_builddir)/src/libcommon/libcommon.la \
- $(top_builddir)/src/libmissing/libmissing.la \
- $(top_builddir)/src/libmunge/libmunge.la \
- : force-dependency-check
--  @cd `dirname $@` && make `basename $@`
-+  @cd `dirname $@` && $(MAKE) `basename $@`
- 
- force-dependency-check:
- 
-diff --git a/src/libmissing/Makefile.in b/src/libmissing/Makefile.in
-index 10b1a78..187f4b3 100644
 a/src/libmissing/Makefile.in
-+++ b/src/libmissing/Makefile.in
-@@ -572,7 +572,7 @@ $(top_builddir)/src/libcommon/libcommon.la \
- $(top_builddir)/src/libmissing/libmissing.la \
- $(top_builddir)/src/libmunge/libmunge.la \
- : force-dependency-check
--  @cd `dirname $@` && make `basename $@`
-+  @cd `dirname $@` && $(MAKE) `basename $@`
- 
- force-dependency-check:
- 
-diff --git a/src/libmunge/Makefile.in b/src/libmunge/Makefile.in
-index 69dc54f..ab21fdc 100644
 a/src/libmunge/Makefile.in
-+++ b/src/libmunge/Makefile.in
-@@ -752,7 +752,7 @@ $(top_builddir)/src/libcommon/libcommon.la \
- $(top_builddir)/src/libmissing/libmissing.la \
- $(top_builddir)/src/libmunge/libmunge.la \
- : force-dependency-check
--  @cd `dirname $@` && make `basename $@`
-+  @cd `dirname $@` && $(MAKE) `basename $@`
- 
- force-dependency-check:
- 
-diff --git a/src/munge/Makefile.in b/src/munge/Makefile.in
-index f411d7e..411ec3b 100644
 a/src/munge/Makefile.in
-+++ b/src/munge/Makefile.in
-@@ -752,7 +752,7 @@ $(top_builddir)/src/libcommon/libcommon.la \
- $(top_builddir)/src/libmissing/libmissing.la \
- 

[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2019-01-02 Thread Justin Lecher
commit: b743752e1ce67f7d711bef41904dc88ad0ad6f91
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Jan  2 13:01:59 2019 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Jan  2 13:02:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b743752e

sys-auth/munge: add missing slot operator

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Justin Lecher  gentoo.org>

 sys-auth/munge/munge-0.5.13-r1.ebuild | 4 ++--
 sys-auth/munge/munge-0.5.13.ebuild| 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
index b84cd36bf18..0c918321242 100644
--- a/sys-auth/munge/munge-0.5.13-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,7 +18,7 @@ DEPEND="
app-arch/bzip2
sys-libs/zlib
gcrypt? ( dev-libs/libgcrypt:0 )
-   !gcrypt? ( dev-libs/openssl:0 )"
+   !gcrypt? ( dev-libs/openssl:0= )"
 RDEPEND="${DEPEND}"
 
 pkg_setup() {

diff --git a/sys-auth/munge/munge-0.5.13.ebuild 
b/sys-auth/munge/munge-0.5.13.ebuild
index fff766b94b0..0c918321242 100644
--- a/sys-auth/munge/munge-0.5.13.ebuild
+++ b/sys-auth/munge/munge-0.5.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,7 +18,7 @@ DEPEND="
app-arch/bzip2
sys-libs/zlib
gcrypt? ( dev-libs/libgcrypt:0 )
-   !gcrypt? ( dev-libs/openssl:0 )"
+   !gcrypt? ( dev-libs/openssl:0= )"
 RDEPEND="${DEPEND}"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/, sys-auth/munge/files/

2018-11-10 Thread Justin Lecher
commit: 00465fcf6c74c73407d7247a915354fd7c0d8cf6
Author: Justin Lecher  gentoo  org>
AuthorDate: Sat Nov 10 12:04:54 2018 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sat Nov 10 13:25:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00465fcf

sys-auth/munge: Fix munge.key permission problems

Closes: https://bugs.gentoo.org/624962
Signed-off-by: Justin Lecher  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-auth/munge/files/munged.initd |  4 +-
 sys-auth/munge/munge-0.5.13-r1.ebuild | 69 +++
 2 files changed, 71 insertions(+), 2 deletions(-)

diff --git a/sys-auth/munge/files/munged.initd 
b/sys-auth/munge/files/munged.initd
index e028d4ffd16..6bb0a1097f2 100644
--- a/sys-auth/munge/files/munged.initd
+++ b/sys-auth/munge/files/munged.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 depend() {
@@ -25,7 +25,7 @@ start() {
checkpath -d -m 755 -o munge:munge /var/run/munge
checkpath -d -m 711 -o munge:munge /var/lib/munge
checkpath -d -m 700 -o munge:munge /var/log/munge
-   checkpath -f -m 640 -o root:munge "${KEYFILE}"
+   checkpath -f -m 600 -o munge:munge "${KEYFILE}"
start-stop-daemon -S /usr/sbin/munged \
--user munge \
--group munge \

diff --git a/sys-auth/munge/munge-0.5.13-r1.ebuild 
b/sys-auth/munge/munge-0.5.13-r1.ebuild
new file mode 100644
index 000..b84cd36bf18
--- /dev/null
+++ b/sys-auth/munge/munge-0.5.13-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools user prefix
+
+DESCRIPTION="An authentication service for creating and validating credentials"
+HOMEPAGE="https://github.com/dun/munge;
+SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug gcrypt static-libs"
+
+DEPEND="
+   app-arch/bzip2
+   sys-libs/zlib
+   gcrypt? ( dev-libs/libgcrypt:0 )
+   !gcrypt? ( dev-libs/openssl:0 )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+   enewgroup munge
+   enewuser munge -1 -1 /var/lib/munge munge
+}
+
+src_prepare() {
+   default
+
+   hprefixify config/x_ac_path_openssl.m4
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --localstatedir="${EPREFIX}"/var \
+   --with-crypto-lib=$(usex gcrypt libgcrypt openssl) \
+   $(use_enable debug) \
+   $(use_enable static-libs static)
+}
+
+src_install() {
+   local d
+
+   default
+
+   # 450830
+   if [ -d "${ED}"/var/run ]; then
+   rm -rf "${ED}"/var/run || die
+   fi
+
+   dodir /etc/munge
+
+   for d in "init.d" "default" "sysconfig"; do
+   if [ -d "${ED}"/etc/${d} ]; then
+   rm -r "${ED}"/etc/${d} || die
+   fi
+   done
+
+   newconfd "$(prefixify_ro "${FILESDIR}"/${PN}d.confd)" ${PN}d
+   newinitd "$(prefixify_ro "${FILESDIR}"/${PN}d.initd)" ${PN}d
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/files/

2018-11-10 Thread Justin Lecher
commit: e96fb723bfab0c360e657b8d8bdca326cc9fa356
Author: Justin Lecher  gentoo  org>
AuthorDate: Sat Nov 10 13:02:43 2018 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sat Nov 10 13:25:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96fb723

sys-auth/munge: Update init

Signed-off-by: Justin Lecher  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-auth/munge/files/munged.initd | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-auth/munge/files/munged.initd 
b/sys-auth/munge/files/munged.initd
index 6bb0a1097f2..0cbbe7213a9 100644
--- a/sys-auth/munge/files/munged.initd
+++ b/sys-auth/munge/files/munged.initd
@@ -22,15 +22,16 @@ start() {
eerror "Failed to create munge key"
eend 1 && exit 1
fi
-   checkpath -d -m 755 -o munge:munge /var/run/munge
+   checkpath -d -m 755 -o munge:munge /run/munge
checkpath -d -m 711 -o munge:munge /var/lib/munge
checkpath -d -m 700 -o munge:munge /var/log/munge
checkpath -f -m 600 -o munge:munge "${KEYFILE}"
start-stop-daemon -S /usr/sbin/munged \
--user munge \
--group munge \
-   --pidfile /var/run/munge/munged.pid \
+   --pidfile /run/munge/munged.pid \
-- \
+   --log-file=/var/log/munge/munged.log \
--key-file="${KEYFILE}" \
--group-check-mtime="${GROUP_CHECK_MTIME}" \
--group-update-time="${GROUP_UPDATE_TIME}" \
@@ -41,7 +42,7 @@ start() {
 stop() {
ebegin "Stopping munged"
start-stop-daemon -K /usr/sbin/munged \
-   --pidfile /var/run/munge/munged.pid
+   --pidfile /run/munge/munged.pid
eend ${?}
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2018-08-08 Thread Justin Bronder
commit: 8927c2699c3f65ca89d7358bb2f5763c4532a7a3
Author: Justin Bronder  gentoo  org>
AuthorDate: Wed Aug  8 14:05:10 2018 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Wed Aug  8 14:05:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8927c269

sys-auth/munge: drop old

Fixes #663034

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-auth/munge/Manifest   |  2 --
 sys-auth/munge/munge-0.5.11-r1.ebuild | 65 ---
 sys-auth/munge/munge-0.5.12.ebuild| 63 -
 3 files changed, 130 deletions(-)

diff --git a/sys-auth/munge/Manifest b/sys-auth/munge/Manifest
index 50b6f02c0a9..9f026d6198f 100644
--- a/sys-auth/munge/Manifest
+++ b/sys-auth/munge/Manifest
@@ -1,4 +1,2 @@
 DIST munge-0.5.10.tar.bz2 424285 BLAKE2B 
07c6423ba799400e9a99e3f33a7dee61ed35b8caa8b290f7da5ffc1e7fbdc37ad985d10101b9a18ccae4ca4274c44999549f9754b0e782cda98976b5f15e3f30
 SHA512 
b1b780d205d6cfbadfe6096156840d559c70de5b0023cbd604acfc29e1135036c98a949981d5c022e994c77213ee3d8d70e8fe825b645b030ad1adef92ed9479
-DIST munge-0.5.11.tar.bz2 423232 BLAKE2B 
ffa8da9d94464a0f646b39b286efa94bd65ceee8910a2dc734569a3fa0c945c0130ab3aa10b9ce71a12f029e8915dd2e41c74ab87663bdf0e37bd468547f9f73
 SHA512 
b9d4cd76c4fe605ad67934af48809205de0f0e5fa1a10dd3b6e382da2cb8bc274bd2a8c0d4bc49d1d58155bf008945a584afd0b6e01cc8052aa1d21c8de2815b
-DIST munge-0.5.12.tar.xz 370160 BLAKE2B 
f9c268732d1d49351d93593fb2bc1b3fb8b33cd43fe238407e2544c714ee836447d78cbc599b796c458b317436dd162e23883f71694115d61a796dfb0beae156
 SHA512 
088f5ee7f5f37011d90666b87db05de6a2b8bb7cec1b43167bc3459cb365a45ebdf09d583095fabdc1e547c3c96433ca9d71a79ff05b983e8623f8d429a6852b
 DIST munge-0.5.13.tar.xz 389952 BLAKE2B 
67887469dccf0f4e136a3fba12660dd8d0bfbd5d5024582c6be164b7e837959380ee9d09055ea95db2a307b1da75a8e7c643844fceb56b8a35f59ab7b1b811d8
 SHA512 
2e024c0438f9208379a037daabd1c31f206820ab74a410e2bb69870755e99f9c9fbf60c294c96941008bc43425fbb31dd2374e5f088b7978479e7c65816e9002

diff --git a/sys-auth/munge/munge-0.5.11-r1.ebuild 
b/sys-auth/munge/munge-0.5.11-r1.ebuild
deleted file mode 100644
index ee2f11fd150..000
--- a/sys-auth/munge/munge-0.5.11-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils user
-
-DESCRIPTION="An authentication service for creating and validating credentials"
-HOMEPAGE="https://github.com/dun/munge;
-SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.tar.bz2;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-
-IUSE="gcrypt"
-
-DEPEND="
-   app-arch/bzip2
-   sys-libs/zlib
-   gcrypt? ( dev-libs/libgcrypt:0 )
-   !gcrypt? ( dev-libs/openssl:0 )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-   enewgroup munge
-   enewuser munge -1 -1 /var/lib/munge munge
-}
-
-src_prepare() {
-   # Accepted upstream, https://github.com/dun/munge/pull/40
-   epatch "${FILESDIR}"/fixed-recursive-use-of-make-in-makefiles.patch
-
-   hprefixify config/x_ac_path_openssl.m4
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --localstatedir="${EPREFIX}"/var \
-   --with-crypto-lib=$(usex gcrypt libgcrypt openssl)
-}
-
-src_install() {
-   local d
-
-   default
-
-   # 450830
-   if [ -d "${ED}"/var/run ]; then
-   rm -rf "${ED}"/var/run || die
-   fi
-
-   dodir /etc/munge
-
-   for d in "init.d" "default" "sysconfig"; do
-   if [ -d "${ED}"/etc/${d} ]; then
-   rm -r "${ED}"/etc/${d} || die
-   fi
-   done
-
-   newconfd "$(prefixify_ro "${FILESDIR}"/${PN}d.confd)" ${PN}d
-   newinitd "$(prefixify_ro "${FILESDIR}"/${PN}d.initd)" ${PN}d
-}

diff --git a/sys-auth/munge/munge-0.5.12.ebuild 
b/sys-auth/munge/munge-0.5.12.ebuild
deleted file mode 100644
index 1c250f99b3f..000
--- a/sys-auth/munge/munge-0.5.12.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools user
-
-DESCRIPTION="An authentication service for creating and validating credentials"
-HOMEPAGE="https://github.com/dun/munge;
-SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="gcrypt"
-
-DEPEND="
-   app-arch/bzip2
-   sys-libs/zlib
-   gcrypt? ( dev-libs/libgcrypt:0 )
-   !gcrypt? ( dev-libs/openssl:0 )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-   enewgroup munge
-   enewuser munge -1 -1 /var/lib/munge munge
-}
-
-src_prepare() {
-   default
-
-   hprefixify config/x_ac_path_openssl.m4
-
-   eautoreconf
-}
-
-src_configure() {
-   

[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2017-11-12 Thread Justin Lecher
commit: 65307f0832a207c72ea1f85e952cb9fbfcbe6d5d
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Nov 12 20:43:07 2017 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Nov 12 21:08:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65307f08

sys-auth/munge: Version Bump

Signed-off-by: Justin Lecher  gentoo.org>
Package-Manager: Portage-2.3.13, Repoman-2.3.4

 sys-auth/munge/Manifest |  1 +
 sys-auth/munge/munge-0.5.10-r2.ebuild   |  6 --
 sys-auth/munge/munge-0.5.11-r1.ebuild   |  8 +---
 sys-auth/munge/munge-0.5.12.ebuild  |  2 +-
 sys-auth/munge/{munge-0.5.12.ebuild => munge-0.5.13.ebuild} | 10 --
 5 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/sys-auth/munge/Manifest b/sys-auth/munge/Manifest
index 16af6b081c1..9ed0eded004 100644
--- a/sys-auth/munge/Manifest
+++ b/sys-auth/munge/Manifest
@@ -1,3 +1,4 @@
 DIST munge-0.5.10.tar.bz2 424285 SHA256 
00e0125c2895877b555872647b0a98d13838a54acda78614bb6c6e70daadabc6 SHA512 
b1b780d205d6cfbadfe6096156840d559c70de5b0023cbd604acfc29e1135036c98a949981d5c022e994c77213ee3d8d70e8fe825b645b030ad1adef92ed9479
 WHIRLPOOL 
72bb331f3651473b482b3ad5b4f0e934537d93911e8c55e5d253511de273da7719a26f2f9d98ee6bee7968a705f41f648f52cdf67107edbc2565cadd473d0d46
 DIST munge-0.5.11.tar.bz2 423232 SHA256 
8e075614f81cb0a6df21a0aafdc825498611a04429d0876f074fc828739351a5 SHA512 
b9d4cd76c4fe605ad67934af48809205de0f0e5fa1a10dd3b6e382da2cb8bc274bd2a8c0d4bc49d1d58155bf008945a584afd0b6e01cc8052aa1d21c8de2815b
 WHIRLPOOL 
00898e86b05955109799d81b1da7cdb9300c8af6f73a7d0d2d9f678c8fce6878f093b77ce1406797b7814a7c099d3f22d2c93b08e4cdbf77cc61ec624604b87c
 DIST munge-0.5.12.tar.xz 370160 SHA256 
e972e3c3e947995a99e023f5758047db16cfe2f0c2c9ca76399dc1511fa71be8 SHA512 
088f5ee7f5f37011d90666b87db05de6a2b8bb7cec1b43167bc3459cb365a45ebdf09d583095fabdc1e547c3c96433ca9d71a79ff05b983e8623f8d429a6852b
 WHIRLPOOL 
d8fb1693174b2aec76ce2defa5f0c02e4074970c51ca6ab68033ee03a4b5cb25546b465e7912b0d08132e086b9bfcef226d20530425953038786ad69d1118520
+DIST munge-0.5.13.tar.xz 389952 SHA256 
99753dfd06a4f063c36f3fb0eb1964f394feb649937d94c4734d85b7964144da SHA512 
2e024c0438f9208379a037daabd1c31f206820ab74a410e2bb69870755e99f9c9fbf60c294c96941008bc43425fbb31dd2374e5f088b7978479e7c65816e9002
 WHIRLPOOL 
5fd193c38ad2d0c5313a61a644b8e154069202f90456a36af79db96f050152e2524db4908adbc014b5b202f52027a4e04bb2e6285ca7ec221f7e090fdb43d1bc

diff --git a/sys-auth/munge/munge-0.5.10-r2.ebuild 
b/sys-auth/munge/munge-0.5.10-r2.ebuild
index 90cbf190d6a..7054e80d56d 100644
--- a/sys-auth/munge/munge-0.5.10-r2.ebuild
+++ b/sys-auth/munge/munge-0.5.10-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
+
 inherit user
 
 DESCRIPTION="An authentication service for creating and validating credentials"
@@ -13,7 +14,8 @@ SLOT="0"
 KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
 IUSE="gcrypt"
 
-DEPEND="app-arch/bzip2
+DEPEND="
+   app-arch/bzip2
sys-libs/zlib
gcrypt? ( dev-libs/libgcrypt:0 )
!gcrypt? ( dev-libs/openssl )"

diff --git a/sys-auth/munge/munge-0.5.11-r1.ebuild 
b/sys-auth/munge/munge-0.5.11-r1.ebuild
index d42b3e72b89..ee2f11fd150 100644
--- a/sys-auth/munge/munge-0.5.11-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.11-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit autotools eutils user prefix
+
+inherit autotools eutils user
 
 DESCRIPTION="An authentication service for creating and validating credentials"
 HOMEPAGE="https://github.com/dun/munge;
@@ -14,7 +15,8 @@ KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc 
~x86"
 
 IUSE="gcrypt"
 
-DEPEND="app-arch/bzip2
+DEPEND="
+   app-arch/bzip2
sys-libs/zlib
gcrypt? ( dev-libs/libgcrypt:0 )
!gcrypt? ( dev-libs/openssl:0 )"

diff --git a/sys-auth/munge/munge-0.5.12.ebuild 
b/sys-auth/munge/munge-0.5.12.ebuild
index be4d2881ee1..1c250f99b3f 100644
--- a/sys-auth/munge/munge-0.5.12.ebuild
+++ b/sys-auth/munge/munge-0.5.12.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit autotools user prefix
+inherit autotools user
 
 DESCRIPTION="An authentication service for creating and validating credentials"
 HOMEPAGE="https://github.com/dun/munge;

diff --git a/sys-auth/munge/munge-0.5.12.ebuild 
b/sys-auth/munge/munge-0.5.13.ebuild
similarity index 84%
copy from sys-auth/munge/munge-0.5.12.ebuild
copy to sys-auth/munge/munge-0.5.13.ebuild
index be4d2881ee1..fff766b94b0 100644
--- a/sys-auth/munge/munge-0.5.12.ebuild
+++ b/sys-auth/munge/munge-0.5.13.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.
 

[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2017-07-09 Thread Justin Lecher
commit: 714a00a60e76f99149e3728448325aff52842da9
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Jul  9 16:45:57 2017 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Jul  9 18:48:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=714a00a6

sys-auth/munge: Version Bump

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=622298
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Signed-off-by: Justin Lecher  gentoo.org>

 sys-auth/munge/Manifest|  1 +
 sys-auth/munge/munge-0.5.12.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/sys-auth/munge/Manifest b/sys-auth/munge/Manifest
index 2d0b685c468..16af6b081c1 100644
--- a/sys-auth/munge/Manifest
+++ b/sys-auth/munge/Manifest
@@ -1,2 +1,3 @@
 DIST munge-0.5.10.tar.bz2 424285 SHA256 
00e0125c2895877b555872647b0a98d13838a54acda78614bb6c6e70daadabc6 SHA512 
b1b780d205d6cfbadfe6096156840d559c70de5b0023cbd604acfc29e1135036c98a949981d5c022e994c77213ee3d8d70e8fe825b645b030ad1adef92ed9479
 WHIRLPOOL 
72bb331f3651473b482b3ad5b4f0e934537d93911e8c55e5d253511de273da7719a26f2f9d98ee6bee7968a705f41f648f52cdf67107edbc2565cadd473d0d46
 DIST munge-0.5.11.tar.bz2 423232 SHA256 
8e075614f81cb0a6df21a0aafdc825498611a04429d0876f074fc828739351a5 SHA512 
b9d4cd76c4fe605ad67934af48809205de0f0e5fa1a10dd3b6e382da2cb8bc274bd2a8c0d4bc49d1d58155bf008945a584afd0b6e01cc8052aa1d21c8de2815b
 WHIRLPOOL 
00898e86b05955109799d81b1da7cdb9300c8af6f73a7d0d2d9f678c8fce6878f093b77ce1406797b7814a7c099d3f22d2c93b08e4cdbf77cc61ec624604b87c
+DIST munge-0.5.12.tar.xz 370160 SHA256 
e972e3c3e947995a99e023f5758047db16cfe2f0c2c9ca76399dc1511fa71be8 SHA512 
088f5ee7f5f37011d90666b87db05de6a2b8bb7cec1b43167bc3459cb365a45ebdf09d583095fabdc1e547c3c96433ca9d71a79ff05b983e8623f8d429a6852b
 WHIRLPOOL 
d8fb1693174b2aec76ce2defa5f0c02e4074970c51ca6ab68033ee03a4b5cb25546b465e7912b0d08132e086b9bfcef226d20530425953038786ad69d1118520

diff --git a/sys-auth/munge/munge-0.5.12.ebuild 
b/sys-auth/munge/munge-0.5.12.ebuild
new file mode 100644
index 000..be4d2881ee1
--- /dev/null
+++ b/sys-auth/munge/munge-0.5.12.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools user prefix
+
+DESCRIPTION="An authentication service for creating and validating credentials"
+HOMEPAGE="https://github.com/dun/munge;
+SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gcrypt"
+
+DEPEND="
+   app-arch/bzip2
+   sys-libs/zlib
+   gcrypt? ( dev-libs/libgcrypt:0 )
+   !gcrypt? ( dev-libs/openssl:0 )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+   enewgroup munge
+   enewuser munge -1 -1 /var/lib/munge munge
+}
+
+src_prepare() {
+   default
+
+   hprefixify config/x_ac_path_openssl.m4
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --localstatedir="${EPREFIX}"/var \
+   --with-crypto-lib=$(usex gcrypt libgcrypt openssl)
+}
+
+src_install() {
+   local d
+
+   default
+
+   # 450830
+   if [ -d "${ED}"/var/run ]; then
+   rm -rf "${ED}"/var/run || die
+   fi
+
+   dodir /etc/munge
+
+   for d in "init.d" "default" "sysconfig"; do
+   if [ -d "${ED}"/etc/${d} ]; then
+   rm -r "${ED}"/etc/${d} || die
+   fi
+   done
+
+   newconfd "$(prefixify_ro "${FILESDIR}"/${PN}d.confd)" ${PN}d
+   newinitd "$(prefixify_ro "${FILESDIR}"/${PN}d.initd)" ${PN}d
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/, sys-auth/munge/files/

2016-12-14 Thread Jason Donenfeld
commit: 38b6fafecf4a802d0c7d9f6b0a6ddf4c94056220
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Dec 15 04:40:30 2016 +
Commit: Jason Donenfeld  gentoo  org>
CommitDate: Thu Dec 15 04:42:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38b6fafe

sys-auth/munge: fix lpe, bug 602596

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-auth/munge/files/munged.initd  | 14 +-
 .../{munge-0.5.10-r1.ebuild => munge-0.5.10-r2.ebuild} |  3 +--
 .../munge/{munge-0.5.11.ebuild => munge-0.5.11-r1.ebuild}  |  1 -
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/sys-auth/munge/files/munged.initd 
b/sys-auth/munge/files/munged.initd
index d1ac230..c53219d 100644
--- a/sys-auth/munge/files/munged.initd
+++ b/sys-auth/munge/files/munged.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -9,20 +9,24 @@ depend() {
 
 check_key() {
[ -s "${KEYFILE}" ] && return 0
-   dd if=/dev/urandom bs=1 count=1024 >/etc/munge/munge.key 2>/dev/null || 
return 1
-   chown munge:munge "${KEYFILE}" || return 1
-   chmod 700 "${KEYFILE}" || return 1
+   local old_umask=$(umask)
+   local ret
+   umask 037
+   dd if=/dev/urandom bs=1024 count=1 of="${KEYFILE}" 2>/dev/null; ret=$?
+   umask $old_umask
+   return $ret
 }
 
 start() {
ebegin "Starting munged"
if ! check_key; then
-   eerror "Failed to verify/create munge key"
+   eerror "Failed to create munge key"
eend 1 && exit 1
fi
checkpath -d -m 755 -o munge:munge /var/run/munge
checkpath -d -m 711 -o munge:munge /var/lib/munge
checkpath -d -m 700 -o munge:munge /var/log/munge
+   checkpath -f -m 640 -o root:munge "${KEYFILE}"
start-stop-daemon -S /usr/sbin/munged \
--user munge \
--group munge \

diff --git a/sys-auth/munge/munge-0.5.10-r1.ebuild 
b/sys-auth/munge/munge-0.5.10-r2.ebuild
similarity index 94%
rename from sys-auth/munge/munge-0.5.10-r1.ebuild
rename to sys-auth/munge/munge-0.5.10-r2.ebuild
index db28eb0..35975e8 100644
--- a/sys-auth/munge/munge-0.5.10-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.10-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -46,7 +46,6 @@ src_install() {
rm -rf "${D}"/var/run || die
fi
 
-   diropts -o munge -g munge -m700
dodir /etc/munge || die
 
[ -d "${D}"/etc/init.d ] && rm -r "${D}"/etc/init.d

diff --git a/sys-auth/munge/munge-0.5.11.ebuild 
b/sys-auth/munge/munge-0.5.11-r1.ebuild
similarity index 96%
rename from sys-auth/munge/munge-0.5.11.ebuild
rename to sys-auth/munge/munge-0.5.11-r1.ebuild
index 5ca4865..4736ded 100644
--- a/sys-auth/munge/munge-0.5.11.ebuild
+++ b/sys-auth/munge/munge-0.5.11-r1.ebuild
@@ -51,7 +51,6 @@ src_install() {
rm -rf "${ED}"/var/run || die
fi
 
-   [[ ${EUID} = 0 ]] && diropts -o munge -g munge -m700
dodir /etc/munge
 
for d in "init.d" "default" "sysconfig"; do



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2016-08-02 Thread Benda XU
commit: 882586d1c9845709e6cdf7a0f633c409ea0efbca
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Aug  2 09:44:59 2016 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Aug  2 09:45:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=882586d1

sys-auth/munge: Prefix support.

Bug: 590106

Package-Manager: portage-2.3.0

 sys-auth/munge/munge-0.5.11.ebuild | 22 --
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/sys-auth/munge/munge-0.5.11.ebuild 
b/sys-auth/munge/munge-0.5.11.ebuild
index 64bc557..5ca4865 100644
--- a/sys-auth/munge/munge-0.5.11.ebuild
+++ b/sys-auth/munge/munge-0.5.11.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit autotools eutils user
+inherit autotools eutils user prefix
 
 DESCRIPTION="An authentication service for creating and validating credentials"
 HOMEPAGE="https://github.com/dun/munge;
@@ -30,12 +30,14 @@ src_prepare() {
# Accepted upstream, https://github.com/dun/munge/pull/40
epatch "${FILESDIR}"/fixed-recursive-use-of-make-in-makefiles.patch
 
+   hprefixify config/x_ac_path_openssl.m4
+
eautoreconf
 }
 
 src_configure() {
econf \
-   --localstatedir=/var \
+   --localstatedir="${EPREFIX}"/var \
--with-crypto-lib=$(usex gcrypt libgcrypt openssl)
 }
 
@@ -45,19 +47,19 @@ src_install() {
default
 
# 450830
-   if [ -d "${D}"/var/run ]; then
-   rm -rf "${D}"/var/run || die
+   if [ -d "${ED}"/var/run ]; then
+   rm -rf "${ED}"/var/run || die
fi
 
-   diropts -o munge -g munge -m700
+   [[ ${EUID} = 0 ]] && diropts -o munge -g munge -m700
dodir /etc/munge
 
for d in "init.d" "default" "sysconfig"; do
-   if [ -d "${D}"/etc/${d} ]; then
-   rm -r "${D}"/etc/${d} || die
+   if [ -d "${ED}"/etc/${d} ]; then
+   rm -r "${ED}"/etc/${d} || die
fi
done
 
-   newconfd "${FILESDIR}"/${PN}d.confd ${PN}d
-   newinitd "${FILESDIR}"/${PN}d.initd ${PN}d
+   newconfd "$(prefixify_ro "${FILESDIR}"/${PN}d.confd)" ${PN}d
+   newinitd "$(prefixify_ro "${FILESDIR}"/${PN}d.initd)" ${PN}d
 }



[gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/

2016-06-01 Thread Justin Bronder
commit: eb5b8eda72b82a4f0d19c11c3d62e0a1a23a039a
Author: Justin Bronder  gentoo  org>
AuthorDate: Wed Jun  1 23:04:22 2016 +
Commit: Justin Bronder  gentoo  org>
CommitDate: Wed Jun  1 23:04:22 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb5b8eda

sys-auth/munge: dropping jsbronder as maintainer

Package-Manager: portage-2.2.26

 sys-auth/munge/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys-auth/munge/metadata.xml b/sys-auth/munge/metadata.xml
index 08e78e8..256d50b 100644
--- a/sys-auth/munge/metadata.xml
+++ b/sys-auth/munge/metadata.xml
@@ -1,9 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   jsbron...@gentoo.org
-   

clus...@gentoo.org
Gentoo Cluster Project