summaryrefslogtreecommitdiff
path: root/packages/vsftpd/vsftpd_2.0.1.bb
blob: dab99a8421fa62a8df40d722e7f1da5fa42729ef (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}/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
}