Lines 1-19
Link Here
|
1 |
--- tools/Makefile.in.orig Mon Dec 27 13:52:12 2004 |
1 |
--- tools/Makefile.in.orig Wed Apr 20 15:00:33 2005 |
2 |
+++ tools/Makefile.in Mon Dec 27 13:52:25 2004 |
2 |
+++ tools/Makefile.in Wed Apr 20 15:00:42 2005 |
3 |
@@ -163,7 +163,7 @@ |
3 |
@@ -375,21 +375,6 @@ |
4 |
stunnel.spec stunnel.mak stunnel.cnf |
4 |
uninstall-examplesDATA uninstall-info-am |
5 |
|
|
|
6 |
confdir = $(sysconfdir)/stunnel |
7 |
-conf_DATA = stunnel.conf-sample stunnel.pem |
8 |
+conf_DATA = stunnel.conf-sample |
9 |
docdir = $(datadir)/doc/stunnel |
10 |
examplesdir = $(docdir)/examples |
11 |
examples_DATA = ca.html ca.pl importCA.html importCA.sh script.sh \ |
12 |
@@ -337,7 +337,6 @@ |
13 |
install-data-am: install-confDATA install-data-local \ |
14 |
install-examplesDATA |
15 |
@$(NORMAL_INSTALL) |
16 |
- $(MAKE) $(AM_MAKEFLAGS) install-data-hook |
17 |
|
18 |
install-exec-am: |
19 |
|
5 |
|
|
|
6 |
install-data-local: |
7 |
- if test ! -r $(DESTDIR)$(confdir)/stunnel.pem; then \ |
8 |
- if test -r "$(RANDOM_FILE)"; then \ |
9 |
- dd if="$(RANDOM_FILE)" of=stunnel.rnd bs=256 count=1; \ |
10 |
- RND="-rand stunnel.rnd"; \ |
11 |
- else \ |
12 |
- RND=""; \ |
13 |
- fi; \ |
14 |
- $(openssl) req -new -x509 -days 365 -nodes $$RND \ |
15 |
- -config $(srcdir)/stunnel.cnf \ |
16 |
- -out stunnel.pem -keyout stunnel.pem; \ |
17 |
- test $(USE_DH) -eq 0 || $(openssl) gendh $$RND 512 >> stunnel.pem; \ |
18 |
- $(openssl) x509 -subject -dates -fingerprint -noout -in stunnel.pem; \ |
19 |
- ${INSTALL} -m 600 stunnel.pem $(DESTDIR)$(confdir)/stunnel.pem; \ |
20 |
- rm stunnel.pem; \ |
21 |
- fi |
22 |
mkdir -p $(DESTDIR)$(localstatedir)/stunnel |
23 |
-chmod a=rwx,+t $(DESTDIR)$(localstatedir)/stunnel |
24 |
if uname | grep SunOS; then \ |