wok rev 18324

Up tazwikiss (248)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 03 09:59:14 2015 +0200 (2015-09-03)
parents e37473ea7fa3
children c0e2210b4acf
files rsync/receipt rsync/stuff/usr/bin/rsync-unssh tazwikiss/receipt
line diff
     1.1 --- a/rsync/receipt	Tue Sep 01 15:09:14 2015 +0200
     1.2 +++ b/rsync/receipt	Thu Sep 03 09:59:14 2015 +0200
     1.3 @@ -44,6 +44,7 @@
     1.4  	# User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
     1.5  	#
     1.6  	cp -a $stuff/etc $fs
     1.7 +	cp -a $stuff/usr $fs
     1.8  	chown root.root $fs/etc/init.d/*
     1.9  	chmod 0644 $fs/etc/rsyncd.conf
    1.10  	grep -q rsync $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/rsync/stuff/usr/bin/rsync-unssh	Thu Sep 03 09:59:14 2015 +0200
     2.3 @@ -0,0 +1,11 @@
     2.4 +#!/bin/sh
     2.5 +# usage: rsync -e /usr/bin/rsync-unssh ...
     2.6 +
     2.7 +port=60873	# any free tcp port > 1024
     2.8 +
     2.9 +login=$2
    2.10 +peer=$3
    2.11 +shift 3
    2.12 +ssh $login@$peer "nc -l -p $port -e $@" < /dev/tty &
    2.13 +sleep 5
    2.14 +nc $peer $port
     3.1 --- a/tazwikiss/receipt	Tue Sep 01 15:09:14 2015 +0200
     3.2 +++ b/tazwikiss/receipt	Thu Sep 03 09:59:14 2015 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="tazwikiss"
     3.7 -VERSION="2.1.1"
     3.8 +VERSION="248"
     3.9  CATEGORY="office"
    3.10  SHORT_DESC="Tiny SliTaz Wiki"
    3.11  MAINTAINER="pascal.bellard@slitaz.org"