Logoj0ke.net Open Build Service > Projects > internetx:projects:network > stunnel > Changes
Sign Up | Log In

Changes of Revision 2

[-] Changed stunnel.spec
x
 
1
@@ -1,7 +1,7 @@
2
 Summary: An SSL-encrypting socket wrapper
3
 Name: stunnel
4
 Version: 4.56
5
-Release: 2%{?dist}
6
+Release: 1IX
7
 License: GPLv2
8
 Group: Applications/Internet
9
 URL: http://www.stunnel.org/
10
@@ -13,11 +13,15 @@
11
 Source4: stunnel-sfinger.conf
12
 Source5: pop3-redirect.xinetd
13
 Source6: stunnel-pop3s-client.conf
14
+Source7: stunnel.init
15
 Patch0: stunnel-4-authpriv.patch
16
 Patch1: stunnel-4-sample.patch
17
+Patch2: stunnel-4.53-xforwarded-for.diff
18
+
19
 Buildroot: %{_tmppath}/stunnel-root
20
 # util-linux is needed for rename
21
 BuildRequires: openssl-devel, pkgconfig, tcp_wrappers-devel, util-linux
22
+
23
 # for /usr/bin/pod2man
24
 %if 0%{?fedora} > 18 || 0%{?rhel} >= 7
25
 BuildRequires: perl-podlators
26
@@ -32,6 +36,7 @@
27
 %setup -q
28
 %patch0 -p1 -b .authpriv
29
 %patch1 -p1 -b .sample
30
+%patch2 -p1 -b .xforwarded
31
 
32
 iconv -f iso-8859-1 -t utf-8 < doc/stunnel.fr.8 > doc/stunnel.fr.8_
33
 mv doc/stunnel.fr.8_ doc/stunnel.fr.8
34
@@ -49,8 +54,10 @@
35
 %install
36
 rm -rf $RPM_BUILD_ROOT
37
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stunnel
38
+%{__install} -p -D -m 0755 %{SOURCE7} %{buildroot}%{_initrddir}/%{name}
39
 touch $RPM_BUILD_ROOT%{_sysconfdir}/stunnel/stunnel.pem
40
 make install DESTDIR=$RPM_BUILD_ROOT
41
+mv tools/stunnel.init %{buildroot}%{_initrddir}/stunnel
42
 # Move the translated man pages to the right subdirectories, and strip off the
43
 # language suffixes.
44
 for lang in fr pl ; do
45
@@ -70,6 +77,7 @@
46
 %doc AUTHORS BUGS ChangeLog COPY* CREDITS PORTS README TODO
47
 %doc tools/stunnel.conf-sample
48
 %doc srpm-docs/*
49
+%{_initrddir}/%{name}
50
 %lang(en) %doc doc/en/*
51
 %lang(po) %doc doc/pl/*
52
 %{_bindir}/stunnel
53
@@ -84,6 +92,10 @@
54
 %exclude %{_sysconfdir}/stunnel/*
55
 
56
 %changelog
57
+* Tue Nov 12 2013 Juergen Gotteswinter <jg@internetx.de> - 4.56-99
58
+- added working init script
59
+- added x-forwarded-for patch
60
+
61
 * Mon Aug 5 2013 Avesh Agarwal <avagarwa@redhat.com> - 4.56-2
62
 - Ftp mirrors for NA does not work, so changing source code
63
   URLs to the correct ones.
64
[+] Added stunnel-4.53-xforwarded-for.diff ^
[+] Added stunnel.init ^