Skip to contentSkip to conversation

ghostscript: Fix owner/group of /etc/cups (v3)

PATCH In review Mark Hatle 1 participant 4 messages Jun 22, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mark Hatle

author
#1 lore raw

PATCH 4/40 ghostscript: Fix owner/group of /etc/cups (v3)

/etc/cups is owned by root:lp from the cups package, the associated ghostscript was creating the /etc/cups directory as root:root. /etc/cups is the authoritative source.

---
 .../ghostscript/ghostscript_9.02.bb                |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
meta/recipes-extended/ghostscript/ghostscript_9.02.bb +6 -1
index 3cb5485..ea1235a 100644
@@ -15,7 +15,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24"
 
-PR = "r2"
+PR = "r3"
 
 DEPENDS = "${PN}-native tiff jpeg fontconfig cups"
 DEPENDS_virtclass-native = ""
@@ -53,10 +53,15 @@ do_configure () {
     done
 }
 
+FIX_OWNERS = "chown -R root:lp ${D}${sysconfdir}/cups"
+FIX_OWNERS_virtclass-native = ""
+
 do_install_append () {
     mkdir -p ${D}${datadir}/ghostscript/${PV}/
     cp -r Resource ${D}${datadir}/ghostscript/${PV}/
     cp -r iccprofiles ${D}${datadir}/ghostscript/${PV}/
+
+    test -n "${FIX_OWNERS}" && eval ${FIX_OWNERS} || :
 }
 
 python do_patch_virtclass-native () {
Signature · 1 line
1.7.3.4
author
#2 lore raw

PATCH 5/40 libtirpc: Fix owner/group of /etc/netconfig (v3)

In reply to a message not in the archive
---
 meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb +5 -1
index 61dab95..6170e65 100644
@@ -7,7 +7,7 @@ BUGTRACKER = "http://sourceforge.net/tracker/?group_id=183075&atid=903784"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1c32c8e351f97e43e1ad6cf7f62de3bf \
                     file://src/netname.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/libtirpc/libtirpc-${PV}.tar.bz2"
 
@@ -15,3 +15,7 @@ SRC_URI[md5sum] = "d77eb15f464bf9d6e66259eaf78b2a4e"
 SRC_URI[sha256sum] = "ea77cadd63941fc4edbee7863d2c7094e6a18263d2a2c8922319aee91352ff41"
 
 inherit autotools
+
+do_install_append() {
+	chown root:root ${D}${sysconfdir}/netconfig
+}
Signature · 1 line
1.7.3.4
author
#3 lore raw

PATCH 8/40 perf: Fix linux-tools to ensure perf is installed under "fakeroot" (v3)

In reply to a message not in the archive

If perf isn't installed under "fakeroot" (pseudo) control, all of the files are given the build user's uid/gid.

---
 meta/recipes-kernel/linux/linux-tools.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-kernel/linux/linux-tools.inc +1 -1
index ef81650..e4740d7 100644
@@ -10,7 +10,7 @@ do_compile_perf() {
 	oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1
 }
 
-do_install_perf() {
+fakeroot do_install_perf() {
 	oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} DESTDIR=${D} install NO_NEWT=1 NO_DWARF=1
 }
 
Signature · 1 line
1.7.3.4
author
#4 lore raw

PATCH 24/40 systemtamp: Add missing debug files (v3)

In reply to a message not in the archive
---
 meta/recipes-kernel/systemtap/systemtap_git.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
meta/recipes-kernel/systemtap/systemtap_git.bb +3 -1
index e3e9264..aeb87c8 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 DEPENDS = "elfutils"
 
 SRCREV = "4ab3a1863bf4f472acae7a809bf2b38d91658aa8"
-PR = "r2"
+PR = "r3"
 PV = "1.4+git${SRCPV}"
 
 SRC_URI = "git://sources.redhat.com/git/systemtap.git;protocol=git \
@@ -29,3 +29,5 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*|powerpc.*)-linux'
 S = "${WORKDIR}/git"
 
 inherit autotools
+
+FILES_${PN}-dbg += "${libexecdir}/systemtap/.debug"
Signature · 1 line
1.7.3.4