]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel.spec
- added using CVS keywords in %changelog (for automating them).
[packages/stunnel.git] / stunnel.spec
1 Summary:        Universal SSL tunnel
2 Summary(pl):    Uniwersalne narzedzie do bezpiecznego tunelowania
3 Name:           stunnel
4 Version:        3.2
5 Release:        1
6 Group:          Networking/Daemons
7 Group(pl):      Sieciowe/Serwery
8 Copyright:      GPL
9 Source0:        http://mike.daewoo.com.pl/computer/stunnel/%{name}-%{version}.tar.gz
10 Patch0:         stunnel-Makefile.patch
11 URL:            http://mike.daewoo.com.pl/computer/stunnel/
12 BuildPrereq:    openssl-devel
13 BuildRoot:      /tmp/%{name}-%{version}-root
14
15 %define         certsdir        /var/state/openssl/certs
16
17 %description
18 The stunnel program is designed to work  as  SSL  encryption
19 wrapper between remote client and local (inetd-startable) or
20 remote server. The concept is that having non-SSL aware dae-
21 mons  running  on  your  system you can easily setup them to
22 communicate with clients over secure SSL channel.
23
24 stunnel can be used to add  SSL  functionality  to  commonly
25 used  inetd  daemons  like  POP-2,  POP-3  and  IMAP servers
26 without any changes in the programs' code.
27
28 %description -l pl
29 Stunnel umo¿linia stawianie silnie kodowanych tuneli pomiedzy serwerem 
30 a komputeram klienta. Przy jego u¿yciu mo¿na ³atwo zrealizoweaæ 
31 us³ugi pop3s lub https.
32
33 %prep
34 %setup  -q -n %{name}
35 %patch0 -p1
36
37 %build
38 LDFLAGS="-s" ; export LDFLAGS
39 %configure 
40         
41 make \
42         SSLLIBS="-lssl -lsslcrypto" \
43         SSLINCDIR="%{_includedir}/openssl" 
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 make install \
49         DESTDIR="$RPM_BUILD_ROOT%{_prefix}" \
50         CERTDIR="$RPM_BUILD_ROOT%{certsdir}"
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 %attr(755,root,root) %{_sbindir}/*
63 %{_mandir}/man8/*
64 %attr(600,root,root) %{certsdir}/stunnel.pem
This page took 0.143043 seconds and 3 git commands to generate.