diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-18 06:58:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-18 06:58:04 +0000 |
commit | 070c77515d1406e762e9e344856546f0a15765b6 (patch) | |
tree | e9c59800869ff27454b82c6afa378a4fee0ef935 /sys-auth | |
parent | 6330245077f9f298a785e17756a8f59a843361a5 (diff) |
gentoo auto-resync : 18:11:2022 - 06:58:04
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/Manifest.gz | bin | 9563 -> 9569 bytes | |||
-rw-r--r-- | sys-auth/munge/Manifest | 2 | ||||
-rw-r--r-- | sys-auth/munge/munge-0.5.15.ebuild | 88 |
3 files changed, 90 insertions, 0 deletions
diff --git a/sys-auth/Manifest.gz b/sys-auth/Manifest.gz Binary files differindex 77f311da8872..61da4fc93ed7 100644 --- a/sys-auth/Manifest.gz +++ b/sys-auth/Manifest.gz diff --git a/sys-auth/munge/Manifest b/sys-auth/munge/Manifest index 2eb33272981c..0f02557740e4 100644 --- a/sys-auth/munge/Manifest +++ b/sys-auth/munge/Manifest @@ -1,5 +1,7 @@ AUX munged.confd 410 BLAKE2B e220ad22fc0367a9ec7766e768aac8907b34edaf5bfb00593e88dc5ce6f47cddae2df0cf1c7dd8a57ec3e644f1e489a5bae538992ce3fef191750e0ef1e7ff6d SHA512 571e9d1862be1e0389e1a45685853a1819f44cd7a89188223099703268f788f3097f8ee4e8abf36f30bb5fe81e7c57a9ec7981867b3528a37e63eb11f5b2e232 AUX munged.initd 1127 BLAKE2B b0d43fe3f0c0354fc0935a0e3e3e0bf28770e5cba8b900c6bed7cf08cb57b742e71cba7adc7440c8564f6db208f6ef09ab4fe50a4381fb8988b4fed815d71cf3 SHA512 fc49ba42cc2b538fdbbd93f7422359d1410b4124e11afca7db0511da980360be14cf49aee829ed1f5762ad4723c68090088638c36d76b040fcafda063394adf2 DIST munge-0.5.13.tar.xz 389952 BLAKE2B 67887469dccf0f4e136a3fba12660dd8d0bfbd5d5024582c6be164b7e837959380ee9d09055ea95db2a307b1da75a8e7c643844fceb56b8a35f59ab7b1b811d8 SHA512 2e024c0438f9208379a037daabd1c31f206820ab74a410e2bb69870755e99f9c9fbf60c294c96941008bc43425fbb31dd2374e5f088b7978479e7c65816e9002 +DIST munge-0.5.15.tar.xz 459468 BLAKE2B e007d767d29bf8f492f4b8b3380d4beffd6eed4ff648492130b7d7f049bc90f1047c059bac6263947aa46f7ab2b0366f7d5079ddee39225e5a61870d20ae363c SHA512 266af1cf2df30f6bd7338527bd69736c0cf91e7390e7bbeea9a225af4829d456907be77a1e77ecef4716f2fff634d144d4b3d5cc3d0afc12f5c2d1acfd6974e1 EBUILD munge-0.5.13-r2.ebuild 1505 BLAKE2B efd7c66d1588ffd02c8a49c0f5a8114f2b5908e357f841fb3c9e09a097cd72f3359b2c4855dd2c238ca57fcc46a0b43c22f406865345910f8ea53df49ffb5993 SHA512 57b5e37ba490ff956d6c89128ee0a954ef3ab7eb03e15561480cd34197a244570482aaa7ba4de6416032984c5eccb250b3b4b4d905ce73cdfc6554d8b13eb5db +EBUILD munge-0.5.15.ebuild 1937 BLAKE2B 6e07e052219d9d78fbeb7dc7dc0cde511cdfc76382563dfc7fd31768634d64c84eab9c8750b88a78e8893f4c8bf92f8f0cc3eb790944e8c8c114457d11d69ad1 SHA512 97d43728ddbbc01004ee71eeb642c3c57151536ee0efd60451596ad700714f8715e7defbf2b231d587a505185e98aba43c3c74e9a93e8e656c4a25513d70ec04 MISC metadata.xml 1060 BLAKE2B a520e4060bfedd84813f4e491a5af8514095374a862274efb6a4731cb25ff81831d8fd8733fe91c39cd538e0261ee92b9ff85240882e3812350f1994587d3a7e SHA512 f0195cff8c4adb4dc7d56dd078d1f99e520b0ac9a63ee585b7c90d21dd0e581348bdeabd191a78efaef9c9a323707f22875b0c6b09377c08cb591d961ec35459 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 000000000000..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 +} |