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