]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel.spec
- new version 3.20
[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.20
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}-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:  automake
19 BuildRequires:  openssl-devel >= 0.9.6a
20 BuildRequires:  openssl-tools >= 0.9.6a
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _certdir        /var/lib/stunnel
24
25 %description
26 The stunnel program is designed to work as SSL encryption wrapper
27 between remote client and local (inetd-startable) or remote server.
28 The concept is that having non-SSL aware daemons running on your
29 system you can easily setup them to communicate with clients over
30 secure SSL channel. stunnel can be used to add SSL functionality to
31 commonly used inetd daemons like POP-2, POP-3 and IMAP servers without
32 any changes in the programs' code.
33
34 %description -l pl
35 Stunnel umo¿liwia stawianie silnie kodowanych tuneli pomiêdzy serwerem
36 a komputerem klienta. Przy jego u¿yciu mo¿na ³atwo zrealizowaæ us³ugi
37 pop3s lub https.
38
39 %prep
40 %setup -q
41 %patch1 -p1
42 %patch2 -p0
43 %patch3 -p1
44 %patch4 -p1
45 %patch5 -p1
46
47 %build
48 aclocal
49 automake -a -c
50 autoheader
51 autoconf
52 CFLAGS="%{rpmcflags} -DHAVE_GETOPT"
53 %configure \
54         --with-pem-dir=%{_certdir}
55         
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT \
63         certdir=$RPM_BUILD_ROOT/%{_certdir}
64         
65 gzip -9nf FAQ HISTORY README BUGS 
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc {FAQ,HISTORY,README,BUGS}.gz 
76 %doc %lang(pl) doc.polish/*
77 %doc stunnel.exe
78 %config(noreplace) %verify(not size mtime md5) %attr(600,root,root) %{_certdir}/stunnel.pem
79 %attr(755,root,root) %{_sbindir}/*
80 %attr(755,root,root) %{_libdir}/*
81 %dir /var/run/stunnel
82 %{_mandir}/man8/*
This page took 0.033994 seconds and 4 git commands to generate.