New package: twoftpd-1.43_1
This commit is contained in:
parent
e239faba87
commit
4b9e61d68a
5 changed files with 45 additions and 0 deletions
1
srcpkgs/twoftpd/files/twoftpd-anon/env/CHROOT
vendored
Normal file
1
srcpkgs/twoftpd/files/twoftpd-anon/env/CHROOT
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1
|
3
srcpkgs/twoftpd/files/twoftpd-anon/env/HOME
vendored
Normal file
3
srcpkgs/twoftpd/files/twoftpd-anon/env/HOME
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
/var/lib/ftp/anon
|
||||||
|
|
||||||
|
|
1
srcpkgs/twoftpd/files/twoftpd-anon/log/run
Symbolic link
1
srcpkgs/twoftpd/files/twoftpd-anon/log/run
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/usr/bin/rsvlog
|
7
srcpkgs/twoftpd/files/twoftpd-anon/run
Executable file
7
srcpkgs/twoftpd/files/twoftpd-anon/run
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
UID=$(id -u ftp)
|
||||||
|
GID=$(id -g ftp)
|
||||||
|
echo $UID > ./env/UID
|
||||||
|
echo $GID > ./env/GID
|
||||||
|
mkdir -p $(<./env/HOME)
|
||||||
|
exec chpst -e ./env tcpserver -DHRv 0 ftp twoftpd-anon 2>&1
|
33
srcpkgs/twoftpd/template
Normal file
33
srcpkgs/twoftpd/template
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Template file for 'twoftpd'
|
||||||
|
pkgname=twoftpd
|
||||||
|
version=1.43
|
||||||
|
revision=1
|
||||||
|
nocross=yes
|
||||||
|
build_style=gnu-makefile
|
||||||
|
depends="sv-helper ucspi-tcp"
|
||||||
|
makedepends="bglibs-devel cvm-devel"
|
||||||
|
short_desc="Simple secure efficient FTP server"
|
||||||
|
maintainer="bougyman <bougyman@voidlinux.eu>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://untroubled.org/twoftpd/"
|
||||||
|
distfiles="http://untroubled.org/twoftpd/twoftpd-1.43.tar.gz"
|
||||||
|
checksum=ed77d2f3020bdbbe1a0a7d9a84780f3525431300e5000901e95a982873e24dc3
|
||||||
|
system_accounts="ftp"
|
||||||
|
ftp_pgroup="nogroup"
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
echo '/usr/bin' > conf-bin
|
||||||
|
echo '/usr/share/man' > conf-man
|
||||||
|
echo '/usr/include' > conf-include
|
||||||
|
echo '/usr/lib' > conf-lib
|
||||||
|
sed -i -e 's|/usr/local/include|/usr/include|' conf-cc
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make install install_prefix=${DESTDIR}
|
||||||
|
vsv twoftpd-anon
|
||||||
|
vlicense COPYING
|
||||||
|
vdoc README
|
||||||
|
vdoc NEWS
|
||||||
|
vdoc ANNOUNCEMENT
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue