diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-05-13 14:16:55 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-05-23 08:44:44 -0700 |
commit | ffc64e9c6fee0af7eea3466135416d011172a5e6 (patch) | |
tree | b9effa069d9af3c63d6f3a41caff6b887450522c /meta-networking | |
parent | a90f89dbc7eff2ae83bab6a6676f4737c0b48a8d (diff) | |
download | meta-openembedded-ffc64e9c6fee0af7eea3466135416d011172a5e6.tar.gz |
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
59 files changed, 152 insertions, 152 deletions
diff --git a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.3.2.bb b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.3.2.bb index 52157cf9a8..12cc6645b5 100644 --- a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.3.2.bb +++ b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.3.2.bb | |||
@@ -146,7 +146,7 @@ do_install:append() { | |||
146 | # firewalld ships an init script but it contains Red Hat-isms, replace it with our own | 146 | # firewalld ships an init script but it contains Red Hat-isms, replace it with our own |
147 | rm -rf ${D}${sysconfdir}/rc.d/ | 147 | rm -rf ${D}${sysconfdir}/rc.d/ |
148 | install -d ${D}${sysconfdir}/init.d | 148 | install -d ${D}${sysconfdir}/init.d |
149 | install -m0755 ${WORKDIR}/firewalld.init ${D}${sysconfdir}/init.d/firewalld | 149 | install -m0755 ${UNPACKDIR}/firewalld.init ${D}${sysconfdir}/init.d/firewalld |
150 | fi | 150 | fi |
151 | 151 | ||
152 | if ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'false', 'true', d)}; then | 152 | if ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'false', 'true', d)}; then |
diff --git a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb index e5f7e0334f..e458321e6e 100644 --- a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb +++ b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb | |||
@@ -53,16 +53,16 @@ do_configure:prepend () { | |||
53 | } | 53 | } |
54 | 54 | ||
55 | do_install:append () { | 55 | do_install:append () { |
56 | install -Dm 0644 ${WORKDIR}/default-relay ${D}${sysconfdir}/default/dhcp-relay | 56 | install -Dm 0644 ${UNPACKDIR}/default-relay ${D}${sysconfdir}/default/dhcp-relay |
57 | 57 | ||
58 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 58 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
59 | install -d ${D}${systemd_unitdir}/system | 59 | install -d ${D}${systemd_unitdir}/system |
60 | install -m 0644 ${WORKDIR}/dhcrelay.service ${D}${systemd_unitdir}/system | 60 | install -m 0644 ${UNPACKDIR}/dhcrelay.service ${D}${systemd_unitdir}/system |
61 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/dhcrelay.service | 61 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/dhcrelay.service |
62 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/dhcrelay.service | 62 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/dhcrelay.service |
63 | else | 63 | else |
64 | install -d ${D}${sysconfdir}/init.d | 64 | install -d ${D}${sysconfdir}/init.d |
65 | install -m 0755 ${WORKDIR}/init-relay ${D}${sysconfdir}/init.d/dhcp-relay | 65 | install -m 0755 ${UNPACKDIR}/init-relay ${D}${sysconfdir}/init.d/dhcp-relay |
66 | fi | 66 | fi |
67 | } | 67 | } |
68 | 68 | ||
diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.3.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.3.bb index 7ea63a65d3..8397380c1d 100644 --- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.3.bb +++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.3.bb | |||
@@ -169,14 +169,14 @@ do_install() { | |||
169 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 169 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
170 | install -d ${D}${sysconfdir}/init.d | 170 | install -d ${D}${sysconfdir}/init.d |
171 | install -d ${D}${sysconfdir}/default/volatiles | 171 | install -d ${D}${sysconfdir}/default/volatiles |
172 | install -m 0755 ${WORKDIR}/freeradius ${D}/etc/init.d/radiusd | 172 | install -m 0755 ${UNPACKDIR}/freeradius ${D}/etc/init.d/radiusd |
173 | install -m 0644 ${WORKDIR}/volatiles.58_radiusd ${D}${sysconfdir}/default/volatiles/58_radiusd | 173 | install -m 0644 ${UNPACKDIR}/volatiles.58_radiusd ${D}${sysconfdir}/default/volatiles/58_radiusd |
174 | fi | 174 | fi |
175 | 175 | ||
176 | # For systemd | 176 | # For systemd |
177 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 177 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
178 | install -d ${D}${systemd_unitdir}/system | 178 | install -d ${D}${systemd_unitdir}/system |
179 | install -m 0644 ${WORKDIR}/radiusd.service ${D}${systemd_unitdir}/system | 179 | install -m 0644 ${UNPACKDIR}/radiusd.service ${D}${systemd_unitdir}/system |
180 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 180 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
181 | -e 's,@SBINDIR@,${sbindir},g' \ | 181 | -e 's,@SBINDIR@,${sbindir},g' \ |
182 | -e 's,@STATEDIR@,${localstatedir},g' \ | 182 | -e 's,@STATEDIR@,${localstatedir},g' \ |
@@ -184,7 +184,7 @@ do_install() { | |||
184 | ${D}${systemd_unitdir}/system/radiusd.service | 184 | ${D}${systemd_unitdir}/system/radiusd.service |
185 | 185 | ||
186 | install -d ${D}${sysconfdir}/tmpfiles.d/ | 186 | install -d ${D}${sysconfdir}/tmpfiles.d/ |
187 | install -m 0644 ${WORKDIR}/radiusd-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/radiusd.conf | 187 | install -m 0644 ${UNPACKDIR}/radiusd-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/radiusd.conf |
188 | fi | 188 | fi |
189 | 189 | ||
190 | oe_multilib_header freeradius/autoconf.h | 190 | oe_multilib_header freeradius/autoconf.h |
diff --git a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb index 468569eef1..1c2f030f83 100644 --- a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb +++ b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb | |||
@@ -44,7 +44,7 @@ do_install() { | |||
44 | install ${S}/linux/miniupnpd.init.d.script ${D}/${sysconfdir}/init.d/miniupnpd | 44 | install ${S}/linux/miniupnpd.init.d.script ${D}/${sysconfdir}/init.d/miniupnpd |
45 | 45 | ||
46 | install -d ${D}${systemd_unitdir}/system | 46 | install -d ${D}${systemd_unitdir}/system |
47 | install -m 0644 ${WORKDIR}/miniupnpd.service ${D}${systemd_unitdir}/system/ | 47 | install -m 0644 ${UNPACKDIR}/miniupnpd.service ${D}${systemd_unitdir}/system/ |
48 | } | 48 | } |
49 | 49 | ||
50 | SYSTEMD_SERVICE:${PN} = "miniupnpd.service" | 50 | SYSTEMD_SERVICE:${PN} = "miniupnpd.service" |
diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb index ea9eb4857b..4ef0654102 100644 --- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb +++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb | |||
@@ -46,7 +46,7 @@ do_install:append() { | |||
46 | install -m 0644 ${S}/service/systemd/mosquitto.service.notify ${D}${systemd_unitdir}/system/mosquitto.service | 46 | install -m 0644 ${S}/service/systemd/mosquitto.service.notify ${D}${systemd_unitdir}/system/mosquitto.service |
47 | 47 | ||
48 | install -d ${D}${sysconfdir}/init.d/ | 48 | install -d ${D}${sysconfdir}/init.d/ |
49 | install -m 0755 ${WORKDIR}/mosquitto.init ${D}${sysconfdir}/init.d/mosquitto | 49 | install -m 0755 ${UNPACKDIR}/mosquitto.init ${D}${sysconfdir}/init.d/mosquitto |
50 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ | 50 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ |
51 | -e 's,@BASE_SBINDIR@,${base_sbindir},g' \ | 51 | -e 's,@BASE_SBINDIR@,${base_sbindir},g' \ |
52 | -e 's,@LOCALSTATEDIR@,${localstatedir},g' \ | 52 | -e 's,@LOCALSTATEDIR@,${localstatedir},g' \ |
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb index 3c9570d927..487ef08475 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb | |||
@@ -301,7 +301,7 @@ RRECOMMENDS:${PN} += "\ | |||
301 | " | 301 | " |
302 | 302 | ||
303 | do_install:append() { | 303 | do_install:append() { |
304 | install -Dm 0755 ${WORKDIR}/${BPN}.initd ${D}${sysconfdir}/init.d/network-manager | 304 | install -Dm 0755 ${UNPACKDIR}/${BPN}.initd ${D}${sysconfdir}/init.d/network-manager |
305 | 305 | ||
306 | rm -rf ${D}/run ${D}${localstatedir}/run | 306 | rm -rf ${D}/run ${D}${localstatedir}/run |
307 | 307 | ||
@@ -315,11 +315,11 @@ do_install:append() { | |||
315 | 315 | ||
316 | # Enable iwd if compiled | 316 | # Enable iwd if compiled |
317 | if ${@bb.utils.contains('PACKAGECONFIG','iwd','true','false',d)}; then | 317 | if ${@bb.utils.contains('PACKAGECONFIG','iwd','true','false',d)}; then |
318 | install -Dm 0644 ${WORKDIR}/enable-iwd.conf ${D}${nonarch_libdir}/NetworkManager/conf.d/enable-iwd.conf | 318 | install -Dm 0644 ${UNPACKDIR}/enable-iwd.conf ${D}${nonarch_libdir}/NetworkManager/conf.d/enable-iwd.conf |
319 | fi | 319 | fi |
320 | 320 | ||
321 | # Enable dhcpd if compiled | 321 | # Enable dhcpd if compiled |
322 | if ${@bb.utils.contains('PACKAGECONFIG','dhcpcd','true','false',d)}; then | 322 | if ${@bb.utils.contains('PACKAGECONFIG','dhcpcd','true','false',d)}; then |
323 | install -Dm 0644 ${WORKDIR}/enable-dhcpcd.conf ${D}${nonarch_libdir}/NetworkManager/conf.d/enable-dhcpcd.conf | 323 | install -Dm 0644 ${UNPACKDIR}/enable-dhcpcd.conf ${D}${nonarch_libdir}/NetworkManager/conf.d/enable-dhcpcd.conf |
324 | fi | 324 | fi |
325 | } | 325 | } |
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.19.6.bb b/meta-networking/recipes-connectivity/samba/samba_4.19.6.bb index bd0309934b..7bdcfd35c0 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.19.6.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.19.6.bb | |||
@@ -173,8 +173,8 @@ do_install:append() { | |||
173 | 173 | ||
174 | install -d ${D}${sysconfdir}/samba | 174 | install -d ${D}${sysconfdir}/samba |
175 | echo "127.0.0.1 localhost" > ${D}${sysconfdir}/samba/lmhosts | 175 | echo "127.0.0.1 localhost" > ${D}${sysconfdir}/samba/lmhosts |
176 | install -m644 ${WORKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf | 176 | install -m644 ${UNPACKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf |
177 | install -D -m 644 ${WORKDIR}/volatiles.03_samba ${D}${sysconfdir}/default/volatiles/03_samba | 177 | install -D -m 644 ${UNPACKDIR}/volatiles.03_samba ${D}${sysconfdir}/default/volatiles/03_samba |
178 | 178 | ||
179 | install -d ${D}${sysconfdir}/default | 179 | install -d ${D}${sysconfdir}/default |
180 | install -m644 packaging/systemd/samba.sysconfig ${D}${sysconfdir}/default/samba | 180 | install -m644 packaging/systemd/samba.sysconfig ${D}${sysconfdir}/default/samba |
diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.20.bb b/meta-networking/recipes-connectivity/snort/snort_2.9.20.bb index 8b9092b418..9bc14fc56f 100644 --- a/meta-networking/recipes-connectivity/snort/snort_2.9.20.bb +++ b/meta-networking/recipes-connectivity/snort/snort_2.9.20.bb | |||
@@ -76,18 +76,18 @@ do_install:append() { | |||
76 | 76 | ||
77 | cp ${S}/preproc_rules/*.rules ${D}${sysconfdir}/snort/preproc_rules/ | 77 | cp ${S}/preproc_rules/*.rules ${D}${sysconfdir}/snort/preproc_rules/ |
78 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 78 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
79 | install -m 755 ${WORKDIR}/snort.init ${D}${sysconfdir}/init.d/snort | 79 | install -m 755 ${UNPACKDIR}/snort.init ${D}${sysconfdir}/init.d/snort |
80 | fi | 80 | fi |
81 | 81 | ||
82 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 82 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
83 | install -d ${D}/${systemd_system_unitdir} | 83 | install -d ${D}/${systemd_system_unitdir} |
84 | install -m 644 ${WORKDIR}/snort.service ${D}/${systemd_system_unitdir} | 84 | install -m 644 ${UNPACKDIR}/snort.service ${D}/${systemd_system_unitdir} |
85 | # Install default environment file | 85 | # Install default environment file |
86 | install -d ${D}/${sysconfdir}/default | 86 | install -d ${D}/${sysconfdir}/default |
87 | install -m 0644 ${WORKDIR}/snort.default ${D}${sysconfdir}/default/snort | 87 | install -m 0644 ${UNPACKDIR}/snort.default ${D}${sysconfdir}/default/snort |
88 | fi | 88 | fi |
89 | install -d ${D}${sysconfdir}/default/volatiles | 89 | install -d ${D}${sysconfdir}/default/volatiles |
90 | install -m 0644 ${WORKDIR}/volatiles.99_snort ${D}${sysconfdir}/default/volatiles/99_snort | 90 | install -m 0644 ${UNPACKDIR}/volatiles.99_snort ${D}${sysconfdir}/default/volatiles/99_snort |
91 | 91 | ||
92 | sed -i -e 's|-ffile-prefix-map[^ ]*||g; s|-fdebug-prefix-map[^ ]*||g; s|-fmacro-prefix-map[^ ]*||g; s|${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc | 92 | sed -i -e 's|-ffile-prefix-map[^ ]*||g; s|-fdebug-prefix-map[^ ]*||g; s|-fmacro-prefix-map[^ ]*||g; s|${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc |
93 | } | 93 | } |
diff --git a/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb b/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb index 36d35e6dee..f6b58559d4 100644 --- a/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb +++ b/meta-networking/recipes-connectivity/tayga/tayga_0.9.2.bb | |||
@@ -13,9 +13,9 @@ SYSTEMD_PACKAGES = "${PN}" | |||
13 | SYSTEMD_SERVICE:${PN} = "tayga.service" | 13 | SYSTEMD_SERVICE:${PN} = "tayga.service" |
14 | 14 | ||
15 | do_install:append() { | 15 | do_install:append() { |
16 | install -m 0644 ${WORKDIR}/tayga.conf ${D}${sysconfdir}/tayga.conf | 16 | install -m 0644 ${UNPACKDIR}/tayga.conf ${D}${sysconfdir}/tayga.conf |
17 | install -d ${D}${systemd_unitdir}/system/ | 17 | install -d ${D}${systemd_unitdir}/system/ |
18 | install -m 0644 ${WORKDIR}/tayga.service ${D}${systemd_unitdir}/system/ | 18 | install -m 0644 ${UNPACKDIR}/tayga.service ${D}${systemd_unitdir}/system/ |
19 | } | 19 | } |
20 | 20 | ||
21 | inherit autotools systemd | 21 | inherit autotools systemd |
diff --git a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb index fe9c038f5c..5876b58273 100644 --- a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb +++ b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb | |||
@@ -38,14 +38,14 @@ inherit perlnative pkgconfig | |||
38 | do_configure:append () { | 38 | do_configure:append () { |
39 | # Make sure we use our nativeperl wrapper | 39 | # Make sure we use our nativeperl wrapper |
40 | sed -i "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/*.pl | 40 | sed -i "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/*.pl |
41 | cp ${WORKDIR}/long-help ${S} | 41 | cp ${UNPACKDIR}/long-help ${S} |
42 | } | 42 | } |
43 | 43 | ||
44 | do_install () { | 44 | do_install () { |
45 | sed -i s:m600:m\ 600:g Makefile | 45 | sed -i s:m600:m\ 600:g Makefile |
46 | oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr' install | 46 | oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr' install |
47 | rm -f ${D}${sysconfdir}/vpnc/vpnc.conf #This file is useless | 47 | rm -f ${D}${sysconfdir}/vpnc/vpnc.conf #This file is useless |
48 | install ${WORKDIR}/default.conf ${D}${sysconfdir}/vpnc/default.conf | 48 | install ${UNPACKDIR}/default.conf ${D}${sysconfdir}/vpnc/default.conf |
49 | } | 49 | } |
50 | 50 | ||
51 | SYSROOT_PREPROCESS_FUNCS += "vpnc_sysroot_preprocess" | 51 | SYSROOT_PREPROCESS_FUNCS += "vpnc_sysroot_preprocess" |
diff --git a/meta-networking/recipes-daemons/atftp/atftp_0.8.0.bb b/meta-networking/recipes-daemons/atftp/atftp_0.8.0.bb index 507621795f..41b7cf0878 100644 --- a/meta-networking/recipes-daemons/atftp/atftp_0.8.0.bb +++ b/meta-networking/recipes-daemons/atftp/atftp_0.8.0.bb | |||
@@ -29,14 +29,14 @@ EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -std=gnu89'" | |||
29 | 29 | ||
30 | do_install:append() { | 30 | do_install:append() { |
31 | install -d ${D}${sysconfdir}/init.d | 31 | install -d ${D}${sysconfdir}/init.d |
32 | install -m 0755 ${WORKDIR}/atftpd.init ${D}${sysconfdir}/init.d/atftpd | 32 | install -m 0755 ${UNPACKDIR}/atftpd.init ${D}${sysconfdir}/init.d/atftpd |
33 | 33 | ||
34 | install -d ${D}/srv/tftp | 34 | install -d ${D}/srv/tftp |
35 | 35 | ||
36 | rm ${D}${sbindir}/in.tftpd | 36 | rm ${D}${sbindir}/in.tftpd |
37 | 37 | ||
38 | install -d ${D}${systemd_unitdir}/system | 38 | install -d ${D}${systemd_unitdir}/system |
39 | install -m 0644 ${WORKDIR}/atftpd.service ${D}${systemd_unitdir}/system | 39 | install -m 0644 ${UNPACKDIR}/atftpd.service ${D}${systemd_unitdir}/system |
40 | } | 40 | } |
41 | 41 | ||
42 | PACKAGES =+ "${PN}d" | 42 | PACKAGES =+ "${PN}d" |
diff --git a/meta-networking/recipes-daemons/ippool/ippool_1.3.bb b/meta-networking/recipes-daemons/ippool/ippool_1.3.bb index 36ea289945..7947ffe457 100644 --- a/meta-networking/recipes-daemons/ippool/ippool_1.3.bb +++ b/meta-networking/recipes-daemons/ippool/ippool_1.3.bb | |||
@@ -65,14 +65,14 @@ do_install() { | |||
65 | oe_runmake DESTDIR=${D} install | 65 | oe_runmake DESTDIR=${D} install |
66 | 66 | ||
67 | install -D -m 0755 ${S}/debian/init.d ${D}${sysconfdir}/init.d/ippoold | 67 | install -D -m 0755 ${S}/debian/init.d ${D}${sysconfdir}/init.d/ippoold |
68 | install -D -m 0644 ${WORKDIR}/ippool.service ${D}${systemd_system_unitdir}/ippool.service | 68 | install -D -m 0644 ${UNPACKDIR}/ippool.service ${D}${systemd_system_unitdir}/ippool.service |
69 | sed -i -e 's:@SBINDIR@:${sbindir}:g' ${D}${systemd_system_unitdir}/ippool.service | 69 | sed -i -e 's:@SBINDIR@:${sbindir}:g' ${D}${systemd_system_unitdir}/ippool.service |
70 | 70 | ||
71 | # install self test | 71 | # install self test |
72 | install -d ${D}/opt/${BPN} | 72 | install -d ${D}/opt/${BPN} |
73 | install ${S}/test/all.tcl ${S}/test/ippool.test \ | 73 | install ${S}/test/all.tcl ${S}/test/ippool.test \ |
74 | ${S}/test/test_procs.tcl ${D}/opt/${BPN} | 74 | ${S}/test/test_procs.tcl ${D}/opt/${BPN} |
75 | install ${WORKDIR}/runtest.sh ${D}/opt/${BPN} | 75 | install ${UNPACKDIR}/runtest.sh ${D}/opt/${BPN} |
76 | # fix the ../ippoolconfig in test_procs.tcl | 76 | # fix the ../ippoolconfig in test_procs.tcl |
77 | sed -i -e "s:../ippoolconfig:ippoolconfig:" \ | 77 | sed -i -e "s:../ippoolconfig:ippoolconfig:" \ |
78 | ${D}/opt/${BPN}/test_procs.tcl | 78 | ${D}/opt/${BPN}/test_procs.tcl |
diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.8.bb b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.8.bb index 2caddbb54a..0f9f34f1f2 100644 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.8.bb +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.8.bb | |||
@@ -78,7 +78,7 @@ do_install () { | |||
78 | cp -dR ${S}/libopeniscsiusr/libopeniscsiusr.so* ${D}${libdir} | 78 | cp -dR ${S}/libopeniscsiusr/libopeniscsiusr.so* ${D}${libdir} |
79 | install -p -m 644 ${S}/doc/iscsiadm.8 ${S}/doc/iscsid.8 ${D}/${mandir}/man8 | 79 | install -p -m 644 ${S}/doc/iscsiadm.8 ${S}/doc/iscsid.8 ${D}/${mandir}/man8 |
80 | install -p -m 644 ${S}/etc/iscsid.conf ${D}${sysconfdir}/iscsi | 80 | install -p -m 644 ${S}/etc/iscsid.conf ${D}${sysconfdir}/iscsi |
81 | install -p -m 755 ${WORKDIR}/initd.debian ${D}${sysconfdir}/init.d/iscsid | 81 | install -p -m 755 ${UNPACKDIR}/initd.debian ${D}${sysconfdir}/init.d/iscsid |
82 | 82 | ||
83 | sed -i -e "s:= /sbin/iscsid:= ${sbindir}/iscsid:" ${D}${sysconfdir}/iscsi/iscsid.conf | 83 | sed -i -e "s:= /sbin/iscsid:= ${sbindir}/iscsid:" ${D}${sysconfdir}/iscsi/iscsid.conf |
84 | 84 | ||
@@ -87,17 +87,17 @@ do_install () { | |||
87 | echo "d /run/${BPN}/lock - - - -" \ | 87 | echo "d /run/${BPN}/lock - - - -" \ |
88 | > ${D}${sysconfdir}/tmpfiles.d/iscsi.conf | 88 | > ${D}${sysconfdir}/tmpfiles.d/iscsi.conf |
89 | install -d ${D}/etc/default/ | 89 | install -d ${D}/etc/default/ |
90 | install -p -m 755 ${WORKDIR}/iscsi-initiator ${D}${sysconfdir}/default/ | 90 | install -p -m 755 ${UNPACKDIR}/iscsi-initiator ${D}${sysconfdir}/default/ |
91 | 91 | ||
92 | install -d ${D}${systemd_unitdir}/system/ | 92 | install -d ${D}${systemd_unitdir}/system/ |
93 | install -m 0644 ${WORKDIR}/iscsi-initiator.service \ | 93 | install -m 0644 ${UNPACKDIR}/iscsi-initiator.service \ |
94 | ${WORKDIR}/iscsi-initiator-targets.service \ | 94 | ${UNPACKDIR}/iscsi-initiator-targets.service \ |
95 | ${D}${systemd_unitdir}/system/ | 95 | ${D}${systemd_unitdir}/system/ |
96 | install -d ${D}${nonarch_libdir}/iscsi | 96 | install -d ${D}${nonarch_libdir}/iscsi |
97 | install -m 0755 ${WORKDIR}/set_initiatorname ${D}${nonarch_libdir}/iscsi | 97 | install -m 0755 ${UNPACKDIR}/set_initiatorname ${D}${nonarch_libdir}/iscsi |
98 | else | 98 | else |
99 | install -d ${D}/etc/default/volatiles | 99 | install -d ${D}/etc/default/volatiles |
100 | install -m 0644 ${WORKDIR}/99_iscsi-initiator-utils ${D}/etc/default/volatiles | 100 | install -m 0644 ${UNPACKDIR}/99_iscsi-initiator-utils ${D}/etc/default/volatiles |
101 | fi | 101 | fi |
102 | } | 102 | } |
103 | 103 | ||
diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.18.bb b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.18.bb index 370465e141..4deab153c4 100644 --- a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.18.bb +++ b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.18.bb | |||
@@ -48,8 +48,8 @@ INITSCRIPT_PARAMS = "defaults" | |||
48 | SYSTEMD_SERVICE:${PN} = "lldpd.service" | 48 | SYSTEMD_SERVICE:${PN} = "lldpd.service" |
49 | 49 | ||
50 | do_install:append() { | 50 | do_install:append() { |
51 | install -Dm 0755 ${WORKDIR}/lldpd.init.d ${D}${sysconfdir}/init.d/lldpd | 51 | install -Dm 0755 ${UNPACKDIR}/lldpd.init.d ${D}${sysconfdir}/init.d/lldpd |
52 | install -Dm 0644 ${WORKDIR}/lldpd.default ${D}${sysconfdir}/default/lldpd | 52 | install -Dm 0644 ${UNPACKDIR}/lldpd.default ${D}${sysconfdir}/default/lldpd |
53 | # Make an empty configuration file | 53 | # Make an empty configuration file |
54 | touch ${D}${sysconfdir}/lldpd.conf | 54 | touch ${D}${sysconfdir}/lldpd.conf |
55 | } | 55 | } |
diff --git a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb index 32c4783cf7..ac13d7a196 100644 --- a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb +++ b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | |||
@@ -75,10 +75,10 @@ do_install:append () { | |||
75 | install -m 0600 ${S}/openhpi.conf.example ${D}${sysconfdir}/${BPN}/openhpi.conf | 75 | install -m 0600 ${S}/openhpi.conf.example ${D}${sysconfdir}/${BPN}/openhpi.conf |
76 | install -m 0644 ${S}/simulation.data.example ${D}${sysconfdir}/${BPN}/simulation.data | 76 | install -m 0644 ${S}/simulation.data.example ${D}${sysconfdir}/${BPN}/simulation.data |
77 | install -m 0644 ${S}/test_agent.data.example ${D}${sysconfdir}/${BPN}/test_agent.data | 77 | install -m 0644 ${S}/test_agent.data.example ${D}${sysconfdir}/${BPN}/test_agent.data |
78 | install -m 0755 ${WORKDIR}/openhpi.init ${D}${sysconfdir}/init.d/openhpid | 78 | install -m 0755 ${UNPACKDIR}/openhpi.init ${D}${sysconfdir}/init.d/openhpid |
79 | 79 | ||
80 | install -d ${D}${systemd_unitdir}/system | 80 | install -d ${D}${systemd_unitdir}/system |
81 | install -m 0644 ${WORKDIR}/openhpid.service ${D}${systemd_unitdir}/system | 81 | install -m 0644 ${UNPACKDIR}/openhpid.service ${D}${systemd_unitdir}/system |
82 | sed -i -e "s,@SBINDIR@,${sbindir},g" -e "s,@SYSCONFDIR@,${sysconfdir},g" \ | 82 | sed -i -e "s,@SBINDIR@,${sbindir},g" -e "s,@SYSCONFDIR@,${sysconfdir},g" \ |
83 | ${D}${systemd_unitdir}/system/openhpid.service | 83 | ${D}${systemd_unitdir}/system/openhpid.service |
84 | } | 84 | } |
diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb b/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb index 3ec7f22ad3..d48e9145f8 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb | |||
@@ -136,21 +136,21 @@ do_install () { | |||
136 | mv ${D}${sysconfdir}/postfix/main.cf ${D}${sysconfdir}/postfix/${MLPREFIX}sample-main.cf | 136 | mv ${D}${sysconfdir}/postfix/main.cf ${D}${sysconfdir}/postfix/${MLPREFIX}sample-main.cf |
137 | install -m 755 ${S}/bin/smtp-sink ${D}/${sbindir}/ | 137 | install -m 755 ${S}/bin/smtp-sink ${D}/${sbindir}/ |
138 | install -d ${D}${sysconfdir}/init.d | 138 | install -d ${D}${sysconfdir}/init.d |
139 | install -m 644 ${WORKDIR}/main.cf ${D}${sysconfdir}/postfix/main.cf | 139 | install -m 644 ${UNPACKDIR}/main.cf ${D}${sysconfdir}/postfix/main.cf |
140 | sed -i 's#@LIBEXECDIR@#${libexecdir}#' ${D}${sysconfdir}/postfix/main.cf | 140 | sed -i 's#@LIBEXECDIR@#${libexecdir}#' ${D}${sysconfdir}/postfix/main.cf |
141 | 141 | ||
142 | install -m 755 ${WORKDIR}/check_hostname.sh ${D}${sbindir}/ | 142 | install -m 755 ${UNPACKDIR}/check_hostname.sh ${D}${sbindir}/ |
143 | 143 | ||
144 | install -m 755 ${WORKDIR}/postfix ${D}${sysconfdir}/init.d/postfix | 144 | install -m 755 ${UNPACKDIR}/postfix ${D}${sysconfdir}/init.d/postfix |
145 | install -m 644 ${WORKDIR}/internal_recipient ${D}${sysconfdir}/postfix/internal_recipient | 145 | install -m 644 ${UNPACKDIR}/internal_recipient ${D}${sysconfdir}/postfix/internal_recipient |
146 | 146 | ||
147 | install -d ${D}${systemd_unitdir}/system | 147 | install -d ${D}${systemd_unitdir}/system |
148 | install -m 0644 ${WORKDIR}/postfix.service ${D}${systemd_unitdir}/system | 148 | install -m 0644 ${UNPACKDIR}/postfix.service ${D}${systemd_unitdir}/system |
149 | sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}${systemd_unitdir}/system/postfix.service | 149 | sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}${systemd_unitdir}/system/postfix.service |
150 | sed -i -e 's#@LOCALSTATEDIR@#${localstatedir}#g' ${D}${systemd_unitdir}/system/postfix.service | 150 | sed -i -e 's#@LOCALSTATEDIR@#${localstatedir}#g' ${D}${systemd_unitdir}/system/postfix.service |
151 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/postfix.service | 151 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/postfix.service |
152 | 152 | ||
153 | install -m 0755 ${WORKDIR}/aliasesdb ${D}${libexecdir}/postfix | 153 | install -m 0755 ${UNPACKDIR}/aliasesdb ${D}${libexecdir}/postfix |
154 | 154 | ||
155 | install -m 770 -d ${D}${localstatedir}/spool/postfix | 155 | install -m 770 -d ${D}${localstatedir}/spool/postfix |
156 | chown postfix:postfix ${D}${localstatedir}/spool/postfix | 156 | chown postfix:postfix ${D}${localstatedir}/spool/postfix |
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb index ecd2777247..aa8d5fabd6 100644 --- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb +++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb | |||
@@ -82,14 +82,14 @@ do_install () { | |||
82 | sed -i '/ *User[ \t]*/s/ftp/${FTPUSER}/' ${D}${sysconfdir}/proftpd.conf | 82 | sed -i '/ *User[ \t]*/s/ftp/${FTPUSER}/' ${D}${sysconfdir}/proftpd.conf |
83 | sed -i '/ *Group[ \t]*/s/ftp/${FTPGROUP}/' ${D}${sysconfdir}/proftpd.conf | 83 | sed -i '/ *Group[ \t]*/s/ftp/${FTPGROUP}/' ${D}${sysconfdir}/proftpd.conf |
84 | install -d ${D}${sysconfdir}/init.d | 84 | install -d ${D}${sysconfdir}/init.d |
85 | install -m 0755 ${WORKDIR}/proftpd-basic.init ${D}${sysconfdir}/init.d/proftpd | 85 | install -m 0755 ${UNPACKDIR}/proftpd-basic.init ${D}${sysconfdir}/init.d/proftpd |
86 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/proftpd | 86 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/proftpd |
87 | sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/proftpd | 87 | sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/proftpd |
88 | sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/proftpd | 88 | sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/proftpd |
89 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${sysconfdir}/init.d/proftpd | 89 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${sysconfdir}/init.d/proftpd |
90 | 90 | ||
91 | install -d ${D}${sysconfdir}/default | 91 | install -d ${D}${sysconfdir}/default |
92 | install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/proftpd | 92 | install -m 0755 ${UNPACKDIR}/default ${D}${sysconfdir}/default/proftpd |
93 | 93 | ||
94 | # create the pub directory | 94 | # create the pub directory |
95 | mkdir -p ${D}/home/${FTPUSER}/pub/ | 95 | mkdir -p ${D}/home/${FTPUSER}/pub/ |
@@ -105,7 +105,7 @@ do_install () { | |||
105 | fi | 105 | fi |
106 | 106 | ||
107 | install -d ${D}/${systemd_unitdir}/system | 107 | install -d ${D}/${systemd_unitdir}/system |
108 | install -m 644 ${WORKDIR}/proftpd.service ${D}/${systemd_unitdir}/system | 108 | install -m 644 ${UNPACKDIR}/proftpd.service ${D}/${systemd_unitdir}/system |
109 | sed -e 's,@BASE_SBINDIR@,${base_sbindir},g' \ | 109 | sed -e 's,@BASE_SBINDIR@,${base_sbindir},g' \ |
110 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | 110 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
111 | -e 's,@SBINDIR@,${sbindir},g' \ | 111 | -e 's,@SBINDIR@,${sbindir},g' \ |
diff --git a/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb b/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb index d1eb6e28fc..f2c300855c 100644 --- a/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb +++ b/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb | |||
@@ -47,13 +47,13 @@ do_install() { | |||
47 | 47 | ||
48 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 48 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
49 | install -d ${D}${systemd_unitdir}/system | 49 | install -d ${D}${systemd_unitdir}/system |
50 | install -m 0644 ${WORKDIR}/ptpd.service ${D}${systemd_unitdir}/system | 50 | install -m 0644 ${UNPACKDIR}/ptpd.service ${D}${systemd_unitdir}/system |
51 | 51 | ||
52 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/ptpd.service | 52 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/ptpd.service |
53 | sed -i -e 's#@BINDIR@#${bindir}#g' ${D}${systemd_unitdir}/system/ptpd.service | 53 | sed -i -e 's#@BINDIR@#${bindir}#g' ${D}${systemd_unitdir}/system/ptpd.service |
54 | 54 | ||
55 | install -d ${D}${sysconfdir}/default/ | 55 | install -d ${D}${sysconfdir}/default/ |
56 | install -m 0644 ${WORKDIR}/ptpd.conf ${D}${sysconfdir}/default/ptpd | 56 | install -m 0644 ${UNPACKDIR}/ptpd.conf ${D}${sysconfdir}/default/ptpd |
57 | fi | 57 | fi |
58 | } | 58 | } |
59 | 59 | ||
diff --git a/meta-networking/recipes-daemons/radvd/radvd_2.19.bb b/meta-networking/recipes-daemons/radvd/radvd_2.19.bb index a9b5f79424..a8a116cbe5 100644 --- a/meta-networking/recipes-daemons/radvd/radvd_2.19.bb +++ b/meta-networking/recipes-daemons/radvd/radvd_2.19.bb | |||
@@ -34,30 +34,30 @@ do_install:append () { | |||
34 | ${D}${sysconfdir}/default/volatiles \ | 34 | ${D}${sysconfdir}/default/volatiles \ |
35 | ${D}${docdir}/radvd | 35 | ${D}${docdir}/radvd |
36 | # Install init script and volatiles | 36 | # Install init script and volatiles |
37 | install -m 0755 ${WORKDIR}/radvd.init ${D}${sysconfdir}/init.d/radvd | 37 | install -m 0755 ${UNPACKDIR}/radvd.init ${D}${sysconfdir}/init.d/radvd |
38 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/radvd | 38 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/radvd |
39 | sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/radvd | 39 | sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/radvd |
40 | sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/radvd | 40 | sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/radvd |
41 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${sysconfdir}/init.d/radvd | 41 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${sysconfdir}/init.d/radvd |
42 | 42 | ||
43 | install -m 0644 ${WORKDIR}/volatiles.03_radvd ${D}${sysconfdir}/default/volatiles/03_radvd | 43 | install -m 0644 ${UNPACKDIR}/volatiles.03_radvd ${D}${sysconfdir}/default/volatiles/03_radvd |
44 | 44 | ||
45 | # Install systemd service files | 45 | # Install systemd service files |
46 | install -d ${D}${systemd_unitdir}/system | 46 | install -d ${D}${systemd_unitdir}/system |
47 | install -m 0644 ${WORKDIR}/radvd.service ${D}${systemd_unitdir}/system | 47 | install -m 0644 ${UNPACKDIR}/radvd.service ${D}${systemd_unitdir}/system |
48 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' \ | 48 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' \ |
49 | -e 's#@SBINDIR@#${sbindir}#g' \ | 49 | -e 's#@SBINDIR@#${sbindir}#g' \ |
50 | -e 's#@BASE_BINDIR@#${base_bindir}#g' ${D}${systemd_unitdir}/system/radvd.service | 50 | -e 's#@BASE_BINDIR@#${base_bindir}#g' ${D}${systemd_unitdir}/system/radvd.service |
51 | 51 | ||
52 | # Install default environment file | 52 | # Install default environment file |
53 | install -m 0644 ${WORKDIR}/radvd.default ${D}${sysconfdir}/default/radvd | 53 | install -m 0644 ${UNPACKDIR}/radvd.default ${D}${sysconfdir}/default/radvd |
54 | 54 | ||
55 | # Documentation | 55 | # Documentation |
56 | for i in radvd.conf.example README; do \ | 56 | for i in radvd.conf.example README; do \ |
57 | install -m 0644 ${S}/$i ${D}${docdir}/radvd; \ | 57 | install -m 0644 ${S}/$i ${D}${docdir}/radvd; \ |
58 | done | 58 | done |
59 | 59 | ||
60 | install -m 0644 ${WORKDIR}/radvd.conf ${D}${sysconfdir}/radvd.conf | 60 | install -m 0644 ${UNPACKDIR}/radvd.conf ${D}${sysconfdir}/radvd.conf |
61 | } | 61 | } |
62 | 62 | ||
63 | USERADD_PACKAGES = "${PN}" | 63 | USERADD_PACKAGES = "${PN}" |
diff --git a/meta-networking/recipes-daemons/squid/squid_6.9.bb b/meta-networking/recipes-daemons/squid/squid_6.9.bb index 33d286e122..f670a776eb 100644 --- a/meta-networking/recipes-daemons/squid/squid_6.9.bb +++ b/meta-networking/recipes-daemons/squid/squid_6.9.bb | |||
@@ -122,7 +122,7 @@ do_install:append() { | |||
122 | fi | 122 | fi |
123 | 123 | ||
124 | install -d ${D}${sysconfdir}/default/volatiles | 124 | install -d ${D}${sysconfdir}/default/volatiles |
125 | install -m 0644 ${WORKDIR}/volatiles.03_squid ${D}${sysconfdir}/default/volatiles/03_squid | 125 | install -m 0644 ${UNPACKDIR}/volatiles.03_squid ${D}${sysconfdir}/default/volatiles/03_squid |
126 | 126 | ||
127 | rmdir "${D}${localstatedir}/run/${BPN}" | 127 | rmdir "${D}${localstatedir}/run/${BPN}" |
128 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}/run" | 128 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}/run" |
@@ -132,7 +132,7 @@ do_install:append() { | |||
132 | 132 | ||
133 | # Install NetworkManager dispatcher reload hooks | 133 | # Install NetworkManager dispatcher reload hooks |
134 | install -d ${D}${libdir}/NetworkManager/dispatcher.d | 134 | install -d ${D}${libdir}/NetworkManager/dispatcher.d |
135 | install -m 0755 ${WORKDIR}/squid.nm ${D}${libdir}/NetworkManager/dispatcher.d/20-squid | 135 | install -m 0755 ${UNPACKDIR}/squid.nm ${D}${libdir}/NetworkManager/dispatcher.d/20-squid |
136 | } | 136 | } |
137 | 137 | ||
138 | SYSTEMD_AUTO_ENABLE = "disable" | 138 | SYSTEMD_AUTO_ENABLE = "disable" |
diff --git a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb index 565f493ce2..b5a2b9dae0 100644 --- a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb +++ b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb | |||
@@ -58,18 +58,18 @@ do_install() { | |||
58 | 58 | ||
59 | install -m 755 -d ${D}${localstatedir}/lib/tftpboot/ | 59 | install -m 755 -d ${D}${localstatedir}/lib/tftpboot/ |
60 | install -d ${D}${sysconfdir}/init.d | 60 | install -d ${D}${sysconfdir}/init.d |
61 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/tftpd-hpa | 61 | install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/tftpd-hpa |
62 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/tftpd-hpa | 62 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/tftpd-hpa |
63 | sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/tftpd-hpa | 63 | sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/tftpd-hpa |
64 | sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/tftpd-hpa | 64 | sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/tftpd-hpa |
65 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${sysconfdir}/init.d/tftpd-hpa | 65 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${sysconfdir}/init.d/tftpd-hpa |
66 | 66 | ||
67 | install -d ${D}${sysconfdir}/default | 67 | install -d ${D}${sysconfdir}/default |
68 | install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/tftpd-hpa | 68 | install -m 0644 ${UNPACKDIR}/default ${D}${sysconfdir}/default/tftpd-hpa |
69 | 69 | ||
70 | install -d ${D}${systemd_unitdir}/system | 70 | install -d ${D}${systemd_unitdir}/system |
71 | install -m 0644 ${WORKDIR}/tftpd-hpa.socket ${D}${systemd_unitdir}/system | 71 | install -m 0644 ${UNPACKDIR}/tftpd-hpa.socket ${D}${systemd_unitdir}/system |
72 | install -m 0644 ${WORKDIR}/tftpd-hpa.service ${D}${systemd_unitdir}/system | 72 | install -m 0644 ${UNPACKDIR}/tftpd-hpa.service ${D}${systemd_unitdir}/system |
73 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/tftpd-hpa.service | 73 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/tftpd-hpa.service |
74 | } | 74 | } |
75 | 75 | ||
diff --git a/meta-networking/recipes-daemons/vblade/vblade_25.bb b/meta-networking/recipes-daemons/vblade/vblade_25.bb index 7c37fc1676..7f20e927c6 100644 --- a/meta-networking/recipes-daemons/vblade/vblade_25.bb +++ b/meta-networking/recipes-daemons/vblade/vblade_25.bb | |||
@@ -27,22 +27,22 @@ do_install() { | |||
27 | install -D -m 0755 ${S}/vbladed ${D}/${sbindir}/vbladed | 27 | install -D -m 0755 ${S}/vbladed ${D}/${sbindir}/vbladed |
28 | install -D -m 0644 ${S}/vblade.8 ${D}/${mandir}/man8/vblade.8 | 28 | install -D -m 0644 ${S}/vblade.8 ${D}/${mandir}/man8/vblade.8 |
29 | 29 | ||
30 | install -D -m 0644 ${WORKDIR}/${BPN}.conf ${D}/${sysconfdir}/${BPN}.conf | 30 | install -D -m 0644 ${UNPACKDIR}/${BPN}.conf ${D}/${sysconfdir}/${BPN}.conf |
31 | install -D -m 0755 ${WORKDIR}/${BPN}.init ${D}/${sysconfdir}/init.d/${BPN} | 31 | install -D -m 0755 ${UNPACKDIR}/${BPN}.init ${D}/${sysconfdir}/init.d/${BPN} |
32 | 32 | ||
33 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 33 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
34 | install -d ${D}/${sysconfdir}/default/volatiles | 34 | install -d ${D}/${sysconfdir}/default/volatiles |
35 | install -m 0755 ${WORKDIR}/volatiles.99_vblade ${D}/${sysconfdir}/default/volatiles/99_vblade | 35 | install -m 0755 ${UNPACKDIR}/volatiles.99_vblade ${D}/${sysconfdir}/default/volatiles/99_vblade |
36 | fi | 36 | fi |
37 | 37 | ||
38 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 38 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
39 | install -d ${D}/${bindir} | 39 | install -d ${D}/${bindir} |
40 | install -m 0755 ${WORKDIR}/${BPN}.init ${D}/${bindir}/ | 40 | install -m 0755 ${UNPACKDIR}/${BPN}.init ${D}/${bindir}/ |
41 | install -d ${D}${sysconfdir}/tmpfiles.d | 41 | install -d ${D}${sysconfdir}/tmpfiles.d |
42 | echo "d /var/run/${BPN} 0755 root root -" > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | 42 | echo "d /var/run/${BPN} 0755 root root -" > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf |
43 | 43 | ||
44 | install -d ${D}${systemd_system_unitdir} | 44 | install -d ${D}${systemd_system_unitdir} |
45 | install -m 0644 ${WORKDIR}/vblade.service ${D}${systemd_system_unitdir} | 45 | install -m 0644 ${UNPACKDIR}/vblade.service ${D}${systemd_system_unitdir} |
46 | sed -e 's,@BINDIR@,${bindir},g' -i ${D}${systemd_system_unitdir}/*.service | 46 | sed -e 's,@BINDIR@,${bindir},g' -i ${D}${systemd_system_unitdir}/*.service |
47 | fi | 47 | fi |
48 | 48 | ||
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.5.bb b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.5.bb index 0ae52c8ddc..4a843bd800 100644 --- a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.5.bb +++ b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.5.bb | |||
@@ -65,14 +65,14 @@ do_install() { | |||
65 | install -d ${D}${mandir}/man5 | 65 | install -d ${D}${mandir}/man5 |
66 | oe_runmake 'DESTDIR=${D}' install | 66 | oe_runmake 'DESTDIR=${D}' install |
67 | install -d ${D}${sysconfdir} | 67 | install -d ${D}${sysconfdir} |
68 | install -m 600 ${WORKDIR}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf | 68 | install -m 600 ${UNPACKDIR}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf |
69 | install -d ${D}${sysconfdir}/init.d/ | 69 | install -d ${D}${sysconfdir}/init.d/ |
70 | install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/vsftpd | 70 | install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/vsftpd |
71 | install -d ${D}/${sysconfdir}/default/volatiles | 71 | install -d ${D}/${sysconfdir}/default/volatiles |
72 | install -m 644 ${WORKDIR}/volatiles.99_vsftpd ${D}/${sysconfdir}/default/volatiles/99_vsftpd | 72 | install -m 644 ${UNPACKDIR}/volatiles.99_vsftpd ${D}/${sysconfdir}/default/volatiles/99_vsftpd |
73 | 73 | ||
74 | install -m 600 ${WORKDIR}/vsftpd.ftpusers ${D}${sysconfdir}/ | 74 | install -m 600 ${UNPACKDIR}/vsftpd.ftpusers ${D}${sysconfdir}/ |
75 | install -m 600 ${WORKDIR}/vsftpd.user_list ${D}${sysconfdir}/ | 75 | install -m 600 ${UNPACKDIR}/vsftpd.user_list ${D}${sysconfdir}/ |
76 | if ! test -z "${PAMLIB}" ; then | 76 | if ! test -z "${PAMLIB}" ; then |
77 | install -d ${D}${sysconfdir}/pam.d/ | 77 | install -d ${D}${sysconfdir}/pam.d/ |
78 | cp ${S}/RedHat/vsftpd.pam ${D}${sysconfdir}/pam.d/vsftpd | 78 | cp ${S}/RedHat/vsftpd.pam ${D}${sysconfdir}/pam.d/vsftpd |
@@ -87,7 +87,7 @@ do_install() { | |||
87 | 87 | ||
88 | # Install systemd unit files | 88 | # Install systemd unit files |
89 | install -d ${D}${systemd_unitdir}/system | 89 | install -d ${D}${systemd_unitdir}/system |
90 | install -m 0644 ${WORKDIR}/vsftpd.service ${D}${systemd_unitdir}/system | 90 | install -m 0644 ${UNPACKDIR}/vsftpd.service ${D}${systemd_unitdir}/system |
91 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/vsftpd.service | 91 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/vsftpd.service |
92 | } | 92 | } |
93 | 93 | ||
diff --git a/meta-networking/recipes-devtools/libcoap/libcoap_4.3.4.bb b/meta-networking/recipes-devtools/libcoap/libcoap_4.3.4.bb index 98f0f02fb8..2f5d192a77 100644 --- a/meta-networking/recipes-devtools/libcoap/libcoap_4.3.4.bb +++ b/meta-networking/recipes-devtools/libcoap/libcoap_4.3.4.bb | |||
@@ -51,7 +51,7 @@ do_compile:prepend() { | |||
51 | 51 | ||
52 | do_install_ptest () { | 52 | do_install_ptest () { |
53 | install -d ${D}${PTEST_PATH} | 53 | install -d ${D}${PTEST_PATH} |
54 | install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest | 54 | install -m 0755 ${UNPACKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest |
55 | install -m 0755 ${B}/tests/testdriver ${D}${PTEST_PATH}/testdriver | 55 | install -m 0755 ${B}/tests/testdriver ${D}${PTEST_PATH}/testdriver |
56 | } | 56 | } |
57 | 57 | ||
diff --git a/meta-networking/recipes-extended/corosync/corosync_3.1.6.bb b/meta-networking/recipes-extended/corosync/corosync_3.1.6.bb index 8fca576614..cbbbbc70cd 100644 --- a/meta-networking/recipes-extended/corosync/corosync_3.1.6.bb +++ b/meta-networking/recipes-extended/corosync/corosync_3.1.6.bb | |||
@@ -40,7 +40,7 @@ EXTRA_OEMAKE = "tmpfilesdir_DATA=" | |||
40 | #} | 40 | #} |
41 | 41 | ||
42 | do_install:append() { | 42 | do_install:append() { |
43 | install -D -m 0644 ${WORKDIR}/corosync.conf ${D}${sysconfdir}/corosync/corosync.conf.example | 43 | install -D -m 0644 ${UNPACKDIR}/corosync.conf ${D}${sysconfdir}/corosync/corosync.conf.example |
44 | install -d ${D}${sysconfdir}/sysconfig/ | 44 | install -d ${D}${sysconfdir}/sysconfig/ |
45 | install -m 0644 ${S}/init/corosync.sysconfig.example ${D}${sysconfdir}/sysconfig/corosync | 45 | install -m 0644 ${S}/init/corosync.sysconfig.example ${D}${sysconfdir}/sysconfig/corosync |
46 | install -m 0644 ${S}/tools/corosync-notifyd.sysconfig.example ${D}${sysconfdir}/sysconfig/corosync-notifyd | 46 | install -m 0644 ${S}/tools/corosync-notifyd.sysconfig.example ${D}${sysconfdir}/sysconfig/corosync-notifyd |
diff --git a/meta-networking/recipes-extended/tgt/tgt_1.0.90.bb b/meta-networking/recipes-extended/tgt/tgt_1.0.90.bb index 35995f7876..e816b79e87 100644 --- a/meta-networking/recipes-extended/tgt/tgt_1.0.90.bb +++ b/meta-networking/recipes-extended/tgt/tgt_1.0.90.bb | |||
@@ -39,12 +39,12 @@ do_install() { | |||
39 | 39 | ||
40 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 40 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
41 | install -d ${D}${sysconfdir}/init.d | 41 | install -d ${D}${sysconfdir}/init.d |
42 | install -m 0755 ${WORKDIR}/tgtd.init ${D}${sysconfdir}/init.d/tgtd | 42 | install -m 0755 ${UNPACKDIR}/tgtd.init ${D}${sysconfdir}/init.d/tgtd |
43 | elif ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 43 | elif ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
44 | install -d ${D}${systemd_unitdir}/system | 44 | install -d ${D}${systemd_unitdir}/system |
45 | install -m 0644 ${WORKDIR}/tgtd.service ${D}${systemd_unitdir}/system/tgtd.service | 45 | install -m 0644 ${UNPACKDIR}/tgtd.service ${D}${systemd_unitdir}/system/tgtd.service |
46 | install -d ${D}${sysconfdir}/sysconfig | 46 | install -d ${D}${sysconfdir}/sysconfig |
47 | install -m 0644 ${WORKDIR}/tgtd ${D}${sysconfdir}/sysconfig/tgtd | 47 | install -m 0644 ${UNPACKDIR}/tgtd ${D}${sysconfdir}/sysconfig/tgtd |
48 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/tgtd.service | 48 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/tgtd.service |
49 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' ${D}${systemd_unitdir}/system/tgtd.service | 49 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' ${D}${systemd_unitdir}/system/tgtd.service |
50 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/tgtd.service | 50 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/tgtd.service |
diff --git a/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.8.bb b/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.8.bb index 07e01845d7..524718d56c 100644 --- a/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.8.bb +++ b/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.8.bb | |||
@@ -34,8 +34,8 @@ do_install:append() { | |||
34 | install -d ${D}/${sysconfdir}/conntrackd | 34 | install -d ${D}/${sysconfdir}/conntrackd |
35 | install -d ${D}/${sysconfdir}/init.d | 35 | install -d ${D}/${sysconfdir}/init.d |
36 | install -m 0644 ${S}/doc/sync/ftfw/conntrackd.conf ${D}/${sysconfdir}/conntrackd/conntrackd.conf.sample | 36 | install -m 0644 ${S}/doc/sync/ftfw/conntrackd.conf ${D}/${sysconfdir}/conntrackd/conntrackd.conf.sample |
37 | install -m 0755 ${WORKDIR}/conntrack-failover ${D}/${sysconfdir}/init.d/conntrack-failover | 37 | install -m 0755 ${UNPACKDIR}/conntrack-failover ${D}/${sysconfdir}/init.d/conntrack-failover |
38 | install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/conntrackd | 38 | install -m 0755 ${UNPACKDIR}/init ${D}/${sysconfdir}/init.d/conntrackd |
39 | 39 | ||
40 | # Fix hardcoded paths in scripts | 40 | # Fix hardcoded paths in scripts |
41 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}/${sysconfdir}/init.d/conntrack-failover ${D}/${sysconfdir}/init.d/conntrackd | 41 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}/${sysconfdir}/init.d/conntrack-failover ${D}/${sysconfdir}/init.d/conntrackd |
@@ -45,7 +45,7 @@ do_install:append() { | |||
45 | 45 | ||
46 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 46 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
47 | install -d ${D}/${systemd_system_unitdir} | 47 | install -d ${D}/${systemd_system_unitdir} |
48 | install -m 644 ${WORKDIR}/conntrackd.service ${D}/${systemd_system_unitdir} | 48 | install -m 644 ${UNPACKDIR}/conntrackd.service ${D}/${systemd_system_unitdir} |
49 | fi | 49 | fi |
50 | } | 50 | } |
51 | 51 | ||
diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb index d522b514f6..8918936e14 100644 --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb | |||
@@ -29,14 +29,14 @@ do_install:append () { | |||
29 | # Replace upstream ebtables-save perl script with Fedora bash based rewrite | 29 | # Replace upstream ebtables-save perl script with Fedora bash based rewrite |
30 | # http://pkgs.fedoraproject.org/cgit/rpms/ebtables.git/tree/ebtables-save | 30 | # http://pkgs.fedoraproject.org/cgit/rpms/ebtables.git/tree/ebtables-save |
31 | rm -f ${D}${sbindir}/ebtables-legacy-save | 31 | rm -f ${D}${sbindir}/ebtables-legacy-save |
32 | install -m 0755 ${WORKDIR}/ebtables-legacy-save ${D}${sbindir}/ebtables-legacy-save | 32 | install -m 0755 ${UNPACKDIR}/ebtables-legacy-save ${D}${sbindir}/ebtables-legacy-save |
33 | 33 | ||
34 | # Install systemd service files | 34 | # Install systemd service files |
35 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 35 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
36 | install -d ${D}${systemd_unitdir}/system | 36 | install -d ${D}${systemd_unitdir}/system |
37 | install -m 0644 ${WORKDIR}/ebtables.service ${D}${systemd_unitdir}/system | 37 | install -m 0644 ${UNPACKDIR}/ebtables.service ${D}${systemd_unitdir}/system |
38 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/ebtables.service | 38 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/ebtables.service |
39 | install -m 0755 ${WORKDIR}/ebtables.common ${D}${sbindir}/ebtables.common | 39 | install -m 0755 ${UNPACKDIR}/ebtables.common ${D}${sbindir}/ebtables.common |
40 | fi | 40 | fi |
41 | 41 | ||
42 | install -d ${D}${base_sbindir} | 42 | install -d ${D}${base_sbindir} |
diff --git a/meta-networking/recipes-filter/ulogd2/ulogd2_2.0.8.bb b/meta-networking/recipes-filter/ulogd2/ulogd2_2.0.8.bb index d075ec4788..635fa6a408 100644 --- a/meta-networking/recipes-filter/ulogd2/ulogd2_2.0.8.bb +++ b/meta-networking/recipes-filter/ulogd2/ulogd2_2.0.8.bb | |||
@@ -42,11 +42,11 @@ do_install:append () { | |||
42 | install -m 0644 ${S}/ulogd.8 ${D}${mandir}/man8/ulogd.8 | 42 | install -m 0644 ${S}/ulogd.8 ${D}${mandir}/man8/ulogd.8 |
43 | 43 | ||
44 | install -d ${D}${systemd_system_unitdir} | 44 | install -d ${D}${systemd_system_unitdir} |
45 | install -m 0644 ${WORKDIR}/ulogd.service ${D}${systemd_system_unitdir} | 45 | install -m 0644 ${UNPACKDIR}/ulogd.service ${D}${systemd_system_unitdir} |
46 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/ulogd.service | 46 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/ulogd.service |
47 | 47 | ||
48 | install -d ${D}${sysconfdir}/init.d | 48 | install -d ${D}${sysconfdir}/init.d |
49 | install -m 755 ${WORKDIR}/ulogd.init ${D}${sysconfdir}/init.d/ulogd | 49 | install -m 755 ${UNPACKDIR}/ulogd.init ${D}${sysconfdir}/init.d/ulogd |
50 | } | 50 | } |
51 | 51 | ||
52 | PACKAGES += "${PN}-plugins" | 52 | PACKAGES += "${PN}-plugins" |
diff --git a/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb b/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb index b3282d273b..c7c329a5d4 100644 --- a/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb +++ b/meta-networking/recipes-protocols/freediameter/freediameter_1.5.0.bb | |||
@@ -78,18 +78,18 @@ do_install:append() { | |||
78 | mv ${D}${sysconfdir}/${fd_pkgname}/freediameter.conf.sample \ | 78 | mv ${D}${sysconfdir}/${fd_pkgname}/freediameter.conf.sample \ |
79 | ${D}${sysconfdir}/${fd_pkgname}/freeDiameter.conf.sample | 79 | ${D}${sysconfdir}/${fd_pkgname}/freeDiameter.conf.sample |
80 | install -d ${D}${sysconfdir}/freeDiameter | 80 | install -d ${D}${sysconfdir}/freeDiameter |
81 | install ${WORKDIR}/freeDiameter.conf ${D}${sysconfdir}/${fd_pkgname}/freeDiameter.conf | 81 | install ${UNPACKDIR}/freeDiameter.conf ${D}${sysconfdir}/${fd_pkgname}/freeDiameter.conf |
82 | 82 | ||
83 | # install daemon init related files | 83 | # install daemon init related files |
84 | install -d -m 0755 ${D}${sysconfdir}/default | 84 | install -d -m 0755 ${D}${sysconfdir}/default |
85 | install -d -m 0755 ${D}${sysconfdir}/init.d | 85 | install -d -m 0755 ${D}${sysconfdir}/init.d |
86 | install -m 0644 ${S}/contrib/debian/freediameter-daemon.default \ | 86 | install -m 0644 ${S}/contrib/debian/freediameter-daemon.default \ |
87 | ${D}${sysconfdir}/default/${BPN} | 87 | ${D}${sysconfdir}/default/${BPN} |
88 | install -m 0755 ${WORKDIR}/freediameter.init ${D}${sysconfdir}/init.d/${BPN} | 88 | install -m 0755 ${UNPACKDIR}/freediameter.init ${D}${sysconfdir}/init.d/${BPN} |
89 | 89 | ||
90 | # install for systemd | 90 | # install for systemd |
91 | install -d ${D}${systemd_system_unitdir} | 91 | install -d ${D}${systemd_system_unitdir} |
92 | install -m 0644 ${WORKDIR}/freediameter.service ${D}${systemd_system_unitdir} | 92 | install -m 0644 ${UNPACKDIR}/freediameter.service ${D}${systemd_system_unitdir} |
93 | sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/*.service | 93 | sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/*.service |
94 | 94 | ||
95 | cat >> ${D}${sysconfdir}/freeDiameter/freeDiameter.conf <<EOF | 95 | cat >> ${D}${sysconfdir}/freeDiameter/freeDiameter.conf <<EOF |
@@ -108,14 +108,14 @@ EOF | |||
108 | openssl req -x509 -config ${STAGING_DIR_NATIVE}/etc/ssl/openssl.cnf -newkey rsa:4096 -sha256 -nodes -out ${D}${sysconfdir}/freeDiameter/${FD_PEM} -keyout ${D}${sysconfdir}/freeDiameter/${FD_KEY} -days 3650 -subj '/CN=${FD_HOSTNAME}.${FD_REALM}' | 108 | openssl req -x509 -config ${STAGING_DIR_NATIVE}/etc/ssl/openssl.cnf -newkey rsa:4096 -sha256 -nodes -out ${D}${sysconfdir}/freeDiameter/${FD_PEM} -keyout ${D}${sysconfdir}/freeDiameter/${FD_KEY} -days 3650 -subj '/CN=${FD_HOSTNAME}.${FD_REALM}' |
109 | openssl dhparam -out ${D}${sysconfdir}/freeDiameter/${FD_DH_PEM} 1024 | 109 | openssl dhparam -out ${D}${sysconfdir}/freeDiameter/${FD_DH_PEM} 1024 |
110 | 110 | ||
111 | find ${B} \( -name "*.c" -o -name "*.h" \) -exec sed -i -e 's#${WORKDIR}##g' {} \; | 111 | find ${B} \( -name "*.c" -o -name "*.h" \) -exec sed -i -e 's#${UNPACKDIR}##g' {} \; |
112 | } | 112 | } |
113 | 113 | ||
114 | do_install_ptest() { | 114 | do_install_ptest() { |
115 | mv ${D}${PTEST_PATH}-tests/* ${D}${PTEST_PATH}/ | 115 | mv ${D}${PTEST_PATH}-tests/* ${D}${PTEST_PATH}/ |
116 | rmdir ${D}${PTEST_PATH}-tests | 116 | rmdir ${D}${PTEST_PATH}-tests |
117 | install -m 0644 ${B}/tests/CTestTestfile.cmake ${D}${PTEST_PATH}/ | 117 | install -m 0644 ${B}/tests/CTestTestfile.cmake ${D}${PTEST_PATH}/ |
118 | sed -i -e 's#${WORKDIR}##g' ${D}${PTEST_PATH}/CTestTestfile.cmake | 118 | sed -i -e 's#${UNPACKDIR}##g' ${D}${PTEST_PATH}/CTestTestfile.cmake |
119 | sed -i "/^set_tests_properties/d" ${D}${PTEST_PATH}/CTestTestfile.cmake | 119 | sed -i "/^set_tests_properties/d" ${D}${PTEST_PATH}/CTestTestfile.cmake |
120 | } | 120 | } |
121 | 121 | ||
diff --git a/meta-networking/recipes-protocols/frr/frr_9.1.bb b/meta-networking/recipes-protocols/frr/frr_9.1.bb index eea6d62f5f..b1c9153bec 100644 --- a/meta-networking/recipes-protocols/frr/frr_9.1.bb +++ b/meta-networking/recipes-protocols/frr/frr_9.1.bb | |||
@@ -104,7 +104,7 @@ do_install:append:class-target () { | |||
104 | 104 | ||
105 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then | 105 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then |
106 | install -d ${D}/${sysconfdir}/pam.d | 106 | install -d ${D}/${sysconfdir}/pam.d |
107 | install -m 644 ${WORKDIR}/frr.pam ${D}/${sysconfdir}/pam.d/frr | 107 | install -m 644 ${UNPACKDIR}/frr.pam ${D}/${sysconfdir}/pam.d/frr |
108 | fi | 108 | fi |
109 | 109 | ||
110 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 110 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
diff --git a/meta-networking/recipes-protocols/mdns/mdns_2200.100.94.0.2.bb b/meta-networking/recipes-protocols/mdns/mdns_2200.100.94.0.2.bb index 183f05ebc3..ff7b0447bb 100644 --- a/meta-networking/recipes-protocols/mdns/mdns_2200.100.94.0.2.bb +++ b/meta-networking/recipes-protocols/mdns/mdns_2200.100.94.0.2.bb | |||
@@ -104,7 +104,7 @@ do_install () { | |||
104 | install -m 0644 libnss_mdns.8 ${D}${mandir}/man8 | 104 | install -m 0644 libnss_mdns.8 ${D}${mandir}/man8 |
105 | 105 | ||
106 | install -d ${D}${systemd_system_unitdir} | 106 | install -d ${D}${systemd_system_unitdir} |
107 | install -m 0644 ${WORKDIR}/mdns.service ${D}${systemd_system_unitdir} | 107 | install -m 0644 ${UNPACKDIR}/mdns.service ${D}${systemd_system_unitdir} |
108 | 108 | ||
109 | install -d ${D}${INIT_D_DIR} | 109 | install -d ${D}${INIT_D_DIR} |
110 | install mdnsd.sh ${D}${INIT_D_DIR}/mdns | 110 | install mdnsd.sh ${D}${INIT_D_DIR}/mdns |
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb index 395b02df00..75b3d9e8c6 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | |||
@@ -116,12 +116,12 @@ do_configure:append() { | |||
116 | do_install:append() { | 116 | do_install:append() { |
117 | install -d ${D}${sysconfdir}/snmp | 117 | install -d ${D}${sysconfdir}/snmp |
118 | install -d ${D}${sysconfdir}/init.d | 118 | install -d ${D}${sysconfdir}/init.d |
119 | install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/snmpd | 119 | install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/snmpd |
120 | install -m 644 ${WORKDIR}/snmpd.conf ${D}${sysconfdir}/snmp/ | 120 | install -m 644 ${UNPACKDIR}/snmpd.conf ${D}${sysconfdir}/snmp/ |
121 | install -m 644 ${WORKDIR}/snmptrapd.conf ${D}${sysconfdir}/snmp/ | 121 | install -m 644 ${UNPACKDIR}/snmptrapd.conf ${D}${sysconfdir}/snmp/ |
122 | install -d ${D}${systemd_unitdir}/system | 122 | install -d ${D}${systemd_unitdir}/system |
123 | install -m 0644 ${WORKDIR}/snmpd.service ${D}${systemd_unitdir}/system | 123 | install -m 0644 ${UNPACKDIR}/snmpd.service ${D}${systemd_unitdir}/system |
124 | install -m 0644 ${WORKDIR}/snmptrapd.service ${D}${systemd_unitdir}/system | 124 | install -m 0644 ${UNPACKDIR}/snmptrapd.service ${D}${systemd_unitdir}/system |
125 | sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ | 125 | sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ |
126 | -i ${D}${bindir}/net-snmp-create-v3-user | 126 | -i ${D}${bindir}/net-snmp-create-v3-user |
127 | sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \ | 127 | sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \ |
diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb index 183c0066df..f64c7340d1 100644 --- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | |||
@@ -74,7 +74,7 @@ do_install:append () { | |||
74 | install -m 0755 ${S}/etc/sysconfig/openl2tpd ${D}${sysconfdir}/default/openl2tpd | 74 | install -m 0755 ${S}/etc/sysconfig/openl2tpd ${D}${sysconfdir}/default/openl2tpd |
75 | 75 | ||
76 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 76 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
77 | install -D -m 0644 ${WORKDIR}/openl2tpd.service ${D}${systemd_system_unitdir}/openl2tpd.service | 77 | install -D -m 0644 ${UNPACKDIR}/openl2tpd.service ${D}${systemd_system_unitdir}/openl2tpd.service |
78 | sed -i -e 's,@STATEDIR@,${localstatedir},g' \ | 78 | sed -i -e 's,@STATEDIR@,${localstatedir},g' \ |
79 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | 79 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
80 | -e 's,@SBINDIR@,${sbindir},g' \ | 80 | -e 's,@SBINDIR@,${sbindir},g' \ |
diff --git a/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.10.0.bb b/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.10.0.bb index 0d26c338b9..cabe18ef8a 100644 --- a/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.10.0.bb +++ b/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.10.0.bb | |||
@@ -26,7 +26,7 @@ do_install() { | |||
26 | install -d ${D}${sbindir} ${D}${sysconfdir}/ppp ${D}${mandir}/man8 | 26 | install -d ${D}${sbindir} ${D}${sysconfdir}/ppp ${D}${mandir}/man8 |
27 | install -m 555 pptp ${D}${sbindir} | 27 | install -m 555 pptp ${D}${sbindir} |
28 | install -m 644 pptp.8 ${D}${mandir}/man8 | 28 | install -m 644 pptp.8 ${D}${mandir}/man8 |
29 | install -m 644 ${WORKDIR}/options.pptp ${D}${sysconfdir}/ppp | 29 | install -m 644 ${UNPACKDIR}/options.pptp ${D}${sysconfdir}/ppp |
30 | } | 30 | } |
31 | 31 | ||
32 | RDEPENDS:${PN} = "ppp" | 32 | RDEPENDS:${PN} = "ppp" |
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.15.bb b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.15.bb index 4dfdb8fc21..c8e1767114 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.15.bb +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.15.bb | |||
@@ -29,7 +29,7 @@ CFLAGS += "-D_GNU_SOURCE" | |||
29 | 29 | ||
30 | do_install:append() { | 30 | do_install:append() { |
31 | install -d ${D}${systemd_unitdir}/system | 31 | install -d ${D}${systemd_unitdir}/system |
32 | install -m 0644 ${WORKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system | 32 | install -m 0644 ${UNPACKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system |
33 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/pppoe-server.service | 33 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/pppoe-server.service |
34 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/pppoe-server.service | 34 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/pppoe-server.service |
35 | install -d ${D}${datadir}/doc/${PN} | 35 | install -d ${D}${datadir}/doc/${PN} |
@@ -41,8 +41,8 @@ do_install:append() { | |||
41 | do_install() { | 41 | do_install() { |
42 | # Install init script and default settings | 42 | # Install init script and default settings |
43 | install -m 0755 -d ${D}${sysconfdir}/default ${D}${sysconfdir}/init.d | 43 | install -m 0755 -d ${D}${sysconfdir}/default ${D}${sysconfdir}/init.d |
44 | install -m 0644 ${WORKDIR}/pppoe-server.default ${D}${sysconfdir}/default/pppoe-server | 44 | install -m 0644 ${UNPACKDIR}/pppoe-server.default ${D}${sysconfdir}/default/pppoe-server |
45 | install -m 0755 ${WORKDIR}/pppoe-server.init ${D}${sysconfdir}/init.d/pppoe-server | 45 | install -m 0755 ${UNPACKDIR}/pppoe-server.init ${D}${sysconfdir}/init.d/pppoe-server |
46 | # Install | 46 | # Install |
47 | oe_runmake -C ${S} DESTDIR=${D} docdir=${docdir} install | 47 | oe_runmake -C ${S} DESTDIR=${D} docdir=${docdir} install |
48 | chmod 4755 ${D}${sbindir}/pppoe | 48 | chmod 4755 ${D}${sbindir}/pppoe |
diff --git a/meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb b/meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb index 61f6b79dd7..cb26699212 100644 --- a/meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb +++ b/meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb | |||
@@ -32,6 +32,6 @@ do_install () { | |||
32 | install -d ${D}${sysconfdir}/network/if-up.d | 32 | install -d ${D}${sysconfdir}/network/if-up.d |
33 | install -d ${D}${sysconfdir}/default | 33 | install -d ${D}${sysconfdir}/default |
34 | install -c -m 755 ${S}/zeroconf ${D}${sbindir}/zeroconf | 34 | install -c -m 755 ${S}/zeroconf ${D}${sbindir}/zeroconf |
35 | install -c -m 755 ${WORKDIR}/debian-zeroconf ${D}${sysconfdir}/network/if-up.d/zeroconf | 35 | install -c -m 755 ${UNPACKDIR}/debian-zeroconf ${D}${sysconfdir}/network/if-up.d/zeroconf |
36 | install -c ${WORKDIR}/zeroconf-default ${D}${sysconfdir}/default/zeroconf | 36 | install -c ${UNPACKDIR}/zeroconf-default ${D}${sysconfdir}/default/zeroconf |
37 | } | 37 | } |
diff --git a/meta-networking/recipes-support/arptables/arptables_git.bb b/meta-networking/recipes-support/arptables/arptables_git.bb index 949794bf30..f9dd66f605 100644 --- a/meta-networking/recipes-support/arptables/arptables_git.bb +++ b/meta-networking/recipes-support/arptables/arptables_git.bb | |||
@@ -25,7 +25,7 @@ do_install() { | |||
25 | oe_runmake install DESTDIR=${D} | 25 | oe_runmake install DESTDIR=${D} |
26 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 26 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
27 | install -d ${D}${systemd_unitdir}/system | 27 | install -d ${D}${systemd_unitdir}/system |
28 | install -m 644 ${WORKDIR}/arptables.service ${D}${systemd_unitdir}/system | 28 | install -m 644 ${UNPACKDIR}/arptables.service ${D}${systemd_unitdir}/system |
29 | fi | 29 | fi |
30 | } | 30 | } |
31 | 31 | ||
diff --git a/meta-networking/recipes-support/chrony/chrony_4.5.bb b/meta-networking/recipes-support/chrony/chrony_4.5.bb index ed26e59879..0681a34393 100644 --- a/meta-networking/recipes-support/chrony/chrony_4.5.bb +++ b/meta-networking/recipes-support/chrony/chrony_4.5.bb | |||
@@ -90,7 +90,7 @@ do_install() { | |||
90 | 90 | ||
91 | # Config file | 91 | # Config file |
92 | install -d ${D}${sysconfdir} | 92 | install -d ${D}${sysconfdir} |
93 | install -m 644 ${WORKDIR}/chrony.conf ${D}${sysconfdir} | 93 | install -m 644 ${UNPACKDIR}/chrony.conf ${D}${sysconfdir} |
94 | if ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'true', 'false', d)}; then | 94 | if ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'true', 'false', d)}; then |
95 | echo "# Define user to drop to after dropping root privileges" >> ${D}${sysconfdir}/chrony.conf | 95 | echo "# Define user to drop to after dropping root privileges" >> ${D}${sysconfdir}/chrony.conf |
96 | echo "user chronyd" >> ${D}${sysconfdir}/chrony.conf | 96 | echo "user chronyd" >> ${D}${sysconfdir}/chrony.conf |
@@ -98,7 +98,7 @@ do_install() { | |||
98 | 98 | ||
99 | # System V init script | 99 | # System V init script |
100 | install -d ${D}${sysconfdir}/init.d | 100 | install -d ${D}${sysconfdir}/init.d |
101 | install -m 755 ${WORKDIR}/chronyd ${D}${sysconfdir}/init.d | 101 | install -m 755 ${UNPACKDIR}/chronyd ${D}${sysconfdir}/init.d |
102 | 102 | ||
103 | # systemd unit configuration file | 103 | # systemd unit configuration file |
104 | install -d ${D}${systemd_unitdir}/system | 104 | install -d ${D}${systemd_unitdir}/system |
diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb index 62daf3279d..86f6a0df5d 100644 --- a/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb +++ b/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb | |||
@@ -9,7 +9,7 @@ SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2400/cim_schema_$ | |||
9 | " | 9 | " |
10 | SRC_URI[md5sum] = "3d01940bc1085c6c42184c25fb61f739" | 10 | SRC_URI[md5sum] = "3d01940bc1085c6c42184c25fb61f739" |
11 | SRC_URI[sha256sum] = "3174cf0f8657b19d80dc59e184778d8e553da424728cb2966fe9d5428dd84267" | 11 | SRC_URI[sha256sum] = "3174cf0f8657b19d80dc59e184778d8e553da424728cb2966fe9d5428dd84267" |
12 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4" | 12 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4" |
13 | 13 | ||
14 | do_install() { | 14 | do_install() { |
15 | install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}-docs | 15 | install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}-docs |
diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.50.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.50.0.bb index 7d51bc1c91..45eee8f1b6 100644 --- a/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.50.0.bb +++ b/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.50.0.bb | |||
@@ -9,12 +9,12 @@ SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2500/cim_schema_$ | |||
9 | " | 9 | " |
10 | SRC_URI[md5sum] = "ee4ad6441a2b65ca60a3abc53e3ec629" | 10 | SRC_URI[md5sum] = "ee4ad6441a2b65ca60a3abc53e3ec629" |
11 | SRC_URI[sha256sum] = "a44d67881325e267ef46b72eabe0c69f90470b1033b1ce7c26d9ba99072adb50" | 11 | SRC_URI[sha256sum] = "a44d67881325e267ef46b72eabe0c69f90470b1033b1ce7c26d9ba99072adb50" |
12 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4" | 12 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4" |
13 | 13 | ||
14 | do_install() { | 14 | do_install() { |
15 | install -d -m 0755 ${D}${datadir}/mof/cimv${PV}/ | 15 | install -d -m 0755 ${D}${datadir}/mof/cimv${PV}/ |
16 | install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV} | 16 | install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV} |
17 | install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV} | 17 | install -m 644 ${UNPACKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV} |
18 | 18 | ||
19 | cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/mof/cimv${PV}/ | 19 | cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/mof/cimv${PV}/ |
20 | chown -R root:root ${D}${datadir}/mof/cimv${PV} | 20 | chown -R root:root ${D}${datadir}/mof/cimv${PV} |
diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb index 32bd8acbb9..d046622df5 100644 --- a/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb +++ b/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb | |||
@@ -9,12 +9,12 @@ SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2400/cim_schema_$ | |||
9 | " | 9 | " |
10 | SRC_URI[md5sum] = "a9bdf17c7374e3b5b7adeaac4842c4ad" | 10 | SRC_URI[md5sum] = "a9bdf17c7374e3b5b7adeaac4842c4ad" |
11 | SRC_URI[sha256sum] = "dbfa3064ea427acd71a4bebbc172ca2dc44b0b09a6d83b0945b9ffa988a9058a" | 11 | SRC_URI[sha256sum] = "dbfa3064ea427acd71a4bebbc172ca2dc44b0b09a6d83b0945b9ffa988a9058a" |
12 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4" | 12 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4" |
13 | 13 | ||
14 | do_install() { | 14 | do_install() { |
15 | install -d -m 0755 ${D}${datadir}/mof/cimv${PV}/ | 15 | install -d -m 0755 ${D}${datadir}/mof/cimv${PV}/ |
16 | install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV} | 16 | install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV} |
17 | install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV} | 17 | install -m 644 ${UNPACKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV} |
18 | 18 | ||
19 | cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/mof/cimv${PV}/ | 19 | cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/mof/cimv${PV}/ |
20 | chown -R root:root ${D}${datadir}/mof/cimv${PV}/ | 20 | chown -R root:root ${D}${datadir}/mof/cimv${PV}/ |
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.90.bb b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.90.bb index 38fa271dc3..be74759d5e 100644 --- a/meta-networking/recipes-support/dnsmasq/dnsmasq_2.90.bb +++ b/meta-networking/recipes-support/dnsmasq/dnsmasq_2.90.bb | |||
@@ -81,20 +81,20 @@ do_install () { | |||
81 | "MANDIR=${D}${mandir}" \ | 81 | "MANDIR=${D}${mandir}" \ |
82 | install-i18n | 82 | install-i18n |
83 | install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d ${D}${sysconfdir}/dnsmasq.d | 83 | install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d ${D}${sysconfdir}/dnsmasq.d |
84 | install -m 644 ${WORKDIR}/dnsmasq.conf ${D}${sysconfdir}/ | 84 | install -m 644 ${UNPACKDIR}/dnsmasq.conf ${D}${sysconfdir}/ |
85 | install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq | 85 | install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq |
86 | 86 | ||
87 | install -d ${D}${systemd_unitdir}/system | 87 | install -d ${D}${systemd_unitdir}/system |
88 | 88 | ||
89 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'resolvconf', d)}" ]; then | 89 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'resolvconf', d)}" ]; then |
90 | install -m 0644 ${WORKDIR}/dnsmasq-resolvconf.service ${D}${systemd_unitdir}/system/dnsmasq.service | 90 | install -m 0644 ${UNPACKDIR}/dnsmasq-resolvconf.service ${D}${systemd_unitdir}/system/dnsmasq.service |
91 | else | 91 | else |
92 | install -m 0644 ${WORKDIR}/dnsmasq-noresolvconf.service ${D}${systemd_unitdir}/system/dnsmasq.service | 92 | install -m 0644 ${UNPACKDIR}/dnsmasq-noresolvconf.service ${D}${systemd_unitdir}/system/dnsmasq.service |
93 | fi | 93 | fi |
94 | 94 | ||
95 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then | 95 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then |
96 | install -d ${D}${sysconfdir}/systemd/resolved.conf.d/ | 96 | install -d ${D}${sysconfdir}/systemd/resolved.conf.d/ |
97 | install -m 0644 ${WORKDIR}/dnsmasq-resolved.conf ${D}${sysconfdir}/systemd/resolved.conf.d/ | 97 | install -m 0644 ${UNPACKDIR}/dnsmasq-resolved.conf ${D}${sysconfdir}/systemd/resolved.conf.d/ |
98 | fi | 98 | fi |
99 | 99 | ||
100 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'dhcp', d)}" ]; then | 100 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'dhcp', d)}" ]; then |
@@ -113,11 +113,11 @@ do_install () { | |||
113 | 113 | ||
114 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'resolvconf', d)}" ]; then | 114 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'resolvconf', d)}" ]; then |
115 | install -d ${D}${sysconfdir}/resolvconf/update.d/ | 115 | install -d ${D}${sysconfdir}/resolvconf/update.d/ |
116 | install -m 0755 ${WORKDIR}/dnsmasq.resolvconf ${D}${sysconfdir}/resolvconf/update.d/dnsmasq | 116 | install -m 0755 ${UNPACKDIR}/dnsmasq.resolvconf ${D}${sysconfdir}/resolvconf/update.d/dnsmasq |
117 | 117 | ||
118 | install -d ${D}${sysconfdir}/default/volatiles | 118 | install -d ${D}${sysconfdir}/default/volatiles |
119 | install -m 0644 ${WORKDIR}/99_dnsmasq ${D}${sysconfdir}/default/volatiles | 119 | install -m 0644 ${UNPACKDIR}/99_dnsmasq ${D}${sysconfdir}/default/volatiles |
120 | install -m 0755 ${WORKDIR}/dnsmasq-resolvconf-helper ${D}${bindir} | 120 | install -m 0755 ${UNPACKDIR}/dnsmasq-resolvconf-helper ${D}${bindir} |
121 | fi | 121 | fi |
122 | } | 122 | } |
123 | 123 | ||
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb b/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb index 17fbd789b6..2f887e6018 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb | |||
@@ -52,7 +52,7 @@ do_install:append () { | |||
52 | install -d 755 ${D}/etc/dovecot | 52 | install -d 755 ${D}/etc/dovecot |
53 | touch 644 ${D}/etc/dovecot/dovecot.conf | 53 | touch 644 ${D}/etc/dovecot/dovecot.conf |
54 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then | 54 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then |
55 | install -m 0644 ${WORKDIR}/dovecot.service ${D}${systemd_unitdir}/system | 55 | install -m 0644 ${UNPACKDIR}/dovecot.service ${D}${systemd_unitdir}/system |
56 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service | 56 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service |
57 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/dovecot.service | 57 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/dovecot.service |
58 | fi | 58 | fi |
diff --git a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb index 429cd69d6d..b247823cd4 100644 --- a/meta-networking/recipes-support/geoip/geoip_1.6.12.bb +++ b/meta-networking/recipes-support/geoip/geoip_1.6.12.bb | |||
@@ -46,10 +46,10 @@ EXTRA_OECONF = "--disable-static \ | |||
46 | do_install() { | 46 | do_install() { |
47 | make DESTDIR=${D} install | 47 | make DESTDIR=${D} install |
48 | install -d ${D}/${datadir}/GeoIP | 48 | install -d ${D}/${datadir}/GeoIP |
49 | install ${WORKDIR}/GeoIP.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoIP.dat | 49 | install ${UNPACKDIR}/GeoIP.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoIP.dat |
50 | install ${WORKDIR}/GeoIPv6.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoIPv6.dat | 50 | install ${UNPACKDIR}/GeoIPv6.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoIPv6.dat |
51 | install ${WORKDIR}/GeoLiteCity.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoLiteCity.dat | 51 | install ${UNPACKDIR}/GeoLiteCity.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoLiteCity.dat |
52 | install ${WORKDIR}/GeoLiteCityv6.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoLiteCityv6.dat | 52 | install ${UNPACKDIR}/GeoLiteCityv6.dat.${GEOIP_DATABASE_VERSION} ${D}/${datadir}/GeoIP/GeoLiteCityv6.dat |
53 | ln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat | 53 | ln -s GeoLiteCity.dat ${D}${datadir}/GeoIP/GeoIPCity.dat |
54 | } | 54 | } |
55 | 55 | ||
diff --git a/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb b/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb index 9a0292eacc..e4dc9dee47 100644 --- a/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb +++ b/meta-networking/recipes-support/geoip/geoipupdate_2.5.0.bb | |||
@@ -28,6 +28,6 @@ inherit autotools | |||
28 | do_install:append() { | 28 | do_install:append() { |
29 | install -d ${D}/${sysconfdir} | 29 | install -d ${D}/${sysconfdir} |
30 | install -d ${D}/${sysconfdir}/cron.d | 30 | install -d ${D}/${sysconfdir}/cron.d |
31 | install ${WORKDIR}/GeoIP.conf ${D}/${sysconfdir}/ | 31 | install ${UNPACKDIR}/GeoIP.conf ${D}/${sysconfdir}/ |
32 | install ${WORKDIR}/geoipupdate.cron ${D}/${sysconfdir}/cron.d/ | 32 | install ${UNPACKDIR}/geoipupdate.cron ${D}/${sysconfdir}/cron.d/ |
33 | } | 33 | } |
diff --git a/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.19.bb b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.19.bb index 3f945eeeee..0243f2a1db 100644 --- a/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.19.bb +++ b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.19.bb | |||
@@ -27,8 +27,8 @@ BBCLASSEXTEND = "native" | |||
27 | inherit autotools-brokensep pkgconfig binconfig ptest | 27 | inherit autotools-brokensep pkgconfig binconfig ptest |
28 | 28 | ||
29 | do_install_ptest () { | 29 | do_install_ptest () { |
30 | install -m 0755 ${WORKDIR}/v4test.sh ${D}${PTEST_PATH} | 30 | install -m 0755 ${UNPACKDIR}/v4test.sh ${D}${PTEST_PATH} |
31 | install -m 0755 ${WORKDIR}/v6test.sh ${D}${PTEST_PATH} | 31 | install -m 0755 ${UNPACKDIR}/v6test.sh ${D}${PTEST_PATH} |
32 | for testcase in `find ${B}/src/apps/.libs ${B}/src/func_tests/.libs -maxdepth 1 -type f -executable`; do | 32 | for testcase in `find ${B}/src/apps/.libs ${B}/src/func_tests/.libs -maxdepth 1 -type f -executable`; do |
33 | install $testcase ${D}${PTEST_PATH} | 33 | install $testcase ${D}${PTEST_PATH} |
34 | done | 34 | done |
diff --git a/meta-networking/recipes-support/netperf/netperf_git.bb b/meta-networking/recipes-support/netperf/netperf_git.bb index 6e459eeeb4..579a04b86f 100644 --- a/meta-networking/recipes-support/netperf/netperf_git.bb +++ b/meta-networking/recipes-support/netperf/netperf_git.bb | |||
@@ -42,14 +42,14 @@ do_configure:prepend() { | |||
42 | } | 42 | } |
43 | 43 | ||
44 | do_install() { | 44 | do_install() { |
45 | sed -e 's#/usr/sbin/#${sbindir}/#g' -i ${WORKDIR}/init | 45 | sed -e 's#/usr/sbin/#${sbindir}/#g' -i ${UNPACKDIR}/init |
46 | install -d ${D}${sbindir} ${D}${bindir} ${D}${sysconfdir}/init.d ${D}${systemd_system_unitdir} | 46 | install -d ${D}${sbindir} ${D}${bindir} ${D}${sysconfdir}/init.d ${D}${systemd_system_unitdir} |
47 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 47 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
48 | sed -e 's#/usr/sbin/#${sbindir}/#g' ${WORKDIR}/netserver.service > ${D}${systemd_system_unitdir}/netserver.service | 48 | sed -e 's#/usr/sbin/#${sbindir}/#g' ${UNPACKDIR}/netserver.service > ${D}${systemd_system_unitdir}/netserver.service |
49 | fi | 49 | fi |
50 | install -m 4755 src/netperf ${D}${bindir} | 50 | install -m 4755 src/netperf ${D}${bindir} |
51 | install -m 4755 src/netserver ${D}${sbindir} | 51 | install -m 4755 src/netserver ${D}${sbindir} |
52 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/netperf | 52 | install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/netperf |
53 | 53 | ||
54 | # man | 54 | # man |
55 | install -d ${D}${mandir}/man1/ | 55 | install -d ${D}${mandir}/man1/ |
diff --git a/meta-networking/recipes-support/nis/yp-tools_2.14.bb b/meta-networking/recipes-support/nis/yp-tools_2.14.bb index 8b7ed6fa28..0e147826f0 100644 --- a/meta-networking/recipes-support/nis/yp-tools_2.14.bb +++ b/meta-networking/recipes-support/nis/yp-tools_2.14.bb | |||
@@ -30,5 +30,5 @@ CACHED_CONFIGUREVARS += "ac_cv_prog_STRIP=/bin/true" | |||
30 | 30 | ||
31 | do_install:append() { | 31 | do_install:append() { |
32 | install -d ${D}${systemd_unitdir}/system | 32 | install -d ${D}${systemd_unitdir}/system |
33 | install -m 0644 ${WORKDIR}/domainname.service ${D}${systemd_unitdir}/system | 33 | install -m 0644 ${UNPACKDIR}/domainname.service ${D}${systemd_unitdir}/system |
34 | } | 34 | } |
diff --git a/meta-networking/recipes-support/nis/yp-tools_4.2.3.bb b/meta-networking/recipes-support/nis/yp-tools_4.2.3.bb index d2535487b4..9b2c186873 100644 --- a/meta-networking/recipes-support/nis/yp-tools_4.2.3.bb +++ b/meta-networking/recipes-support/nis/yp-tools_4.2.3.bb | |||
@@ -43,5 +43,5 @@ FILES:${PN}-staticdev += " ${libdir}/yp-nis/*.a" | |||
43 | 43 | ||
44 | do_install:append() { | 44 | do_install:append() { |
45 | install -d ${D}${systemd_unitdir}/system | 45 | install -d ${D}${systemd_unitdir}/system |
46 | install -m 0644 ${WORKDIR}/domainname.service ${D}${systemd_unitdir}/system | 46 | install -m 0644 ${UNPACKDIR}/domainname.service ${D}${systemd_unitdir}/system |
47 | } | 47 | } |
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_2.7.2.bb b/meta-networking/recipes-support/nis/ypbind-mt_2.7.2.bb index a95062bc8b..e29730a23f 100644 --- a/meta-networking/recipes-support/nis/ypbind-mt_2.7.2.bb +++ b/meta-networking/recipes-support/nis/ypbind-mt_2.7.2.bb | |||
@@ -49,10 +49,10 @@ do_install:append () { | |||
49 | install -d ${D}${sysconfdir}/init.d | 49 | install -d ${D}${sysconfdir}/init.d |
50 | install -d ${D}${sysconfdir}/rcS.d | 50 | install -d ${D}${sysconfdir}/rcS.d |
51 | 51 | ||
52 | install -m 0755 ${WORKDIR}/ypbind.init ${D}${sysconfdir}/init.d/ypbind | 52 | install -m 0755 ${UNPACKDIR}/ypbind.init ${D}${sysconfdir}/init.d/ypbind |
53 | 53 | ||
54 | install -d ${D}${systemd_unitdir}/system | 54 | install -d ${D}${systemd_unitdir}/system |
55 | install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system | 55 | install -m 0644 ${UNPACKDIR}/ypbind.service ${D}${systemd_unitdir}/system |
56 | } | 56 | } |
57 | 57 | ||
58 | # uses glibc internal APIs e.g. _hostalias | 58 | # uses glibc internal APIs e.g. _hostalias |
diff --git a/meta-networking/recipes-support/ntopng/ntopng_5.2.1.bb b/meta-networking/recipes-support/ntopng/ntopng_5.2.1.bb index 110ca36866..a9ace9b412 100644 --- a/meta-networking/recipes-support/ntopng/ntopng_5.2.1.bb +++ b/meta-networking/recipes-support/ntopng/ntopng_5.2.1.bb | |||
@@ -34,7 +34,7 @@ inherit autotools-brokensep gettext pkgconfig systemd | |||
34 | 34 | ||
35 | do_install:append() { | 35 | do_install:append() { |
36 | install -d ${D}${systemd_unitdir}/system/ | 36 | install -d ${D}${systemd_unitdir}/system/ |
37 | install -m 0644 ${WORKDIR}/ntopng.service ${D}${systemd_unitdir}/system | 37 | install -m 0644 ${UNPACKDIR}/ntopng.service ${D}${systemd_unitdir}/system |
38 | } | 38 | } |
39 | 39 | ||
40 | FILES:${PN} += "\ | 40 | FILES:${PN} += "\ |
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p17.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p17.bb index 4ed58cd6a4..5fa8db9eeb 100644 --- a/meta-networking/recipes-support/ntp/ntp_4.2.8p17.bb +++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p17.bb | |||
@@ -90,8 +90,8 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | |||
90 | 90 | ||
91 | do_install:append() { | 91 | do_install:append() { |
92 | install -d ${D}${sysconfdir}/init.d | 92 | install -d ${D}${sysconfdir}/init.d |
93 | install -m 644 ${WORKDIR}/ntp.conf ${D}${sysconfdir} | 93 | install -m 644 ${UNPACKDIR}/ntp.conf ${D}${sysconfdir} |
94 | install -m 755 ${WORKDIR}/ntpd ${D}${sysconfdir}/init.d | 94 | install -m 755 ${UNPACKDIR}/ntpd ${D}${sysconfdir}/init.d |
95 | 95 | ||
96 | install -m 755 -d ${D}${NTP_USER_HOME} | 96 | install -m 755 -d ${D}${NTP_USER_HOME} |
97 | chown ntp:ntp ${D}${NTP_USER_HOME} | 97 | chown ntp:ntp ${D}${NTP_USER_HOME} |
@@ -109,14 +109,14 @@ do_install:append() { | |||
109 | sed -i '/use/i use warnings;' ${D}${sbindir}/calc_tickadj | 109 | sed -i '/use/i use warnings;' ${D}${sbindir}/calc_tickadj |
110 | 110 | ||
111 | install -d ${D}/${sysconfdir}/default | 111 | install -d ${D}/${sysconfdir}/default |
112 | install -m 0644 ${WORKDIR}/sntp ${D}${sysconfdir}/default/ | 112 | install -m 0644 ${UNPACKDIR}/sntp ${D}${sysconfdir}/default/ |
113 | 113 | ||
114 | install -d ${D}${systemd_unitdir}/system | 114 | install -d ${D}${systemd_unitdir}/system |
115 | install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ | 115 | install -m 0644 ${UNPACKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ |
116 | install -m 0644 ${WORKDIR}/sntp.service ${D}${systemd_unitdir}/system/ | 116 | install -m 0644 ${UNPACKDIR}/sntp.service ${D}${systemd_unitdir}/system/ |
117 | 117 | ||
118 | install -d ${D}${systemd_unitdir}/ntp-units.d | 118 | install -d ${D}${systemd_unitdir}/ntp-units.d |
119 | install -m 0644 ${WORKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list | 119 | install -m 0644 ${UNPACKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list |
120 | 120 | ||
121 | # Remove the empty libexecdir and bindir. | 121 | # Remove the empty libexecdir and bindir. |
122 | rmdir --ignore-fail-on-non-empty ${D}${libexecdir} | 122 | rmdir --ignore-fail-on-non-empty ${D}${libexecdir} |
diff --git a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb index 9ad97e7689..872d1ce4f7 100644 --- a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb +++ b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.2a.bb | |||
@@ -81,7 +81,7 @@ do_install:append() { | |||
81 | install -m 755 ${S}/etc/rc/ntpd ${D}${sysconfdir}/init.d | 81 | install -m 755 ${S}/etc/rc/ntpd ${D}${sysconfdir}/init.d |
82 | cp -r ${S}/etc/ntp.d ${D}${sysconfdir} | 82 | cp -r ${S}/etc/ntp.d ${D}${sysconfdir} |
83 | 83 | ||
84 | sed -e 's:@NTP_USER_HOME@:${NTP_USER_HOME}:g' ${WORKDIR}/volatiles.ntpsec >${T}/volatiles.ntpsec | 84 | sed -e 's:@NTP_USER_HOME@:${NTP_USER_HOME}:g' ${UNPACKDIR}/volatiles.ntpsec >${T}/volatiles.ntpsec |
85 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 85 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
86 | cp ${B}/main/etc/* ${D}${systemd_system_unitdir} | 86 | cp ${B}/main/etc/* ${D}${systemd_system_unitdir} |
87 | awk '{print $1, $5, $4, $2, $3, "-"}' ${T}/volatiles.ntpsec >${T}/tmpfiles.ntpsec | 87 | awk '{print $1, $5, $4, $2, $3, "-"}' ${T}/volatiles.ntpsec >${T}/tmpfiles.ntpsec |
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.3.5.bb b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.3.5.bb index 82aab051f1..7e3fe5601f 100644 --- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.3.5.bb +++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_12.3.5.bb | |||
@@ -97,12 +97,12 @@ do_install:append() { | |||
97 | install -d ${D}${sysconfdir}/vmware-tools | 97 | install -d ${D}${sysconfdir}/vmware-tools |
98 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 98 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
99 | install -d ${D}${systemd_unitdir}/system | 99 | install -d ${D}${systemd_unitdir}/system |
100 | install -m 644 ${WORKDIR}/*.service ${D}${systemd_unitdir}/system | 100 | install -m 644 ${UNPACKDIR}/*.service ${D}${systemd_unitdir}/system |
101 | else | 101 | else |
102 | install -d ${D}${sysconfdir}/init.d | 102 | install -d ${D}${sysconfdir}/init.d |
103 | install -m 0755 ${WORKDIR}/vmtoolsd.init ${D}${sysconfdir}/init.d/vmtoolsd | 103 | install -m 0755 ${UNPACKDIR}/vmtoolsd.init ${D}${sysconfdir}/init.d/vmtoolsd |
104 | fi | 104 | fi |
105 | install -m 0644 ${WORKDIR}/tools.conf ${D}${sysconfdir}/vmware-tools/tools.conf | 105 | install -m 0644 ${UNPACKDIR}/tools.conf ${D}${sysconfdir}/vmware-tools/tools.conf |
106 | } | 106 | } |
107 | 107 | ||
108 | do_configure:prepend() { | 108 | do_configure:prepend() { |
diff --git a/meta-networking/recipes-support/openipmi/openipmi_2.0.35.bb b/meta-networking/recipes-support/openipmi/openipmi_2.0.35.bb index 1209c064f5..c7c7573677 100644 --- a/meta-networking/recipes-support/openipmi/openipmi_2.0.35.bb +++ b/meta-networking/recipes-support/openipmi/openipmi_2.0.35.bb | |||
@@ -102,10 +102,10 @@ do_install:append () { | |||
102 | 102 | ||
103 | # for systemd | 103 | # for systemd |
104 | install -d ${D}${systemd_unitdir}/system | 104 | install -d ${D}${systemd_unitdir}/system |
105 | install -m 0664 ${WORKDIR}/ipmi.service ${D}${systemd_unitdir}/system | 105 | install -m 0664 ${UNPACKDIR}/ipmi.service ${D}${systemd_unitdir}/system |
106 | sed -i -e "s,@LIBEXECDIR@,${libexecdir},g" ${D}${systemd_unitdir}/system/ipmi.service | 106 | sed -i -e "s,@LIBEXECDIR@,${libexecdir},g" ${D}${systemd_unitdir}/system/ipmi.service |
107 | install -d ${D}${libexecdir} | 107 | install -d ${D}${libexecdir} |
108 | install -m 0755 ${WORKDIR}/openipmi-helper ${D}${libexecdir} | 108 | install -m 0755 ${UNPACKDIR}/openipmi-helper ${D}${libexecdir} |
109 | } | 109 | } |
110 | 110 | ||
111 | INITSCRIPT_NAME = "ipmi" | 111 | INITSCRIPT_NAME = "ipmi" |
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.6.10.bb b/meta-networking/recipes-support/openvpn/openvpn_2.6.10.bb index f8de78ff74..ba53d40f47 100644 --- a/meta-networking/recipes-support/openvpn/openvpn_2.6.10.bb +++ b/meta-networking/recipes-support/openvpn/openvpn_2.6.10.bb | |||
@@ -44,7 +44,7 @@ PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | |||
44 | 44 | ||
45 | do_install:append() { | 45 | do_install:append() { |
46 | install -d ${D}/${sysconfdir}/init.d | 46 | install -d ${D}/${sysconfdir}/init.d |
47 | install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d | 47 | install -m 755 ${UNPACKDIR}/openvpn ${D}/${sysconfdir}/init.d |
48 | 48 | ||
49 | install -d ${D}/${sysconfdir}/openvpn | 49 | install -d ${D}/${sysconfdir}/openvpn |
50 | install -d ${D}/${sysconfdir}/openvpn/server | 50 | install -d ${D}/${sysconfdir}/openvpn/server |
diff --git a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb index ffb879952c..ddcad46beb 100644 --- a/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb +++ b/meta-networking/recipes-support/pgpool2/pgpool2_4.5.1.bb | |||
@@ -43,8 +43,8 @@ do_configure:append() { | |||
43 | 43 | ||
44 | do_install:append() { | 44 | do_install:append() { |
45 | install -d ${D}${sysconfdir}/pgpool-II | 45 | install -d ${D}${sysconfdir}/pgpool-II |
46 | install -D -m 0644 ${WORKDIR}/pgpool.sysconfig ${D}${sysconfdir}/pgpool-II/pgpool.conf | 46 | install -D -m 0644 ${UNPACKDIR}/pgpool.sysconfig ${D}${sysconfdir}/pgpool-II/pgpool.conf |
47 | install -D -m 0644 ${S}/src/sample/pcp.conf.sample ${D}${sysconfdir}/pgpool-II/pcp.conf | 47 | install -D -m 0644 ${S}/src/sample/pcp.conf.sample ${D}${sysconfdir}/pgpool-II/pcp.conf |
48 | install -D -m 0644 ${S}/src/sample/pool_hba.conf.sample ${D}${sysconfdir}/pgpool-II/pool_hba.conf | 48 | install -D -m 0644 ${S}/src/sample/pool_hba.conf.sample ${D}${sysconfdir}/pgpool-II/pool_hba.conf |
49 | install -Dm 0644 ${WORKDIR}/pgpool.service ${D}${systemd_system_unitdir}/pgpool.service | 49 | install -Dm 0644 ${UNPACKDIR}/pgpool.service ${D}${systemd_system_unitdir}/pgpool.service |
50 | } | 50 | } |
diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.1.bb b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.1.bb index 999deff4de..4f52ee2ba6 100644 --- a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.1.bb +++ b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.1.bb | |||
@@ -36,7 +36,7 @@ SYSTEMD_AUTO_ENABLE:${PN} = "enable" | |||
36 | do_install:append() { | 36 | do_install:append() { |
37 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 37 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
38 | install -d ${D}${systemd_system_unitdir} | 38 | install -d ${D}${systemd_system_unitdir} |
39 | install -m 0644 ${WORKDIR}/tinyproxy.service ${D}${systemd_system_unitdir} | 39 | install -m 0644 ${UNPACKDIR}/tinyproxy.service ${D}${systemd_system_unitdir} |
40 | fi | 40 | fi |
41 | install -m 0644 ${WORKDIR}/tinyproxy.conf ${D}${sysconfdir}/tinyproxy.conf | 41 | install -m 0644 ${UNPACKDIR}/tinyproxy.conf ${D}${sysconfdir}/tinyproxy.conf |
42 | } | 42 | } |