From 3d5a21c0377f64c8708180985ada70f0193535d2 Mon Sep 17 00:00:00 2001 From: Pulux Date: Tue, 27 Jul 2021 08:38:10 +0200 Subject: [PATCH] sslh: remove configfile support, not working since libconfig 1.7.3 --- srcpkgs/sslh/files/sslh/run | 3 ++- srcpkgs/sslh/template | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/sslh/files/sslh/run b/srcpkgs/sslh/files/sslh/run index 18710d4f96ad..5ad7d50ab509 100644 --- a/srcpkgs/sslh/files/sslh/run +++ b/srcpkgs/sslh/files/sslh/run @@ -1,2 +1,3 @@ #!/bin/sh -exec sslh -f -u nobody -F/etc/sslh.cfg +[ -r ./conf ] && . conf +exec sslh -f -u nobody ${OPTS} diff --git a/srcpkgs/sslh/template b/srcpkgs/sslh/template index 55b6b53cee66..cf24738cbf5b 100644 --- a/srcpkgs/sslh/template +++ b/srcpkgs/sslh/template @@ -1,9 +1,9 @@ # Template file for 'sslh' pkgname=sslh version=1.21c -revision=1 +revision=2 hostmakedepends="perl" -makedepends="pcre-devel libconfig-devel libcap-devel" +makedepends="pcre-devel libcap-devel" short_desc="Applicative Protocol Multiplexer" maintainer="Markus Berger " license="GPL-2.0-or-later" @@ -15,7 +15,7 @@ do_build() { sed -i 's|^MAN=sslh.8.gz|MAN=sslh.8|g' Makefile sed -i 's|sbin|bin|g' Makefile sed -i 's|sslh.pod \| gzip -9 - > $(MAN)|sslh.pod > $(MAN)|g' Makefile - make CC=$CC ENABLE_REGEX=1 USELIBPCRE=1 USELIBCONFIG=1 USELIBCAP=1 + make CC=$CC ENABLE_REGEX=1 USELIBPCRE=1 USELIBCONFIG= USELIBCAP=1 } do_install() { make DESTDIR=${DESTDIR} PREFIX=/usr install