summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-05-05 21:01:48 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-05-05 21:01:48 +0000
commitb15f41a8d742b7059f56da603f00d4c19b60bc13 (patch)
tree34bf9db3484e907fc9b32ec3c731280e71c8e419
parent2e6d580db902388c9dfa3d79871c1ba2a1d0f902 (diff)
downloadopenembedded-core-b15f41a8d742b7059f56da603f00d4c19b60bc13.tar.gz
openembedded-core-b15f41a8d742b7059f56da603f00d4c19b60bc13.tar.bz2
openembedded-core-b15f41a8d742b7059f56da603f00d4c19b60bc13.tar.xz
openembedded-core-b15f41a8d742b7059f56da603f00d4c19b60bc13.zip
portmap: do not install initscript with world-writable permissions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4417 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/portmap/portmap_6.0.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/portmap/portmap_6.0.bb b/meta/packages/portmap/portmap_6.0.bb
index 315cb4a47..97c3992bb 100644
--- a/meta/packages/portmap/portmap_6.0.bb
+++ b/meta/packages/portmap/portmap_6.0.bb
@@ -1,5 +1,7 @@
require portmap.inc
+PR = "r1"
+
SRC_URI = "http://neil.brown.name/portmap/portmap-6.0.tgz \
file://destdir-no-strip.patch;patch=1 \
file://no-tcpd-support.patch;patch=1 \
@@ -12,6 +14,6 @@ CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS"
fakeroot do_install() {
install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d
- install -m 0757 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
+ install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
oe_runmake install DESTDIR=${D}
}