wok-6.x diff tcpd/receipt @ rev 17901

smbclient: symlink smbspool to cups backend
author Richard Dunbar <mojo@slitaz.org>
date Fri Apr 03 11:44:33 2015 -0400 (2015-04-03)
parents 227b2c1214c2
children
line diff
     1.1 --- a/tcpd/receipt	Wed Aug 20 12:09:19 2014 +0200
     1.2 +++ b/tcpd/receipt	Fri Apr 03 11:44:33 2015 -0400
     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  }