1 # TODO: separate -static?
2 Summary: Distributed SSL session cache
3 Summary(pl): Rozproszona pamiêæ podrêczna sesji SSL
9 Source0: http://dl.sourceforge.net/distcache/%{name}-%{version}.tar.bz2
10 # Source0-md5: bad485801024f711ad72e83ba1adcd7d
11 Source1: dc_server.init
12 Source2: dc_client.init
13 Patch0: %{name}-1.4.5-setuid.patch
14 URL: http://www.distcache.org/
15 BuildRequires: automake >= 1:1.7
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: libtool
18 BuildRequires: openssl-devel
19 Requires(post): /sbin/ldconfig
20 Requires(post,preun): /sbin/chkconfig
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The distcache package provides a variety of functionality for enabling
26 a network-based session caching system, primarily for (though not
27 restricted to) SSL/TLS session caching.
30 Pakiet distcache udostêpnia rozmait± funkcjonalno¶æ maj±c± umo¿liwiæ
31 dzia³anie sieciowego systemu pamiêci podrêcznej sesji, g³ównie (choæ
32 niekoniecznie tylko) w celu zapamiêtywania sesji SSL/TLS.
35 Summary: Header files for distcache distributed session cache library
36 Summary(pl): Pliki nag³ówkowe biblioteki rozproszonej pamiêci podrêcznej sesji distcache
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
41 This package includes the header files for the libraries that
42 implement the necessary network functionality, the session caching
43 protocol, and APIs for applications wishing to use a distributed
44 session cache, or indeed even to implement a storage mechanism for a
47 %description devel -l pl
48 Ten pakiet zawiera pliki nag³ówkowe bibliotek implementuj±cych
49 potrzebn± funkcjonalno¶æ sieciow±, protokó³ zapamiêtywania sesji oraz
50 API dla aplikacji chc±cych korzystaæ z rozproszonej pamiêci podrêcznej
51 sesji lub maj±cych samemu implementowaæ mechanizm przechowywania
52 danych dla serwera pamiêci podrêcznej sesji.
62 automake -aic --gnu || : automake ate my hamster
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
73 %{__make} -C ssl install \
74 DESTDIR=$RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
77 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/dc_server
78 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/dc_client
81 rm -f $RPM_BUILD_ROOT%{_bindir}/{nal_test,piper}
84 rm -rf $RPM_BUILD_ROOT
88 /sbin/chkconfig --add dc_server
89 /sbin/chkconfig --add dc_client
92 if [ "$1" = "0" ]; then
93 /etc/rc.d/init.d/dc_server stop >/dev/null 2>&1
94 /etc/rc.d/init.d/dc_client stop >/dev/null 2>&1
95 /sbin/chkconfig --del dc_server
96 /sbin/chkconfig --del dc_client
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
103 %doc ANNOUNCE CHANGES README LICENSE FAQ
104 %attr(755,root,root) %{_bindir}/sslswamp
105 %attr(755,root,root) %{_bindir}/dc_*
106 %attr(755,root,root) %{_libdir}/*.so.*
107 %attr(754,root,root) /etc/rc.d/init.d/dc_*
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/*.so
116 %{_includedir}/distcache
117 %{_includedir}/libnal