diff options
Diffstat (limited to 'meta-networking/recipes-daemons')
19 files changed, 126 insertions, 126 deletions
diff --git a/meta-networking/recipes-daemons/atftp/atftp_0.7.4.bb b/meta-networking/recipes-daemons/atftp/atftp_0.7.4.bb index 936fc723f7..7661e9c48e 100644 --- a/meta-networking/recipes-daemons/atftp/atftp_0.7.4.bb +++ b/meta-networking/recipes-daemons/atftp/atftp_0.7.4.bb | |||
| @@ -21,13 +21,13 @@ PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" | |||
| 21 | PACKAGECONFIG[readline] = "--enable-libreadline,--disable-libreadline,readline" | 21 | PACKAGECONFIG[readline] = "--enable-libreadline,--disable-libreadline,readline" |
| 22 | 22 | ||
| 23 | INITSCRIPT_PACKAGES = "${PN}d" | 23 | INITSCRIPT_PACKAGES = "${PN}d" |
| 24 | INITSCRIPT_NAME_${PN}d = "atftpd" | 24 | INITSCRIPT_NAME:${PN}d = "atftpd" |
| 25 | INITSCRIPT_PARAMS_${PN}d = "defaults 80" | 25 | INITSCRIPT_PARAMS:${PN}d = "defaults 80" |
| 26 | 26 | ||
| 27 | 27 | ||
| 28 | EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -std=gnu89'" | 28 | 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 ${WORKDIR}/atftpd.init ${D}${sysconfdir}/init.d/atftpd |
| 33 | 33 | ||
| @@ -41,16 +41,16 @@ do_install_append() { | |||
| 41 | 41 | ||
| 42 | PACKAGES =+ "${PN}d" | 42 | PACKAGES =+ "${PN}d" |
| 43 | 43 | ||
| 44 | FILES_${PN} = "${bindir}/*" | 44 | FILES:${PN} = "${bindir}/*" |
| 45 | 45 | ||
| 46 | FILES_${PN}d = "${sbindir}/* \ | 46 | FILES:${PN}d = "${sbindir}/* \ |
| 47 | ${sysconfdir} \ | 47 | ${sysconfdir} \ |
| 48 | /srv/tftp \ | 48 | /srv/tftp \ |
| 49 | ${systemd_unitdir}/system/atftpd.service \ | 49 | ${systemd_unitdir}/system/atftpd.service \ |
| 50 | " | 50 | " |
| 51 | 51 | ||
| 52 | SYSTEMD_PACKAGES = "${PN}d" | 52 | SYSTEMD_PACKAGES = "${PN}d" |
| 53 | SYSTEMD_SERVICE_${PN}d = "atftpd.service" | 53 | SYSTEMD_SERVICE:${PN}d = "atftpd.service" |
| 54 | RPROVIDES_${PN}d += "${PN}d-systemd" | 54 | RPROVIDES:${PN}d += "${PN}d-systemd" |
| 55 | RREPLACES_${PN}d += "${PN}d-systemd" | 55 | RREPLACES:${PN}d += "${PN}d-systemd" |
| 56 | RCONFLICTS_${PN}d += "${PN}d-systemd" | 56 | RCONFLICTS:${PN}d += "${PN}d-systemd" |
diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.1.7.bb b/meta-networking/recipes-daemons/autofs/autofs_5.1.7.bb index fd49e53bbd..3fc574fd0a 100644 --- a/meta-networking/recipes-daemons/autofs/autofs_5.1.7.bb +++ b/meta-networking/recipes-daemons/autofs/autofs_5.1.7.bb | |||
| @@ -60,14 +60,14 @@ CACHED_CONFIGUREVARS = "ac_cv_path_RANLIB=${RANLIB} \ | |||
| 60 | piddir=/run \ | 60 | piddir=/run \ |
| 61 | " | 61 | " |
| 62 | 62 | ||
| 63 | do_configure_prepend () { | 63 | do_configure:prepend () { |
| 64 | if [ ! -e ${S}/acinclude.m4 ]; then | 64 | if [ ! -e ${S}/acinclude.m4 ]; then |
| 65 | cp ${S}/aclocal.m4 ${S}/acinclude.m4 | 65 | cp ${S}/aclocal.m4 ${S}/acinclude.m4 |
| 66 | fi | 66 | fi |
| 67 | cp ${STAGING_DATADIR_NATIVE}/aclocal/pkg.m4 . | 67 | cp ${STAGING_DATADIR_NATIVE}/aclocal/pkg.m4 . |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | do_install_append () { | 70 | do_install:append () { |
| 71 | # samples have been removed from SUBDIRS from 5.1.5, need to install separately | 71 | # samples have been removed from SUBDIRS from 5.1.5, need to install separately |
| 72 | oe_runmake 'DESTDIR=${D}' install_samples | 72 | oe_runmake 'DESTDIR=${D}' install_samples |
| 73 | 73 | ||
| @@ -90,9 +90,9 @@ SOLIBS = ".so" | |||
| 90 | FILES_SOLIBSDEV = "" | 90 | FILES_SOLIBSDEV = "" |
| 91 | # Some symlinks are created in plugins dir e.g. | 91 | # Some symlinks are created in plugins dir e.g. |
| 92 | # mount_nfs4.so -> mount_nfs.so | 92 | # mount_nfs4.so -> mount_nfs.so |
| 93 | INSANE_SKIP_${PN} = "dev-so" | 93 | INSANE_SKIP:${PN} = "dev-so" |
| 94 | 94 | ||
| 95 | RPROVIDES_${PN} += "${PN}-systemd" | 95 | RPROVIDES:${PN} += "${PN}-systemd" |
| 96 | RREPLACES_${PN} += "${PN}-systemd" | 96 | RREPLACES:${PN} += "${PN}-systemd" |
| 97 | RCONFLICTS_${PN} += "${PN}-systemd" | 97 | RCONFLICTS:${PN} += "${PN}-systemd" |
| 98 | SYSTEMD_SERVICE_${PN} = "autofs.service" | 98 | SYSTEMD_SERVICE:${PN} = "autofs.service" |
diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb index c4b41ace8c..46aeb23a3b 100644 --- a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb +++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb | |||
| @@ -41,7 +41,7 @@ PACKAGECONFIG[ntlm] = "--enable-ntlm=yes,--enable-ntlm=no,," | |||
| 41 | 41 | ||
| 42 | CFLAGS += "-fPIC" | 42 | CFLAGS += "-fPIC" |
| 43 | 43 | ||
| 44 | do_configure_prepend () { | 44 | do_configure:prepend () { |
| 45 | # make it be able to work with db 5.0 version | 45 | # make it be able to work with db 5.0 version |
| 46 | local sed_files="sasldb/db_berkeley.c utils/dbconverter-2.c" | 46 | local sed_files="sasldb/db_berkeley.c utils/dbconverter-2.c" |
| 47 | for sed_file in $sed_files; do | 47 | for sed_file in $sed_files; do |
| @@ -49,14 +49,14 @@ do_configure_prepend () { | |||
| 49 | done | 49 | done |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | do_compile_prepend () { | 52 | do_compile:prepend () { |
| 53 | cd include | 53 | cd include |
| 54 | ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} ${S}/include/makemd5.c -o makemd5 | 54 | ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} ${S}/include/makemd5.c -o makemd5 |
| 55 | touch makemd5.o makemd5.lo makemd5 | 55 | touch makemd5.o makemd5.lo makemd5 |
| 56 | cd .. | 56 | cd .. |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | do_install_append() { | 59 | do_install:append() { |
| 60 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 60 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 61 | install -d ${D}${systemd_unitdir}/system | 61 | install -d ${D}${systemd_unitdir}/system |
| 62 | install -m 0644 ${WORKDIR}/saslauthd.service ${D}${systemd_unitdir}/system | 62 | install -m 0644 ${WORKDIR}/saslauthd.service ${D}${systemd_unitdir}/system |
| @@ -75,10 +75,10 @@ do_install_append() { | |||
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | USERADD_PACKAGES = "${PN}-bin" | 77 | USERADD_PACKAGES = "${PN}-bin" |
| 78 | USERADD_PARAM_${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus" | 78 | USERADD_PARAM:${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus" |
| 79 | 79 | ||
| 80 | SYSTEMD_PACKAGES = "${PN}-bin" | 80 | SYSTEMD_PACKAGES = "${PN}-bin" |
| 81 | SYSTEMD_SERVICE_${PN}-bin = "saslauthd.service" | 81 | SYSTEMD_SERVICE:${PN}-bin = "saslauthd.service" |
| 82 | SYSTEMD_AUTO_ENABLE = "disable" | 82 | SYSTEMD_AUTO_ENABLE = "disable" |
| 83 | 83 | ||
| 84 | SRC_URI[md5sum] = "a7f4e5e559a0e37b3ffc438c9456e425" | 84 | SRC_URI[md5sum] = "a7f4e5e559a0e37b3ffc438c9456e425" |
| @@ -86,16 +86,16 @@ SRC_URI[sha256sum] = "8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f134 | |||
| 86 | 86 | ||
| 87 | PACKAGES =+ "${PN}-bin" | 87 | PACKAGES =+ "${PN}-bin" |
| 88 | 88 | ||
| 89 | FILES_${PN} += "${libdir}/sasl2/*.so*" | 89 | FILES:${PN} += "${libdir}/sasl2/*.so*" |
| 90 | FILES_${PN}-bin += "${bindir} \ | 90 | FILES:${PN}-bin += "${bindir} \ |
| 91 | ${sysconfdir}/default/saslauthd \ | 91 | ${sysconfdir}/default/saslauthd \ |
| 92 | ${systemd_unitdir}/system/saslauthd.service \ | 92 | ${systemd_unitdir}/system/saslauthd.service \ |
| 93 | ${sysconfdir}/tmpfiles.d/saslauthd.conf" | 93 | ${sysconfdir}/tmpfiles.d/saslauthd.conf" |
| 94 | FILES_${PN}-dev += "${libdir}/sasl2/*.la" | 94 | FILES:${PN}-dev += "${libdir}/sasl2/*.la" |
| 95 | FILES_${PN}-dbg += "${libdir}/sasl2/.debug" | 95 | FILES:${PN}-dbg += "${libdir}/sasl2/.debug" |
| 96 | FILES_${PN}-staticdev += "${libdir}/sasl2/*.a" | 96 | FILES:${PN}-staticdev += "${libdir}/sasl2/*.a" |
| 97 | 97 | ||
| 98 | INSANE_SKIP_${PN} += "dev-so" | 98 | INSANE_SKIP:${PN} += "dev-so" |
| 99 | 99 | ||
| 100 | # CVE-2020-8032 affects only openSUSE | 100 | # CVE-2020-8032 affects only openSUSE |
| 101 | CVE_CHECK_WHITELIST += "CVE-2020-8032" | 101 | CVE_CHECK_WHITELIST += "CVE-2020-8032" |
diff --git a/meta-networking/recipes-daemons/ippool/ippool_1.3.bb b/meta-networking/recipes-daemons/ippool/ippool_1.3.bb index 3554e688ab..19fbd0fa24 100644 --- a/meta-networking/recipes-daemons/ippool/ippool_1.3.bb +++ b/meta-networking/recipes-daemons/ippool/ippool_1.3.bb | |||
| @@ -36,7 +36,7 @@ SRC_URI[sha256sum] = "d3eab7d6cad5da8ccc9d1e31d5303e27a39622c07bdb8fa3618eea3144 | |||
| 36 | inherit systemd | 36 | inherit systemd |
| 37 | 37 | ||
| 38 | DEPENDS = "readline ppp ncurses gzip-native rpcsvc-proto-native libtirpc" | 38 | DEPENDS = "readline ppp ncurses gzip-native rpcsvc-proto-native libtirpc" |
| 39 | RDEPENDS_${PN} = "rpcbind" | 39 | RDEPENDS:${PN} = "rpcbind" |
| 40 | 40 | ||
| 41 | EXTRA_OEMAKE = "CC='${CC}' AS='${AS}' LD='${LD}' AR='${AR}' NM='${NM}' STRIP='${STRIP}'" | 41 | EXTRA_OEMAKE = "CC='${CC}' AS='${AS}' LD='${LD}' AR='${AR}' NM='${NM}' STRIP='${STRIP}'" |
| 42 | EXTRA_OEMAKE += "PPPD_VERSION=${PPPD_VERSION} SYS_LIBDIR=${libdir}" | 42 | EXTRA_OEMAKE += "PPPD_VERSION=${PPPD_VERSION} SYS_LIBDIR=${libdir}" |
| @@ -45,11 +45,11 @@ EXTRA_OEMAKE += "IPPOOL_TEST=y" | |||
| 45 | 45 | ||
| 46 | CPPFLAGS += "${SELECTED_OPTIMIZATION} -I${STAGING_INCDIR}/tirpc" | 46 | CPPFLAGS += "${SELECTED_OPTIMIZATION} -I${STAGING_INCDIR}/tirpc" |
| 47 | 47 | ||
| 48 | SYSTEMD_SERVICE_${PN} = "ippool.service" | 48 | SYSTEMD_SERVICE:${PN} = "ippool.service" |
| 49 | SYSTEMD_AUTO_ENABLE = "disable" | 49 | SYSTEMD_AUTO_ENABLE = "disable" |
| 50 | 50 | ||
| 51 | 51 | ||
| 52 | do_compile_prepend() { | 52 | do_compile:prepend() { |
| 53 | # fix the CFLAGS= and CPPFLAGS= in main Makefile, to have the extra CFLAGS in env | 53 | # fix the CFLAGS= and CPPFLAGS= in main Makefile, to have the extra CFLAGS in env |
| 54 | sed -i -e "s/^CFLAGS=/CFLAGS+=/" ${S}/Makefile | 54 | sed -i -e "s/^CFLAGS=/CFLAGS+=/" ${S}/Makefile |
| 55 | sed -i -e "s/^CPPFLAGS=/CPPFLAGS+=/" ${S}/Makefile | 55 | sed -i -e "s/^CPPFLAGS=/CPPFLAGS+=/" ${S}/Makefile |
| @@ -79,12 +79,12 @@ do_install() { | |||
| 79 | 79 | ||
| 80 | PACKAGES =+ "${PN}-test" | 80 | PACKAGES =+ "${PN}-test" |
| 81 | 81 | ||
| 82 | FILES_${PN} += "${libdir}/pppd/${PPPD_VERSION}/ippool.so" | 82 | FILES:${PN} += "${libdir}/pppd/${PPPD_VERSION}/ippool.so" |
| 83 | FILES_${PN}-dbg += "${libdir}/pppd/${PPPD_VERSION}/.debug/ippool.so" | 83 | FILES:${PN}-dbg += "${libdir}/pppd/${PPPD_VERSION}/.debug/ippool.so" |
| 84 | FILES_${PN}-test = "/opt/${BPN}" | 84 | FILES:${PN}-test = "/opt/${BPN}" |
| 85 | 85 | ||
| 86 | # needs tcl to run tests | 86 | # needs tcl to run tests |
| 87 | RDEPENDS_${PN}-test += "tcl ${BPN}" | 87 | RDEPENDS:${PN}-test += "tcl ${BPN}" |
| 88 | 88 | ||
| 89 | PPPD_VERSION="${@get_ppp_version(d)}" | 89 | PPPD_VERSION="${@get_ppp_version(d)}" |
| 90 | 90 | ||
diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.4.bb b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.4.bb index 8a3dd011e4..8e0da23b68 100644 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.4.bb +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.4.bb | |||
| @@ -100,7 +100,7 @@ do_install () { | |||
| 100 | fi | 100 | fi |
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | pkg_postinst_${PN}() { | 103 | pkg_postinst:${PN}() { |
| 104 | if [ "x$D" = "x" ]; then | 104 | if [ "x$D" = "x" ]; then |
| 105 | if [ -e /etc/init.d/populate-volatile.sh ]; then | 105 | if [ -e /etc/init.d/populate-volatile.sh ]; then |
| 106 | /etc/init.d/populate-volatile.sh update | 106 | /etc/init.d/populate-volatile.sh update |
| @@ -114,4 +114,4 @@ SYSTEMD_SERVICE = " iscsi-initiator.service iscsi-initiator-targets.service " | |||
| 114 | INITSCRIPT_NAME = "iscsid" | 114 | INITSCRIPT_NAME = "iscsid" |
| 115 | INITSCRIPT_PARAMS = "start 30 1 2 3 4 5 . stop 70 0 1 2 3 4 5 6 ." | 115 | INITSCRIPT_PARAMS = "start 30 1 2 3 4 5 . stop 70 0 1 2 3 4 5 6 ." |
| 116 | 116 | ||
| 117 | FILES_${PN} += "${nonarch_libdir}/iscsi" | 117 | FILES:${PN} += "${nonarch_libdir}/iscsi" |
diff --git a/meta-networking/recipes-daemons/keepalived/keepalived_2.2.2.bb b/meta-networking/recipes-daemons/keepalived/keepalived_2.2.2.bb index f0cbca1bec..d04b73876d 100644 --- a/meta-networking/recipes-daemons/keepalived/keepalived_2.2.2.bb +++ b/meta-networking/recipes-daemons/keepalived/keepalived_2.2.2.bb | |||
| @@ -29,7 +29,7 @@ PACKAGECONFIG[systemd] = "--with-init=systemd --with-systemdsystemunitdir=${syst | |||
| 29 | 29 | ||
| 30 | EXTRA_OEMAKE = "initdir=${sysconfdir}/init.d" | 30 | EXTRA_OEMAKE = "initdir=${sysconfdir}/init.d" |
| 31 | 31 | ||
| 32 | do_install_append() { | 32 | do_install:append() { |
| 33 | if [ -f ${D}${sysconfdir}/init.d/${BPN} ]; then | 33 | if [ -f ${D}${sysconfdir}/init.d/${BPN} ]; then |
| 34 | chmod 0755 ${D}${sysconfdir}/init.d/${BPN} | 34 | chmod 0755 ${D}${sysconfdir}/init.d/${BPN} |
| 35 | sed -i 's#rc.d/##' ${D}${sysconfdir}/init.d/${BPN} | 35 | sed -i 's#rc.d/##' ${D}${sysconfdir}/init.d/${BPN} |
| @@ -40,7 +40,7 @@ do_install_append() { | |||
| 40 | fi | 40 | fi |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | FILES_${PN} += "${datadir}/snmp/mibs/KEEPALIVED-MIB.txt" | 43 | FILES:${PN} += "${datadir}/snmp/mibs/KEEPALIVED-MIB.txt" |
| 44 | 44 | ||
| 45 | SYSTEMD_SERVICE_${PN} = "keepalived.service" | 45 | SYSTEMD_SERVICE:${PN} = "keepalived.service" |
| 46 | SYSTEMD_AUTO_ENABLE ?= "disable" | 46 | SYSTEMD_AUTO_ENABLE ?= "disable" |
diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.8.bb b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.8.bb index bd94c09198..d5e9e2c303 100644 --- a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.8.bb +++ b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.8.bb | |||
| @@ -17,8 +17,8 @@ SRC_URI[sha256sum] = "98d200e76e30f6262c4a4493148c1840827898329146a57a34f8f0f928 | |||
| 17 | inherit autotools update-rc.d useradd systemd pkgconfig bash-completion | 17 | inherit autotools update-rc.d useradd systemd pkgconfig bash-completion |
| 18 | 18 | ||
| 19 | USERADD_PACKAGES = "${PN}" | 19 | USERADD_PACKAGES = "${PN}" |
| 20 | USERADD_PARAM_${PN} = "--system -g lldpd --shell /bin/false lldpd" | 20 | USERADD_PARAM:${PN} = "--system -g lldpd --shell /bin/false lldpd" |
| 21 | GROUPADD_PARAM_${PN} = "--system lldpd" | 21 | GROUPADD_PARAM:${PN} = "--system lldpd" |
| 22 | 22 | ||
| 23 | EXTRA_OECONF += "--without-embedded-libevent \ | 23 | EXTRA_OECONF += "--without-embedded-libevent \ |
| 24 | --disable-oldies \ | 24 | --disable-oldies \ |
| @@ -45,9 +45,9 @@ PACKAGECONFIG[custom] = "--enable-custom,--disable-custom" | |||
| 45 | INITSCRIPT_NAME = "lldpd" | 45 | INITSCRIPT_NAME = "lldpd" |
| 46 | INITSCRIPT_PARAMS = "defaults" | 46 | INITSCRIPT_PARAMS = "defaults" |
| 47 | 47 | ||
| 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 ${WORKDIR}/lldpd.init.d ${D}${sysconfdir}/init.d/lldpd |
| 52 | install -Dm 0644 ${WORKDIR}/lldpd.default ${D}${sysconfdir}/default/lldpd | 52 | install -Dm 0644 ${WORKDIR}/lldpd.default ${D}${sysconfdir}/default/lldpd |
| 53 | # Make an empty configuration file | 53 | # Make an empty configuration file |
| @@ -56,9 +56,9 @@ do_install_append() { | |||
| 56 | 56 | ||
| 57 | PACKAGES =+ "${PN}-zsh-completion" | 57 | PACKAGES =+ "${PN}-zsh-completion" |
| 58 | 58 | ||
| 59 | FILES_${PN} += "${libdir}/sysusers.d" | 59 | FILES:${PN} += "${libdir}/sysusers.d" |
| 60 | RDEPENDS_${PN} += "os-release" | 60 | RDEPENDS:${PN} += "os-release" |
| 61 | 61 | ||
| 62 | FILES_${PN}-zsh-completion += "${datadir}/zsh/" | 62 | FILES:${PN}-zsh-completion += "${datadir}/zsh/" |
| 63 | # FIXME: zsh is broken in meta-oe so this cannot be enabled for now | 63 | # FIXME: zsh is broken in meta-oe so this cannot be enabled for now |
| 64 | #RDEPENDS_${PN}-zsh-completion += "zsh" | 64 | #RDEPENDS_${PN}-zsh-completion += "zsh" |
diff --git a/meta-networking/recipes-daemons/ncftp/ncftp_3.2.6.bb b/meta-networking/recipes-daemons/ncftp/ncftp_3.2.6.bb index ee6da5737f..592f98f9d3 100644 --- a/meta-networking/recipes-daemons/ncftp/ncftp_3.2.6.bb +++ b/meta-networking/recipes-daemons/ncftp/ncftp_3.2.6.bb | |||
| @@ -21,7 +21,7 @@ PACKAGECONFIG ??= "" | |||
| 21 | PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,," | 21 | PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,," |
| 22 | 22 | ||
| 23 | EXTRA_OECONF = "--disable-precomp" | 23 | EXTRA_OECONF = "--disable-precomp" |
| 24 | TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}" | 24 | TARGET_CC_ARCH:append = " ${SELECTED_OPTIMIZATION}" |
| 25 | 25 | ||
| 26 | do_configure() { | 26 | do_configure() { |
| 27 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} | 27 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} |
diff --git a/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb b/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb index a697e983f6..5159cf51e4 100644 --- a/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb +++ b/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb | |||
| @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d" | |||
| 9 | 9 | ||
| 10 | inherit features_check systemd | 10 | inherit features_check systemd |
| 11 | 11 | ||
| 12 | RDEPENDS_${PN} = "python3-pygobject python3-dbus" | 12 | RDEPENDS:${PN} = "python3-pygobject python3-dbus" |
| 13 | REQUIRED_DISTRO_FEATURES = "systemd" | 13 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 14 | 14 | ||
| 15 | SRCREV = "30e278e50749a60a930ceaa0971207c6436b8a0c" | 15 | SRCREV = "30e278e50749a60a930ceaa0971207c6436b8a0c" |
| @@ -18,7 +18,7 @@ SRC_URI = "git://gitlab.com/craftyguy/networkd-dispatcher;protocol=https;nobranc | |||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
| 19 | 19 | ||
| 20 | SYSTEMD_PACKAGES = "${PN}" | 20 | SYSTEMD_PACKAGES = "${PN}" |
| 21 | SYSTEMD_SERVICE_${PN} = "networkd-dispatcher.service" | 21 | SYSTEMD_SERVICE:${PN} = "networkd-dispatcher.service" |
| 22 | SYSTEMD_AUTO_ENABLE = "disable" | 22 | SYSTEMD_AUTO_ENABLE = "disable" |
| 23 | 23 | ||
| 24 | # Nothing to build, just a python script to install | 24 | # Nothing to build, just a python script to install |
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 e8d19a2c0b..bacf984e74 100644 --- a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb +++ b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | |||
| @@ -55,10 +55,10 @@ inherit autotools pkgconfig ptest update-rc.d systemd | |||
| 55 | 55 | ||
| 56 | PACKAGES =+ "${PN}-libs" | 56 | PACKAGES =+ "${PN}-libs" |
| 57 | 57 | ||
| 58 | FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so" | 58 | FILES:${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so" |
| 59 | 59 | ||
| 60 | INSANE_SKIP_${PN}-libs = "dev-so" | 60 | INSANE_SKIP:${PN}-libs = "dev-so" |
| 61 | RDEPENDS_${PN} += "${PN}-libs" | 61 | RDEPENDS:${PN} += "${PN}-libs" |
| 62 | 62 | ||
| 63 | PACKAGECONFIG ??= "libgcrypt non32bit snmp-bc" | 63 | PACKAGECONFIG ??= "libgcrypt non32bit snmp-bc" |
| 64 | PACKAGECONFIG[sysfs] = "--enable-sysfs,--disable-sysfs,sysfsutils," | 64 | PACKAGECONFIG[sysfs] = "--enable-sysfs,--disable-sysfs,sysfsutils," |
| @@ -68,7 +68,7 @@ PACKAGECONFIG[snmp-bc] = "--enable-snmp_bc,--disable-snmp_bc" | |||
| 68 | 68 | ||
| 69 | export DISTRO | 69 | export DISTRO |
| 70 | 70 | ||
| 71 | do_install_append () { | 71 | do_install:append () { |
| 72 | install -m 0755 -d ${D}${sysconfdir}/${BPN} | 72 | install -m 0755 -d ${D}${sysconfdir}/${BPN} |
| 73 | install -m 0644 ${S}/openhpiclient.conf.example ${D}${sysconfdir}/${BPN}/openhpiclient.conf | 73 | install -m 0644 ${S}/openhpiclient.conf.example ${D}${sysconfdir}/${BPN}/openhpiclient.conf |
| 74 | install -m 0600 ${S}/openhpi.conf.example ${D}${sysconfdir}/${BPN}/openhpi.conf | 74 | install -m 0600 ${S}/openhpi.conf.example ${D}${sysconfdir}/${BPN}/openhpi.conf |
| @@ -134,5 +134,5 @@ do_install_ptest () { | |||
| 134 | INITSCRIPT_NAME = "openhpid" | 134 | INITSCRIPT_NAME = "openhpid" |
| 135 | INITSCRIPT_PARAMS = "start 30 . stop 70 0 1 2 3 4 5 6 ." | 135 | INITSCRIPT_PARAMS = "start 30 . stop 70 0 1 2 3 4 5 6 ." |
| 136 | 136 | ||
| 137 | SYSTEMD_SERVICE_${PN} = "openhpid.service" | 137 | SYSTEMD_SERVICE:${PN} = "openhpid.service" |
| 138 | SYSTEMD_AUTO_ENABLE = "disable" | 138 | SYSTEMD_AUTO_ENABLE = "disable" |
diff --git a/meta-networking/recipes-daemons/opensaf/opensaf_5.21.06.bb b/meta-networking/recipes-daemons/opensaf/opensaf_5.21.06.bb index a971677203..caa85e040a 100644 --- a/meta-networking/recipes-daemons/opensaf/opensaf_5.21.06.bb +++ b/meta-networking/recipes-daemons/opensaf/opensaf_5.21.06.bb | |||
| @@ -37,10 +37,10 @@ UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/opensaf/files/releases" | |||
| 37 | inherit autotools useradd systemd pkgconfig | 37 | inherit autotools useradd systemd pkgconfig |
| 38 | 38 | ||
| 39 | USERADD_PACKAGES = "${PN}" | 39 | USERADD_PACKAGES = "${PN}" |
| 40 | GROUPADD_PARAM_${PN} = "-f -r opensaf" | 40 | GROUPADD_PARAM:${PN} = "-f -r opensaf" |
| 41 | USERADD_PARAM_${PN} = "-r -g opensaf -d ${datadir}/opensaf/ -s ${sbindir}/nologin -c \"OpenSAF\" opensaf" | 41 | USERADD_PARAM:${PN} = "-r -g opensaf -d ${datadir}/opensaf/ -s ${sbindir}/nologin -c \"OpenSAF\" opensaf" |
| 42 | 42 | ||
| 43 | SYSTEMD_SERVICE_${PN} += "opensafd.service" | 43 | SYSTEMD_SERVICE:${PN} += "opensafd.service" |
| 44 | SYSTEMD_AUTO_ENABLE = "disable" | 44 | SYSTEMD_AUTO_ENABLE = "disable" |
| 45 | 45 | ||
| 46 | PACKAGECONFIG[systemd] = ",,systemd" | 46 | PACKAGECONFIG[systemd] = ",,systemd" |
| @@ -53,7 +53,7 @@ CPPFLAGS += "-Wno-error=stringop-overflow= -Wno-error=stringop-truncation" | |||
| 53 | CXXFLAGS += "-Wno-error=stringop-overflow= -Wno-error=stringop-truncation -Wno-error=format-truncation=" | 53 | CXXFLAGS += "-Wno-error=stringop-overflow= -Wno-error=stringop-truncation -Wno-error=format-truncation=" |
| 54 | LDFLAGS += "-Wl,--as-needed -latomic -Wl,--no-as-needed" | 54 | LDFLAGS += "-Wl,--as-needed -latomic -Wl,--no-as-needed" |
| 55 | 55 | ||
| 56 | do_install_append() { | 56 | do_install:append() { |
| 57 | rm -fr "${D}${localstatedir}/lock" | 57 | rm -fr "${D}${localstatedir}/lock" |
| 58 | rm -fr "${D}${localstatedir}/run" | 58 | rm -fr "${D}${localstatedir}/run" |
| 59 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" | 59 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" |
| @@ -64,15 +64,15 @@ do_install_append() { | |||
| 64 | fi | 64 | fi |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | FILES_${PN} += "${libdir}/libSa*.so ${systemd_unitdir}/system/*.service" | 67 | FILES:${PN} += "${libdir}/libSa*.so ${systemd_unitdir}/system/*.service" |
| 68 | FILES_${PN}-dev += "${libdir}/libopensaf_core.so" | 68 | FILES:${PN}-dev += "${libdir}/libopensaf_core.so" |
| 69 | FILES_${PN}-staticdev += "${PKGLIBDIR}/*.a" | 69 | FILES:${PN}-staticdev += "${PKGLIBDIR}/*.a" |
| 70 | 70 | ||
| 71 | INSANE_SKIP_${PN} = "dev-so" | 71 | INSANE_SKIP:${PN} = "dev-so" |
| 72 | 72 | ||
| 73 | RDEPENDS_${PN} += "bash python3-core" | 73 | RDEPENDS:${PN} += "bash python3-core" |
| 74 | 74 | ||
| 75 | # http://errors.yoctoproject.org/Errors/Details/186970/ | 75 | # http://errors.yoctoproject.org/Errors/Details/186970/ |
| 76 | COMPATIBLE_HOST_libc-musl = 'null' | 76 | COMPATIBLE_HOST:libc-musl = 'null' |
| 77 | 77 | ||
| 78 | FILES_SOLIBSDEV = "" | 78 | FILES_SOLIBSDEV = "" |
diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc index 4b9940cc7a..7bf258374c 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix.inc | |||
| @@ -25,11 +25,11 @@ inherit update-rc.d useradd update-alternatives systemd lib_package | |||
| 25 | INITSCRIPT_NAME = "postfix" | 25 | INITSCRIPT_NAME = "postfix" |
| 26 | INITSCRIPT_PARAMS = "start 58 3 4 5 . stop 13 0 1 6 ." | 26 | INITSCRIPT_PARAMS = "start 58 3 4 5 . stop 13 0 1 6 ." |
| 27 | USERADD_PACKAGES = "${PN}-bin" | 27 | USERADD_PACKAGES = "${PN}-bin" |
| 28 | USERADD_PARAM_${PN}-bin = \ | 28 | USERADD_PARAM:${PN}-bin = \ |
| 29 | "-d /var/spool/postfix -r -g postfix --shell /bin/false postfix; \ | 29 | "-d /var/spool/postfix -r -g postfix --shell /bin/false postfix; \ |
| 30 | -d /var/spool/vmail -r -g vmail --shell /bin/false vmail \ | 30 | -d /var/spool/vmail -r -g vmail --shell /bin/false vmail \ |
| 31 | " | 31 | " |
| 32 | GROUPADD_PARAM_${PN}-bin = "--system postfix;--system postdrop;--system vmail" | 32 | GROUPADD_PARAM:${PN}-bin = "--system postfix;--system postdrop;--system vmail" |
| 33 | 33 | ||
| 34 | export SYSLIBS = "${LDFLAGS}" | 34 | export SYSLIBS = "${LDFLAGS}" |
| 35 | 35 | ||
| @@ -45,10 +45,10 @@ export AUXLIBS-ldap = "\ | |||
| 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', '-lldap -llber', '', d)}" | 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', '-lldap -llber', '', d)}" |
| 46 | 46 | ||
| 47 | # no native openldap | 47 | # no native openldap |
| 48 | export CCARGS-ldap_class-native = "" | 48 | export CCARGS-ldap:class-native = "" |
| 49 | export AUXLIBS-ldap_class-native = "" | 49 | export AUXLIBS-ldap:class-native = "" |
| 50 | 50 | ||
| 51 | export CCARGS-nonis_libc-musl = "-DNO_NIS" | 51 | export CCARGS-nonis:libc-musl = "-DNO_NIS" |
| 52 | export CCARGS-nonis = "" | 52 | export CCARGS-nonis = "" |
| 53 | 53 | ||
| 54 | # SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH | 54 | # SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH |
| @@ -57,8 +57,8 @@ export CCARGS-sasl = "\ | |||
| 57 | ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', '-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I${STAGING_INCDIR}/sasl', '', d)}" | 57 | ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', '-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I${STAGING_INCDIR}/sasl', '', d)}" |
| 58 | export AUXLIBS-sasl = "\ | 58 | export AUXLIBS-sasl = "\ |
| 59 | ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', '-lsasl2', '', d)}" | 59 | ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', '-lsasl2', '', d)}" |
| 60 | export CCARGS-sasl_class-native = "" | 60 | export CCARGS-sasl:class-native = "" |
| 61 | export AUXLIBS-sasl_class-native = "" | 61 | export AUXLIBS-sasl:class-native = "" |
| 62 | 62 | ||
| 63 | # PCRE, TLS support default | 63 | # PCRE, TLS support default |
| 64 | export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" | 64 | export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" |
| @@ -95,11 +95,11 @@ do_compile () { | |||
| 95 | oe_runmake | 95 | oe_runmake |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | do_install_prepend_class-native() { | 98 | do_install:prepend:class-native() { |
| 99 | export POSTCONF="bin/postconf" | 99 | export POSTCONF="bin/postconf" |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | SYSTEMD_SERVICE_${PN} = "postfix.service" | 102 | SYSTEMD_SERVICE:${PN} = "postfix.service" |
| 103 | 103 | ||
| 104 | do_install () { | 104 | do_install () { |
| 105 | sh ./postfix-install 'install_root=${D}' \ | 105 | sh ./postfix-install 'install_root=${D}' \ |
| @@ -180,14 +180,14 @@ do_install () { | |||
| 180 | rm -rf ${D}/etc/postfix/makedefs.out | 180 | rm -rf ${D}/etc/postfix/makedefs.out |
| 181 | } | 181 | } |
| 182 | 182 | ||
| 183 | do_install_append_class-native() { | 183 | do_install:append:class-native() { |
| 184 | ln -sf ../sbin/sendmail.postfix ${D}${bindir}/newaliases | 184 | ln -sf ../sbin/sendmail.postfix ${D}${bindir}/newaliases |
| 185 | ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq | 185 | ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq |
| 186 | } | 186 | } |
| 187 | 187 | ||
| 188 | ALTERNATIVE_${PN}-bin = "sendmail mailq newaliases" | 188 | ALTERNATIVE:${PN}-bin = "sendmail mailq newaliases" |
| 189 | # /usr/lib/sendmial is required by LSB core test | 189 | # /usr/lib/sendmial is required by LSB core test |
| 190 | ALTERNATIVE_${PN}-bin_linuxstdbase = "sendmail mailq newaliases usr-lib-sendmail" | 190 | ALTERNATIVE:${PN}-bin:linuxstdbase = "sendmail mailq newaliases usr-lib-sendmail" |
| 191 | ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq" | 191 | ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq" |
| 192 | ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases" | 192 | ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases" |
| 193 | ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix" | 193 | ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix" |
| @@ -197,12 +197,12 @@ ALTERNATIVE_LINK_NAME[usr-lib-sendmail] = "/usr/lib/sendmail" | |||
| 197 | 197 | ||
| 198 | ALTERNATIVE_PRIORITY = "120" | 198 | ALTERNATIVE_PRIORITY = "120" |
| 199 | 199 | ||
| 200 | ALTERNATIVE_${PN}-doc += "mailq.1 newaliases.1 sendmail.1" | 200 | ALTERNATIVE:${PN}-doc += "mailq.1 newaliases.1 sendmail.1" |
| 201 | ALTERNATIVE_LINK_NAME[mailq.1] = "${mandir}/man1/mailq.1" | 201 | ALTERNATIVE_LINK_NAME[mailq.1] = "${mandir}/man1/mailq.1" |
| 202 | ALTERNATIVE_LINK_NAME[newaliases.1] = "${mandir}/man1/newaliases.1" | 202 | ALTERNATIVE_LINK_NAME[newaliases.1] = "${mandir}/man1/newaliases.1" |
| 203 | ALTERNATIVE_LINK_NAME[sendmail.1] = "${mandir}/man1/sendmail.1" | 203 | ALTERNATIVE_LINK_NAME[sendmail.1] = "${mandir}/man1/sendmail.1" |
| 204 | 204 | ||
| 205 | pkg_postinst_ontarget_${PN}-cfg () { | 205 | pkg_postinst_ontarget:${PN}-cfg () { |
| 206 | touch /etc/aliases | 206 | touch /etc/aliases |
| 207 | newaliases | 207 | newaliases |
| 208 | 208 | ||
| @@ -212,11 +212,11 @@ pkg_postinst_ontarget_${PN}-cfg () { | |||
| 212 | } | 212 | } |
| 213 | 213 | ||
| 214 | PACKAGES =+ "${PN}-cfg" | 214 | PACKAGES =+ "${PN}-cfg" |
| 215 | RDEPENDS_${PN}-cfg_class-target += "${PN}-bin" | 215 | RDEPENDS:${PN}-cfg:class-target += "${PN}-bin" |
| 216 | RDEPENDS_${PN}_class-target += "${PN}-cfg" | 216 | RDEPENDS:${PN}:class-target += "${PN}-cfg" |
| 217 | # Exclude .debug directories from the main package | 217 | # Exclude .debug directories from the main package |
| 218 | FILES_${PN}-bin += "${localstatedir} ${bindir}/* ${sbindir}/* \ | 218 | FILES:${PN}-bin += "${localstatedir} ${bindir}/* ${sbindir}/* \ |
| 219 | ${libexecdir}/* ${systemd_unitdir}/*" | 219 | ${libexecdir}/* ${systemd_unitdir}/*" |
| 220 | FILES_${PN}-cfg = "${sysconfdir}" | 220 | FILES:${PN}-cfg = "${sysconfdir}" |
| 221 | FILES_${PN}-dbg += "${libexecdir}/postfix/.debug" | 221 | FILES:${PN}-dbg += "${libexecdir}/postfix/.debug" |
| 222 | ALLOW_EMPTY_${PN} = "1" | 222 | ALLOW_EMPTY:${PN} = "1" |
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7a.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7a.bb index f2a89e5a2f..981757b563 100644 --- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7a.bb +++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7a.bb | |||
| @@ -131,15 +131,15 @@ INITSCRIPT_NAME = "proftpd" | |||
| 131 | INITSCRIPT_PARAM = "defaults 85 15" | 131 | INITSCRIPT_PARAM = "defaults 85 15" |
| 132 | 132 | ||
| 133 | SYSTEMD_PACKAGES = "${PN}" | 133 | SYSTEMD_PACKAGES = "${PN}" |
| 134 | SYSTEMD_SERVICE_${PN} = "proftpd.service" | 134 | SYSTEMD_SERVICE:${PN} = "proftpd.service" |
| 135 | 135 | ||
| 136 | USERADD_PACKAGES = "${PN}" | 136 | USERADD_PACKAGES = "${PN}" |
| 137 | GROUPADD_PARAM_${PN} = "--system ${FTPGROUP}" | 137 | GROUPADD_PARAM:${PN} = "--system ${FTPGROUP}" |
| 138 | USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} --home-dir /var/lib/${FTPUSER} --no-create-home \ | 138 | USERADD_PARAM:${PN} = "--system -g ${FTPGROUP} --home-dir /var/lib/${FTPUSER} --no-create-home \ |
| 139 | --shell /bin/false ${FTPUSER}" | 139 | --shell /bin/false ${FTPUSER}" |
| 140 | 140 | ||
| 141 | MULTILIB_SCRIPTS = "${PN}:${bindir}/prxs" | 141 | MULTILIB_SCRIPTS = "${PN}:${bindir}/prxs" |
| 142 | 142 | ||
| 143 | FILES_${PN} += "/home/${FTPUSER}" | 143 | FILES:${PN} += "/home/${FTPUSER}" |
| 144 | 144 | ||
| 145 | RDEPENDS_${PN} += "perl" | 145 | RDEPENDS:${PN} += "perl" |
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 227c9f9170..d1eb6e28fc 100644 --- a/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb +++ b/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb | |||
| @@ -58,5 +58,5 @@ do_install() { | |||
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | SYSTEMD_PACKAGES = "${PN}" | 60 | SYSTEMD_PACKAGES = "${PN}" |
| 61 | SYSTEMD_SERVICE_${PN} = "ptpd.service" | 61 | SYSTEMD_SERVICE:${PN} = "ptpd.service" |
| 62 | SYSTEMD_AUTO_ENABLE = "disable" | 62 | SYSTEMD_AUTO_ENABLE = "disable" |
diff --git a/meta-networking/recipes-daemons/radvd/radvd.inc b/meta-networking/recipes-daemons/radvd/radvd.inc index 802dbe34e9..2afaa48411 100644 --- a/meta-networking/recipes-daemons/radvd/radvd.inc +++ b/meta-networking/recipes-daemons/radvd/radvd.inc | |||
| @@ -23,10 +23,10 @@ SRC_URI = "http://v6web.litech.org/radvd/dist/radvd-${PV}.tar.gz \ | |||
| 23 | 23 | ||
| 24 | inherit autotools useradd pkgconfig systemd | 24 | inherit autotools useradd pkgconfig systemd |
| 25 | 25 | ||
| 26 | SYSTEMD_SERVICE_${PN} = "radvd.service" | 26 | SYSTEMD_SERVICE:${PN} = "radvd.service" |
| 27 | SYSTEMD_AUTO_ENABLE = "disable" | 27 | SYSTEMD_AUTO_ENABLE = "disable" |
| 28 | 28 | ||
| 29 | do_install_append () { | 29 | do_install:append () { |
| 30 | install -m 0755 -d ${D}${sysconfdir}/init.d \ | 30 | install -m 0755 -d ${D}${sysconfdir}/init.d \ |
| 31 | ${D}${sysconfdir}/default/volatiles \ | 31 | ${D}${sysconfdir}/default/volatiles \ |
| 32 | ${D}${docdir}/radvd | 32 | ${D}${docdir}/radvd |
| @@ -58,9 +58,9 @@ do_install_append () { | |||
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | USERADD_PACKAGES = "${PN}" | 60 | USERADD_PACKAGES = "${PN}" |
| 61 | USERADD_PARAM_${PN} = "--system --home ${localstatedir}/run/radvd/ -M -g nogroup radvd" | 61 | USERADD_PARAM:${PN} = "--system --home ${localstatedir}/run/radvd/ -M -g nogroup radvd" |
| 62 | 62 | ||
| 63 | pkg_postinst_${PN} () { | 63 | pkg_postinst:${PN} () { |
| 64 | if [ -z "$D" -a -x /etc/init.d/populate-volatile.sh ]; then | 64 | if [ -z "$D" -a -x /etc/init.d/populate-volatile.sh ]; then |
| 65 | /etc/init.d/populate-volatile.sh update | 65 | /etc/init.d/populate-volatile.sh update |
| 66 | fi | 66 | fi |
diff --git a/meta-networking/recipes-daemons/squid/squid_4.15.bb b/meta-networking/recipes-daemons/squid/squid_4.15.bb index 8ba10674c9..5af00d6269 100644 --- a/meta-networking/recipes-daemons/squid/squid_4.15.bb +++ b/meta-networking/recipes-daemons/squid/squid_4.15.bb | |||
| @@ -27,7 +27,7 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${BPN}-${PV}.tar.bz2 | |||
| 27 | file://0001-Fix-build-on-Fedora-Rawhide-772.patch \ | 27 | file://0001-Fix-build-on-Fedora-Rawhide-772.patch \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | SRC_URI_remove_toolchain-clang = "file://0001-configure-Check-for-Wno-error-format-truncation-comp.patch" | 30 | SRC_URI:remove:toolchain-clang = "file://0001-configure-Check-for-Wno-error-format-truncation-comp.patch" |
| 31 | 31 | ||
| 32 | SRC_URI[sha256sum] = "71635811e766ce8b155225a9e3c7757cfc7ff93df26b28d82e5e6fc021b9a605" | 32 | SRC_URI[sha256sum] = "71635811e766ce8b155225a9e3c7757cfc7ff93df26b28d82e5e6fc021b9a605" |
| 33 | 33 | ||
| @@ -38,13 +38,13 @@ DEPENDS = "libtool krb5 openldap db cyrus-sasl" | |||
| 38 | 38 | ||
| 39 | inherit autotools pkgconfig useradd ptest perlnative | 39 | inherit autotools pkgconfig useradd ptest perlnative |
| 40 | 40 | ||
| 41 | LDFLAGS_append_mipsarch = " -latomic" | 41 | LDFLAGS:append:mipsarch = " -latomic" |
| 42 | LDFLAGS_append_powerpc = " -latomic" | 42 | LDFLAGS:append:powerpc = " -latomic" |
| 43 | LDFLAGS_append_riscv64 = " -latomic" | 43 | LDFLAGS:append:riscv64 = " -latomic" |
| 44 | LDFLAGS_append_riscv32 = " -latomic" | 44 | LDFLAGS:append:riscv32 = " -latomic" |
| 45 | 45 | ||
| 46 | USERADD_PACKAGES = "${PN}" | 46 | USERADD_PACKAGES = "${PN}" |
| 47 | USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid" | 47 | USERADD_PARAM:${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid" |
| 48 | 48 | ||
| 49 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ | 49 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ |
| 50 | " | 50 | " |
| @@ -68,7 +68,7 @@ export BUILDCXXFLAGS="${BUILD_CXXFLAGS}" | |||
| 68 | 68 | ||
| 69 | TESTDIR = "test-suite" | 69 | TESTDIR = "test-suite" |
| 70 | 70 | ||
| 71 | do_configure_prepend() { | 71 | do_configure:prepend() { |
| 72 | export SYSROOT=$PKG_CONFIG_SYSROOT_DIR | 72 | export SYSROOT=$PKG_CONFIG_SYSROOT_DIR |
| 73 | } | 73 | } |
| 74 | 74 | ||
| @@ -92,7 +92,7 @@ do_install_ptest() { | |||
| 92 | sed -i 's:^TRUE = .*$:TRUE = /bin/true:' ${D}${PTEST_PATH}/${TESTDIR}/Makefile | 92 | sed -i 's:^TRUE = .*$:TRUE = /bin/true:' ${D}${PTEST_PATH}/${TESTDIR}/Makefile |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | do_install_append() { | 95 | do_install:append() { |
| 96 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 96 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 97 | install -d ${D}${sysconfdir}/tmpfiles.d | 97 | install -d ${D}${sysconfdir}/tmpfiles.d |
| 98 | echo "d ${localstatedir}/run/${BPN} 0755 squid squid -" >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | 98 | echo "d ${localstatedir}/run/${BPN} 0755 squid squid -" >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf |
| @@ -109,9 +109,9 @@ do_install_append() { | |||
| 109 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}/log" | 109 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}/log" |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | FILES_${PN} += "${libdir} ${datadir}/errors ${datadir}/icons" | 112 | FILES:${PN} += "${libdir} ${datadir}/errors ${datadir}/icons" |
| 113 | FILES_${PN}-dbg += "/usr/src/debug" | 113 | FILES:${PN}-dbg += "/usr/src/debug" |
| 114 | FILES_${PN}-doc += "${datadir}/*.txt" | 114 | FILES:${PN}-doc += "${datadir}/*.txt" |
| 115 | 115 | ||
| 116 | RDEPENDS_${PN} += "perl" | 116 | RDEPENDS:${PN} += "perl" |
| 117 | RDEPENDS_${PN}-ptest += "make" | 117 | RDEPENDS:${PN}-ptest += "make" |
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 dc1d6c67ef..af42bda93c 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 | |||
| @@ -72,26 +72,26 @@ do_install() { | |||
| 72 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/tftpd-hpa.service | 72 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/tftpd-hpa.service |
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | FILES_${PN} = "${bindir}" | 75 | FILES:${PN} = "${bindir}" |
| 76 | 76 | ||
| 77 | PACKAGES += "tftp-hpa-server" | 77 | PACKAGES += "tftp-hpa-server" |
| 78 | SUMMARY_tftp-hpa-server = "Server for the Trivial File Transfer Protocol" | 78 | SUMMARY:tftp-hpa-server = "Server for the Trivial File Transfer Protocol" |
| 79 | FILES_tftp-hpa-server = "${sbindir} ${sysconfdir} ${localstatedir}" | 79 | FILES:tftp-hpa-server = "${sbindir} ${sysconfdir} ${localstatedir}" |
| 80 | CONFFILES_tftp-hpa-server = "${sysconfdir}/default/tftpd-hpa" | 80 | CONFFILES:tftp-hpa-server = "${sysconfdir}/default/tftpd-hpa" |
| 81 | 81 | ||
| 82 | INITSCRIPT_PACKAGES = "tftp-hpa-server" | 82 | INITSCRIPT_PACKAGES = "tftp-hpa-server" |
| 83 | INITSCRIPT_NAME = "tftpd-hpa" | 83 | INITSCRIPT_NAME = "tftpd-hpa" |
| 84 | INITSCRIPT_PARAMS = "start 20 2 3 4 5 . stop 20 1 ." | 84 | INITSCRIPT_PARAMS = "start 20 2 3 4 5 . stop 20 1 ." |
| 85 | 85 | ||
| 86 | ALTERNATIVE_${PN}-doc = "tftpd.8 tftp.1" | 86 | ALTERNATIVE:${PN}-doc = "tftpd.8 tftp.1" |
| 87 | ALTERNATIVE_LINK_NAME[tftpd.8] = "${mandir}/man8/tftpd.8" | 87 | ALTERNATIVE_LINK_NAME[tftpd.8] = "${mandir}/man8/tftpd.8" |
| 88 | ALTERNATIVE_LINK_NAME[tftp.1] = "${mandir}/man1/tftp.1" | 88 | ALTERNATIVE_LINK_NAME[tftp.1] = "${mandir}/man1/tftp.1" |
| 89 | 89 | ||
| 90 | ALTERNATIVE_${PN} = "tftp" | 90 | ALTERNATIVE:${PN} = "tftp" |
| 91 | ALTERNATIVE_TARGET[tftp] = "${bindir}/tftp-hpa" | 91 | ALTERNATIVE_TARGET[tftp] = "${bindir}/tftp-hpa" |
| 92 | ALTERNATIVE_PRIORITY = "100" | 92 | ALTERNATIVE_PRIORITY = "100" |
| 93 | 93 | ||
| 94 | 94 | ||
| 95 | SYSTEMD_PACKAGES = "tftp-hpa-server" | 95 | SYSTEMD_PACKAGES = "tftp-hpa-server" |
| 96 | SYSTEMD_SERVICE_tftp-hpa-server = "tftpd-hpa.socket tftpd-hpa.service" | 96 | SYSTEMD_SERVICE:tftp-hpa-server = "tftpd-hpa.socket tftpd-hpa.service" |
| 97 | SYSTEMD_AUTO_ENABLE_tftp-hpa-server = "enable" | 97 | SYSTEMD_AUTO_ENABLE:tftp-hpa-server = "enable" |
diff --git a/meta-networking/recipes-daemons/vblade/vblade_25.bb b/meta-networking/recipes-daemons/vblade/vblade_25.bb index 647abbfd26..15bf350c77 100644 --- a/meta-networking/recipes-daemons/vblade/vblade_25.bb +++ b/meta-networking/recipes-daemons/vblade/vblade_25.bb | |||
| @@ -51,5 +51,5 @@ do_install() { | |||
| 51 | INITSCRIPT_NAME = "vblade" | 51 | INITSCRIPT_NAME = "vblade" |
| 52 | INITSCRIPT_PARAMS = "start 30 . stop 70 0 1 2 3 4 5 6 ." | 52 | INITSCRIPT_PARAMS = "start 30 . stop 70 0 1 2 3 4 5 6 ." |
| 53 | 53 | ||
| 54 | SYSTEMD_SERVICE_${PN} = "vblade.service" | 54 | SYSTEMD_SERVICE:${PN} = "vblade.service" |
| 55 | SYSTEMD_AUTO_ENABLE = "disable" | 55 | SYSTEMD_AUTO_ENABLE = "disable" |
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb index 024b776def..cf3d7fc966 100644 --- a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb +++ b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb | |||
| @@ -39,16 +39,16 @@ PACKAGECONFIG ??= "tcp-wrappers" | |||
| 39 | PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers" | 39 | PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers" |
| 40 | 40 | ||
| 41 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 41 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
| 42 | RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-listfile', '', d)}" | 42 | RDEPENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-listfile', '', d)}" |
| 43 | PAMLIB = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '-L${STAGING_BASELIBDIR} -lpam', '', d)}" | 43 | PAMLIB = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '-L${STAGING_BASELIBDIR} -lpam', '', d)}" |
| 44 | WRAPLIB = "${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', '-lwrap', '', d)}" | 44 | WRAPLIB = "${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', '-lwrap', '', d)}" |
| 45 | NOPAM_SRC ="${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', 'file://nopam-with-tcp_wrappers.patch', 'file://nopam.patch', d)}" | 45 | NOPAM_SRC ="${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', 'file://nopam-with-tcp_wrappers.patch', 'file://nopam.patch', d)}" |
| 46 | 46 | ||
| 47 | inherit update-rc.d useradd systemd | 47 | inherit update-rc.d useradd systemd |
| 48 | 48 | ||
| 49 | CONFFILES_${PN} = "${sysconfdir}/vsftpd.conf" | 49 | CONFFILES:${PN} = "${sysconfdir}/vsftpd.conf" |
| 50 | LDFLAGS_append =" -lcrypt -lcap" | 50 | LDFLAGS:append =" -lcrypt -lcap" |
| 51 | CFLAGS_append_libc-musl = " -D_GNU_SOURCE -include fcntl.h" | 51 | CFLAGS:append:libc-musl = " -D_GNU_SOURCE -include fcntl.h" |
| 52 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | 52 | EXTRA_OEMAKE = "-e MAKEFLAGS=" |
| 53 | 53 | ||
| 54 | do_configure() { | 54 | do_configure() { |
| @@ -95,17 +95,17 @@ do_install() { | |||
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | INITSCRIPT_PACKAGES = "${PN}" | 97 | INITSCRIPT_PACKAGES = "${PN}" |
| 98 | INITSCRIPT_NAME_${PN} = "vsftpd" | 98 | INITSCRIPT_NAME:${PN} = "vsftpd" |
| 99 | INITSCRIPT_PARAMS_${PN} = "defaults 80" | 99 | INITSCRIPT_PARAMS:${PN} = "defaults 80" |
| 100 | 100 | ||
| 101 | USERADD_PACKAGES = "${PN}" | 101 | USERADD_PACKAGES = "${PN}" |
| 102 | USERADD_PARAM_${PN} = "--system --home-dir /var/lib/ftp --no-create-home -g ftp \ | 102 | USERADD_PARAM:${PN} = "--system --home-dir /var/lib/ftp --no-create-home -g ftp \ |
| 103 | --shell /bin/false ftp " | 103 | --shell /bin/false ftp " |
| 104 | GROUPADD_PARAM_${PN} = "-r ftp" | 104 | GROUPADD_PARAM:${PN} = "-r ftp" |
| 105 | 105 | ||
| 106 | SYSTEMD_SERVICE_${PN} = "vsftpd.service" | 106 | SYSTEMD_SERVICE:${PN} = "vsftpd.service" |
| 107 | 107 | ||
| 108 | pkg_postinst_${PN}() { | 108 | pkg_postinst:${PN}() { |
| 109 | if [ -z "$D" ]; then | 109 | if [ -z "$D" ]; then |
| 110 | if type systemd-tmpfiles >/dev/null; then | 110 | if type systemd-tmpfiles >/dev/null; then |
| 111 | systemd-tmpfiles --create | 111 | systemd-tmpfiles --create |
