diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-05-13 14:16:55 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-05-23 08:44:44 -0700 |
| commit | ffc64e9c6fee0af7eea3466135416d011172a5e6 (patch) | |
| tree | b9effa069d9af3c63d6f3a41caff6b887450522c /meta-networking/recipes-daemons/proftpd | |
| parent | a90f89dbc7eff2ae83bab6a6676f4737c0b48a8d (diff) | |
| download | meta-openembedded-ffc64e9c6fee0af7eea3466135416d011172a5e6.tar.gz | |
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/proftpd')
| -rw-r--r-- | meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb index ecd2777247..aa8d5fabd6 100644 --- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb +++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb | |||
| @@ -82,14 +82,14 @@ do_install () { | |||
| 82 | sed -i '/ *User[ \t]*/s/ftp/${FTPUSER}/' ${D}${sysconfdir}/proftpd.conf | 82 | sed -i '/ *User[ \t]*/s/ftp/${FTPUSER}/' ${D}${sysconfdir}/proftpd.conf |
| 83 | sed -i '/ *Group[ \t]*/s/ftp/${FTPGROUP}/' ${D}${sysconfdir}/proftpd.conf | 83 | sed -i '/ *Group[ \t]*/s/ftp/${FTPGROUP}/' ${D}${sysconfdir}/proftpd.conf |
| 84 | install -d ${D}${sysconfdir}/init.d | 84 | install -d ${D}${sysconfdir}/init.d |
| 85 | install -m 0755 ${WORKDIR}/proftpd-basic.init ${D}${sysconfdir}/init.d/proftpd | 85 | install -m 0755 ${UNPACKDIR}/proftpd-basic.init ${D}${sysconfdir}/init.d/proftpd |
| 86 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/proftpd | 86 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/proftpd |
| 87 | sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/proftpd | 87 | sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/proftpd |
| 88 | sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/proftpd | 88 | sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/proftpd |
| 89 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${sysconfdir}/init.d/proftpd | 89 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${sysconfdir}/init.d/proftpd |
| 90 | 90 | ||
| 91 | install -d ${D}${sysconfdir}/default | 91 | install -d ${D}${sysconfdir}/default |
| 92 | install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/proftpd | 92 | install -m 0755 ${UNPACKDIR}/default ${D}${sysconfdir}/default/proftpd |
| 93 | 93 | ||
| 94 | # create the pub directory | 94 | # create the pub directory |
| 95 | mkdir -p ${D}/home/${FTPUSER}/pub/ | 95 | mkdir -p ${D}/home/${FTPUSER}/pub/ |
| @@ -105,7 +105,7 @@ do_install () { | |||
| 105 | fi | 105 | fi |
| 106 | 106 | ||
| 107 | install -d ${D}/${systemd_unitdir}/system | 107 | install -d ${D}/${systemd_unitdir}/system |
| 108 | install -m 644 ${WORKDIR}/proftpd.service ${D}/${systemd_unitdir}/system | 108 | install -m 644 ${UNPACKDIR}/proftpd.service ${D}/${systemd_unitdir}/system |
| 109 | sed -e 's,@BASE_SBINDIR@,${base_sbindir},g' \ | 109 | sed -e 's,@BASE_SBINDIR@,${base_sbindir},g' \ |
| 110 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | 110 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
| 111 | -e 's,@SBINDIR@,${sbindir},g' \ | 111 | -e 's,@SBINDIR@,${sbindir},g' \ |
