wok-6.x view sshttp/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
parents | 91c00c379caa |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sshttp"
4 VERSION="0.35s2"
5 CATEGORY="network"
6 TAGS="ssh"
7 SHORT_DESC="Hiding a SSH server behind a HTTP server."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://github.com/stealth/$PACKAGE"
12 TARBALL="$PACKAGE-${VERSION/./-}.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$TARBALL"
15 DEPENDS="gcc83-lib-base libcap"
16 BUILD_DEPENDS="gcc83 libcap-dev libidn"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|CXX=c++|CXX=gcc-83|' Makefile
23 make &&
24 cp README* $WOK/$PACKAGE/description.txt
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/sbin
31 cp -a $src/sshttpd $fs/usr/sbin
32 }
34 # Pre and post install commands for Tazpkg.
35 post_install()
36 {
37 [ "$1" ] || zcat /proc/config.gz | grep -q ^CONFIG_NETFILTER_TPROXY= || cat <<EOT
39 CONFIG_NETFILTER_TPROXY not found in /proc/config.gz
40 sshttp needs Linux IP_TRANSPARENT feature to work.
41 You should rebuild your kernel with a new configuration.
43 EOT
44 }
46 # http://blog.stalkr.net/2012/02/sshhttps-multiplexing-with-sshttp.html