Gentoo Archives: gentoo-commits

From: "Justin Bronder (jsbronder)" <jsbronder@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/munge: ChangeLog munge-0.5.11.ebuild
Date: Wed, 24 Jun 2015 14:54:35
Message-Id: 20150624145425.64D9EA54@oystercatcher.gentoo.org
1 jsbronder 15/06/24 14:54:25
2
3 Modified: ChangeLog
4 Added: munge-0.5.11.ebuild
5 Log:
6 sys-cluster/openmpi: bump
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 4D7043C9)
9
10 Revision Changes Path
11 1.23 sys-auth/munge/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/munge/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/munge/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/munge/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/munge/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 1 Mar 2014 22:38:37 -0000 1.22
24 +++ ChangeLog 24 Jun 2015 14:54:25 -0000 1.23
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-auth/munge
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/munge/ChangeLog,v 1.22 2014/03/01 22:38:37 mgorny Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/munge/ChangeLog,v 1.23 2015/06/24 14:54:25 jsbronder Exp $
31 +
32 +*munge-0.5.11 (24 Jun 2015)
33 +
34 + 24 Jun 2015; Justin Bronder <jsbronder@g.o> +munge-0.5.11.ebuild,
35 + +files/fixed-recursive-use-of-make-in-makefiles.patch:
36 + Bump (#551136), thanks to Brendan Horan for the bump and the patch
37
38 01 Mar 2014; Michał Górny <mgorny@g.o> munge-0.5.10-r1.ebuild:
39 Update libgcrypt dep to use slot :0.
40
41
42
43 1.1 sys-auth/munge/munge-0.5.11.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/munge/munge-0.5.11.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/munge/munge-0.5.11.ebuild?rev=1.1&content-type=text/plain
47
48 Index: munge-0.5.11.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-auth/munge/munge-0.5.11.ebuild,v 1.1 2015/06/24 14:54:25 jsbronder Exp $
53
54 EAPI=5
55 inherit autotools eutils user
56
57 DESCRIPTION="An authentication service for creating and validating credentials"
58 HOMEPAGE="https://github.com/dun/munge"
59 SRC_URI="https://github.com/dun/munge/releases/download/munge-${PV}/munge-${PV}.tar.bz2"
60
61 LICENSE="GPL-3"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
64
65 IUSE="gcrypt"
66
67 DEPEND="app-arch/bzip2
68 sys-libs/zlib
69 gcrypt? ( dev-libs/libgcrypt:0 )
70 !gcrypt? ( dev-libs/openssl:0 )"
71 RDEPEND="${DEPEND}"
72
73 pkg_setup() {
74 enewgroup munge
75 enewuser munge -1 -1 /var/lib/munge munge
76 }
77
78 src_prepare() {
79 # Accepted upstream, https://github.com/dun/munge/pull/40
80 epatch "${FILESDIR}"/fixed-recursive-use-of-make-in-makefiles.patch
81
82 eautoreconf
83 }
84
85 src_configure() {
86 econf \
87 --localstatedir=/var \
88 --with-crypto-lib=$(usex gcrypt libgcrypt openssl)
89 }
90
91 src_install() {
92 local d
93
94 default
95
96 # 450830
97 if [ -d "${D}"/var/run ]; then
98 rm -rf "${D}"/var/run || die
99 fi
100
101 diropts -o munge -g munge -m700
102 dodir /etc/munge
103
104 for d in "init.d" "default" "sysconfig"; do
105 if [ -d "${D}"/etc/${d} ]; then
106 rm -r "${D}"/etc/${d} || die
107 fi
108 done
109
110 newconfd "${FILESDIR}"/${PN}d.confd ${PN}d
111 newinitd "${FILESDIR}"/${PN}d.initd ${PN}d
112 }