wok-6.x annotate sslh/receipt @ rev 23326

updated perl-fcgi (0.77 -> 0.79)
author Hans-G?nter Theisgen
date Mon Mar 30 17:15:00 2020 +0100 (2020-03-30)
parents 03ccd15b9fa1
children 6b6d14c9f7e9
rev   line source
pascal@5207 1 # SliTaz package receipt.
pascal@5207 2
pascal@5207 3 PACKAGE="sslh"
pascal@20693 4 VERSION="1.20"
pascal@5207 5 CATEGORY="network"
pascal@20704 6 SHORT_DESC="Accept HTTPS SSH OpenVPN Tinc & XMPP connections on the same port"
pascal@5207 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="GPL2"
pascal@18054 9 TARBALL="$PACKAGE-v$VERSION.tar.gz"
pascal@20403 10 WEB_SITE="http://www.rutschle.net/tech/sslh/README.html"
pascal@20403 11 WGET_URL="https://github.com/yrutschle/sslh/archive/v$VERSION.tar.gz"
pascal@19628 12 CONFIG_FILES="/etc/sslh.cfg"
pascal@18054 13 TAGS="ssh vpn tunnel"
pascal@15593 14
pascal@20704 15 DEPENDS="libwrap libconfig libcap"
pascal@20704 16 BUILD_DEPENDS="libwrap-dev libwrap libconfig-dev libcap-dev"
pascal@20704 17 SUGGESTED="iptables"
pascal@5207 18
pascal@5207 19 # Rules to configure and make the package.
pascal@5207 20 compile_rules()
pascal@5207 21 {
pascal@20704 22 sed -i 's|"ssl"|"tls"|' *.cfg
pascal@20704 23 make USELIBCAP=1
pascal@5207 24 }
pascal@5207 25
pascal@5207 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5207 27 genpkg_rules()
pascal@5207 28 {
pascal@20704 29 mkdir -p $fs/usr/sbin $fs/etc $fs/var/empty
pascal@19630 30 mkdir -p $install/usr/share/man $install/usr/share/doc
pascal@11354 31 cp -a $src/sslh-fork $fs/usr/sbin
pascal@11354 32 cp -a $src/sslh-select $fs/usr/sbin
pascal@19630 33 cp $src/basic.cfg $fs/etc/sslh.cfg
pascal@19628 34 cp $src/sslh.8.gz $install/usr/share/man
pascal@19628 35 cp $src/*.cfg $install/usr/share/doc
pascal@19628 36 cp $src/README.md $install/usr/share/doc
pascal@5207 37 }