wok-6.x diff ypserv/receipt @ rev 11634
Up sudo (1.8.3p2: security fix)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 02 16:42:58 2012 +0100 (2012-02-02) |
parents | cf5937e61b74 |
children | 6b1be3598c12 |
line diff
1.1 --- a/ypserv/receipt Wed Jun 02 23:04:54 2010 +0200 1.2 +++ b/ypserv/receipt Thu Feb 02 16:42:58 2012 +0100 1.3 @@ -7,7 +7,7 @@ 1.4 MAINTAINER="pascal.bellard@slitaz.org" 1.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.6 WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/" 1.7 -DEPENDS="gdbm" 1.8 +DEPENDS="gdbm portmap" 1.9 BUILD_DEPENDS="gdbm-dev" 1.10 WGET_URL="$WEB_SITE/$TARBALL" 1.11 1.12 @@ -25,9 +25,22 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr 1.17 + mkdir -p $fs/usr $fs/etc/init.d 1.18 cp -a $_pkg/usr/sbin $fs/usr 1.19 cp -a $_pkg/usr/lib $fs/usr 1.20 cp -a $_pkg/usr/include $fs/usr 1.21 cp -a $_pkg/var $fs 1.22 + 1.23 + # Copy config files 1.24 + for file in ypserv.conf timezone netmasks netgroup 1.25 + do 1.26 + cp -a $src/etc/$fle $fs/ 1.27 + done 1.28 + 1.29 + # Copy initscript 1.30 + cp $stuff/ypserv $fs/etc/init.d 1.31 + 1.32 + # Copy and fix security file 1.33 + cp $src/etc/securenets $fs/var/yp 1.34 + sed -i 's/^0.0.0.0/#0.0.0.0/' $fs/var/yp/securenets 1.35 }