summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-09-24 22:38:38 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-09-24 22:38:38 +0000
commit4ae5008d132b9f02e3b3f47386031ec4a53aac44 (patch)
tree2bfb43f89234a4b6b89f041e56b5b18ad1f59bb5 /sys-power/apcupsd
parentRemove old that is no longer needed (0.9.15-r2 is getting stable instead). (diff)
downloadhistorical-4ae5008d132b9f02e3b3f47386031ec4a53aac44.tar.gz
historical-4ae5008d132b9f02e3b3f47386031ec4a53aac44.tar.bz2
historical-4ae5008d132b9f02e3b3f47386031ec4a53aac44.zip
Create /var/lock if it's not present already.
Package-Manager: portage-2.2_rc41/cvs/Linux x86_64
Diffstat (limited to 'sys-power/apcupsd')
-rw-r--r--sys-power/apcupsd/ChangeLog6
-rw-r--r--sys-power/apcupsd/Manifest10
-rw-r--r--sys-power/apcupsd/apcupsd-3.14.7.ebuild8
3 files changed, 17 insertions, 7 deletions
diff --git a/sys-power/apcupsd/ChangeLog b/sys-power/apcupsd/ChangeLog
index 9beaa88825af..a0c1c395e066 100644
--- a/sys-power/apcupsd/ChangeLog
+++ b/sys-power/apcupsd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/apcupsd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/ChangeLog,v 1.55 2009/08/31 14:16:28 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/ChangeLog,v 1.56 2009/09/24 22:38:38 flameeyes Exp $
+
+ 24 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ apcupsd-3.14.7.ebuild:
+ Create /var/lock if it's not present already.
31 Aug 2009; Christian Faulhammer <fauli@gentoo.org>
apcupsd-3.14.6.ebuild:
diff --git a/sys-power/apcupsd/Manifest b/sys-power/apcupsd/Manifest
index b62df037d1e8..96a397d3db69 100644
--- a/sys-power/apcupsd/Manifest
+++ b/sys-power/apcupsd/Manifest
@@ -14,13 +14,13 @@ DIST apcupsd-3.14.7.tar.gz 4272089 RMD160 cb3db3e6e123f39666eef3c5ccfdec65c57a15
EBUILD apcupsd-3.10.18-r1.ebuild 2614 RMD160 4136189b375cdd5b50fa1e98bcff757406ea8e66 SHA1 de25eb0d627ca017c4f5d27119ffaba709125735 SHA256 f5004d36d0c5a41df6c4fa9fe5e2cc3c49894a7aef927e79cfb72a1cce04ee39
EBUILD apcupsd-3.14.5-r2.ebuild 3617 RMD160 dc84a19b8477dcd42f27a8687c6cca09c012e057 SHA1 7bc8fb4ba7bd67fe7a19581dc7699c2508bf8467 SHA256 f4fff08cbab19b0006944258e5f57411c6117a3503791ecb060fc23421f269a3
EBUILD apcupsd-3.14.6.ebuild 3284 RMD160 ada42ff1ea4683d3d8bd40192e464ac5923e8604 SHA1 045740adef159450b28063f0a663a6a0df1c10c3 SHA256 34bdd2a9ef5608fe73e6d6464a453672ab7f2e0507b90be38dc9ce24a20a1272
-EBUILD apcupsd-3.14.7.ebuild 3869 RMD160 a3058a01a1f8c7707fdcb30e6bd8f5284d66e7da SHA1 f2d195d16c34bfc3c0149c949381bc9cda3dd9e6 SHA256 17752c08578dacbe208ae6c7399d5189bb81d46a98d9e1a6a3cc753fb6bf1b10
-MISC ChangeLog 22197 RMD160 ebb886b887a17c2412b447e7eac701c22d538d54 SHA1 7cb247cbfda513947e0de662627737036bde9aad SHA256 b056d6c5f05249c6564faf3fc6e7dd086d5f26064956968a729ffa1fd47807e9
+EBUILD apcupsd-3.14.7.ebuild 4075 RMD160 88355a4d38a56071144e102aabb896e3e34ca906 SHA1 21bff389ac2fe58182642a358c519a33c3245f55 SHA256 262b28e83ae8c7ae5ff7cd94741c7d22c8abf12e6c517db5fc10d86b2a953472
+MISC ChangeLog 22331 RMD160 3754412315f0bfb2058e5549de7f0695411c2355 SHA1 9ff12810b1c9bd2fff4e274d2aad4f0eccfe9114 SHA256 5a1e9bf5d886fa5a420b9aaa307e51c48a8368d04ab324edbff72068d8f345fa
MISC metadata.xml 237 RMD160 2a4fab832a64fbdafe2cd6f59b141b2aa80797ac SHA1 75878fb1a17b8617882c9e02331a6643d647882b SHA256 368acc29aa9214adaa137c17b114b16c6a021c4dfc9efa5f3440e968db04a9b3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkqb20YACgkQNQqtfCuFneOELQCdHziQ6a6x+TTdbDqnovEfldqQ
-TdYAnR9p5baRlyMnUUiQqe51R3KFbjH3
-=NiBH
+iEYEARECAAYFAkq79PYACgkQAiZjviIA2Xg1bQCgztisZsBw3kNb41wL8aZf/2Pz
+ZZgAn329OB5OWsXNhAs/+fNhA9JwS0Zw
+=YfpQ
-----END PGP SIGNATURE-----
diff --git a/sys-power/apcupsd/apcupsd-3.14.7.ebuild b/sys-power/apcupsd/apcupsd-3.14.7.ebuild
index 541860f61ca0..ca9862016010 100644
--- a/sys-power/apcupsd/apcupsd-3.14.7.ebuild
+++ b/sys-power/apcupsd/apcupsd-3.14.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/apcupsd-3.14.7.ebuild,v 1.2 2009/08/08 14:11:29 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/apcupsd-3.14.7.ebuild,v 1.3 2009/09/24 22:38:38 flameeyes Exp $
WEBAPP_MANUAL_SLOT="yes"
WEBAPP_OPTIONAL="yes"
@@ -96,6 +96,12 @@ src_install() {
if has_version sys-apps/openrc; then
newinitd "${FILESDIR}/${PN}.powerfail.init" "${PN}".powerfail || die "newinitd failed"
fi
+
+ # Without this it'll crash at startup. When merging in ROOT= this
+ # won't be created by default, so we want to make sure we got it!
+ keepdir /var/lock
+ fowners root:uucp /var/lock
+ fperms 0775 /var/lock
}
pkg_postinst() {