wok-6.x diff sshttp/receipt @ rev 14693

python-edje-dev: Up to 1.7.0-3
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:32 2013 +0200 (2013-06-06)
parents f2870c4a7a92
children 3b4e4318134e
line diff
     1.1 --- a/sshttp/receipt	Tue Jun 12 18:05:07 2012 +0200
     1.2 +++ b/sshttp/receipt	Thu Jun 06 22:09:32 2013 +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