diff options
author | steve <steve@FreeBSD.org> | 1999-08-01 11:08:33 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-08-01 11:08:33 +0800 |
commit | 71a6d52941eecd889c6ffddb266ee6bbe3b4fa85 (patch) | |
tree | 6d03fe24e02f045c10e2ea7ff087ed8c9ddff41a /security | |
parent | 81d00b1fc1fe7cf716e775ee7b73c223eb807e21 (diff) | |
download | freebsd-ports-gnome-71a6d52941eecd889c6ffddb266ee6bbe3b4fa85.tar.gz freebsd-ports-gnome-71a6d52941eecd889c6ffddb266ee6bbe3b4fa85.tar.zst freebsd-ports-gnome-71a6d52941eecd889c6ffddb266ee6bbe3b4fa85.zip |
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>
Diffstat (limited to 'security')
-rw-r--r-- | security/sslproxy/Makefile | 12 | ||||
-rw-r--r-- | security/sslproxy/files/patch-aa | 11 | ||||
-rw-r--r-- | security/sslproxy/pkg-plist | 3 |
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 |