2009-03-10 10:27:50 +01:00
|
|
|
# Template file for 'tcp_wrappers'
|
|
|
|
pkgname=tcp_wrappers
|
|
|
|
version=7.6
|
|
|
|
wrksrc="${pkgname}_${version}"
|
|
|
|
distfiles="ftp://ftp.porcupine.org/pub/security/${pkgname}_${version}.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-makefile
|
2009-03-10 10:27:50 +01:00
|
|
|
make_build_target="REAL_DAEMON_DIR=/usr/sbin STYLE=-DSYS_ERRLIST_DEFINED linux"
|
2011-11-12 06:01:02 +01:00
|
|
|
revision=1
|
2009-03-10 10:27:50 +01:00
|
|
|
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."
|
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel $pkgname-libs"
|
2009-03-10 10:27:50 +01:00
|
|
|
|
|
|
|
pre_install()
|
|
|
|
{
|
2009-03-11 06:31:56 +01:00
|
|
|
install -d ${DESTDIR}/usr/lib
|
|
|
|
install -d ${DESTDIR}/usr/sbin
|
|
|
|
install -d ${DESTDIR}/usr/include
|
2009-03-10 10:27:50 +01:00
|
|
|
for f in 3 5 8; do
|
2009-03-11 06:31:56 +01:00
|
|
|
install -d ${DESTDIR}/usr/share/man/man${f}
|
2009-03-10 10:27:50 +01:00
|
|
|
done
|
2009-03-11 06:31:56 +01:00
|
|
|
install -D -m644 ${FILESDIR}/hosts.allow ${DESTDIR}/etc/hosts.allow
|
|
|
|
install -m644 ${FILESDIR}/hosts.deny ${DESTDIR}/etc/hosts.deny
|
2010-04-22 15:18:59 +02:00
|
|
|
sed -i -e "s|-o root -g root||g" ${wrksrc}/Makefile
|
2009-03-10 10:27:50 +01:00
|
|
|
}
|