wok diff tcpd/receipt @ rev 25707

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (4 months ago)
parents 227b2c1214c2
children
line diff
     1.1 --- a/tcpd/receipt	Wed Aug 20 12:09:19 2014 +0200
     1.2 +++ b/tcpd/receipt	Fri Jul 05 14:08:34 2024 +0000
     1.3 @@ -9,16 +9,19 @@
     1.4  WANTED="libwrap"
     1.5  WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html"
     1.6  HOST_ARCH="i486 arm"
     1.7 +CONFIG_FILES="/etc/hosts.allow /etc/hosts.deny"
     1.8  
     1.9  DEPENDS="libwrap"
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  genpkg_rules()
    1.13  {
    1.14 -	mkdir -p $fs/usr/sbin
    1.15 +	mkdir -p $fs/usr/sbin $fs/etc
    1.16  	cp -a $src/tcpd $fs/usr/sbin
    1.17  	cp -a $src/tcpdchk $fs/usr/sbin
    1.18  	cp -a $src/tcpdmatch $fs/usr/sbin
    1.19  	cp -a $src/try-from $fs/usr/sbin
    1.20  	cp -a $src/safe_finger $fs/usr/sbin
    1.21 +	echo "ALL : 127.0.0.1, 192.168." > $fs/etc/hosts.allow
    1.22 +	touch $fs/etc/hosts.deny
    1.23  }