sslh: update to v1.22c
authorMartin Moreno <fett3270@yahoo.com>
Tue, 29 Mar 2022 06:51:38 +0000 (23:51 -0700)
committerJonathan McCrohan <jmccrohan@gmail.com>
Tue, 29 Mar 2022 08:01:45 +0000 (09:01 +0100)
Change notes:
Updated Makefile package version and hash.
Added libpcre2 dependency
Removed USELIBPCRE make flag (no longer optional within sslh)
Updated patch 001 to work with new sslh Makefile

Signed-off-by: Martin Moreno <fett3270@yahoo.com>
net/sslh/Makefile
net/sslh/patches/001-no_sslh_select.patch

index cb9282e8fc158a18df179b5a5cad400145fdbed6..c8527d157a4bab97cf60466b108f6414b31a8a70 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sslh
-PKG_VERSION:=v1.21c
+PKG_VERSION:=v1.22c
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://rutschle.net/tech/sslh/
-PKG_HASH:=3bfe783726f82c1f5a4be630ddc494ebb08dbb69980662cd7ffdeb7bc9e1e706
+PKG_HASH:=8e3742d14edf4119350cfdc7bb96b89134d9218eb6d2a6e1f70891ca18a649b1
 
 PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
 PKG_LICENSE:=GPL-2.0-or-later
@@ -26,7 +26,7 @@ define Package/sslh
   CATEGORY:=Network
   SUBMENU:=Routing and Redirection
   TITLE:=SSL/SSH multiplexer
-  DEPENDS:=+libconfig +libcap +USE_UCLIBC:libpcre +USE_MUSL:libpcre
+  DEPENDS:=+libconfig +libcap +libpcre2
   URL:=https://rutschle.net/tech/sslh/README.html
 endef
 
@@ -36,8 +36,7 @@ define Package/sslh/conffiles
 endef
 
 MAKE_FLAGS += \
-  USELIBCAP=1 \
-  $(if $(CONFIG_USE_GLIBC),USELIBPCRE=,USELIBPCRE=1)
+  USELIBCAP=1
 
 define Package/sslh/install
        $(INSTALL_DIR) $(1)/usr/sbin
index fccceb6937a22d0d41fa3327a570b72e7f7c650a..0b57757dc6fd922c404745f9f6ea5e6d015d6cd3 100644 (file)
@@ -1,27 +1,27 @@
 --- a/Makefile
 +++ b/Makefile
-@@ -76,7 +76,7 @@ all: sslh $(MAN) echosrv $(CONDITIONAL_T
+@@ -70,7 +70,7 @@ all: sslh $(MAN) echosrv $(CONDITIONAL_T
  version.h:
        ./genver.sh >version.h
  
 -sslh: sslh-fork sslh-select
 +sslh: sslh-fork
  
- $(OBJS): version.h
+ $(OBJS): version.h common.h collection.h sslh-conf.h gap.h
  
-@@ -87,10 +87,6 @@ sslh-fork: version.h $(OBJS) sslh-fork.o
+@@ -81,10 +81,6 @@ sslh-fork: version.h $(OBJS) sslh-fork.o
        $(CC) $(CFLAGS) $(LDFLAGS) -o sslh-fork sslh-fork.o $(OBJS) $(LIBS)
        #strip sslh-fork
  
--sslh-select: version.h $(OBJS) sslh-select.o Makefile common.h
+-sslh-select: version.h $(OBJS) sslh-select.o Makefile
 -      $(CC) $(CFLAGS) $(LDFLAGS) -o sslh-select sslh-select.o $(OBJS) $(LIBS)
 -      #strip sslh-select
 -
  systemd-sslh-generator: systemd-sslh-generator.o
        $(CC) $(CFLAGS) $(LDFLAGS) -o systemd-sslh-generator systemd-sslh-generator.o -lconfig
  
-@@ -127,7 +123,7 @@ distclean: clean
-       rm -f tags sslh-conf.c sslh-conf.h cscope.*
+@@ -133,7 +129,7 @@ distclean: clean
+       rm -f tags sslh-conf.[ch] echosrv-conf.[ch] cscope.*
  
  clean:
 -      rm -f sslh-fork sslh-select echosrv version.h $(MAN) systemd-sslh-generator *.o *.gcov *.gcno *.gcda *.png *.html *.css *.info