sys-auth/munge: Version Bump
authorJustin Lecher <jlec@gentoo.org>
Sun, 12 Nov 2017 20:43:07 +0000 (20:43 +0000)
committerJustin Lecher <jlec@gentoo.org>
Sun, 12 Nov 2017 21:08:50 +0000 (21:08 +0000)
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Package-Manager: Portage-2.3.13, Repoman-2.3.4

sys-auth/munge/Manifest
sys-auth/munge/munge-0.5.10-r2.ebuild
sys-auth/munge/munge-0.5.11-r1.ebuild
sys-auth/munge/munge-0.5.12.ebuild
sys-auth/munge/munge-0.5.13.ebuild [new file with mode: 0644]

index 16af6b081c135c683f2cf04eabbd526ebe611525..9ed0eded0046e62c1341f934e70aae6a3e7e6f1b 100644 (file)
@@ -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
index 90cbf190d6a50ba73cfcf4cd3a3d8536b193bce9..7054e80d56db412a2bf0b6792d9939c70102acb9 100644 (file)
@@ -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 )"
index d42b3e72b8977063a3e77c5057f505b5b222b02c..ee2f11fd150819022cc94059d91aca9d72a4bda2 100644 (file)
@@ -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 )"
index be4d2881ee1ff5aab4789a0af1585803e726c468..1c250f99b3f642f79f6eb463dfd069a687ed20c2 100644 (file)
@@ -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.13.ebuild b/sys-auth/munge/munge-0.5.13.ebuild
new file mode 100644 (file)
index 0000000..fff766b
--- /dev/null
@@ -0,0 +1,69 @@
+# 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="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
+}