1 DESCRIPTION
= "Secure ftp daemon"
2 SECTION
= "console/network"
6 SRC_URI
= "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \
7 file://makefile.patch \
16 # Fix hardcoded
/usr
, /etc
, /var mess.
17 cat tunables.c|sed s
:\"/usr
:\"$
{prefix
}:g|sed s
:\"/var
:\"$
{localstatedir
}:g \
18 |sed s
:\"$
{prefix
}/share
/empty
:\"$
{localstatedir
}/share
/empty
:g |sed s
:\"/etc
:\"$
{sysconfdir
}:g
> tunables.c.
new
19 mv tunables.c.
new tunables.c
23 oe_runmake
"LIBS=-lcrypt -L${STAGING_LIBDIR}"
27 install
-d $
{D
}$
{sbindir
}
28 install
-d $
{D
}$
{mandir
}/man8
29 install
-d $
{D
}$
{mandir
}/man5
30 oe_runmake 'DESTDIR
=$
{D
}' install
31 install
-d $
{D
}$
{sysconfdir
}
32 install
-m
0755 $
{WORKDIR
}/vsftpd.conf $
{D
}$
{sysconfdir
}/vsftpd.conf
33 install
-d $
{D
}$
{sysconfdir
}/init.d
/
34 install
-m
755 $
{WORKDIR
}/init $
{D
}$
{sysconfdir
}/init.d
/vsftpd
38 if [ "x$D" != "x" ]; then
42 adduser
--system
--home
/var
/lib
/ftp
--no
-create
-home
--ingroup ftp
--disabled
-password
-s
/bin/false ftp
43 mkdir
-p $
{localstatedir
}/share
/empty
46 INITSCRIPT_NAME
= "vsftpd"
48 INITSCRIPT_PARAMS
= "defaults"
50 SRC_URI
[md5sum
] = "146062e8b2f93af43ff6c2c770feea94"
51 SRC_URI
[sha256sum
] = "5462ebf0df2792dde8ea3cf5d87c715200aac388554b3f0a9ace6265edecfa5b"