summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2010-12-04 18:22:24 +0000
committerJustin Bronder <jsbronder@gentoo.org>2010-12-04 18:22:24 +0000
commitafec89d7a8feeeb8d088229f4fd82a3ffdbc2b81 (patch)
treef4722a0825313fa8b0b824be5144a3bd50b0fd41 /sys-auth/munge
parentbonobo support in gnome-panel is required. (diff)
downloadhistorical-afec89d7a8feeeb8d088229f4fd82a3ffdbc2b81.tar.gz
historical-afec89d7a8feeeb8d088229f4fd82a3ffdbc2b81.tar.bz2
historical-afec89d7a8feeeb8d088229f4fd82a3ffdbc2b81.zip
Conditionally remove unnecessary directories; they're only created if certain directories already exist in /etc. #346683
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
Diffstat (limited to 'sys-auth/munge')
-rw-r--r--sys-auth/munge/ChangeLog6
-rw-r--r--sys-auth/munge/Manifest10
-rw-r--r--sys-auth/munge/munge-0.5.9.ebuild6
3 files changed, 14 insertions, 8 deletions
diff --git a/sys-auth/munge/ChangeLog b/sys-auth/munge/ChangeLog
index 8b001903216f..ce18a6300850 100644
--- a/sys-auth/munge/ChangeLog
+++ b/sys-auth/munge/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-auth/munge
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/munge/ChangeLog,v 1.1 2010/11/14 23:04:40 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/munge/ChangeLog,v 1.2 2010/12/04 18:22:24 jsbronder Exp $
+
+ 04 Dec 2010; Justin Bronder <jsbronder@gentoo.org> munge-0.5.9.ebuild:
+ Conditionally remove unnecessary directories; they're only created if certain
+ directories already exist in /etc. #346683
*munge-0.5.9 (14 Nov 2010)
diff --git a/sys-auth/munge/Manifest b/sys-auth/munge/Manifest
index 9e69282b1de8..35560be02638 100644
--- a/sys-auth/munge/Manifest
+++ b/sys-auth/munge/Manifest
@@ -4,13 +4,13 @@ Hash: SHA1
AUX munged.confd 410 RMD160 d2bb7fbf45253f6f4441e1953bafe36a8d41f7cd SHA1 26bf6e224276638dcb180ec543a6711a4200c060 SHA256 da77587b40217b6a5e0cff2c9d8a405cff34c42496d14626710934cb08e662c1
AUX munged.initd 1027 RMD160 f8b992ded580f33a5719a7af23c56ed67034f5ba SHA1 2f11c9c4bbff34a029f2c2c5990421e6ae20b262 SHA256 e95546c51d3fa6365d4babb1a876175120a46610b69da3adeb9a480f7c3ea775
DIST munge-0.5.9.tar.bz2 417572 RMD160 8c474ac2de0904938d15e46868d722acd88ab294 SHA1 4cc4d64a70525d85ee2d7a38bcc9b29d1e9b434e SHA256 40f63b3c6f205a1e12b72a489d0df6f6ec4e16728aa24d145a870acd539e818a
-EBUILD munge-0.5.9.ebuild 1379 RMD160 db18a6dacac085ca202ceba2c48d5b16ab787874 SHA1 619394b55a99d55a93aefaebc7711f298bdc1d48 SHA256 dd3b03fea016665f0e1776b956ab354dc1fe769462b72e394aaa270b6f98ea16
-MISC ChangeLog 384 RMD160 9d66618f47e9c116ae433f71e0776c4ac1d8487d SHA1 9fe34a83e1ce94a2c8a49567ead25fb0636ef7eb SHA256 513d0b2845c2ac069449c3040df7a9d1140627a0722cd9c5f788e01914c64c91
+EBUILD munge-0.5.9.ebuild 1504 RMD160 5b355fd991dfcfa014b288a6e7d47e7eb754c88f SHA1 5415ce39c949ef5406309c1798c75f5d88c4a607 SHA256 91b4e9d0ad49bbb3cd3c78c90462bd767b6c1d0bb1197c617968afe476bb9201
+MISC ChangeLog 583 RMD160 b52cd857ffbbb108c7ebb37629fc3a85f6f9179a SHA1 c3aaca8a3580b63283e67932823313aba9831f49 SHA256 929008f425e14c6c4d1265d6a9d6dc33593c919f07f0610183ddd37f54a7c561
MISC metadata.xml 911 RMD160 9947c5011178ae099c86d6f8b5707d2263aa1139 SHA1 c97d23f69e19da79ac7a301ae64a1afaae5b4aac SHA256 326ffba73208c081c92af7bdc912d178c85dad1f86e45fe2ab8a7a059aad6ed8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkzgaw0ACgkQ4MrvBE1wQ8mE9ACglEtW8RFzq/284h2BeMpB4psc
-sUsAnj2HHAtghJdBFBuYZDPEVPSYeM1w
-=WW1a
+iEYEARECAAYFAkz6huYACgkQ4MrvBE1wQ8lwLACgkUPqEvFmQAs+BfVdFKkCNXyo
++gcAn2owS3kJq98UXDfSVc9Rakr4bRxv
+=5T3Q
-----END PGP SIGNATURE-----
diff --git a/sys-auth/munge/munge-0.5.9.ebuild b/sys-auth/munge/munge-0.5.9.ebuild
index d4f8692fac33..ce87f4f26767 100644
--- a/sys-auth/munge/munge-0.5.9.ebuild
+++ b/sys-auth/munge/munge-0.5.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/munge/munge-0.5.9.ebuild,v 1.1 2010/11/14 23:04:40 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/munge/munge-0.5.9.ebuild,v 1.2 2010/12/04 18:22:24 jsbronder Exp $
EAPI=3
inherit eutils
@@ -53,7 +53,9 @@ src_install() {
diropts -o munge -g munge -m700
dodir /var/log/munge || die
- rm -r "${D}"/etc/{init.d,default} || die
+ [ -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 || die
newinitd "${FILESDIR}"/${PN}d.initd ${PN}d || die