wok-6.x view sslh/receipt @ rev 20693

Up sslh (1.20)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 03 19:06:06 2019 +0100 (2019-02-03)
parents f8e4b31c88c3
children 54b0f9995acb
line source
1 # SliTaz package receipt.
3 PACKAGE="sslh"
4 VERSION="1.20"
5 CATEGORY="network"
6 SHORT_DESC="Accept HTTPS SSH OpenVPN Tinc & XMPP connections on the same port."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-v$VERSION.tar.gz"
10 WEB_SITE="http://www.rutschle.net/tech/sslh/README.html"
11 WGET_URL="https://github.com/yrutschle/sslh/archive/v$VERSION.tar.gz"
12 CONFIG_FILES="/etc/sslh.cfg"
13 TAGS="ssh vpn tunnel"
15 DEPENDS="libwrap libconfig"
16 BUILD_DEPENDS="libwrap-dev libwrap libconfig-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/sbin $fs/etc
28 mkdir -p $install/usr/share/man $install/usr/share/doc
29 cp -a $src/sslh-fork $fs/usr/sbin
30 cp -a $src/sslh-select $fs/usr/sbin
31 cp $src/basic.cfg $fs/etc/sslh.cfg
32 cp $src/sslh.8.gz $install/usr/share/man
33 cp $src/*.cfg $install/usr/share/doc
34 cp $src/README.md $install/usr/share/doc
35 }