diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-05-05 21:01:48 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-05-05 21:01:48 +0000 |
commit | b15f41a8d742b7059f56da603f00d4c19b60bc13 (patch) | |
tree | 34bf9db3484e907fc9b32ec3c731280e71c8e419 | |
parent | 2e6d580db902388c9dfa3d79871c1ba2a1d0f902 (diff) | |
download | poky-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.bb | 4 |
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 @@ | |||
1 | require portmap.inc | 1 | require portmap.inc |
2 | 2 | ||
3 | PR = "r1" | ||
4 | |||
3 | SRC_URI = "http://neil.brown.name/portmap/portmap-6.0.tgz \ | 5 | SRC_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 | ||
13 | fakeroot do_install() { | 15 | fakeroot 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 | } |