wok-next annotate sshttp/receipt @ rev 21422

updated puzzles again ( -> 20200413)
author Hans-G?nter Theisgen
date Mon Apr 27 17:44:20 2020 +0100 (2020-04-27)
parents 2f03cb67a994
children
rev   line source
al@20491 1 # SliTaz package receipt v2.
pascal@13031 2
pascal@13031 3 PACKAGE="sshttp"
pascal@20037 4 VERSION="0-35s2"
pascal@13031 5 CATEGORY="network"
al@20491 6 SHORT_DESC="Hiding a SSH server behind a HTTP server"
pascal@13031 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="BSD"
al@21020 9 WEB_SITE="https://github.com/stealth/sshttp"
al@20491 10
pascal@13031 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20037 12 WGET_URL="$WEB_SITE/archive/$TARBALL"
pascal@15593 13
al@20491 14 BUILD_DEPENDS="libcap-dev"
pascal@13031 15
al@20491 16 compile_rules() {
al@20491 17 make &&
al@21020 18 install -Dm755 $src/sshttpd $install/usr/sbin/sshttpd
pascal@13031 19 }
pascal@13031 20
al@20491 21 genpkg_rules() {
al@20491 22 copy @std
al@20491 23 DEPENDS="libcap gcc-lib-base"
al@20491 24 TAGS="ssh"
pascal@13031 25 }
pascal@13031 26
al@20491 27 post_install() {
al@20491 28 [ -n "$1" ] ||
al@20491 29 zcat /proc/config.gz | grep -q ^CONFIG_NETFILTER_TPROXY= ||
al@21020 30 [ -n "$quiet" ] || cat <<EOT
pascal@13040 31
al@20491 32 .----------------------------------------------------------.
al@20491 33 | CONFIG_NETFILTER_TPROXY not found in /proc/config.gz |
al@20491 34 |----------------------------------------------------------|
al@20491 35 | sshttp needs Linux IP_TRANSPARENT feature to work. |
al@20491 36 | You should rebuild your kernel with a new configuration. |
al@20491 37 '----------------------------------------------------------'
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