wok annotate sshttp/receipt @ rev 21335
updated libvpx and libvpx-dev again (1.3.0 -> 1.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 19 16:32:12 2019 +0100 (2019-04-19) |
parents | dfef8de3d270 |
children | 91c00c379caa |
rev | line source |
---|---|
pascal@13031 | 1 # SliTaz package receipt. |
pascal@13031 | 2 |
pascal@13031 | 3 PACKAGE="sshttp" |
pascal@18051 | 4 VERSION="0-31s" |
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@17141 | 12 TAGS="ssh" |
pascal@15593 | 13 |
pascal@13032 | 14 BUILD_DEPENDS="wget libcap libcap-dev" |
pascal@13031 | 15 DEPENDS="libcap gcc-lib-base" |
pascal@13031 | 16 |
pascal@13031 | 17 # Rules to configure and make the package. |
pascal@13031 | 18 compile_rules() |
pascal@13031 | 19 { |
pascal@18051 | 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@17552 | 33 [ "$1" ] || 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 |