wok-6.x view sshttp/receipt @ rev 16319

ARM: add mpfr + mpc-library (to cook native ARM gcc) and try to fix glib (gtk crashe are from libgobject-2.0.so.0)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 20:51:15 2014 +0200 (2014-04-09)
parents e2e8f01cdde5
children f44ef80ff9e2
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 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/stealth/$PACKAGE"
11 WGET_URL="$WEB_SITE/tarball/$PACKAGE-$VERSION"
13 BUILD_DEPENDS="wget libcap libcap-dev"
14 DEPENDS="libcap gcc-lib-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make && cp README $WOK/$PACKAGE/description.txt
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/sbin
27 cp -a $src/sshttpd $fs/usr/sbin
28 }
30 # Pre and post install commands for Tazpkg.
31 post_install()
32 {
33 zcat /proc/config.gz | grep -q ^CONFIG_NETFILTER_TPROXY= || cat <<EOT
35 CONFIG_NETFILTER_TPROXY not found in /proc/config.gz
36 sshttp needs Linux IP_TRANSPARENT feature to work.
37 You should rebuild your kernel with a new configuration.
39 EOT
40 }
42 # http://blog.stalkr.net/2012/02/sshhttps-multiplexing-with-sshttp.html