public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/
Date: Sun, 18 Jul 2021 16:18:00 +0000 (UTC)	[thread overview]
Message-ID: <1626625052.fb9c532fc04f8fdef947abd565e8f7bc99b465d3.conikost@gentoo> (raw)

commit:     fb9c532fc04f8fdef947abd565e8f7bc99b465d3
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 11:21:23 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 16:17:32 2021 +0000
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 <conikost <AT> 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 00000000000..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
+}


             reply	other threads:[~2021-07-18 16:18 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-18 16:18 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-26  5:50 [gentoo-commits] repo/gentoo:master commit in: sys-auth/munge/ Sam James
2024-08-17 21:50 Mike Gilbert
2023-08-03 10:28 Arthur Zamarin
2023-07-04 22:40 Sam James
2023-07-04 22:23 Sam James
2023-07-04 22:23 Sam James
2023-07-04 22:13 Sam James
2023-06-03  7:41 WANG Xuerui
2022-11-18  2:20 Sam James
2022-02-02  6:21 Sam James
2021-09-26 19:36 Conrad Kostecki
2021-07-18 16:18 Conrad Kostecki
2021-07-05 13:25 Marek Szuba
2020-02-09 12:12 Mikle Kolyada
2019-12-28 15:49 Mikle Kolyada
2019-12-25 20:22 Sergei Trofimovich
2019-12-15 14:15 Agostino Sarubbo
2019-12-15 14:07 Agostino Sarubbo
2019-12-15 13:53 Agostino Sarubbo
2019-12-15 13:24 Sergei Trofimovich
2019-12-15 12:44 Agostino Sarubbo
2019-01-02 13:02 Justin Lecher
2018-08-08 14:05 Justin Bronder
2017-11-12 21:08 Justin Lecher
2017-07-09 18:48 Justin Lecher
2016-08-02  9:45 Benda XU
2016-06-01 23:06 Justin Bronder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1626625052.fb9c532fc04f8fdef947abd565e8f7bc99b465d3.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox