]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel.spec
3.7
[packages/stunnel.git] / stunnel.spec
1 Summary:        Universal SSL tunnel
2 Summary(pl):    Uniwersalne narzedzie do bezpiecznego tunelowania
3 Name:           stunnel
4 Version:        3.7
5 Release:        1
6 License:        GPL
7 Group:          Networking/Daemons
8 Group(pl):      Sieciowe/Serwery
9 Source0:        http://mike.daewoo.com.pl/computer/stunnel/%{name}-%{version}.tar.gz
10 Patch1:         stunnel-DESTDIR.patch
11 Patch2:         stunnel-dirs.patch
12 URL:            http://mike.daewoo.com.pl/computer/stunnel/
13 BuildRequires:  openssl-devel >= 0.9.4-2
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %define         certdir         /var/state/openssl/certs
17
18 %description
19 The stunnel program is designed to work as SSL encryption wrapper between
20 remote client and local (inetd-startable) or remote server. The concept is
21 that having non-SSL aware daemons running on your system you can easily
22 setup them to communicate with clients over secure SSL channel. stunnel can
23 be used to add SSL functionality to commonly used inetd daemons like POP-2,
24 POP-3 and IMAP servers without any changes in the programs' code.
25
26 %description -l pl
27 Stunnel umo¿liwia stawianie silnie kodowanych tuneli pomiêdzy serwerem a
28 komputerem klienta. Przy jego u¿yciu mo¿na ³atwo zrealizowaæ us³ugi pop3s
29 lub https.
30
31 %prep
32 %setup -q
33 %patch1 -p1
34 %patch2 -p1
35
36 %build
37 autoconf
38 CFLAGS="$RPM_OPT_FLAGS -DHAVE_GETOPT"
39 LDFLAGS="-s"
40 export CFLAGS LDFLAGS
41 %configure 
42         
43 make
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 make install \
49         DESTDIR=$RPM_BUILD_ROOT \
50         certdir=$RPM_BUILD_ROOT/%{certdir}
51         
52 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
53         FAQ HISTORY README BUGS 
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc {FAQ,HISTORY,README,BUGS}.gz 
61 %doc %lang(pl) doc.polish/*
62 %doc stunnel.exe
63 %attr(755,root,root) %{_sbindir}/*
64 %{_mandir}/man8/*
65 %config(noreplace) %verify(not size mtime md5) %attr(600,root,root) %{certdir}/stunnel.pem
This page took 0.346659 seconds and 4 git commands to generate.