summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-02-06 22:25:15 +0000
committerkris <kris@FreeBSD.org>2000-02-06 22:25:15 +0000
commit45e734b715cad00326e706e4f856af51cb76ca85 (patch)
treea9c1d83c6368bec06da860c56ab94908b171e1ec /security
parentb656f339d7a800f4da4097a7f56fedf64b601422 (diff)
downloadFreeBSD-ports-45e734b715cad00326e706e4f856af51cb76ca85.zip
FreeBSD-ports-45e734b715cad00326e706e4f856af51cb76ca85.tar.gz
USE_OPENSSL
Assisted by: Jim Bloom <bloom@acm.org>
Diffstat (limited to 'security')
-rw-r--r--security/slush/Makefile12
-rw-r--r--security/slush/files/patch-aa60
2 files changed, 23 insertions, 49 deletions
diff --git a/security/slush/Makefile b/security/slush/Makefile
index 9461a4e..34df7de 100644
--- a/security/slush/Makefile
+++ b/security/slush/Makefile
@@ -13,25 +13,15 @@ MASTER_SITES= http://violet.ibs.com.au/slush/files/ \
MAINTAINER= shipley@dis.org
-BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl
-LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl \
- ssl.1:${PORTSDIR}/security/openssl
-
-#MAN= slush.1
-
GNU_CONFIGURE= yes
-#NOPROFILE= true
+USE_OPENSSL= RSA
.include <bsd.port.pre.mk>
.if ${OSVERSION} <= 300000
BROKEN= does not build
.endif
-.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
-MAKE_ENV+= EXTRA_SSL_LIBS="-lRSAglue -lrsaref"
-.endif
-
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/slush
diff --git a/security/slush/files/patch-aa b/security/slush/files/patch-aa
index 792cb9a..1055033 100644
--- a/security/slush/files/patch-aa
+++ b/security/slush/files/patch-aa
@@ -1,38 +1,22 @@
-*** Makefile.in.orig Tue Apr 6 03:05:04 1999
---- Makefile.in Sun May 16 21:37:14 1999
-***************
-*** 9,16 ****
-
- CC=@CC@
- INSTALL=@INSTALL@
-! CFLAGS=@CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -I/usr/local/ssl/include -I/usr/include/ssl
-! LIBS=@LIBS@ -L/usr/local/ssl/lib -lssl -lcrypto
-
- all: slush slushd
-
---- 9,16 ----
-
- CC=@CC@
- INSTALL=@INSTALL@
-! CFLAGS=@CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -I/usr/local/include -I/usr/local/include/openssl
-! LIBS=@LIBS@ -L/usr/local/lib -lssl -lcrypto $(EXTRA_SSL_LIBS) -lutil
-
- all: slush slushd
-
-***************
-*** 38,44 ****
- install: $(SBINDIR)/slushd $(MANDIR)/slush.8
-
- cert:
-! ssleay req -new -x509 -nodes \
- -out slushd.pem -days 365 -keyout slushd.pem
-
- clean:
---- 38,44 ----
- install: $(SBINDIR)/slushd $(MANDIR)/slush.8
-
- cert:
-! openssl req -new -x509 -nodes \
- -out slushd.pem -days 365 -keyout slushd.pem
-
- clean:
+--- Makefile.in.orig Tue Apr 6 01:05:04 1999
++++ Makefile.in Sat Jan 29 16:23:51 2000
+@@ -9,8 +9,8 @@
+
+ CC=@CC@
+ INSTALL=@INSTALL@
+-CFLAGS=@CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -I/usr/local/ssl/include -I/usr/include/ssl
+-LIBS=@LIBS@ -L/usr/local/ssl/lib -lssl -lcrypto
++CFLAGS=@CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -I$(OPENSSLINC) -I$(OPENSSLINC)/openssl -I$(LOCALBASE)/include
++LIBS=@LIBS@ -L$(OPENSSLLIB) -lssl -lcrypto $(EXTRA_SSL_LIBS) -lutil
+
+ all: slush slushd
+
+@@ -38,7 +38,7 @@
+ install: $(SBINDIR)/slushd $(MANDIR)/slush.8
+
+ cert:
+- ssleay req -new -x509 -nodes \
++ openssl req -new -x509 -nodes \
+ -out slushd.pem -days 365 -keyout slushd.pem
+
+ clean:
OpenPOWER on IntegriCloud