wok diff tcpd/receipt @ rev 21500

updated musl-libc and musl-libc-dev (1.1.20 -> 1.1.22)
author Hans-G?nter Theisgen
date Thu May 02 15:32:44 2019 +0100 (2019-05-02)
parents 227b2c1214c2
children
line diff
     1.1 --- a/tcpd/receipt	Wed Aug 20 12:09:19 2014 +0200
     1.2 +++ b/tcpd/receipt	Thu May 02 15:32:44 2019 +0100
     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  }