~ubuntu-branches/ubuntu/trusty/stunnel4/trusty

« back to all changes in this revision

Viewing changes to tools/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Luis Rodrigo Gallardo Cruz
  • Date: 2012-02-12 12:06:37 UTC
  • mfrom: (10.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20120212120637-r7s1fkzh6toyg7z2
Tags: 3:4.52-1
* New upstream version 4.52.
* Do not enable chroot in sample config file. It is misleading to users, it
  suggests it can be used with no further changes. Closes: #652812
* Remove log files on purge. Closes: #657135

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
examples_DATA = ca.html ca.pl importCA.html importCA.sh script.sh \
12
12
        stunnel.spec stunnel.init stunnel.service
13
13
 
14
 
openssl=$(ssldir)/bin/openssl
 
14
OPENSSL=$(SSLDIR)/bin/openssl
15
15
install-data-local:
16
16
        if test ! -r $(DESTDIR)$(confdir)/stunnel.pem; then \
17
17
                if test -r "$(RANDOM_FILE)"; then \
20
20
                else \
21
21
                        RND=""; \
22
22
                fi; \
23
 
                $(openssl) req -new -x509 -days 365 $$RND \
 
23
                $(OPENSSL) req -new -x509 -days 365 $$RND \
24
24
                        -config $(srcdir)/stunnel.cnf \
25
25
                        -out stunnel.pem -keyout stunnel.pem; \
26
 
                $(openssl) gendh $$RND 1024 >> stunnel.pem; \
27
 
                $(openssl) x509 -subject -dates -fingerprint -noout -in stunnel.pem; \
 
26
                $(OPENSSL) gendh $$RND 1024 >> stunnel.pem; \
 
27
                $(OPENSSL) x509 -subject -dates -fingerprint -noout -in stunnel.pem; \
28
28
                ${INSTALL} -m 600 stunnel.pem $(DESTDIR)$(confdir)/stunnel.pem; \
29
29
                rm stunnel.pem; \
30
30
        fi