openbsd-ports/net/sslh/patches/patch-Makefile
sthen e54448c63a import ports/net/sslh: from Bjorn Ketelaars, merging in a previous port
from fgsch. ok okan@

sslh accepts HTTPS, SSH, OpenVPN, tinc and XMPP connections on the
same port. This makes it possible to connect to any of these servers
on port 443 (e.g. from inside a corporate firewall, which almost
never block port 443) while still serving HTTPS on that port.
2012-04-13 14:14:21 +00:00

47 lines
1015 B
Plaintext

--- Makefile.orig Sat Nov 26 19:06:58 2011
+++ Makefile Fri Mar 23 19:53:40 2012
@@ -5,26 +5,19 @@
COV_TEST= # Perform test coverage?
PREFIX=/usr/local
-MAN=sslh.8.gz # man page name
+MAN=sslh.8 # man page name
# End of configuration -- the rest should take care of
# itself
-ifneq ($(strip $(COV_TEST)),)
- CFLAGS_COV=-fprofile-arcs -ftest-coverage
-endif
-
CC = gcc
-CFLAGS=-Wall -g $(CFLAGS_COV)
#LIBS=-lnet
LIBS=
OBJS=common.o sslh-main.o
-ifneq ($(strip $(USELIBWRAP)),)
- LIBS:=$(LIBS) -lwrap
- CFLAGS:=$(CFLAGS) -DLIBWRAP
-endif
+LIBS:=$(LIBS) -lwrap
+CFLAGS:=$(CFLAGS) -Wall -DLIBWRAP
all: sslh $(MAN) echosrv
@@ -46,7 +39,7 @@
$(CC) $(CFLAGS) -o echosrv echosrv.o common.o $(LIBS)
$(MAN): sslh.pod Makefile
- pod2man --section=8 --release=$(VERSION) --center=" " sslh.pod | gzip -9 - > $(MAN)
+ pod2man --section=8 --release=$(VERSION) --center=" " sslh.pod > $(MAN)
# generic install: install binary and man page
install: sslh $(MAN)
@@ -72,4 +65,3 @@
test:
./t
-