openbsd-ports/security/ctunnel/patches/patch-Makefile
ajacoutot 0f43a16b03 Import ctunnel-0.2
ctunnel is a software for proxying and forwarding TCP connections via 
a cryptographic tunnel.
ctunnel can be used to secure any existing TCP based protocol, such 
as HTTP, VNC, Telnet, FTP, RSH, MySQL, etc.
You can also chain/bounce connections to any number of intermediary hosts.

from Pierre-Emmanuel Andre <pea@raveland.org>, thanks!
2008-10-01 16:12:55 +00:00

20 lines
466 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2008/10/01 16:12:55 ajacoutot Exp $
--- Makefile.orig Sat Sep 20 22:07:47 2008
+++ Makefile Wed Oct 1 13:44:08 2008
@@ -1,5 +1,5 @@
-CC=gcc
-CFLAGS=-Wall -g -O2
+CC ?= gcc
+CFLAGS ?= -Wall -g -O2
LDFLAGS=-lcrypto
all: ctunnel
@@ -9,6 +9,6 @@ ctunnel.o:
ctunnel: ctunnel.o
$(CC) $(CFLAGS) -o ctunnel ctunnel.o $(LDFLAGS)
install:
- install ctunnel /usr/local/bin
+ install ctunnel $(PREFIX)/bin
clean:
rm -f ctunnel *.o