summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/vsftpd
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-networking/recipes-daemons/vsftpd
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-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.bb20
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"
39PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers" 39PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers"
40 40
41DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" 41DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
42RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-listfile', '', d)}" 42RDEPENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-listfile', '', d)}"
43PAMLIB = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '-L${STAGING_BASELIBDIR} -lpam', '', d)}" 43PAMLIB = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '-L${STAGING_BASELIBDIR} -lpam', '', d)}"
44WRAPLIB = "${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', '-lwrap', '', d)}" 44WRAPLIB = "${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', '-lwrap', '', d)}"
45NOPAM_SRC ="${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', 'file://nopam-with-tcp_wrappers.patch', 'file://nopam.patch', d)}" 45NOPAM_SRC ="${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', 'file://nopam-with-tcp_wrappers.patch', 'file://nopam.patch', d)}"
46 46
47inherit update-rc.d useradd systemd 47inherit update-rc.d useradd systemd
48 48
49CONFFILES_${PN} = "${sysconfdir}/vsftpd.conf" 49CONFFILES:${PN} = "${sysconfdir}/vsftpd.conf"
50LDFLAGS_append =" -lcrypt -lcap" 50LDFLAGS:append =" -lcrypt -lcap"
51CFLAGS_append_libc-musl = " -D_GNU_SOURCE -include fcntl.h" 51CFLAGS:append:libc-musl = " -D_GNU_SOURCE -include fcntl.h"
52EXTRA_OEMAKE = "-e MAKEFLAGS=" 52EXTRA_OEMAKE = "-e MAKEFLAGS="
53 53
54do_configure() { 54do_configure() {
@@ -95,17 +95,17 @@ do_install() {
95} 95}
96 96
97INITSCRIPT_PACKAGES = "${PN}" 97INITSCRIPT_PACKAGES = "${PN}"
98INITSCRIPT_NAME_${PN} = "vsftpd" 98INITSCRIPT_NAME:${PN} = "vsftpd"
99INITSCRIPT_PARAMS_${PN} = "defaults 80" 99INITSCRIPT_PARAMS:${PN} = "defaults 80"
100 100
101USERADD_PACKAGES = "${PN}" 101USERADD_PACKAGES = "${PN}"
102USERADD_PARAM_${PN} = "--system --home-dir /var/lib/ftp --no-create-home -g ftp \ 102USERADD_PARAM:${PN} = "--system --home-dir /var/lib/ftp --no-create-home -g ftp \
103 --shell /bin/false ftp " 103 --shell /bin/false ftp "
104GROUPADD_PARAM_${PN} = "-r ftp" 104GROUPADD_PARAM:${PN} = "-r ftp"
105 105
106SYSTEMD_SERVICE_${PN} = "vsftpd.service" 106SYSTEMD_SERVICE:${PN} = "vsftpd.service"
107 107
108pkg_postinst_${PN}() { 108pkg_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