diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/bftpd | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/bftpd')
-rw-r--r-- | recipes/bftpd/bftpd_2.3.bb | 23 | ||||
-rw-r--r-- | recipes/bftpd/files/bftpd.conf | 54 |
2 files changed, 77 insertions, 0 deletions
diff --git a/recipes/bftpd/bftpd_2.3.bb b/recipes/bftpd/bftpd_2.3.bb new file mode 100644 index 0000000000..242a613be5 --- /dev/null +++ b/recipes/bftpd/bftpd_2.3.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Portable ftp daemon" +HOMEPAGE = "http://bftpd.sourceforge.net/" +SECTION = "console/network" +PR = "r2" +LICENSE = "GPL" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz \ + file://bftpd.conf \ + " + +S = "${WORKDIR}/${PN}" + +inherit autotools + +do_install() { + install -d ${D}${sbindir} + install -d ${D}${mandir}/man8 + install -d ${D}${sysconfdir} + + install -m 0755 ${S}/bftpd ${D}${sbindir}/bftpd + install -m 0755 ${S}/bftpd.8 ${D}${mandir}/man8/bftpd.8 + install -m 0644 ${WORKDIR}/bftpd.conf ${D}${sysconfdir}/bftpd.conf +} diff --git a/recipes/bftpd/files/bftpd.conf b/recipes/bftpd/files/bftpd.conf new file mode 100644 index 0000000000..53b48a2c9a --- /dev/null +++ b/recipes/bftpd/files/bftpd.conf @@ -0,0 +1,54 @@ +global { + DENY_LOGIN="no" + PORT="21" + PASSIVE_PORTS="0" + DATAPORT20="no" + PATH_BFTPDUTMP="" + XFER_BUFSIZE="2048" + CHANGE_BUFSIZE="no" + XFER_DELAY="0" + SHOW_HIDDEN_FILES="yes" + # This option determines whether files not readable + # to the ftp user will be shown in a directory listing. + SHOW_NONREADABLE_FILES="no" + ALLOW_FXP="no" + CONTROL_TIMEOUT="300" + DATA_TIMEOUT="30" + RATIO="none" + ROOTDIR="/" + UMASK="022" + LOGFILE="syslog" + HELLO_STRING="bftpd %v at %i ready." + AUTO_CHDIR="/" + AUTH="PASSWD" + RESOLVE_CLIENT_IP="no" + RESOLVE_UIDS="yes" + DO_CHROOT="yes"" + LOG_WTMP="yes" + BIND_TO_ADDR="any" + AUTH_ETCSHELLS="no" + ALLOWCOMMAND_DELE="yes" + ALLOWCOMMAND_STOR="yes" + ALLOWCOMMAND_SITE="no" + QUIT_MSG="See you later..." + USERLIMIT_GLOBAL="0" + USERLIMIT_SINGLEUSER="0" + USERLIMIT_HOST="0" + GZ_UPLOAD="no" + GZ_DOWNLOAD="no" +} + +user ftp { + #Any password fits. + ANONYMOUS_USER="yes" +} + +user anonymous { + #If the client wants anonymous, ftp is taken instead. + ALIAS="ftp" +} + +user root { +} + + |