diff options
author | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
commit | d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch) | |
tree | ce5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /network_daemons/vsftpd/vsftpd.build | |
parent | f29d3519ce073ec30f99754d93304324f7f26d65 (diff) |
Add ports.
Diffstat (limited to 'network_daemons/vsftpd/vsftpd.build')
-rwxr-xr-x | network_daemons/vsftpd/vsftpd.build | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/network_daemons/vsftpd/vsftpd.build b/network_daemons/vsftpd/vsftpd.build new file mode 100755 index 0000000..e12dfb8 --- /dev/null +++ b/network_daemons/vsftpd/vsftpd.build @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=vsftpd +VERSION=2.3.5 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: vsftpd (Very Secure FTP Daemon) +${NAME}: +${NAME}: vsftpd is an FTP server, or daemon. The 'vs' stands for Very Secure. +${NAME}: Obviously this is not a guarantee, but a reflection that the entire +${NAME}: codebase was written with security in mind, and carefully designed to +${NAME}: be resilient to attack (as well as extremely fast and scalable). +${NAME}: +${NAME}: The vsftpd homepage is http://vsftpd.beasts.org +${NAME}: +${NAME}: The Very Secure FTP Daemon was written by Chris Evans. +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=https://security.appspot.com/downloads/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +make ${JOBS} +doc FAQ REWARD TUNING EXAMPLE +changelog ChangeLog +install.dir ${PKG}/usr/sbin +install.bin vsftpd ${PKG}/usr/sbin +install.dir ${PKG}${SYS_DIR[man]}/man{5,8} +install.man vsftpd.8 ${PKG}${SYS_DIR[man]}/man8 +install.man vsftpd.conf.5 ${PKG}${SYS_DIR[man]}/man5 +install.dir ${PKG}/etc/vsftpd +install.cfg vsftpd.conf ${PKG}/etc/vsftpd/vsftpd.conf.new +install.dat doinst.sh ${PKG}/install +install.cfg ftpusers.new ${PKG}/etc/vsftpd +install.cfg user_list.new ${PKG}/etc/vsftpd +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dat vsftpd.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dir ${PKG}/etc/logrotate.d +install.dat vsftpd.logrotate ${PKG}/etc/logrotate.d/vsftpd.new +install.dir ${PKG}/srv/ftp/pub +#FIXME: PAM: modify the builddefs patch to enable PAM support +#install.dir ${PKG}/etc/pam.d +#install.dat vsftpd.pam ${PKG}/etc/pam.d/vsftpd +} |