vp-build/templates/tcp_wrappers/template
Juan RP bc53eb77b9 Added tcp_wrappers-7.6 template.
--HG--
extra : convert_revision : 29de7113948ea0e6442f206ba3bca521ff9f125d
2009-03-10 10:27:50 +01:00

38 lines
1.3 KiB
Plaintext

# Template file for 'tcp_wrappers'
pkgname=tcp_wrappers
sourcepkg=$pkgname
version=7.6
wrksrc="${pkgname}_${version}"
patch_files="shared_lib_plus_plus-1.diff"
patch_args="-Np1"
distfiles="ftp://ftp.porcupine.org/pub/security/${pkgname}_${version}.tar.gz"
build_style=gnu_makefile
make_build_target="REAL_DAEMON_DIR=/usr/sbin STYLE=-DSYS_ERRLIST_DEFINED linux"
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install"
short_desc="A security tool which acts as a wrapper for TCP daemons"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d
long_desc="
The $pkgname package provides small daemon programs which can
monitor and filter incoming requests for systat, finger, FTP, telnet,
rlogin, rsh, exec, tftp, talk and other network services."
subpackages="devel libs"
Add_dependency run glibc
Add_dependency run tcp_wrappers-libs
pre_install()
{
local destdir=$XBPS_DESTDIR/$pkgname-$version
install -d ${destdir}/usr/lib
install -d ${destdir}/usr/sbin
install -d ${destdir}/usr/include
for f in 3 5 8; do
install -d ${destdir}/usr/share/man/man${f}
done
install -D -m644 ${FILESDIR}/hosts.allow ${destdir}/etc/hosts.allow
install -m644 ${FILESDIR}/hosts.deny ${destdir}/etc/hosts.deny
}