diff options
author | Steve Price <steve@FreeBSD.org> | 1998-07-20 02:39:04 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-07-20 02:39:04 +0000 |
commit | fbbabc0248bea3e74aeb23ddcf19ac12f780f5e7 (patch) | |
tree | 70f9def7815e4a3e1234b164eff1096b918eca9e /security/bjorb/files/patch-aa | |
parent | Update to new version xdvik-20c. (diff) |
Initial import of bjorb version 0.5.3p1.
Secure TCP relay software with SSL.
PR: 7181
Submitted by: Issei Suzuki <issei@t-cnet.or.jp>
Notes
Notes:
svn path=/head/; revision=11978
Diffstat (limited to 'security/bjorb/files/patch-aa')
-rw-r--r-- | security/bjorb/files/patch-aa | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/security/bjorb/files/patch-aa b/security/bjorb/files/patch-aa new file mode 100644 index 000000000000..df981902ea23 --- /dev/null +++ b/security/bjorb/files/patch-aa @@ -0,0 +1,41 @@ +--- ../../bjorb-0.5.3p1/src/Makefile.in Tue May 26 19:35:33 1998 ++++ src/Makefile.in Sun Jul 19 19:32:48 1998 +@@ -27,7 +27,7 @@ + LDFLAGS = + LIBS = @LIBS@ + +-PREFIX = @prefix@ ++PREFIX ?= @prefix@ + exec_prefix = $(PREFIX) + sbindir = $(exec_prefix)/sbin + etcdir = $(exec_prefix)/etc +@@ -43,10 +43,10 @@ + + ### SSL Configuration + +-SSLTOP = /usr/local/ssl ++SSLTOP = $(PREFIX) + SSL_CFLAGS = -I$(SSLTOP)/include + SSL_LDFLAGS = -L$(SSLTOP)/lib +-SSL_LIBS = -lssl -lcrypto ++SSL_LIBS = -lssl -lcrypto -lRSAglue -lrsaref + + ### + # %EXPORT% +@@ -132,9 +132,13 @@ + autoconf + + certificate:: +- $(SSLTOP)/bin/req -new -x509 -out new.pem -nodes -days 365 +- cat new.pem privkey.pem > $(etcdir)/bjorb.pem +- @rm new.pem privkey.pem ++ (\ ++ [ -f $(PREFIX)/certs/bjorb.pem ] && exit 0; \ ++ cd $(PREFIX)/certs; \ ++ ssleay req -new -x509 -nodes -days 365 -out bjorb.pem -keyout bjorb.pem; \ ++ ln -s bjorb.pem `ssleay x509 -noout -hash < bjorb.pem`.0 ;\ ++ chmod 644 $(PREFIX)/certs/bjorb.pem; \ ++ ) + + install-freebsd:: + cp ../doc/sample/bjorb.sh /usr/local/etc/rc.d/bjorb.sh |