Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 42 lines (35 sloc) 1.418 kB
50129ea @copiousfreetime import version upstream version 4.32
authored
1 ## Process this file with automake to produce Makefile.in
2
3 EXTRA_DIST = ca.html ca.pl importCA.html importCA.sh script.sh \
4 stunnel.spec stunnel.cnf stunnel.nsi stunnel.conf
5
6 confdir = $(sysconfdir)/stunnel
7 conf_DATA = stunnel.conf-sample
8
9 docdir = $(datadir)/doc/stunnel
10 examplesdir = $(docdir)/examples
11 examples_DATA = ca.html ca.pl importCA.html importCA.sh script.sh \
e7bc2bf @copiousfreetime Update to upstream version 4.36
authored
12 stunnel.spec stunnel.init stunnel.service
50129ea @copiousfreetime import version upstream version 4.32
authored
13
14 openssl=$(ssldir)/bin/openssl
15 install-data-local:
16 if test ! -r $(DESTDIR)$(confdir)/stunnel.pem; then \
17 if test -r "$(RANDOM_FILE)"; then \
18 dd if="$(RANDOM_FILE)" of=stunnel.rnd bs=256 count=1; \
19 RND="-rand stunnel.rnd"; \
20 else \
21 RND=""; \
22 fi; \
23 $(openssl) req -new -x509 -days 365 -nodes $$RND \
24 -config $(srcdir)/stunnel.cnf \
25 -out stunnel.pem -keyout stunnel.pem; \
6427327 @copiousfreetime Update to upstream version 4.34
authored
26 $(openssl) gendh $$RND 512 >> stunnel.pem; \
50129ea @copiousfreetime import version upstream version 4.32
authored
27 $(openssl) x509 -subject -dates -fingerprint -noout -in stunnel.pem; \
28 ${INSTALL} -m 600 stunnel.pem $(DESTDIR)$(confdir)/stunnel.pem; \
29 rm stunnel.pem; \
30 fi
31 ${INSTALL} -d -m 1770 $(DESTDIR)$(localstatedir)/lib/stunnel
32 -chgrp $(DEFAULT_GROUP) $(DESTDIR)$(localstatedir)/lib/stunnel
33 if uname | grep SunOS; then \
34 ${INSTALL} -d -m 755 $(DESTDIR)$(localstatedir)/lib/stunnel/dev; \
35 mknod $(DESTDIR)$(localstatedir)/lib/stunnel/dev/zero c 13 12; \
36 chmod 666 $(DESTDIR)$(localstatedir)/lib/stunnel/dev/zero; \
37 fi
38
39 clean-local:
40 -rm -f stunnel.rnd
41
Something went wrong with that request. Please try again.