summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2013-01-11 20:05:16 +0000
committerJustin Bronder <jsbronder@gentoo.org>2013-01-11 20:05:16 +0000
commit12a3eda8322478352207d995a1296432113dd85b (patch)
treec0ffa251b152296a7d9149b8e88889ac115e0fa6 /sys-auth/munge/munge-0.5.10-r1.ebuild
parentEAPI=5; restrict test (bug #451444) (diff)
downloadhistorical-12a3eda8322478352207d995a1296432113dd85b.tar.gz
historical-12a3eda8322478352207d995a1296432113dd85b.tar.bz2
historical-12a3eda8322478352207d995a1296432113dd85b.zip
Remove /var/run from install image. #450830.
Package-Manager: portage-2.1.11.30/cvs/Linux x86_64 Manifest-Sign-Key: 0x4D7043C9
Diffstat (limited to 'sys-auth/munge/munge-0.5.10-r1.ebuild')
-rw-r--r--sys-auth/munge/munge-0.5.10-r1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-auth/munge/munge-0.5.10-r1.ebuild b/sys-auth/munge/munge-0.5.10-r1.ebuild
index 0cd3960e7317..b60987721186 100644
--- a/sys-auth/munge/munge-0.5.10-r1.ebuild
+++ b/sys-auth/munge/munge-0.5.10-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/munge/munge-0.5.10-r1.ebuild,v 1.2 2012/05/24 05:04:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/munge/munge-0.5.10-r1.ebuild,v 1.3 2013/01/11 20:05:08 jsbronder Exp $
EAPI=4
inherit user
@@ -40,6 +40,12 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install || die
+
+ # 450830
+ if [ -d "${D}"/var/run ]; then
+ rm -rf "${D}"/var/run || die
+ fi
+
diropts -o munge -g munge -m700
dodir /etc/munge || die