summaryrefslogtreecommitdiff
path: root/vsftpd/vsftpd_2.0.1.oe
blob: 9ea32cba49aaa64874ad84c71ff0bb52016f7835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "Secure ftp daemon"
SECTION = "console/network"
DEPENDS = "openssl"
PR = "r1"

SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-2.0.1.tar.gz \
	   file://makefile.patch;patch=1 \
	   file://nopam.patch;patch=1"

do_compile() {
	oe_runmake "LIBS=-lssl -lcrypto -lcrypt -L${STAGING_LIBDIR}"
}

do_install() {
        install -d ${D}/usr/sbin
	install -d ${D}/usr/share/man/man8
	install -d ${D}/usr/share/man/man5
	oe_runmake 'DESTDIR=${D}' install
	install -d ${D}/${sysconfdir}
	install -m 0755 ${S}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf
}