diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/vsftpd/vsftpd_2.3.5.bb')
-rw-r--r-- | meta-oe/recipes-connectivity/vsftpd/vsftpd_2.3.5.bb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta-oe/recipes-connectivity/vsftpd/vsftpd_2.3.5.bb b/meta-oe/recipes-connectivity/vsftpd/vsftpd_2.3.5.bb index e5fd7ee2a..1669d96f8 100644 --- a/meta-oe/recipes-connectivity/vsftpd/vsftpd_2.3.5.bb +++ b/meta-oe/recipes-connectivity/vsftpd/vsftpd_2.3.5.bb | |||
@@ -18,21 +18,21 @@ CONFFILES_${PN} = "${sysconfdir}/vsftpd.conf" | |||
18 | LDFLAGS_append =" -lcrypt -lcap" | 18 | LDFLAGS_append =" -lcrypt -lcap" |
19 | 19 | ||
20 | do_configure() { | 20 | do_configure() { |
21 | # Fix hardcoded /usr, /etc, /var mess. | 21 | # Fix hardcoded /usr, /etc, /var mess. |
22 | cat tunables.c|sed s:\"/usr:\"${prefix}:g|sed s:\"/var:\"${localstatedir}:g \ | 22 | cat tunables.c|sed s:\"/usr:\"${prefix}:g|sed s:\"/var:\"${localstatedir}:g \ |
23 | |sed s:\"${prefix}/share/empty:\"${localstatedir}/share/empty:g |sed s:\"/etc:\"${sysconfdir}:g > tunables.c.new | 23 | |sed s:\"${prefix}/share/empty:\"${localstatedir}/share/empty:g |sed s:\"/etc:\"${sysconfdir}:g > tunables.c.new |
24 | mv tunables.c.new tunables.c | 24 | mv tunables.c.new tunables.c |
25 | } | 25 | } |
26 | 26 | ||
27 | do_install() { | 27 | do_install() { |
28 | install -d ${D}${sbindir} | 28 | install -d ${D}${sbindir} |
29 | install -d ${D}${mandir}/man8 | 29 | install -d ${D}${mandir}/man8 |
30 | install -d ${D}${mandir}/man5 | 30 | install -d ${D}${mandir}/man5 |
31 | oe_runmake 'DESTDIR=${D}' install | 31 | oe_runmake 'DESTDIR=${D}' install |
32 | install -d ${D}${sysconfdir} | 32 | install -d ${D}${sysconfdir} |
33 | install -m 0755 ${WORKDIR}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf | 33 | install -m 0755 ${WORKDIR}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf |
34 | install -d ${D}${sysconfdir}/init.d/ | 34 | install -d ${D}${sysconfdir}/init.d/ |
35 | install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/vsftpd | 35 | install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/vsftpd |
36 | } | 36 | } |
37 | 37 | ||
38 | INITSCRIPT_PACKAGES = "${PN}" | 38 | INITSCRIPT_PACKAGES = "${PN}" |