Browse Source

sslh: fix build by correcting version and refreshing makefile patch

Signed-off-by: Russell Senior <russell@personaltelco.net>
lilik-openwrt-22.03
Russell Senior 11 years ago
parent
commit
706b463115
2 changed files with 17 additions and 17 deletions
  1. +3
    -3
      net/sslh/Makefile
  2. +14
    -14
      net/sslh/patches/001-no_sslh_select.patch

+ 3
- 3
net/sslh/Makefile View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2009-2012 OpenWrt.org
# Copyright (C) 2009-2014 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -8,8 +8,8 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=sslh PKG_NAME:=sslh
PKG_VERSION:=1.16
PKG_RELEASE:=1
PKG_VERSION:=v1.16
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://rutschle.net/tech/ PKG_SOURCE_URL:=http://rutschle.net/tech/


+ 14
- 14
net/sslh/patches/001-no_sslh_select.patch View File

@ -1,29 +1,29 @@
--- a/Makefile --- a/Makefile
+++ b/Makefile +++ b/Makefile
@@ -37,16 +37,12 @@ all: sslh $(MAN) echosrv
$(CC) $(CFLAGS) -D'VERSION=$(VERSION)' -c $<
@@ -45,16 +45,12 @@ all: sslh $(MAN) echosrv
version.h:
./genver.sh >version.h
-sslh: sslh-fork sslh-select
+sslh: sslh-fork
-sslh: $(OBJS) sslh-fork sslh-select
+sslh: $(OBJS) sslh-fork
sslh-fork: $(OBJS) sslh-fork.o Makefile common.h
$(CC) $(CFLAGS) -D'VERSION=$(VERSION)' -o sslh-fork sslh-fork.o $(OBJS) $(LIBS)
sslh-fork: version.h $(OBJS) sslh-fork.o Makefile common.h
$(CC) $(CFLAGS) $(LDFLAGS) -o sslh-fork sslh-fork.o $(OBJS) $(LIBS)
#strip sslh-fork #strip sslh-fork
-sslh-select: $(OBJS) sslh-select.o Makefile common.h
- $(CC) $(CFLAGS) -D'VERSION=$(VERSION)' -o sslh-select sslh-select.o $(OBJS) $(LIBS)
-sslh-select: version.h $(OBJS) sslh-select.o Makefile common.h
- $(CC) $(CFLAGS) $(LDFLAGS) -o sslh-select sslh-select.o $(OBJS) $(LIBS)
- #strip sslh-select - #strip sslh-select
- -
echosrv: $(OBJS) echosrv.o echosrv: $(OBJS) echosrv.o
$(CC) $(CFLAGS) -o echosrv echosrv.o probe.o common.o $(LIBS)
$(CC) $(CFLAGS) $(LDFLAGS) -o echosrv echosrv.o probe.o common.o $(LIBS)
@@ -77,7 +73,7 @@ uninstall:
update-rc.d sslh remove
@@ -86,7 +82,7 @@ distclean: clean
rm -f tags cscope.*
clean: clean:
- rm -f sslh-fork sslh-select echosrv $(MAN) *.o *.gcov *.gcno *.gcda *.png *.html *.css *.info
+ rm -f sslh-fork echosrv $(MAN) *.o *.gcov *.gcno *.gcda *.png *.html *.css *.info
- rm -f sslh-fork sslh-select echosrv version.h $(MAN) *.o *.gcov *.gcno *.gcda *.png *.html *.css *.info
+ rm -f sslh-fork echosrv version.h $(MAN) *.o *.gcov *.gcno *.gcda *.png *.html *.css *.info
tags: tags:
ctags --globals -T *.[ch] ctags --globals -T *.[ch]

Loading…
Cancel
Save