1999-06-02 07:23:49 +00:00
|
|
|
--- Makefile.in.orig Mon Feb 22 05:01:20 1999
|
|
|
|
+++ Makefile.in Wed Mar 24 20:52:03 1999
|
1998-08-30 15:35:08 +00:00
|
|
|
@@ -29,7 +29,7 @@
|
1998-07-20 02:39:04 +00:00
|
|
|
LDFLAGS =
|
|
|
|
LIBS = @LIBS@
|
|
|
|
|
|
|
|
-PREFIX = @prefix@
|
|
|
|
+PREFIX ?= @prefix@
|
|
|
|
exec_prefix = $(PREFIX)
|
|
|
|
sbindir = $(exec_prefix)/sbin
|
|
|
|
etcdir = $(exec_prefix)/etc
|
1998-08-30 15:35:08 +00:00
|
|
|
@@ -135,9 +135,13 @@
|
1998-07-20 02:39:04 +00:00
|
|
|
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; \
|
1999-03-26 08:51:52 +00:00
|
|
|
+ openssl req -new -x509 -nodes -days 365 -out bjorb.pem -keyout bjorb.pem; \
|
|
|
|
+ ln -s bjorb.pem `openssl x509 -noout -hash < bjorb.pem`.0 ;\
|
1998-07-20 02:39:04 +00:00
|
|
|
+ chmod 644 $(PREFIX)/certs/bjorb.pem; \
|
|
|
|
+ )
|
|
|
|
|
1998-08-30 15:35:08 +00:00
|
|
|
install-bsd::
|
|
|
|
@if test -f /etc/rc.bjorb ; then chmod +w /etc/rc.bjorb; fi
|