wok annotate sshttp/receipt @ rev 22539

updated bird (2.0.3 -> 2.0.7)
author Hans-G?nter Theisgen
date Fri Jan 03 16:08:36 2020 +0100 (2020-01-03)
parents 91c00c379caa
children 5ea0ce1cecc0
rev   line source
pascal@13031 1 # SliTaz package receipt.
pascal@13031 2
pascal@13031 3 PACKAGE="sshttp"
Hans-G?nter@21970 4 VERSION="0.35s2"
pascal@13031 5 CATEGORY="network"
Hans-G?nter@21970 6 TAGS="ssh"
Hans-G?nter@21970 7 SHORT_DESC="Hiding a SSH server behind a HTTP server."
pascal@13031 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 9 LICENSE="BSD"
pascal@13031 10 WEB_SITE="https://github.com/stealth/$PACKAGE"
pascal@15593 11
Hans-G?nter@21970 12 TARBALL="$PACKAGE-${VERSION/./-}.tar.gz"
Hans-G?nter@21970 13 WGET_URL="$WEB_SITE/archive/$TARBALL"
Hans-G?nter@21970 14
Hans-G?nter@21970 15 DEPENDS="gcc83-lib-base libcap"
Hans-G?nter@21973 16 BUILD_DEPENDS="gcc83 libcap-dev libidn"
pascal@13031 17
pascal@13031 18 # Rules to configure and make the package.
pascal@13031 19 compile_rules()
pascal@13031 20 {
Hans-G?nter@21970 21 sed -i 's|CXX=c++|CXX=gcc-83|' Makefile
Hans-G?nter@21970 22
Hans-G?nter@21970 23 make &&
Hans-G?nter@21970 24 cp README* $WOK/$PACKAGE/description.txt
pascal@13031 25 }
pascal@13031 26
pascal@13031 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13031 28 genpkg_rules()
pascal@13031 29 {
pascal@13031 30 mkdir -p $fs/usr/sbin
pascal@13031 31 cp -a $src/sshttpd $fs/usr/sbin
pascal@13031 32 }
pascal@13031 33
pascal@13040 34 # Pre and post install commands for Tazpkg.
pascal@13040 35 post_install()
pascal@13040 36 {
pascal@17552 37 [ "$1" ] || zcat /proc/config.gz | grep -q ^CONFIG_NETFILTER_TPROXY= || cat <<EOT
pascal@13040 38
pascal@13040 39 CONFIG_NETFILTER_TPROXY not found in /proc/config.gz
pascal@13040 40 sshttp needs Linux IP_TRANSPARENT feature to work.
pascal@13040 41 You should rebuild your kernel with a new configuration.
pascal@13040 42
pascal@13040 43 EOT
pascal@13040 44 }
pascal@13040 45
pascal@13040 46 # http://blog.stalkr.net/2012/02/sshhttps-multiplexing-with-sshttp.html