# HG changeset patch # User Pascal Bellard # Date 1408529957 -7200 # Node ID eb612c761921aba8b1dcfec096161f00a7e31fca # Parent 227b2c1214c272b616ae7492cc7b00fce51cb949 Add tcpd (again) diff -r 227b2c1214c2 -r eb612c761921 tcpd/receipt --- a/tcpd/receipt Wed Aug 20 12:09:19 2014 +0200 +++ b/tcpd/receipt Wed Aug 20 12:19:17 2014 +0200 @@ -9,16 +9,19 @@ WANTED="libwrap" WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html" HOST_ARCH="i486 arm" +CONFIG_FILES="/etc/hosts.allow /etc/hosts.deny" DEPENDS="libwrap" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/sbin + mkdir -p $fs/usr/sbin $fs/etc cp -a $src/tcpd $fs/usr/sbin cp -a $src/tcpdchk $fs/usr/sbin cp -a $src/tcpdmatch $fs/usr/sbin cp -a $src/try-from $fs/usr/sbin cp -a $src/safe_finger $fs/usr/sbin + echo "ALL : 127.0.0.1, 192.168." > $fs/etc/hosts.allow + touch $fs/etc/hosts.deny }