summaryrefslogtreecommitdiff
path: root/packages/vsftpd/vsftpd_2.0.1.bb
blob: b77ce2e1d53c614e3d1d15eda9d578445417d98a (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"
LICENSE = "GPL"
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}${sbindir}
	install -d ${D}${mandir}/man8
	install -d ${D}${mandir}/man5
	oe_runmake 'DESTDIR=${D}' install
	install -d ${D}${sysconfdir}
	install -m 0755 ${S}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf
}