wok annotate sshttp/receipt @ rev 16535

linux-source: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 28 07:52:49 2014 +0000 (2014-04-28)
parents e2e8f01cdde5
children f44ef80ff9e2
rev   line source
pascal@13031 1 # SliTaz package receipt.
pascal@13031 2
pascal@13031 3 PACKAGE="sshttp"
pascal@13031 4 VERSION="0-27"
pascal@13031 5 CATEGORY="network"
pascal@13031 6 SHORT_DESC="hiding a SSH server behind a HTTP server."
pascal@13031 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="BSD"
pascal@13031 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13031 10 WEB_SITE="https://github.com/stealth/$PACKAGE"
pascal@13031 11 WGET_URL="$WEB_SITE/tarball/$PACKAGE-$VERSION"
pascal@15593 12
pascal@13032 13 BUILD_DEPENDS="wget libcap libcap-dev"
pascal@13031 14 DEPENDS="libcap gcc-lib-base"
pascal@13031 15
pascal@13031 16 # Rules to configure and make the package.
pascal@13031 17 compile_rules()
pascal@13031 18 {
pascal@13031 19 cd $src
pascal@13031 20 make && cp README $WOK/$PACKAGE/description.txt
pascal@13031 21 }
pascal@13031 22
pascal@13031 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13031 24 genpkg_rules()
pascal@13031 25 {
pascal@13031 26 mkdir -p $fs/usr/sbin
pascal@13031 27 cp -a $src/sshttpd $fs/usr/sbin
pascal@13031 28 }
pascal@13031 29
pascal@13040 30 # Pre and post install commands for Tazpkg.
pascal@13040 31 post_install()
pascal@13040 32 {
pascal@13040 33 zcat /proc/config.gz | grep -q ^CONFIG_NETFILTER_TPROXY= || cat <<EOT
pascal@13040 34
pascal@13040 35 CONFIG_NETFILTER_TPROXY not found in /proc/config.gz
pascal@13040 36 sshttp needs Linux IP_TRANSPARENT feature to work.
pascal@13040 37 You should rebuild your kernel with a new configuration.
pascal@13040 38
pascal@13040 39 EOT
pascal@13040 40 }
pascal@13040 41
pascal@13040 42 # http://blog.stalkr.net/2012/02/sshhttps-multiplexing-with-sshttp.html