summaryrefslogtreecommitdiffstats
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)
downloadpoky-b15f41a8d742b7059f56da603f00d4c19b60bc13.tar.gz
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 315cb4a473..97c3992bba 100644
--- a/meta/packages/portmap/portmap_6.0.bb
+++ b/meta/packages/portmap/portmap_6.0.bb
@@ -1,5 +1,7 @@
1require portmap.inc 1require portmap.inc
2 2
3PR = "r1"
4
3SRC_URI = "http://neil.brown.name/portmap/portmap-6.0.tgz \ 5SRC_URI = "http://neil.brown.name/portmap/portmap-6.0.tgz \
4 file://destdir-no-strip.patch;patch=1 \ 6 file://destdir-no-strip.patch;patch=1 \
5 file://no-tcpd-support.patch;patch=1 \ 7 file://no-tcpd-support.patch;patch=1 \
@@ -12,6 +14,6 @@ CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS"
12 14
13fakeroot do_install() { 15fakeroot do_install() {
14 install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d 16 install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d
15 install -m 0757 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap 17 install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
16 oe_runmake install DESTDIR=${D} 18 oe_runmake install DESTDIR=${D}
17} 19}