wok view sshttp/receipt @ rev 14730

Up xorg-xf86-video-ati (7.1.0), xorg-xf86-video-fbdev (0.4.3), xorg-xf86-video-geode (2.11.14), xorg-xf86-video-i740 (1.3.4), xorg-xf86-video-neomagic (1.2.7), xorg-xf86-video-nv (2.1.20), xorg-xf86-video-s3 (0.6.5), xorg-xf86-video-trident (1.3.6), xorg-xf86-video-vesa (2.3.2), xorg-xf86-video-vmware (13.0.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 13 10:45:31 2013 +0200 (2013-06-13)
parents f2870c4a7a92
children 3b4e4318134e
line source
1 # SliTaz package receipt.
3 PACKAGE="sshttp"
4 VERSION="0-27"
5 CATEGORY="network"
6 SHORT_DESC="hiding a SSH server behind a HTTP server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="https://github.com/stealth/$PACKAGE"
10 WGET_URL="$WEB_SITE/tarball/$PACKAGE-$VERSION"
11 BUILD_DEPENDS="wget libcap libcap-dev"
12 DEPENDS="libcap gcc-lib-base"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make && cp README $WOK/$PACKAGE/description.txt
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/sbin
25 cp -a $src/sshttpd $fs/usr/sbin
26 }
28 # Pre and post install commands for Tazpkg.
29 post_install()
30 {
31 zcat /proc/config.gz | grep -q ^CONFIG_NETFILTER_TPROXY= || cat <<EOT
33 CONFIG_NETFILTER_TPROXY not found in /proc/config.gz
34 sshttp needs Linux IP_TRANSPARENT feature to work.
35 You should rebuild your kernel with a new configuration.
37 EOT
38 }
40 # http://blog.stalkr.net/2012/02/sshhttps-multiplexing-with-sshttp.html