summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-08-01 03:08:33 +0000
committerSteve Price <steve@FreeBSD.org>1999-08-01 03:08:33 +0000
commitb98520e8799be565c677f99c4d3ae52c12ae08f0 (patch)
treef0b73dc431a808c13e97a3f0aaf8326a1f7cea34
parentUpdate to version 4.14. (diff)
Find the ssl header files correctly and fix this so it will work if
USA_RESIDENT=YES. PR: 12795 Submitted by: Palle Girgensohn <girgen@partitur.se>
Notes
Notes: svn path=/head/; revision=20440
-rw-r--r--security/sslproxy/Makefile12
-rw-r--r--security/sslproxy/files/patch-aa11
-rw-r--r--security/sslproxy/pkg-plist3
3 files changed, 22 insertions, 4 deletions
diff --git a/security/sslproxy/Makefile b/security/sslproxy/Makefile
index 0a31c6ec925c..2b000a3405f4 100644
--- a/security/sslproxy/Makefile
+++ b/security/sslproxy/Makefile
@@ -3,7 +3,7 @@
# Date created: 11 February 1999
# Whom: Alex Le Heux
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1999/06/06 17:49:44 steve Exp $
#
DISTNAME= sslproxy.1998_Jun_14
@@ -16,7 +16,17 @@ MAINTAINER= alexlh@funk.org
BUILD_DEPENDS= ${PREFIX}/include/openssl/ssl.h:${PORTSDIR}/security/openssl
RUN_DEPENDS= ${PREFIX}/lib/libssl.a:${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
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sslproxy ${PREFIX}/bin/sslproxy
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/sslproxy
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/dummyCert.pem \
+ ${PREFIX}/share/doc/sslproxy
+.endif
.include <bsd.port.mk>
diff --git a/security/sslproxy/files/patch-aa b/security/sslproxy/files/patch-aa
index a5e318323afc..46fa098516a4 100644
--- a/security/sslproxy/files/patch-aa
+++ b/security/sslproxy/files/patch-aa
@@ -1,6 +1,6 @@
--- Makefile.orig Sun Jun 14 15:52:50 1998
-+++ Makefile Sat Jun 5 16:24:40 1999
-@@ -12,9 +12,9 @@
++++ Makefile Sat Jul 31 11:12:56 1999
+@@ -12,13 +12,13 @@
# if you use cc, remove the -Wall and -g options
CC= gcc
@@ -8,7 +8,12 @@
+SSLROOT= /usr/local
-CFLAGS= -Wall -I$(SSLROOT)/include -O
-+CFLAGS= -Wall -I$(SSLROOT)/include/openssl -O
++CFLAGS+= -I$(SSLROOT)/include
# 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)
+
+ OBJ = sslproxy.o
+
diff --git a/security/sslproxy/pkg-plist b/security/sslproxy/pkg-plist
index d9813fd1a81f..3adc0e029605 100644
--- a/security/sslproxy/pkg-plist
+++ b/security/sslproxy/pkg-plist
@@ -1 +1,4 @@
bin/sslproxy
+share/doc/sslproxy/README.txt
+share/doc/sslproxy/dummyCert.pem
+@dirrm share/doc/sslproxy