wok diff sshttp/receipt @ rev 14268

syslinux/iso2exe: do not overload (setup) version in bootlinux.c
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 04 11:19:19 2013 +0200 (2013-04-04)
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 Apr 04 11:19:19 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