wok-next view sshttp/receipt @ rev 21277
geeqie: replaced lua by lua51
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 16:00:59 2019 +0100 (2019-12-07) |
parents | 2f03cb67a994 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sshttp"
4 VERSION="0-35s2"
5 CATEGORY="network"
6 SHORT_DESC="Hiding a SSH server behind a HTTP server"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/stealth/sshttp"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$TARBALL"
14 BUILD_DEPENDS="libcap-dev"
16 compile_rules() {
17 make &&
18 install -Dm755 $src/sshttpd $install/usr/sbin/sshttpd
19 }
21 genpkg_rules() {
22 copy @std
23 DEPENDS="libcap gcc-lib-base"
24 TAGS="ssh"
25 }
27 post_install() {
28 [ -n "$1" ] ||
29 zcat /proc/config.gz | grep -q ^CONFIG_NETFILTER_TPROXY= ||
30 [ -n "$quiet" ] || cat <<EOT
32 .----------------------------------------------------------.
33 | CONFIG_NETFILTER_TPROXY not found in /proc/config.gz |
34 |----------------------------------------------------------|
35 | sshttp needs Linux IP_TRANSPARENT feature to work. |
36 | You should rebuild your kernel with a new configuration. |
37 '----------------------------------------------------------'
39 EOT
40 }
42 # http://blog.stalkr.net/2012/02/sshhttps-multiplexing-with-sshttp.html