wok diff tcpd/receipt @ rev 21549

Add LXSession 0.4.6.* as lxsession046 (latest LXSession 0.4.* is 0.4.9.* and it don't compile anyway due to the old libgee; and latest LXSession 0.5.* (just lxsession) has the major drawbacks)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 07 11:25:44 2019 +0300 (2019-05-07)
parents 227b2c1214c2
children
line diff
     1.1 --- a/tcpd/receipt	Wed Aug 20 12:09:19 2014 +0200
     1.2 +++ b/tcpd/receipt	Tue May 07 11:25:44 2019 +0300
     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  }