diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:04:53 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:21:25 -0700 |
| commit | c61dc077bbd81260e4f167fa2251643ba0ba6974 (patch) | |
| tree | 66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-networking/recipes-daemons/vsftpd | |
| parent | c5f7cfb8db54cfa4257797db5bd87828dea43296 (diff) | |
| download | meta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz | |
Convert to new override syntax
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/vsftpd')
| -rw-r--r-- | meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb | 20 |
1 files changed, 10 insertions, 10 deletions
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 |
