wok-6.x diff autofs/receipt @ rev 24335

updated autofs (5.1.6 -> 5.1.8)
author Hans-G?nter Theisgen
date Fri Jan 28 16:53:40 2022 +0100 (2022-01-28)
parents 41d0d6989886
children 71360a13cd94
line diff
     1.1 --- a/autofs/receipt	Thu Jan 02 10:33:19 2020 +0100
     1.2 +++ b/autofs/receipt	Fri Jan 28 16:53:40 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="autofs"
     1.7 -VERSION="5.1.6"
     1.8 +VERSION="5.1.8"
     1.9  CATEGORY="system-tools"
    1.10  TAGS="filesystem"
    1.11  SHORT_DESC="Linux automounter."
    1.12 @@ -15,13 +15,15 @@
    1.13  DEPENDS="linux-autofs"
    1.14  BUILD_DEPENDS="cyrus-sasl-dev flex krb5-dev libxml2-dev openldap-dev openssl-dev"
    1.15  
    1.16 +CONFIG_FILES="/etc/autofs.conf"
    1.17 +
    1.18  TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	sed -i	-e 's|-b --suffix=.orig||' \
    1.24 -		-e 's|install -v|install|' \
    1.25 +	sed -i	-e 's|-b --suffix=.orig||'	\
    1.26 +		-e 's|install -v|install|'	\
    1.27  		*/Makefile*
    1.28  
    1.29  	./configure				\
    1.30 @@ -36,15 +38,17 @@
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34 +	mkdir -p $fs/etc
    1.35  	mkdir -p $fs/usr
    1.36 -	mkdir -p $fs/etc/init.d
    1.37  
    1.38 +	cp -a $stuff/etc/*	$fs/etc
    1.39 +	# Create empty configuration file
    1.40 +	touch 			$fs/etc/autofs.conf
    1.41 +	cp -a $install/usr/lib	$fs/usr
    1.42  	cp -a $install/usr/sbin	$fs/usr
    1.43 -	cp -a $install/usr/lib	$fs/usr
    1.44 -	cp -a $stuff/etc/*	$fs/etc
    1.45  }
    1.46  
    1.47 -# Pre and post install commands for Tazpkg.
    1.48 +# Post install commands for Tazpkg.
    1.49  post_install()
    1.50  {
    1.51  	mkdir -p "$1/mnt/auto" 2>/dev/null