wok diff sshttp/receipt @ rev 13355

Add naim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 10 16:30:34 2012 +0200 (2012-09-10)
parents f2870c4a7a92
children 3b4e4318134e
line diff
     1.1 --- a/sshttp/receipt	Tue Jun 12 18:05:07 2012 +0200
     1.2 +++ b/sshttp/receipt	Mon Sep 10 16:30:34 2012 +0200
     1.3 @@ -25,3 +25,16 @@
     1.4  	cp -a $src/sshttpd $fs/usr/sbin
     1.5  }
     1.6  
     1.7 +# Pre and post install commands for Tazpkg.
     1.8 +post_install()
     1.9 +{
    1.10 +	zcat /proc/config.gz | grep -q ^CONFIG_NETFILTER_TPROXY= || cat <<EOT
    1.11 +
    1.12 +CONFIG_NETFILTER_TPROXY not found in /proc/config.gz
    1.13 +sshttp needs Linux IP_TRANSPARENT feature to work.
    1.14 +You should rebuild your kernel with a new configuration.
    1.15 +
    1.16 +EOT
    1.17 +}
    1.18 +
    1.19 +# http://blog.stalkr.net/2012/02/sshhttps-multiplexing-with-sshttp.html