diff options
Diffstat (limited to 'meta-networking/recipes-protocols')
13 files changed, 140 insertions, 140 deletions
diff --git a/meta-networking/recipes-protocols/dante/dante_1.4.1.bb b/meta-networking/recipes-protocols/dante/dante_1.4.1.bb index cfe71dd69d..48f9708560 100644 --- a/meta-networking/recipes-protocols/dante/dante_1.4.1.bb +++ b/meta-networking/recipes-protocols/dante/dante_1.4.1.bb | |||
| @@ -36,14 +36,14 @@ PACKAGECONFIG[krb5] = ",--without-krb5,krb5" | |||
| 36 | 36 | ||
| 37 | PACKAGECONFIG ??= "" | 37 | PACKAGECONFIG ??= "" |
| 38 | 38 | ||
| 39 | do_install_append() { | 39 | do_install:append() { |
| 40 | install -d ${D}${sysconfdir} | 40 | install -d ${D}${sysconfdir} |
| 41 | cp ${S}/example/sock[sd].conf ${D}${sysconfdir} | 41 | cp ${S}/example/sock[sd].conf ${D}${sysconfdir} |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | PACKAGES =+ "${PN}-sockd ${PN}-libdsocks " | 44 | PACKAGES =+ "${PN}-sockd ${PN}-libdsocks " |
| 45 | 45 | ||
| 46 | FILES_${PN}-libdsocks = "${libdir}/libdsocks.so" | 46 | FILES:${PN}-libdsocks = "${libdir}/libdsocks.so" |
| 47 | FILES_${PN}-sockd = "${bindir}/sockd ${sysconfdir}/sockd.conf" | 47 | FILES:${PN}-sockd = "${bindir}/sockd ${sysconfdir}/sockd.conf" |
| 48 | 48 | ||
| 49 | INSANE_SKIP_${PN}-libdsocks = "dev-elf" | 49 | INSANE_SKIP:${PN}-libdsocks = "dev-elf" |
diff --git a/meta-networking/recipes-protocols/freediameter/freediameter_1.4.0.bb b/meta-networking/recipes-protocols/freediameter/freediameter_1.4.0.bb index 15ee561969..3ec20d3ab9 100644 --- a/meta-networking/recipes-protocols/freediameter/freediameter_1.4.0.bb +++ b/meta-networking/recipes-protocols/freediameter/freediameter_1.4.0.bb | |||
| @@ -68,7 +68,7 @@ FD_DH_PEM ?= "${BPN}-dh.pem" | |||
| 68 | FD_HOSTNAME ?= "${MACHINE}" | 68 | FD_HOSTNAME ?= "${MACHINE}" |
| 69 | FD_REALM ?= "openembedded.org" | 69 | FD_REALM ?= "openembedded.org" |
| 70 | 70 | ||
| 71 | do_install_append() { | 71 | do_install:append() { |
| 72 | # install the sample configuration files | 72 | # install the sample configuration files |
| 73 | install -d -m 0755 ${D}${sysconfdir}/${fd_pkgname} | 73 | install -d -m 0755 ${D}${sysconfdir}/${fd_pkgname} |
| 74 | for i in ${S}/doc/*.conf.sample; do | 74 | for i in ${S}/doc/*.conf.sample; do |
| @@ -116,23 +116,23 @@ do_install_ptest() { | |||
| 116 | install -m 0644 ${B}/tests/CTestTestfile.cmake ${D}${PTEST_PATH}/ | 116 | install -m 0644 ${B}/tests/CTestTestfile.cmake ${D}${PTEST_PATH}/ |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | FILES_${PN}-dbg += "${libdir}/${fd_pkgname}/.debug/*" | 119 | FILES:${PN}-dbg += "${libdir}/${fd_pkgname}/.debug/*" |
| 120 | 120 | ||
| 121 | # include the extensions in main package | 121 | # include the extensions in main package |
| 122 | FILES_${PN} += "${libdir}/${fd_pkgname}/*" | 122 | FILES:${PN} += "${libdir}/${fd_pkgname}/*" |
| 123 | 123 | ||
| 124 | RDEPENDS_${PN} = "glib-2.0 gnutls libidn" | 124 | RDEPENDS:${PN} = "glib-2.0 gnutls libidn" |
| 125 | RDEPENDS_${PN} += "openssl openssl-conf openssl-engines" | 125 | RDEPENDS:${PN} += "openssl openssl-conf openssl-engines" |
| 126 | RRECOMMENDS_${PN} += "kernel-module-tipc kernel-module-sctp" | 126 | RRECOMMENDS:${PN} += "kernel-module-tipc kernel-module-sctp" |
| 127 | RRECOMMENDS_${PN} += "kernel-module-udp-tunnel kernel-module-ipip" | 127 | RRECOMMENDS:${PN} += "kernel-module-udp-tunnel kernel-module-ipip" |
| 128 | RDEPENDS_${PN}-ptest = "cmake" | 128 | RDEPENDS:${PN}-ptest = "cmake" |
| 129 | 129 | ||
| 130 | INITSCRIPT_PACKAGES = "${PN}" | 130 | INITSCRIPT_PACKAGES = "${PN}" |
| 131 | INITSCRIPT_NAME_${PN} = "${BPN}" | 131 | INITSCRIPT_NAME:${PN} = "${BPN}" |
| 132 | INITSCRIPT_PARAMS$_${PN} = "start 30 . stop 70 0 1 2 3 4 5 6 ." | 132 | INITSCRIPT_PARAMS$_${PN} = "start 30 . stop 70 0 1 2 3 4 5 6 ." |
| 133 | 133 | ||
| 134 | SYSTEMD_SERVICE_${PN} = "freediameter.service" | 134 | SYSTEMD_SERVICE:${PN} = "freediameter.service" |
| 135 | SYSTEMD_AUTO_ENABLE = "disable" | 135 | SYSTEMD_AUTO_ENABLE = "disable" |
| 136 | 136 | ||
| 137 | CONFFILES_${PN} = "${sysconfdir}/freediameter.conf" | 137 | CONFFILES:${PN} = "${sysconfdir}/freediameter.conf" |
| 138 | 138 | ||
diff --git a/meta-networking/recipes-protocols/mdns/mdns_1310.40.42.bb b/meta-networking/recipes-protocols/mdns/mdns_1310.40.42.bb index 60bc26bf17..c9bfef2d14 100644 --- a/meta-networking/recipes-protocols/mdns/mdns_1310.40.42.bb +++ b/meta-networking/recipes-protocols/mdns/mdns_1310.40.42.bb | |||
| @@ -4,9 +4,9 @@ HOMEPAGE = "http://developer.apple.com/networking/bonjour/" | |||
| 4 | LICENSE = "Apache-2.0 & BSD-3-Clause" | 4 | LICENSE = "Apache-2.0 & BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=31c50371921e0fb731003bbc665f29bf" | 5 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=31c50371921e0fb731003bbc665f29bf" |
| 6 | 6 | ||
| 7 | COMPATIBLE_HOST_libc-musl = 'null' | 7 | COMPATIBLE_HOST:libc-musl = 'null' |
| 8 | 8 | ||
| 9 | RPROVIDES_${PN} += "libdns_sd.so" | 9 | RPROVIDES:${PN} += "libdns_sd.so" |
| 10 | 10 | ||
| 11 | SRC_URI = "https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-${PV}.tar.gz \ | 11 | SRC_URI = "https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-${PV}.tar.gz \ |
| 12 | file://mdns.service \ | 12 | file://mdns.service \ |
| @@ -83,13 +83,13 @@ do_install () { | |||
| 83 | install -m 0644 ${WORKDIR}/mdns.service ${D}${systemd_unitdir}/system/ | 83 | install -m 0644 ${WORKDIR}/mdns.service ${D}${systemd_unitdir}/system/ |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | pkg_postinst_${PN} () { | 86 | pkg_postinst:${PN} () { |
| 87 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ | 87 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ |
| 88 | -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 mdns\3\4\5/' \ | 88 | -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 mdns\3\4\5/' \ |
| 89 | -i $D/etc/nsswitch.conf | 89 | -i $D/etc/nsswitch.conf |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | pkg_prerm_${PN} () { | 92 | pkg_prerm:${PN} () { |
| 93 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ | 93 | sed -e '/^hosts:/s/\s*\<mdns\>//' \ |
| 94 | -e '/^hosts:/s/\s*mdns//' \ | 94 | -e '/^hosts:/s/\s*mdns//' \ |
| 95 | -i $D/etc/nsswitch.conf | 95 | -i $D/etc/nsswitch.conf |
| @@ -97,18 +97,18 @@ pkg_prerm_${PN} () { | |||
| 97 | 97 | ||
| 98 | inherit systemd | 98 | inherit systemd |
| 99 | 99 | ||
| 100 | SYSTEMD_SERVICE_${PN} = "mdns.service" | 100 | SYSTEMD_SERVICE:${PN} = "mdns.service" |
| 101 | 101 | ||
| 102 | FILES_${PN} += "${systemd_unitdir}/system/mdns.service" | 102 | FILES:${PN} += "${systemd_unitdir}/system/mdns.service" |
| 103 | FILES_${PN} += "${libdir}/libdns_sd.so.1 \ | 103 | FILES:${PN} += "${libdir}/libdns_sd.so.1 \ |
| 104 | ${bindir}/dns-sd \ | 104 | ${bindir}/dns-sd \ |
| 105 | ${libdir}/libnss_mdns-0.2.so \ | 105 | ${libdir}/libnss_mdns-0.2.so \ |
| 106 | ${sysconfdir}/nss_mdns.conf" | 106 | ${sysconfdir}/nss_mdns.conf" |
| 107 | 107 | ||
| 108 | FILES_${PN}-dev += "${libdir}/libdns_sd.so \ | 108 | FILES:${PN}-dev += "${libdir}/libdns_sd.so \ |
| 109 | ${includedir}/dns_sd.h " | 109 | ${includedir}/dns_sd.h " |
| 110 | 110 | ||
| 111 | FILES_${PN}-man += "${mandir}/man8/mdnsd.8 \ | 111 | FILES:${PN}-man += "${mandir}/man8/mdnsd.8 \ |
| 112 | ${mandir}/man5/nss_mdns.conf.5 \ | 112 | ${mandir}/man5/nss_mdns.conf.5 \ |
| 113 | ${mandir}/man8/libnss_mdns.8" | 113 | ${mandir}/man8/libnss_mdns.8" |
| 114 | 114 | ||
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb index aa497c8947..5fa6170940 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb | |||
| @@ -6,7 +6,7 @@ LICENSE = "BSD & MIT" | |||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=9d100a395a38584f2ec18a8275261687" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=9d100a395a38584f2ec18a8275261687" |
| 7 | 7 | ||
| 8 | DEPENDS = "openssl" | 8 | DEPENDS = "openssl" |
| 9 | DEPENDS_append_class-target = " pciutils" | 9 | DEPENDS:append:class-target = " pciutils" |
| 10 | 10 | ||
| 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \ | 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \ |
| 12 | file://init \ | 12 | file://init \ |
| @@ -62,7 +62,7 @@ EXTRA_OECONF = " \ | |||
| 62 | " | 62 | " |
| 63 | 63 | ||
| 64 | MIB_MODULES = "" | 64 | MIB_MODULES = "" |
| 65 | MIB_MODULES_append = " ${@bb.utils.filter('PACKAGECONFIG', 'smux', d)}" | 65 | MIB_MODULES:append = " ${@bb.utils.filter('PACKAGECONFIG', 'smux', d)}" |
| 66 | 66 | ||
| 67 | CACHED_CONFIGUREVARS = " \ | 67 | CACHED_CONFIGUREVARS = " \ |
| 68 | ac_cv_header_valgrind_valgrind_h=no \ | 68 | ac_cv_header_valgrind_valgrind_h=no \ |
| @@ -74,15 +74,15 @@ CACHED_CONFIGUREVARS = " \ | |||
| 74 | NETSNMP_CONFIGURE_OPTIONS= \ | 74 | NETSNMP_CONFIGURE_OPTIONS= \ |
| 75 | " | 75 | " |
| 76 | PERLPROG = "${bindir}/env perl" | 76 | PERLPROG = "${bindir}/env perl" |
| 77 | PERLPROG_class-native = "${bindir_native}/env perl" | 77 | PERLPROG:class-native = "${bindir_native}/env perl" |
| 78 | PERLPROG_append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}', '', d)}" | 78 | PERLPROG:append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}', '', d)}" |
| 79 | export PERLPROG | 79 | export PERLPROG |
| 80 | 80 | ||
| 81 | HAS_PERL = "${@bb.utils.contains('PACKAGECONFIG', 'perl', '1', '0', d)}" | 81 | HAS_PERL = "${@bb.utils.contains('PACKAGECONFIG', 'perl', '1', '0', d)}" |
| 82 | 82 | ||
| 83 | PTEST_BUILD_HOST_FILES += "net-snmp-config gen-variables" | 83 | PTEST_BUILD_HOST_FILES += "net-snmp-config gen-variables" |
| 84 | 84 | ||
| 85 | do_configure_prepend() { | 85 | do_configure:prepend() { |
| 86 | sed -i -e "s|I/usr/include|I${STAGING_INCDIR}|g" \ | 86 | sed -i -e "s|I/usr/include|I${STAGING_INCDIR}|g" \ |
| 87 | "${S}"/configure \ | 87 | "${S}"/configure \ |
| 88 | "${S}"/configure.d/config_os_libs2 | 88 | "${S}"/configure.d/config_os_libs2 |
| @@ -103,14 +103,14 @@ do_configure_prepend() { | |||
| 103 | 103 | ||
| 104 | } | 104 | } |
| 105 | 105 | ||
| 106 | do_configure_append() { | 106 | do_configure:append() { |
| 107 | sed -e "s@^NSC_INCLUDEDIR=.*@NSC_INCLUDEDIR=${STAGING_DIR_TARGET}\$\{includedir\}@g" \ | 107 | sed -e "s@^NSC_INCLUDEDIR=.*@NSC_INCLUDEDIR=${STAGING_DIR_TARGET}\$\{includedir\}@g" \ |
| 108 | -e "s@^NSC_LIBDIR=-L.*@NSC_LIBDIR=-L${STAGING_DIR_TARGET}\$\{libdir\}@g" \ | 108 | -e "s@^NSC_LIBDIR=-L.*@NSC_LIBDIR=-L${STAGING_DIR_TARGET}\$\{libdir\}@g" \ |
| 109 | -e "s@^NSC_LDFLAGS=\"-L.* @NSC_LDFLAGS=\"-L${STAGING_DIR_TARGET}\$\{libdir\} @g" \ | 109 | -e "s@^NSC_LDFLAGS=\"-L.* @NSC_LDFLAGS=\"-L${STAGING_DIR_TARGET}\$\{libdir\} @g" \ |
| 110 | -i ${B}/net-snmp-config | 110 | -i ${B}/net-snmp-config |
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | do_install_append() { | 113 | do_install:append() { |
| 114 | install -d ${D}${sysconfdir}/snmp | 114 | install -d ${D}${sysconfdir}/snmp |
| 115 | install -d ${D}${sysconfdir}/init.d | 115 | install -d ${D}${sysconfdir}/init.d |
| 116 | install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/snmpd | 116 | install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/snmpd |
| @@ -202,83 +202,83 @@ PACKAGES += "${PN}-libs ${PN}-mibs ${PN}-server ${PN}-client \ | |||
| 202 | # perl module | 202 | # perl module |
| 203 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'perl', '${PN}-perl-modules', '', d)}" | 203 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'perl', '${PN}-perl-modules', '', d)}" |
| 204 | 204 | ||
| 205 | ALLOW_EMPTY_${PN} = "1" | 205 | ALLOW_EMPTY:${PN} = "1" |
| 206 | ALLOW_EMPTY_${PN}-server = "1" | 206 | ALLOW_EMPTY:${PN}-server = "1" |
| 207 | ALLOW_EMPTY_${PN}-libs = "1" | 207 | ALLOW_EMPTY:${PN}-libs = "1" |
| 208 | 208 | ||
| 209 | FILES_${PN}-perl-modules = "${libdir}/perl?/*" | 209 | FILES:${PN}-perl-modules = "${libdir}/perl?/*" |
| 210 | RDEPENDS_${PN}-perl-modules = "perl" | 210 | RDEPENDS:${PN}-perl-modules = "perl" |
| 211 | 211 | ||
| 212 | FILES_${PN}-libs = "" | 212 | FILES:${PN}-libs = "" |
| 213 | FILES_${PN}-mibs = "${datadir}/snmp/mibs" | 213 | FILES:${PN}-mibs = "${datadir}/snmp/mibs" |
| 214 | FILES_${PN}-server-snmpd = "${sbindir}/snmpd \ | 214 | FILES:${PN}-server-snmpd = "${sbindir}/snmpd \ |
| 215 | ${sysconfdir}/snmp/snmpd.conf \ | 215 | ${sysconfdir}/snmp/snmpd.conf \ |
| 216 | ${sysconfdir}/init.d \ | 216 | ${sysconfdir}/init.d \ |
| 217 | ${systemd_unitdir}/system/snmpd.service \ | 217 | ${systemd_unitdir}/system/snmpd.service \ |
| 218 | " | 218 | " |
| 219 | 219 | ||
| 220 | FILES_${PN}-server-snmptrapd = "${sbindir}/snmptrapd \ | 220 | FILES:${PN}-server-snmptrapd = "${sbindir}/snmptrapd \ |
| 221 | ${sysconfdir}/snmp/snmptrapd.conf \ | 221 | ${sysconfdir}/snmp/snmptrapd.conf \ |
| 222 | ${systemd_unitdir}/system/snmptrapd.service \ | 222 | ${systemd_unitdir}/system/snmptrapd.service \ |
| 223 | " | 223 | " |
| 224 | 224 | ||
| 225 | FILES_${PN}-lib-netsnmp = "${libdir}/libnetsnmp${SOLIBS}" | 225 | FILES:${PN}-lib-netsnmp = "${libdir}/libnetsnmp${SOLIBS}" |
| 226 | FILES_${PN}-lib-agent = "${libdir}/libnetsnmpagent${SOLIBS}" | 226 | FILES:${PN}-lib-agent = "${libdir}/libnetsnmpagent${SOLIBS}" |
| 227 | FILES_${PN}-lib-helpers = "${libdir}/libnetsnmphelpers${SOLIBS}" | 227 | FILES:${PN}-lib-helpers = "${libdir}/libnetsnmphelpers${SOLIBS}" |
| 228 | FILES_${PN}-lib-mibs = "${libdir}/libnetsnmpmibs${SOLIBS}" | 228 | FILES:${PN}-lib-mibs = "${libdir}/libnetsnmpmibs${SOLIBS}" |
| 229 | FILES_${PN}-lib-trapd = "${libdir}/libnetsnmptrapd${SOLIBS}" | 229 | FILES:${PN}-lib-trapd = "${libdir}/libnetsnmptrapd${SOLIBS}" |
| 230 | 230 | ||
| 231 | FILES_${PN} = "" | 231 | FILES:${PN} = "" |
| 232 | FILES_${PN}-client = "${bindir}/* ${datadir}/snmp/" | 232 | FILES:${PN}-client = "${bindir}/* ${datadir}/snmp/" |
| 233 | FILES_${PN}-dbg += "${libdir}/.debug/ ${sbindir}/.debug/ ${bindir}/.debug/" | 233 | FILES:${PN}-dbg += "${libdir}/.debug/ ${sbindir}/.debug/ ${bindir}/.debug/" |
| 234 | FILES_${PN}-dev += "${bindir}/mib2c \ | 234 | FILES:${PN}-dev += "${bindir}/mib2c \ |
| 235 | ${bindir}/mib2c-update \ | 235 | ${bindir}/mib2c-update \ |
| 236 | ${bindir}/net-snmp-config \ | 236 | ${bindir}/net-snmp-config \ |
| 237 | ${bindir}/net-snmp-create-v3-user \ | 237 | ${bindir}/net-snmp-create-v3-user \ |
| 238 | " | 238 | " |
| 239 | 239 | ||
| 240 | CONFFILES_${PN}-server-snmpd = "${sysconfdir}/snmp/snmpd.conf" | 240 | CONFFILES:${PN}-server-snmpd = "${sysconfdir}/snmp/snmpd.conf" |
| 241 | CONFFILES_${PN}-server-snmptrapd = "${sysconfdir}/snmp/snmptrapd.conf" | 241 | CONFFILES:${PN}-server-snmptrapd = "${sysconfdir}/snmp/snmptrapd.conf" |
| 242 | 242 | ||
| 243 | INITSCRIPT_PACKAGES = "${PN}-server-snmpd" | 243 | INITSCRIPT_PACKAGES = "${PN}-server-snmpd" |
| 244 | INITSCRIPT_NAME_${PN}-server-snmpd = "snmpd" | 244 | INITSCRIPT_NAME:${PN}-server-snmpd = "snmpd" |
| 245 | INITSCRIPT_PARAMS_${PN}-server-snmpd = "start 90 2 3 4 5 . stop 60 0 1 6 ." | 245 | INITSCRIPT_PARAMS:${PN}-server-snmpd = "start 90 2 3 4 5 . stop 60 0 1 6 ." |
| 246 | 246 | ||
| 247 | SYSTEMD_PACKAGES = "${PN}-server-snmpd \ | 247 | SYSTEMD_PACKAGES = "${PN}-server-snmpd \ |
| 248 | ${PN}-server-snmptrapd" | 248 | ${PN}-server-snmptrapd" |
| 249 | 249 | ||
| 250 | SYSTEMD_SERVICE_${PN}-server-snmpd = "snmpd.service" | 250 | SYSTEMD_SERVICE:${PN}-server-snmpd = "snmpd.service" |
| 251 | SYSTEMD_SERVICE_${PN}-server-snmptrapd = "snmptrapd.service" | 251 | SYSTEMD_SERVICE:${PN}-server-snmptrapd = "snmptrapd.service" |
| 252 | 252 | ||
| 253 | RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'perl', 'net-snmp-perl-modules', '', d)}" | 253 | RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'perl', 'net-snmp-perl-modules', '', d)}" |
| 254 | RDEPENDS_${PN} += "net-snmp-client" | 254 | RDEPENDS:${PN} += "net-snmp-client" |
| 255 | RDEPENDS_${PN}-server-snmpd += "net-snmp-mibs" | 255 | RDEPENDS:${PN}-server-snmpd += "net-snmp-mibs" |
| 256 | RDEPENDS_${PN}-server-snmptrapd += "net-snmp-server-snmpd ${PN}-lib-trapd" | 256 | RDEPENDS:${PN}-server-snmptrapd += "net-snmp-server-snmpd ${PN}-lib-trapd" |
| 257 | RDEPENDS_${PN}-server += "net-snmp-server-snmpd net-snmp-server-snmptrapd" | 257 | RDEPENDS:${PN}-server += "net-snmp-server-snmpd net-snmp-server-snmptrapd" |
| 258 | RDEPENDS_${PN}-client += "net-snmp-mibs net-snmp-libs" | 258 | RDEPENDS:${PN}-client += "net-snmp-mibs net-snmp-libs" |
| 259 | RDEPENDS_${PN}-libs += "libpci \ | 259 | RDEPENDS:${PN}-libs += "libpci \ |
| 260 | ${PN}-lib-netsnmp \ | 260 | ${PN}-lib-netsnmp \ |
| 261 | ${PN}-lib-agent \ | 261 | ${PN}-lib-agent \ |
| 262 | ${PN}-lib-helpers \ | 262 | ${PN}-lib-helpers \ |
| 263 | ${PN}-lib-mibs \ | 263 | ${PN}-lib-mibs \ |
| 264 | " | 264 | " |
| 265 | RDEPENDS_${PN}-ptest += "perl \ | 265 | RDEPENDS:${PN}-ptest += "perl \ |
| 266 | perl-module-test \ | 266 | perl-module-test \ |
| 267 | perl-module-file-basename \ | 267 | perl-module-file-basename \ |
| 268 | perl-module-getopt-long \ | 268 | perl-module-getopt-long \ |
| 269 | perl-module-file-temp \ | 269 | perl-module-file-temp \ |
| 270 | perl-module-data-dumper \ | 270 | perl-module-data-dumper \ |
| 271 | " | 271 | " |
| 272 | RDEPENDS_${PN}-dev = "net-snmp-client (= ${EXTENDPKGV}) net-snmp-server (= ${EXTENDPKGV})" | 272 | RDEPENDS:${PN}-dev = "net-snmp-client (= ${EXTENDPKGV}) net-snmp-server (= ${EXTENDPKGV})" |
| 273 | RRECOMMENDS_${PN}-dbg = "net-snmp-client (= ${EXTENDPKGV}) net-snmp-server (= ${EXTENDPKGV})" | 273 | RRECOMMENDS:${PN}-dbg = "net-snmp-client (= ${EXTENDPKGV}) net-snmp-server (= ${EXTENDPKGV})" |
| 274 | 274 | ||
| 275 | RPROVIDES_${PN}-server-snmpd += "${PN}-server-snmpd-systemd" | 275 | RPROVIDES:${PN}-server-snmpd += "${PN}-server-snmpd-systemd" |
| 276 | RREPLACES_${PN}-server-snmpd += "${PN}-server-snmpd-systemd" | 276 | RREPLACES:${PN}-server-snmpd += "${PN}-server-snmpd-systemd" |
| 277 | RCONFLICTS_${PN}-server-snmpd += "${PN}-server-snmpd-systemd" | 277 | RCONFLICTS:${PN}-server-snmpd += "${PN}-server-snmpd-systemd" |
| 278 | 278 | ||
| 279 | RPROVIDES_${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd" | 279 | RPROVIDES:${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd" |
| 280 | RREPLACES_${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd" | 280 | RREPLACES:${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd" |
| 281 | RCONFLICTS_${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd" | 281 | RCONFLICTS:${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd" |
| 282 | 282 | ||
| 283 | LEAD_SONAME = "libnetsnmp.so" | 283 | LEAD_SONAME = "libnetsnmp.so" |
| 284 | 284 | ||
diff --git a/meta-networking/recipes-protocols/openflow/openflow.inc b/meta-networking/recipes-protocols/openflow/openflow.inc index cccbfa19a6..1640911fd8 100644 --- a/meta-networking/recipes-protocols/openflow/openflow.inc +++ b/meta-networking/recipes-protocols/openflow/openflow.inc | |||
| @@ -27,11 +27,11 @@ S = "${WORKDIR}/git" | |||
| 27 | 27 | ||
| 28 | inherit autotools-brokensep pkgconfig | 28 | inherit autotools-brokensep pkgconfig |
| 29 | 29 | ||
| 30 | do_configure_prepend() { | 30 | do_configure:prepend() { |
| 31 | ./boot.sh | 31 | ./boot.sh |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | do_install_append() { | 34 | do_install:append() { |
| 35 | # Remove /var/run as it is created on startup | 35 | # Remove /var/run as it is created on startup |
| 36 | rm -rf ${D}${localstatedir}/run | 36 | rm -rf ${D}${localstatedir}/run |
| 37 | } | 37 | } |
diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb index 9c0c28e197..6ce15a282b 100644 --- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | |||
| @@ -41,7 +41,7 @@ SRC_URI[sha256sum] = "1c97704d4b963a87fbc0e741668d4530933991515ae9ab0dffd11b5444 | |||
| 41 | 41 | ||
| 42 | inherit autotools-brokensep pkgconfig systemd ptest | 42 | inherit autotools-brokensep pkgconfig systemd ptest |
| 43 | 43 | ||
| 44 | SYSTEMD_SERVICE_${PN} = "openl2tpd.service" | 44 | SYSTEMD_SERVICE:${PN} = "openl2tpd.service" |
| 45 | SYSTEMD_AUTO_ENABLE = "disable" | 45 | SYSTEMD_AUTO_ENABLE = "disable" |
| 46 | 46 | ||
| 47 | DEPENDS += "libtirpc" | 47 | DEPENDS += "libtirpc" |
| @@ -52,7 +52,7 @@ LDFLAGS += "-ltirpc" | |||
| 52 | PARALLEL_MAKE = "" | 52 | PARALLEL_MAKE = "" |
| 53 | EXTRA_OEMAKE = 'CFLAGS="${CFLAGS} -Wno-unused-but-set-variable" CPPFLAGS="${CPPFLAGS}" OPT_CFLAGS="${CFLAGS}"' | 53 | EXTRA_OEMAKE = 'CFLAGS="${CFLAGS} -Wno-unused-but-set-variable" CPPFLAGS="${CPPFLAGS}" OPT_CFLAGS="${CFLAGS}"' |
| 54 | 54 | ||
| 55 | do_compile_prepend() { | 55 | do_compile:prepend() { |
| 56 | sed -i -e "s:SYS_LIBDIR=.*:SYS_LIBDIR=${libdir}:g" \ | 56 | sed -i -e "s:SYS_LIBDIR=.*:SYS_LIBDIR=${libdir}:g" \ |
| 57 | -e 's:$(CROSS_COMPILE)as:${AS}:g' \ | 57 | -e 's:$(CROSS_COMPILE)as:${AS}:g' \ |
| 58 | -e 's:$(CROSS_COMPILE)ld:${LD}:g' \ | 58 | -e 's:$(CROSS_COMPILE)ld:${LD}:g' \ |
| @@ -65,7 +65,7 @@ do_compile_prepend() { | |||
| 65 | ${S}/Makefile | 65 | ${S}/Makefile |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | do_install_append () { | 68 | do_install:append () { |
| 69 | install -d ${D}${sysconfdir}/init.d | 69 | install -d ${D}${sysconfdir}/init.d |
| 70 | install -d ${D}${sysconfdir}/default | 70 | install -d ${D}${sysconfdir}/default |
| 71 | install -m 0755 ${S}/etc/rc.d/init.d/openl2tpd ${D}${sysconfdir}/init.d/openl2tpd | 71 | install -m 0755 ${S}/etc/rc.d/init.d/openl2tpd ${D}${sysconfdir}/init.d/openl2tpd |
| @@ -91,4 +91,4 @@ do_install_ptest () { | |||
| 91 | done | 91 | done |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | RDEPENDS_${PN} = "ppp ppp-l2tp bash" | 94 | RDEPENDS:${PN} = "ppp ppp-l2tp bash" |
diff --git a/meta-networking/recipes-protocols/openlldp/openlldp_1.0.1.bb b/meta-networking/recipes-protocols/openlldp/openlldp_1.0.1.bb index ec3e557ad9..abfa713dc8 100644 --- a/meta-networking/recipes-protocols/openlldp/openlldp_1.0.1.bb +++ b/meta-networking/recipes-protocols/openlldp/openlldp_1.0.1.bb | |||
| @@ -36,9 +36,9 @@ TARGET_CFLAGS += "-Wno-error" | |||
| 36 | # Enable install of systemd conf files. | 36 | # Enable install of systemd conf files. |
| 37 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_system_unitdir}', '', d)}" | 37 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_system_unitdir}', '', d)}" |
| 38 | 38 | ||
| 39 | SYSTEMD_SERVICE_${PN} = "lldpad.service lldpad.socket" | 39 | SYSTEMD_SERVICE:${PN} = "lldpad.service lldpad.socket" |
| 40 | 40 | ||
| 41 | # To enable service at boot set to enable in local.conf. | 41 | # To enable service at boot set to enable in local.conf. |
| 42 | SYSTEMD_AUTO_ENABLE ?= "disable" | 42 | SYSTEMD_AUTO_ENABLE ?= "disable" |
| 43 | 43 | ||
| 44 | RRECOMMENDS_${PN} = "iproute2-tc" | 44 | RRECOMMENDS:${PN} = "iproute2-tc" |
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 53a79af76d..71046ce24c 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 | |||
| @@ -29,4 +29,4 @@ do_install() { | |||
| 29 | install -m 644 ${WORKDIR}/options.pptp ${D}${sysconfdir}/ppp | 29 | install -m 644 ${WORKDIR}/options.pptp ${D}${sysconfdir}/ppp |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | RDEPENDS_${PN} = "ppp" | 32 | RDEPENDS:${PN} = "ppp" |
diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc index 3b7a425bba..b3574a7ff6 100644 --- a/meta-networking/recipes-protocols/quagga/quagga.inc +++ b/meta-networking/recipes-protocols/quagga/quagga.inc | |||
| @@ -18,7 +18,7 @@ DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'snmp', 'net-snmp', '', d)}" | |||
| 18 | SNMP_CONF="${@bb.utils.contains('DISTRO_FEATURES', 'snmp', '--enable-snmp', '', d)}" | 18 | SNMP_CONF="${@bb.utils.contains('DISTRO_FEATURES', 'snmp', '--enable-snmp', '', d)}" |
| 19 | 19 | ||
| 20 | # the "ip" command from busybox is not sufficient (flush by protocol flushes all routes) | 20 | # the "ip" command from busybox is not sufficient (flush by protocol flushes all routes) |
| 21 | RDEPENDS_${PN} += "iproute2" | 21 | RDEPENDS:${PN} += "iproute2" |
| 22 | 22 | ||
| 23 | SRC_URI = "https://github.com/Quagga/quagga/releases/download/quagga-${PV}/quagga-${PV}.tar.gz \ | 23 | SRC_URI = "https://github.com/Quagga/quagga/releases/download/quagga-${PV}/quagga-${PV}.tar.gz \ |
| 24 | file://quagga.init \ | 24 | file://quagga.init \ |
| @@ -45,13 +45,13 @@ inherit autotools update-rc.d useradd systemd pkgconfig multilib_header update-a | |||
| 45 | CFLAGS += "-fcommon" | 45 | CFLAGS += "-fcommon" |
| 46 | 46 | ||
| 47 | SYSTEMD_PACKAGES = "${PN} ${PN}-bgpd ${PN}-isisd ${PN}-ospf6d ${PN}-ospfd ${PN}-ripd ${PN}-ripngd" | 47 | SYSTEMD_PACKAGES = "${PN} ${PN}-bgpd ${PN}-isisd ${PN}-ospf6d ${PN}-ospfd ${PN}-ripd ${PN}-ripngd" |
| 48 | SYSTEMD_SERVICE_${PN}-bgpd = "bgpd.service" | 48 | SYSTEMD_SERVICE:${PN}-bgpd = "bgpd.service" |
| 49 | SYSTEMD_SERVICE_${PN}-isisd = "isisd.service" | 49 | SYSTEMD_SERVICE:${PN}-isisd = "isisd.service" |
| 50 | SYSTEMD_SERVICE_${PN}-ospf6d = "ospf6d.service" | 50 | SYSTEMD_SERVICE:${PN}-ospf6d = "ospf6d.service" |
| 51 | SYSTEMD_SERVICE_${PN}-ospfd = "ospfd.service" | 51 | SYSTEMD_SERVICE:${PN}-ospfd = "ospfd.service" |
| 52 | SYSTEMD_SERVICE_${PN}-ripd = "ripd.service" | 52 | SYSTEMD_SERVICE:${PN}-ripd = "ripd.service" |
| 53 | SYSTEMD_SERVICE_${PN}-ripngd = "ripngd.service" | 53 | SYSTEMD_SERVICE:${PN}-ripngd = "ripngd.service" |
| 54 | SYSTEMD_SERVICE_${PN} = "zebra.service" | 54 | SYSTEMD_SERVICE:${PN} = "zebra.service" |
| 55 | 55 | ||
| 56 | EXTRA_OECONF = "--sysconfdir=${sysconfdir}/quagga \ | 56 | EXTRA_OECONF = "--sysconfdir=${sysconfdir}/quagga \ |
| 57 | --localstatedir=${localstatedir}/run/quagga \ | 57 | --localstatedir=${localstatedir}/run/quagga \ |
| @@ -144,8 +144,8 @@ do_install () { | |||
| 144 | -i ${D}${systemd_unitdir}/system/*.service | 144 | -i ${D}${systemd_unitdir}/system/*.service |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-systemctl-native', '', d)}" | 147 | DEPENDS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-systemctl-native', '', d)}" |
| 148 | pkg_postinst_${PN} () { | 148 | pkg_postinst:${PN} () { |
| 149 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd sysvinit', 'true', 'false', d)}; then | 149 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd sysvinit', 'true', 'false', d)}; then |
| 150 | if [ -n "$D" ]; then | 150 | if [ -n "$D" ]; then |
| 151 | OPTS="--root=$D" | 151 | OPTS="--root=$D" |
| @@ -159,22 +159,22 @@ PACKAGE_BEFORE_PN = "${PN}-ospfd ${PN}-ospf6d ${PN}-bgpd \ | |||
| 159 | ${PN}-ripd ${PN}-ripngd ${PN}-isisd \ | 159 | ${PN}-ripd ${PN}-ripngd ${PN}-isisd \ |
| 160 | ${PN}-ospfclient ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${PN}-watchquagga', '', d)}" | 160 | ${PN}-ospfclient ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${PN}-watchquagga', '', d)}" |
| 161 | 161 | ||
| 162 | RDEPENDS_${PN} += "${PN}-bgpd ${PN}-isisd ${PN}-ospf6d ${PN}-ospfd ${PN}-ripd ${PN}-ripngd" | 162 | RDEPENDS:${PN} += "${PN}-bgpd ${PN}-isisd ${PN}-ospf6d ${PN}-ospfd ${PN}-ripd ${PN}-ripngd" |
| 163 | 163 | ||
| 164 | FILES_${PN}-ospfd = "${sbindir}/ospfd ${libdir}/libospf.so.*" | 164 | FILES:${PN}-ospfd = "${sbindir}/ospfd ${libdir}/libospf.so.*" |
| 165 | FILES_${PN}-ospf6d = "${sbindir}/ospf6d" | 165 | FILES:${PN}-ospf6d = "${sbindir}/ospf6d" |
| 166 | FILES_${PN}-bgpd = "${sbindir}/bgpd" | 166 | FILES:${PN}-bgpd = "${sbindir}/bgpd" |
| 167 | FILES_${PN}-ripd = "${sbindir}/ripd" | 167 | FILES:${PN}-ripd = "${sbindir}/ripd" |
| 168 | FILES_${PN}-ripngd = "${sbindir}/ripngd" | 168 | FILES:${PN}-ripngd = "${sbindir}/ripngd" |
| 169 | FILES_${PN}-isisd = "${sbindir}/isisd" | 169 | FILES:${PN}-isisd = "${sbindir}/isisd" |
| 170 | FILES_${PN}-ospfclient = "${sbindir}/ospfclient ${libdir}/libospfapiclient.so.*" | 170 | FILES:${PN}-ospfclient = "${sbindir}/ospfclient ${libdir}/libospfapiclient.so.*" |
| 171 | FILES_${PN}-watchquagga = "${sbindir}/watchquagga ${sysconfdir}/default/watchquagga \ | 171 | FILES:${PN}-watchquagga = "${sbindir}/watchquagga ${sysconfdir}/default/watchquagga \ |
| 172 | ${sysconfdir}/init.d/watchquagga" | 172 | ${sysconfdir}/init.d/watchquagga" |
| 173 | 173 | ||
| 174 | FILES_${PN} += "${nonarch_libdir}/tmpfiles.d/*.conf" | 174 | FILES:${PN} += "${nonarch_libdir}/tmpfiles.d/*.conf" |
| 175 | 175 | ||
| 176 | # Indicate that the default files are configuration files | 176 | # Indicate that the default files are configuration files |
| 177 | CONFFILES_${PN} = "${sysconfdir}/default/quagga \ | 177 | CONFFILES:${PN} = "${sysconfdir}/default/quagga \ |
| 178 | ${sysconfdir}/quagga/bgpd.conf \ | 178 | ${sysconfdir}/quagga/bgpd.conf \ |
| 179 | ${sysconfdir}/quagga/vtysh.conf \ | 179 | ${sysconfdir}/quagga/vtysh.conf \ |
| 180 | ${sysconfdir}/quagga/isisd.conf \ | 180 | ${sysconfdir}/quagga/isisd.conf \ |
| @@ -184,60 +184,60 @@ CONFFILES_${PN} = "${sysconfdir}/default/quagga \ | |||
| 184 | ${sysconfdir}/quagga/ripd.conf \ | 184 | ${sysconfdir}/quagga/ripd.conf \ |
| 185 | ${sysconfdir}/quagga/ospf6d.conf \ | 185 | ${sysconfdir}/quagga/ospf6d.conf \ |
| 186 | " | 186 | " |
| 187 | CONFFILES_${PN}-watchquagga = "${sysconfdir}/default/watchquagga" | 187 | CONFFILES:${PN}-watchquagga = "${sysconfdir}/default/watchquagga" |
| 188 | 188 | ||
| 189 | # Stop the names being rewritten due to the internal shared libraries | 189 | # Stop the names being rewritten due to the internal shared libraries |
| 190 | DEBIAN_NOAUTONAME_${PN}-ospfd = "1" | 190 | DEBIAN_NOAUTONAME:${PN}-ospfd = "1" |
| 191 | DEBIAN_NOAUTONAME_${PN}-ospfclient = "1" | 191 | DEBIAN_NOAUTONAME:${PN}-ospfclient = "1" |
| 192 | 192 | ||
| 193 | # Main init script starts all deamons | 193 | # Main init script starts all deamons |
| 194 | # Seperate init script for watchquagga | 194 | # Seperate init script for watchquagga |
| 195 | INITSCRIPT_PACKAGES = "${PN} ${PN}-watchquagga" | 195 | INITSCRIPT_PACKAGES = "${PN} ${PN}-watchquagga" |
| 196 | INITSCRIPT_NAME_${PN} = "quagga" | 196 | INITSCRIPT_NAME:${PN} = "quagga" |
| 197 | INITSCRIPT_PARAMS_${PN} = "defaults 15 85" | 197 | INITSCRIPT_PARAMS:${PN} = "defaults 15 85" |
| 198 | INITSCRIPT_NAME_${PN}-watchquagga = "watchquagga" | 198 | INITSCRIPT_NAME:${PN}-watchquagga = "watchquagga" |
| 199 | INITSCRIPT_PARAMS_${PN}-watchquagga = "defaults 90 10" | 199 | INITSCRIPT_PARAMS:${PN}-watchquagga = "defaults 90 10" |
| 200 | 200 | ||
| 201 | # Add quagga's user and group | 201 | # Add quagga's user and group |
| 202 | USERADD_PACKAGES = "${PN}" | 202 | USERADD_PACKAGES = "${PN}" |
| 203 | GROUPADD_PARAM_${PN} = "--system quagga ; --system quaggavty" | 203 | GROUPADD_PARAM:${PN} = "--system quagga ; --system quaggavty" |
| 204 | USERADD_PARAM_${PN} = "--system --home ${localstatedir}/run/quagga/ -M -g quagga -G quaggavty --shell /bin/false quagga" | 204 | USERADD_PARAM:${PN} = "--system --home ${localstatedir}/run/quagga/ -M -g quagga -G quaggavty --shell /bin/false quagga" |
| 205 | 205 | ||
| 206 | pkg_postinst_${PN} () { | 206 | pkg_postinst:${PN} () { |
| 207 | if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then | 207 | if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then |
| 208 | ${sysconfdir}/init.d/populate-volatile.sh update | 208 | ${sysconfdir}/init.d/populate-volatile.sh update |
| 209 | fi | 209 | fi |
| 210 | } | 210 | } |
| 211 | 211 | ||
| 212 | # Stop apps before uninstall | 212 | # Stop apps before uninstall |
| 213 | pkg_prerm_${PN} () { | 213 | pkg_prerm:${PN} () { |
| 214 | ${sysconfdir}/init.d/quagga stop | 214 | ${sysconfdir}/init.d/quagga stop |
| 215 | } | 215 | } |
| 216 | 216 | ||
| 217 | pkg_prerm_${PN}-ospfd () { | 217 | pkg_prerm:${PN}-ospfd () { |
| 218 | ${sysconfdir}/init.d/quagga stop ospfd | 218 | ${sysconfdir}/init.d/quagga stop ospfd |
| 219 | } | 219 | } |
| 220 | 220 | ||
| 221 | pkg_prerm_${PN}-ospf6d () { | 221 | pkg_prerm:${PN}-ospf6d () { |
| 222 | ${sysconfdir}/init.d/quagga stop ospf6d | 222 | ${sysconfdir}/init.d/quagga stop ospf6d |
| 223 | } | 223 | } |
| 224 | 224 | ||
| 225 | pkg_prerm_${PN}-bgpd () { | 225 | pkg_prerm:${PN}-bgpd () { |
| 226 | ${sysconfdir}/init.d/quagga stop bgpd | 226 | ${sysconfdir}/init.d/quagga stop bgpd |
| 227 | } | 227 | } |
| 228 | 228 | ||
| 229 | pkg_prerm_${PN}-ripd () { | 229 | pkg_prerm:${PN}-ripd () { |
| 230 | ${sysconfdir}/init.d/quagga stop ripd | 230 | ${sysconfdir}/init.d/quagga stop ripd |
| 231 | } | 231 | } |
| 232 | 232 | ||
| 233 | pkg_prerm_${PN}-ripngd () { | 233 | pkg_prerm:${PN}-ripngd () { |
| 234 | ${sysconfdir}/init.d/quagga stop ripngd | 234 | ${sysconfdir}/init.d/quagga stop ripngd |
| 235 | } | 235 | } |
| 236 | 236 | ||
| 237 | pkg_prerm_${PN}-isisd () { | 237 | pkg_prerm:${PN}-isisd () { |
| 238 | ${sysconfdir}/init.d/quagga stop isisd | 238 | ${sysconfdir}/init.d/quagga stop isisd |
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | ALTERNATIVE_${PN} = "pimd" | 241 | ALTERNATIVE:${PN} = "pimd" |
| 242 | ALTERNATIVE_LINK_NAME[pimd] = "${sbindir}/pimd" | 242 | ALTERNATIVE_LINK_NAME[pimd] = "${sbindir}/pimd" |
| 243 | 243 | ||
diff --git a/meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb b/meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb index ea3775452b..4696c3baeb 100644 --- a/meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb +++ b/meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng_0.5.6.bb | |||
| @@ -21,11 +21,11 @@ DEPENDS += "virtual/crypt" | |||
| 21 | 21 | ||
| 22 | EXTRA_OECONF += "--disable-static" | 22 | EXTRA_OECONF += "--disable-static" |
| 23 | 23 | ||
| 24 | do_configure_prepend () { | 24 | do_configure:prepend () { |
| 25 | export CONFIG_SITE=./config-site.${P} | 25 | export CONFIG_SITE=./config-site.${P} |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | do_compile_prepend() { | 28 | do_compile:prepend() { |
| 29 | for m in `find . -name "Makefile"` ; do | 29 | for m in `find . -name "Makefile"` ; do |
| 30 | sed -i -e 's:^program_transform_name =.*:program_transform_name =:g' ${m} | 30 | sed -i -e 's:^program_transform_name =.*:program_transform_name =:g' ${m} |
| 31 | done | 31 | done |
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb index 492ade5ae5..344aa33dec 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb | |||
| @@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "8cd6bc71ba46bd5f6eb4daf60220ccdcd991a8525111dee466501b1b97 | |||
| 26 | 26 | ||
| 27 | inherit autotools-brokensep update-rc.d systemd | 27 | inherit autotools-brokensep update-rc.d systemd |
| 28 | 28 | ||
| 29 | do_install_append() { | 29 | do_install:append() { |
| 30 | install -d ${D}${systemd_unitdir}/system | 30 | install -d ${D}${systemd_unitdir}/system |
| 31 | install -m 0644 ${WORKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system | 31 | install -m 0644 ${WORKDIR}/pppoe-server.service ${D}${systemd_unitdir}/system |
| 32 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/pppoe-server.service | 32 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/pppoe-server.service |
| @@ -48,29 +48,29 @@ do_install() { | |||
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | SYSTEMD_PACKAGES = "${PN}-server" | 50 | SYSTEMD_PACKAGES = "${PN}-server" |
| 51 | SYSTEMD_SERVICE_${PN}-server = "pppoe-server.service" | 51 | SYSTEMD_SERVICE:${PN}-server = "pppoe-server.service" |
| 52 | SYSTEMD_AUTO_ENABLE = "disable" | 52 | SYSTEMD_AUTO_ENABLE = "disable" |
| 53 | # Insert server package before main package | 53 | # Insert server package before main package |
| 54 | PACKAGES = "${PN}-dbg ${PN}-server ${PN}-relay ${PN}-sniff ${PN} ${PN}-doc" | 54 | PACKAGES = "${PN}-dbg ${PN}-server ${PN}-relay ${PN}-sniff ${PN} ${PN}-doc" |
| 55 | 55 | ||
| 56 | FILES_${PN}-server = "${sysconfdir}/default/pppoe-server \ | 56 | FILES:${PN}-server = "${sysconfdir}/default/pppoe-server \ |
| 57 | ${sysconfdir}/init.d/pppoe-server \ | 57 | ${sysconfdir}/init.d/pppoe-server \ |
| 58 | ${sbindir}/pppoe-server \ | 58 | ${sbindir}/pppoe-server \ |
| 59 | ${sysconfdir}/ppp/pppoe-server-options" | 59 | ${sysconfdir}/ppp/pppoe-server-options" |
| 60 | FILES_${PN}-relay = "${sbindir}/pppoe-relay" | 60 | FILES:${PN}-relay = "${sbindir}/pppoe-relay" |
| 61 | FILES_${PN}-sniff = "${sbindir}/pppoe-sniff" | 61 | FILES:${PN}-sniff = "${sbindir}/pppoe-sniff" |
| 62 | 62 | ||
| 63 | CONFFILES_${PN} = "${sysconfdir}/ppp/pppoe.conf \ | 63 | CONFFILES:${PN} = "${sysconfdir}/ppp/pppoe.conf \ |
| 64 | ${sysconfdir}/ppp/firewall-standalone \ | 64 | ${sysconfdir}/ppp/firewall-standalone \ |
| 65 | ${sysconfdir}/ppp/firewall-masq" | 65 | ${sysconfdir}/ppp/firewall-masq" |
| 66 | CONFFILES_${PN}-server = "${sysconfdir}/ppp/pppoe-server-options \ | 66 | CONFFILES:${PN}-server = "${sysconfdir}/ppp/pppoe-server-options \ |
| 67 | ${sysconfdir}/default/pppoe-server" | 67 | ${sysconfdir}/default/pppoe-server" |
| 68 | 68 | ||
| 69 | INITSCRIPT_PACKAGES = "${PN}-server" | 69 | INITSCRIPT_PACKAGES = "${PN}-server" |
| 70 | INITSCRIPT_NAME_${PN}-server = "pppoe-server" | 70 | INITSCRIPT_NAME:${PN}-server = "pppoe-server" |
| 71 | INITSCRIPT_PARAMS_${PN}-server = "defaults 92 8" | 71 | INITSCRIPT_PARAMS:${PN}-server = "defaults 92 8" |
| 72 | 72 | ||
| 73 | RDEPENDS_${PN} = "ppp" | 73 | RDEPENDS:${PN} = "ppp" |
| 74 | RDEPENDS_${PN}-server = "${PN}" | 74 | RDEPENDS:${PN}-server = "${PN}" |
| 75 | RRECOMMENDS_${PN} = "ppp-oe" | 75 | RRECOMMENDS:${PN} = "ppp-oe" |
| 76 | 76 | ||
diff --git a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb index 725ba189c6..09699f3329 100644 --- a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb +++ b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | |||
| @@ -18,14 +18,14 @@ SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863 | |||
| 18 | 18 | ||
| 19 | inherit autotools-brokensep | 19 | inherit autotools-brokensep |
| 20 | 20 | ||
| 21 | LIBS_append_libc-musl = " -lssp_nonshared" | 21 | LIBS:append:libc-musl = " -lssp_nonshared" |
| 22 | LIBS_append_libc-glibc = " -lc_nonshared" | 22 | LIBS:append:libc-glibc = " -lc_nonshared" |
| 23 | 23 | ||
| 24 | S = "${WORKDIR}/tsocks-1.8" | 24 | S = "${WORKDIR}/tsocks-1.8" |
| 25 | 25 | ||
| 26 | FILES_${PN} = "${libdir}/* ${bindir}/tsocks" | 26 | FILES:${PN} = "${libdir}/* ${bindir}/tsocks" |
| 27 | FILES_${PN}-dev = "" | 27 | FILES:${PN}-dev = "" |
| 28 | INSANE_SKIP_${PN} = "dev-so" | 28 | INSANE_SKIP:${PN} = "dev-so" |
| 29 | 29 | ||
| 30 | EXTRA_OEMAKE = "SHCC='${CC} -fPIC ${LDFLAGS}' LIBS='${LIBS}'" | 30 | EXTRA_OEMAKE = "SHCC='${CC} -fPIC ${LDFLAGS}' LIBS='${LIBS}'" |
| 31 | 31 | ||
diff --git a/meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.14.bb b/meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.14.bb index b02e183db7..52f5ef275f 100644 --- a/meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.14.bb +++ b/meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.14.bb | |||
| @@ -34,7 +34,7 @@ do_install () { | |||
| 34 | install -m 0644 debian/xl2tpd.default ${D}${sysconfdir}/default/xl2tpd | 34 | install -m 0644 debian/xl2tpd.default ${D}${sysconfdir}/default/xl2tpd |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | CONFFILES_${PN} += "${sysconfdir}/xl2tpd.conf ${sysconfdir}/default/xl2tpd" | 37 | CONFFILES:${PN} += "${sysconfdir}/xl2tpd.conf ${sysconfdir}/default/xl2tpd" |
| 38 | 38 | ||
| 39 | INITSCRIPT_PACKAGES = "${PN}" | 39 | INITSCRIPT_PACKAGES = "${PN}" |
| 40 | INITSCRIPT_NAME_${PN} = "xl2tpd" | 40 | INITSCRIPT_NAME:${PN} = "xl2tpd" |
