summaryrefslogtreecommitdiff
path: root/security/bjorb/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/bjorb/files')
-rw-r--r--security/bjorb/files/patch-aa41
-rw-r--r--security/bjorb/files/patch-ab14
2 files changed, 55 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
diff --git a/security/bjorb/files/patch-ab b/security/bjorb/files/patch-ab
new file mode 100644
index 000000000000..81ffc306b7e3
--- /dev/null
+++ b/security/bjorb/files/patch-ab
@@ -0,0 +1,14 @@
+--- ../../bjorb-0.5.3p1/doc/sample/bjorb.conf.sample Thu May 21 10:16:37 1998
++++ doc/sample/bjorb.conf.sample Wed Jun 3 02:29:29 1998
+@@ -55,8 +55,9 @@
+ spare_servers 2
+ do_fork true
+ deny_wait 0
+-CA_cert_file /usr/local/etc/bjorb.pem
+-CA_cert_path /usr/local/etc/CA
++#CA_cert_file /usr/local/certs/bjorb.pem
++#CA_cert_path /usr/local/etc/CA
++CA_make "FreeBSD Bjorb", 365, 1024
+
+ # TAG: accept [<interface>:]<port> [with <options>]
+ # options := SSL, VERIFY