summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2005-09-12 06:34:54 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2005-09-12 06:34:54 +0000
commitdbaf6ae4a80024f6050cf5d97c14ec047af1999d (patch)
tree6dae76939ee4883bb01b5f9e97d56c7a5b858d2c /media-gfx
parentRemove wrong dependency on gdk-pixbuf (bug #105657) (diff)
downloadgentoo-2-dbaf6ae4a80024f6050cf5d97c14ec047af1999d.tar.gz
gentoo-2-dbaf6ae4a80024f6050cf5d97c14ec047af1999d.tar.bz2
gentoo-2-dbaf6ae4a80024f6050cf5d97c14ec047af1999d.zip
Creating lock directory in a different way (see bug #105429)
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/sane-backends/ChangeLog6
-rw-r--r--media-gfx/sane-backends/Manifest2
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.16-r2.ebuild14
3 files changed, 12 insertions, 10 deletions
diff --git a/media-gfx/sane-backends/ChangeLog b/media-gfx/sane-backends/ChangeLog
index 6c8b4428ba3a..1a115898b15b 100644
--- a/media-gfx/sane-backends/ChangeLog
+++ b/media-gfx/sane-backends/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/sane-backends
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.75 2005/09/05 11:53:48 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.76 2005/09/12 06:34:54 phosphan Exp $
+
+ 12 Sep 2005; Patrick Kursawe <phosphan@gentoo.org>
+ sane-backends-1.0.16-r2.ebuild:
+ Creating lock directory in a different way (see bug #105429)
05 Sep 2005; Patrick Kursawe <phosphan@gentoo.org>
sane-backends-1.0.16-r2.ebuild:
diff --git a/media-gfx/sane-backends/Manifest b/media-gfx/sane-backends/Manifest
index 933276eab774..0054b6663596 100644
--- a/media-gfx/sane-backends/Manifest
+++ b/media-gfx/sane-backends/Manifest
@@ -1,4 +1,4 @@
-MD5 430a436bdb35c85a3eeeb1024edf12d2 sane-backends-1.0.16-r2.ebuild 3941
+MD5 a16a549e9d1b25b4fdfe45e92f0b200b sane-backends-1.0.16-r2.ebuild 3913
MD5 ebd00143bfe66f76d0d0da95cbc84923 sane-backends-1.0.15.ebuild 2598
MD5 544c2bc7c5a23b2ae8280b879eac1fbb sane-backends-1.0.15-r2.ebuild 3912
MD5 4c8053c87e31c8209998ba49c07d60a5 sane-backends-1.0.13-r3.ebuild 1717
diff --git a/media-gfx/sane-backends/sane-backends-1.0.16-r2.ebuild b/media-gfx/sane-backends/sane-backends-1.0.16-r2.ebuild
index 7c3f57d5d2b4..328acd67345b 100644
--- a/media-gfx/sane-backends/sane-backends-1.0.16-r2.ebuild
+++ b/media-gfx/sane-backends/sane-backends-1.0.16-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.16-r2.ebuild,v 1.2 2005/09/05 11:53:48 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.16-r2.ebuild,v 1.3 2005/09/12 06:34:54 phosphan Exp $
inherit eutils flag-o-matic
@@ -38,6 +38,8 @@ KEYWORDS="~x86 ~sparc ~ppc ~ppc64 ~amd64 ~alpha ~ia64"
# Note that some backends has specific dependencies which make the compilation
# fail because not supported on your current platform.
pkg_setup() {
+ enewgroup scanner
+
IEEE1284_BACKENDS="canon_pp hpsj5s mustek_pp"
if [[ "${SANE_BACKENDS}" != "" ]]; then
@@ -96,7 +98,6 @@ src_compile() {
$(use_enable usb libusb) \
$(use_with gphoto2) \
$(use_enable ipv6) \
- --with-group=scanner \
${myconf} || die "econf failed"
emake || die
@@ -110,7 +111,9 @@ src_compile() {
src_install () {
einstall docdir=${D}/usr/share/doc/${PF}
- touch ${D}/var/lib/lock/sane/.keep # don't use keepdir, it changes the permissions
+ keepdir /var/lib/lock/sane
+ fowners root:scanner /var/lib/lock/sane
+ fperms g+w /var/lib/lock/sane
if use usb; then
cd tools/hotplug
insinto /etc/hotplug/usb
@@ -130,8 +133,3 @@ src_install () {
doins 30sane
}
-
-pkg_preinst() {
- enewgroup scanner
-}
-