wok rev 21097

Add afuse
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 18 11:50:02 2019 +0100 (2019-03-18)
parents 4e6e6bbe01bc
children ca81ff4a83e8
files afuse/receipt netkit-rsh/receipt rshd/receipt sshfs-fuse/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/afuse/receipt	Mon Mar 18 11:50:02 2019 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="afuse"
     1.7 +VERSION="0.4.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="An automounter implemented with FUSE"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/pcarrier/afuse/"
    1.14 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="fuse"
    1.17 +BUILD_DEPENDS="fuse-dev perl-getopt-long autoconf automake libtool "
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	autoreconf --install --verbose
    1.23 +	sed -i 's|v -V -qversion|v|' configure
    1.24 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.25 +		--mandir=/usr/share/man \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make &&
    1.28 +	make DESTDIR=$DESTDIR install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.32 +genpkg_rules()                                      
    1.33 +{
    1.34 +	mkdir -p $fs/usr/
    1.35 +	cp $install/usr/bin $fs/usr/
    1.36 +}
     2.1 --- a/netkit-rsh/receipt	Sat Mar 16 17:35:06 2019 +0100
     2.2 +++ b/netkit-rsh/receipt	Mon Mar 18 11:50:02 2019 +0100
     2.3 @@ -7,7 +7,7 @@
     2.4  MAINTAINER="pascal.bellard@slitaz.org"
     2.5  LICENSE="BSD"
     2.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.7 -WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
     2.8 +WEB_SITE="http://ftp.linux.org.uk/pub/linux/Networking/netkit/"
     2.9  WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL"
    2.10  PROVIDE="rsh rshd"
    2.11  
    2.12 @@ -30,9 +30,11 @@
    2.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.14  genpkg_rules()
    2.15  {
    2.16 -	mkdir $fs/usr
    2.17 +	mkdir $fs/usr $fs/etc/skel
    2.18  	cp -a $install/usr/bin $fs/usr
    2.19  	cp -a $install/usr/sbin $fs/usr
    2.20 +	touch $fs/etc/skel/.rhosts
    2.21 +	chmod 600 $fs/etc/skel/.rhosts
    2.22  }
    2.23  
    2.24  # Pre and post install commands for Tazpkg.
    2.25 @@ -41,8 +43,8 @@
    2.26  	if ! grep -qs rlogind $1/etc/inetd.conf; then
    2.27  		cat >> $1/etc/inetd.conf <<EOT
    2.28  exec	stream  tcp     nowait  root    /usr/sbin/in.execd	execd
    2.29 -login	stream  tcp     nowait  root    /usr/sbin/in.rlogind	rlogind
    2.30 -shell	stream  tcp     nowait  root    /usr/sbin/in.rshd	rshd
    2.31 +login	stream  tcp     nowait  root    /usr/sbin/in.rlogind	rlogind -hl
    2.32 +shell	stream  tcp     nowait  root    /usr/sbin/in.rshd	rshd -hl
    2.33  EOT
    2.34  		[ -n "$1" ] || killall -HUP inetd
    2.35  	fi
     3.1 --- a/rshd/receipt	Sat Mar 16 17:35:06 2019 +0100
     3.2 +++ b/rshd/receipt	Mon Mar 18 11:50:02 2019 +0100
     3.3 @@ -14,9 +14,11 @@
     3.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.5  genpkg_rules()
     3.6  {
     3.7 -	mkdir -p $fs/usr
     3.8 +	mkdir $fs/usr $fs/etc/skel
     3.9  	cp -a $install/usr/sbin $fs/usr
    3.10  	cp -a $install/usr/etc $fs
    3.11 +	touch $fs/etc/skel/.rhosts
    3.12 +	chmod 600 $fs/etc/skel/.rhosts
    3.13  }
    3.14  
    3.15  # Pre and post install commands for Tazpkg.
     4.1 --- a/sshfs-fuse/receipt	Sat Mar 16 17:35:06 2019 +0100
     4.2 +++ b/sshfs-fuse/receipt	Mon Mar 18 11:50:02 2019 +0100
     4.3 @@ -14,7 +14,7 @@
     4.4  TAGS="ssh"
     4.5  
     4.6  DEPENDS="fuse openssh sftp-server glib"
     4.7 -SUGGESTED="openssh"
     4.8 +SUGGESTED="afuse"
     4.9  BUILD_DEPENDS="fuse-dev gettext glib-dev pkg-config autoconf automake libtool"
    4.10  
    4.11  # Rules to configure and make the package.