diff options
Diffstat (limited to 'meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb')
| -rw-r--r-- | meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.27.bb | 22 |
1 files changed, 11 insertions, 11 deletions
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" |
