wok diff sshttp/receipt @ rev 13836

epdfview: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 07 15:14:06 2013 +0100 (2013-01-07)
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 Jan 07 15:14:06 2013 +0100
     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