# HG changeset patch # User Pascal Bellard # Date 1470733432 -7200 # Node ID 90198f573d18e93f7ecb098ecc96c91ae76cf276 # Parent 81903aa7cbf42e6623f4008cd5bbf893b4f60d6b openssh: add doc diff -r 81903aa7cbf4 -r 90198f573d18 dropbear/receipt --- a/dropbear/receipt Sat Aug 06 09:12:16 2016 +0200 +++ b/dropbear/receipt Tue Aug 09 11:03:52 2016 +0200 @@ -58,6 +58,12 @@ for i in $DROPBEARS ssh; do ln -s ../sbin/dropbear $DESTDIR/usr/bin/$i || exit 1 done + install -d -m 755 $DESTDIR/usr/share/man/man1 && + install -n 644 $src/*.1 $DESTDIR/usr/share/man/man1 && + install -d -m 755 $DESTDIR/usr/share/man/man8 && + install -n 644 $src/*.8 $DESTDIR/usr/share/man/man8 && + install -d -m 755 $DESTDIR/usr/share/doc && + install -n 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 81903aa7cbf4 -r 90198f573d18 openssh/receipt --- a/openssh/receipt Sat Aug 06 09:12:16 2016 +0200 +++ b/openssh/receipt Tue Aug 09 11:03:52 2016 +0200 @@ -35,6 +35,8 @@ $CONFIGURE_ARGS && make STRIP_OPT="" && make DESTDIR=$DESTDIR install + install -d -m 755 $DESTDIR/usr/share/doc && + install -n 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 81903aa7cbf4 -r 90198f573d18 pwnat/receipt --- a/pwnat/receipt Sat Aug 06 09:12:16 2016 +0200 +++ b/pwnat/receipt Tue Aug 09 11:03:52 2016 +0200 @@ -10,7 +10,7 @@ TARBALL="$PACKAGE-$VERSION.zip" WEB_SITE="http://samy.pl/pwnat" WGET_URL="https://github.com/samyk/pwnat/archive/$GITHASH.zip" -TAGS="nat traversal icmp tunnel" +TAGS="vpn nat traversal icmp tunnel" # Rules to configure and make the package. compile_rules() @@ -21,6 +21,7 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin + mkdir -p $fs/usr/bin $install/usr/share/doc cp -a $src/pwnat $fs/usr/bin + cp -a $src/README* $src/C* $install/usr/share/doc } diff -r 81903aa7cbf4 -r 90198f573d18 scanssh/receipt --- a/scanssh/receipt Sat Aug 06 09:12:16 2016 +0200 +++ b/scanssh/receipt Tue Aug 09 11:03:52 2016 +0200 @@ -17,11 +17,12 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make + install -d -m 755 $DESTDIR/usr/share/man/man1 && + install -n 644 $src/*.1 $DESTDIR/usr/share/man/man1 } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 81903aa7cbf4 -r 90198f573d18 sshproxy/receipt --- a/sshproxy/receipt Sat Aug 06 09:12:16 2016 +0200 +++ b/sshproxy/receipt Tue Aug 09 11:03:52 2016 +0200 @@ -18,10 +18,19 @@ compile_rules() { python setup.py install --root=$DESTDIR + install -d -m 755 $DESTDIR/usr/share/man/man1 && + install -d -m 755 $DESTDIR/usr/share/man/man5 && + install -d -m 755 $DESTDIR/usr/share/man/man8 && + install -d -m 755 $DESTDIR/usr/share/doc && + install -n 644 $src/doc/*.1 $DESTDIR/usr/share/man/man1 && + install -n 644 $src/doc/*.5 $DESTDIR/usr/share/man/man5 && + install -n 644 $src/doc/*.8 $DESTDIR/usr/share/man/man8 && + install -n 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs + rm -rf $fs/usr/share/doc $fs/usr/share/man } diff -r 81903aa7cbf4 -r 90198f573d18 vpnc-cert/receipt --- a/vpnc-cert/receipt Sat Aug 06 09:12:16 2016 +0200 +++ b/vpnc-cert/receipt Tue Aug 09 11:03:52 2016 +0200 @@ -24,6 +24,12 @@ sed -i 's|^#OPENSSL|OPENSSL|' Makefile # breaks GPL license sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile make && make DESTDIR=$DESTDIR install + install -d -m 755 $DESTDIR/usr/share/man/man1 && + install -d -m 755 $DESTDIR/usr/share/man/man8 && + install -d -m 755 $DESTDIR/usr/share/doc && + install -n 644 $src/*.1 $DESTDIR/usr/share/man/man1 && + install -n 644 $src/*.8 $DESTDIR/usr/share/man/man8 && + install -n 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 81903aa7cbf4 -r 90198f573d18 vpnc/receipt --- a/vpnc/receipt Sat Aug 06 09:12:16 2016 +0200 +++ b/vpnc/receipt Tue Aug 09 11:03:52 2016 +0200 @@ -21,6 +21,12 @@ cd $src sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile make && make DESTDIR=$DESTDIR install + install -d -m 755 $DESTDIR/usr/share/man/man1 && + install -d -m 755 $DESTDIR/usr/share/man/man8 && + install -d -m 755 $DESTDIR/usr/share/doc && + install -n 644 $src/*.1 $DESTDIR/usr/share/man/man1 && + install -n 644 $src/*.8 $DESTDIR/usr/share/man/man8 && + install -n 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 81903aa7cbf4 -r 90198f573d18 zssh/receipt --- a/zssh/receipt Sat Aug 06 09:12:16 2016 +0200 +++ b/zssh/receipt Tue Aug 09 11:03:52 2016 +0200 @@ -20,6 +20,10 @@ export LDFLAGS="$LDFLAGS -ltinfo" ./configure --prefix=/usr $CONFIGURE_ARGS && make + install -d -m 755 $DESTDIR/usr/share/man/man1 && + install -d -m 755 $DESTDIR/usr/share/doc && + install -n 644 $src/*.1 $DESTDIR/usr/share/man/man1 && + install -n 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc } # Rules to gen a SliTaz package suitable for Tazpkg.