wok-current rev 19369

openssh: add doc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 09 11:03:52 2016 +0200 (2016-08-09)
parents 81903aa7cbf4
children 50aef5b483cb
files dropbear/receipt openssh/receipt pwnat/receipt scanssh/receipt sshproxy/receipt vpnc-cert/receipt vpnc/receipt zssh/receipt
line diff
     1.1 --- a/dropbear/receipt	Sat Aug 06 09:12:16 2016 +0200
     1.2 +++ b/dropbear/receipt	Tue Aug 09 11:03:52 2016 +0200
     1.3 @@ -58,6 +58,12 @@
     1.4  	for i in $DROPBEARS ssh; do
     1.5  		ln -s ../sbin/dropbear $DESTDIR/usr/bin/$i || exit 1
     1.6  	done
     1.7 +	install -d -m 755 $DESTDIR/usr/share/man/man1 &&
     1.8 +	install -n 644 $src/*.1 $DESTDIR/usr/share/man/man1 && 
     1.9 +	install -d -m 755 $DESTDIR/usr/share/man/man8 &&
    1.10 +	install -n 644 $src/*.8 $DESTDIR/usr/share/man/man8 &&
    1.11 +	install -d -m 755 $DESTDIR/usr/share/doc &&
    1.12 +	install -n 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
    1.13  }
    1.14  
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/openssh/receipt	Sat Aug 06 09:12:16 2016 +0200
     2.2 +++ b/openssh/receipt	Tue Aug 09 11:03:52 2016 +0200
     2.3 @@ -35,6 +35,8 @@
     2.4  		$CONFIGURE_ARGS &&
     2.5  	make STRIP_OPT="" &&
     2.6  	make DESTDIR=$DESTDIR install
     2.7 +	install -d -m 755 $DESTDIR/usr/share/doc &&
     2.8 +	install -n 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
     2.9  }
    2.10  
    2.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/pwnat/receipt	Sat Aug 06 09:12:16 2016 +0200
     3.2 +++ b/pwnat/receipt	Tue Aug 09 11:03:52 2016 +0200
     3.3 @@ -10,7 +10,7 @@
     3.4  TARBALL="$PACKAGE-$VERSION.zip"
     3.5  WEB_SITE="http://samy.pl/pwnat"
     3.6  WGET_URL="https://github.com/samyk/pwnat/archive/$GITHASH.zip"
     3.7 -TAGS="nat traversal icmp tunnel"
     3.8 +TAGS="vpn nat traversal icmp tunnel"
     3.9  
    3.10  # Rules to configure and make the package.
    3.11  compile_rules()
    3.12 @@ -21,6 +21,7 @@
    3.13  # Rules to gen a SliTaz package suitable for Tazpkg.   
    3.14  genpkg_rules()                                      
    3.15  {
    3.16 -	mkdir -p $fs/usr/bin
    3.17 +	mkdir -p $fs/usr/bin $install/usr/share/doc
    3.18  	cp -a $src/pwnat $fs/usr/bin
    3.19 +	cp -a $src/README* $src/C* $install/usr/share/doc
    3.20  }
     4.1 --- a/scanssh/receipt	Sat Aug 06 09:12:16 2016 +0200
     4.2 +++ b/scanssh/receipt	Tue Aug 09 11:03:52 2016 +0200
     4.3 @@ -17,11 +17,12 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 -	cd $src
     4.8  	./configure \
     4.9  		--prefix=/usr \
    4.10  		$CONFIGURE_ARGS &&
    4.11  	make 
    4.12 +	install -d -m 755 $DESTDIR/usr/share/man/man1 &&
    4.13 +	install -n 644 $src/*.1 $DESTDIR/usr/share/man/man1
    4.14  }
    4.15  
    4.16  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.1 --- a/sshproxy/receipt	Sat Aug 06 09:12:16 2016 +0200
     5.2 +++ b/sshproxy/receipt	Tue Aug 09 11:03:52 2016 +0200
     5.3 @@ -18,10 +18,19 @@
     5.4  compile_rules()
     5.5  {
     5.6  	python setup.py install --root=$DESTDIR
     5.7 +	install -d -m 755 $DESTDIR/usr/share/man/man1 &&
     5.8 +	install -d -m 755 $DESTDIR/usr/share/man/man5 &&
     5.9 +	install -d -m 755 $DESTDIR/usr/share/man/man8 &&
    5.10 +	install -d -m 755 $DESTDIR/usr/share/doc &&
    5.11 +	install -n 644 $src/doc/*.1 $DESTDIR/usr/share/man/man1 &&
    5.12 +	install -n 644 $src/doc/*.5 $DESTDIR/usr/share/man/man5 &&
    5.13 +	install -n 644 $src/doc/*.8 $DESTDIR/usr/share/man/man8 &&
    5.14 +	install -n 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
    5.15  }
    5.16  
    5.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.18  genpkg_rules()
    5.19  {
    5.20  	cp -a $install/usr $fs
    5.21 +	rm -rf $fs/usr/share/doc $fs/usr/share/man
    5.22  }
     6.1 --- a/vpnc-cert/receipt	Sat Aug 06 09:12:16 2016 +0200
     6.2 +++ b/vpnc-cert/receipt	Tue Aug 09 11:03:52 2016 +0200
     6.3 @@ -24,6 +24,12 @@
     6.4  	sed -i 's|^#OPENSSL|OPENSSL|' Makefile # breaks GPL license
     6.5  	sed -i "s|perl -w .*|&\\n	sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
     6.6  	make && make DESTDIR=$DESTDIR install
     6.7 +	install -d -m 755 $DESTDIR/usr/share/man/man1 &&
     6.8 +	install -d -m 755 $DESTDIR/usr/share/man/man8 &&
     6.9 +	install -d -m 755 $DESTDIR/usr/share/doc &&
    6.10 +	install -n 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
    6.11 +	install -n 644 $src/*.8 $DESTDIR/usr/share/man/man8 &&
    6.12 +	install -n 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc
    6.13  }
    6.14  
    6.15  # Rules to gen a SliTaz package suitable for Tazpkg.
     7.1 --- a/vpnc/receipt	Sat Aug 06 09:12:16 2016 +0200
     7.2 +++ b/vpnc/receipt	Tue Aug 09 11:03:52 2016 +0200
     7.3 @@ -21,6 +21,12 @@
     7.4  	cd $src
     7.5  	sed -i "s|perl -w .*|&\\n	sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
     7.6  	make && make DESTDIR=$DESTDIR install
     7.7 +	install -d -m 755 $DESTDIR/usr/share/man/man1 &&
     7.8 +	install -d -m 755 $DESTDIR/usr/share/man/man8 &&
     7.9 +	install -d -m 755 $DESTDIR/usr/share/doc &&
    7.10 +	install -n 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
    7.11 +	install -n 644 $src/*.8 $DESTDIR/usr/share/man/man8 &&
    7.12 +	install -n 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc
    7.13  }
    7.14  
    7.15  # Rules to gen a SliTaz package suitable for Tazpkg.
     8.1 --- a/zssh/receipt	Sat Aug 06 09:12:16 2016 +0200
     8.2 +++ b/zssh/receipt	Tue Aug 09 11:03:52 2016 +0200
     8.3 @@ -20,6 +20,10 @@
     8.4  	export LDFLAGS="$LDFLAGS -ltinfo"
     8.5  	./configure --prefix=/usr $CONFIGURE_ARGS &&
     8.6  	make
     8.7 +	install -d -m 755 $DESTDIR/usr/share/man/man1 &&
     8.8 +	install -d -m 755 $DESTDIR/usr/share/doc &&
     8.9 +	install -n 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
    8.10 +	install -n 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
    8.11  }
    8.12  
    8.13  # Rules to gen a SliTaz package suitable for Tazpkg.