]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel.spec
- start upgradinf to 3.22 (security fixes)
[packages/stunnel.git] / stunnel.spec
1 Summary:        Universal SSL tunnel
2 Summary(pl):    Uniwersalne narzêdzie do bezpiecznego tunelowania
3 Name:           stunnel
4 Version:        3.22
5 Release:        1
6 License:        GPL
7 Group:          Networking/Daemons
8 Group(de):      Netzwerkwesen/Server
9 Group(pl):      Sieciowe/Serwery
10 Source0:        ftp://stunnel.mirt.net/stunnel/%{name}-%{version}.tar.gz
11 Patch1:         %{name}-DESTDIR.patch
12 Patch2:         %{name}-gethostbyname_is_in_libc_aka_no_libnsl.patch
13 Patch3:         %{name}-piddir.patch
14 Patch4:         %{name}-gen-cert.patch
15 Patch5:         %{name}-conf.patch
16 Patch6:         %{name}-authpriv.patch
17 URL:            http://www.stunnel.org/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  openssl-devel >= 0.9.6a
21 BuildRequires:  openssl-tools >= 0.9.6a
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _certdir        /var/lib/stunnel
25
26 %description
27 The stunnel program is designed to work as SSL encryption wrapper
28 between remote client and local (inetd-startable) or remote server.
29 The concept is that having non-SSL aware daemons running on your
30 system you can easily setup them to communicate with clients over
31 secure SSL channel. stunnel can be used to add SSL functionality to
32 commonly used inetd daemons like POP-2, POP-3 and IMAP servers without
33 any changes in the programs' code.
34
35 %description -l pl
36 Stunnel umo¿liwia stawianie silnie kodowanych tuneli pomiêdzy serwerem
37 a komputerem klienta. Przy jego u¿yciu mo¿na ³atwo zrealizowaæ us³ugi
38 pop3s lub https.
39
40 %prep
41 %setup -q
42 #%patch1 -p1
43 #%patch2 -p1
44 %patch3 -p1
45 #%patch4 -p1
46 #%patch5 -p1
47 %patch6 -p1
48
49 %build
50 autoconf
51 %configure \
52         --with-pem-dir=%{_certdir}
53         
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT \
61         certdir=$RPM_BUILD_ROOT/%{_certdir}
62         
63 gzip -9nf BUGS CREDITS FAQ HISTORY README TODO doc/english/transproxy.txt
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %doc *.gz doc/english/*.gz doc/english/*.html
74 %doc %lang(pl) doc/polish/*
75 %doc stunnel.exe
76 %config(noreplace) %verify(not size mtime md5) %attr(600,root,root) %{_certdir}/stunnel.pem
77 %attr(755,root,root) %{_sbindir}/*
78 %attr(755,root,root) %{_libdir}/*
79 %dir /var/run/stunnel
80 %{_mandir}/man8/*
This page took 0.060379 seconds and 4 git commands to generate.