aboutsummaryrefslogtreecommitdiff
path: root/security/sslproxy
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-02-06 21:55:45 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-02-06 21:55:45 +0000
commit5bb50d962a17f89152a093545c6afeb50ebea9d4 (patch)
tree6f28db792781f39f021dfc4da719e18684fd3bb9 /security/sslproxy
parentda5b56c00495da9bf3fce8e48511007c26be3edb (diff)
downloadports-5bb50d962a17f89152a093545c6afeb50ebea9d4.tar.gz
ports-5bb50d962a17f89152a093545c6afeb50ebea9d4.zip
USE_OPENSSL, respect CC, LOCALBASE (indirectly via OPENSSLLIB)
Assisted by: Jim Bloom <bloom@acm.org>
Notes
Notes: svn path=/head/; revision=25527
Diffstat (limited to 'security/sslproxy')
-rw-r--r--security/sslproxy/Makefile8
-rw-r--r--security/sslproxy/files/patch-aa18
2 files changed, 11 insertions, 15 deletions
diff --git a/security/sslproxy/Makefile b/security/sslproxy/Makefile
index 4b0a52a99270..6dee18f9941f 100644
--- a/security/sslproxy/Makefile
+++ b/security/sslproxy/Makefile
@@ -13,13 +13,7 @@ MASTER_SITES= ftp://ftp.obdev.at/pub/Products/sslproxy/
MAINTAINER= alexlh@funk.org
-LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl \
- ssl.1:${PORTSDIR}/security/openssl
-
-.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
-LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
-MAKE_ENV+= EXTRA_SSL_LIBS="-lRSAglue -lrsaref"
-.endif
+USE_OPENSSL= RSA
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sslproxy ${PREFIX}/bin/sslproxy
diff --git a/security/sslproxy/files/patch-aa b/security/sslproxy/files/patch-aa
index 46fa098516a4..15589e8a27a0 100644
--- a/security/sslproxy/files/patch-aa
+++ b/security/sslproxy/files/patch-aa
@@ -1,19 +1,21 @@
---- Makefile.orig Sun Jun 14 15:52:50 1998
-+++ Makefile Sat Jul 31 11:12:56 1999
-@@ -12,13 +12,13 @@
+--- Makefile.orig Sun Jun 14 13:52:50 1998
++++ Makefile Sat Jan 29 16:48:49 2000
+@@ -10,15 +10,13 @@
+
+
# if you use cc, remove the -Wall and -g options
- CC= gcc
+-CC= gcc
++CC?= gcc
-SSLROOT= /usr/local/ssl
-+SSLROOT= /usr/local
-
+-
-CFLAGS= -Wall -I$(SSLROOT)/include -O
-+CFLAGS+= -I$(SSLROOT)/include
++CFLAGS+= -I$(OPENSSLINC)
# for Solaris 2.x add -DSOLARIS2, for SunOS add -DSUNOS and for HP-UX add
# -DHP to the CFLAGS variable
-LIBS = -L$(SSLROOT)/lib -lssl -lcrypto
-+LIBS = -L$(SSLROOT)/lib -lssl -lcrypto $(EXTRA_SSL_LIBS)
++LIBS = -L$(OPENSSLLIB) -lssl -lcrypto $(EXTRA_SSL_LIBS)
OBJ = sslproxy.o