Author: arekm Date: Fri Dec 2 22:38:50 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - raw; needed for apache; see ftp://ftp.li.kernel.org/pub/.3/centos/4.1/os/s390x/SRPMS/distcache-1.4.5-6.src.rpm
---- Files affected: SPECS: distcache.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/distcache.spec diff -u /dev/null SPECS/distcache.spec:1.1 --- /dev/null Fri Dec 2 23:38:50 2005 +++ SPECS/distcache.spec Fri Dec 2 23:38:45 2005 @@ -0,0 +1,170 @@ +# $Revision$, $Date$ + +Summary: Distributed SSL session cache +Name: distcache +Version: 1.4.5 +Release: 6 +License: LGPL +Group: System Environment/Daemons +###### Unknown group! +URL: http://www.distcache.org/ +Source0: %{name}-%{version}.tar.bz2 +Patch0: %{name}-1.4.5-setuid.patch +Source1: dc_server.init +Source2: dc_client.init +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +BuildRequires: automake >= 1.7 +BuildRequires: autoconf >= 2.50 +BuildRequires: libtool +BuildRequires: openssl-devel +Requires: /sbin/chkconfig + +%description +The distcache package provides a variety of functionality for enabling +a network-based session caching system, primarily for (though not +restricted to) SSL/TLS session caching. + +%package devel +Group: Development/Libraries +Summary: Development tools for distcache distributed session cache +Requires: distcache = %{version} + +%description devel +This package includes the libraries that implement the necessary +network functionality, the session caching protocol, and APIs for +applications wishing to use a distributed session cache, or indeed +even to implement a storage mechanism for a session cache server. + +%prep +%setup -q +%patch0 -p1 -b .setuid + +%build +libtoolize --force --copy && aclocal && autoconf +automake -aic --gnu || : automake ate my hamster +%configure --enable-shared +%{__make} %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT +%{__make} -C ssl install DESTDIR=$RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d +install $RPM_SOURCE_DIR/dc_server.init \ + $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/dc_server +install $RPM_SOURCE_DIR/dc_client.init \ + $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/dc_client + +install -d $RPM_BUILD_ROOT%{_sbindir} + +# Unpackaged files +rm -f $RPM_BUILD_ROOT%{_bindir}/{nal_test,piper} + +%post +/sbin/chkconfig --add dc_server +/sbin/chkconfig --add dc_client +/sbin/ldconfig + +%preun +if [ $1 = 0 ]; then + /sbin/service dc_server stop > /dev/null 2>&1 + /sbin/service dc_client stop > /dev/null 2>&1 + /sbin/chkconfig --del dc_server + /sbin/chkconfig --del dc_client +fi + +%postun -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/sslswamp +%attr(755,root,root) %{_bindir}/dc_* +%attr(754,root,root) /etc/rc.d/init.d/dc_* +%doc ANNOUNCE CHANGES README LICENSE FAQ +%attr(755,root,root) %{_libdir}/*.so.* +%{_mandir}/man1/* +%{_mandir}/man8/* +%{_datadir}/swamp + +%files devel +%defattr(644,root,root,755) +%{_includedir}/distcache +%{_includedir}/libnal +%{_libdir}/*.*a +%attr(755,root,root) %{_libdir}/*.so +%{_mandir}/man2/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/12/02 22:38:45 arekm +- raw; needed for apache; see ftp://ftp.li.kernel.org/pub/.3/centos/4.1/os/s390x/SRPMS/distcache-1.4.5-6.src.rpm + +* Tue Aug 31 2004 Joe Orton <[EMAIL PROTECTED]> 1.4.5-6 +- move ldconfig from preun to postun (#131289) + +* Tue Jun 15 2004 Elliot Lee <[EMAIL PROTECTED]> +- rebuilt + +* Mon May 17 2004 Joe Orton <[EMAIL PROTECTED]> 1.4.5-4 +- run ldconfig in %%post and %%postun + +* Sun May 2 2004 Joe Orton <[EMAIL PROTECTED]> 1.4.5-3 +- add BuildRequires: openssl-devel (#122265) + +* Tue Apr 13 2004 Joe Orton <[EMAIL PROTECTED]> 1.4.5-2 +- dc_client: go setuid later (#120711) + +* Tue Apr 6 2004 Joe Orton <[EMAIL PROTECTED]> 1.4.5-1 +- update to 1.4.5 (#119135) +- include sslswamp +- build shared libraries + +* Tue Mar 02 2004 Elliot Lee <[EMAIL PROTECTED]> +- rebuilt + +* Sat Feb 21 2004 Florian La Roche <[EMAIL PROTECTED]> +- mv /etc/init.d -> /etc/rc.d/init.d + +* Fri Feb 13 2004 Elliot Lee <[EMAIL PROTECTED]> +- rebuilt + +* Sun Jan 25 2004 Joe Orton <[EMAIL PROTECTED]> 0.4.2-9 +- add BuildRequires (#114115) +- add config lines to init scripts + +* Tue Jan 20 2004 Joe Orton <[EMAIL PROTECTED]> 0.4.2-8 +- rebuild + +* Fri Nov 28 2003 Joe Orton <[EMAIL PROTECTED]> 0.4.2-7 +- sync with upstream: use -sock{owner,perms} in dc_client + +* Wed Nov 26 2003 Joe Orton <[EMAIL PROTECTED]> 0.4.2-6 +- set socket owner and permissions in dc_client + +* Wed Nov 26 2003 Joe Orton <[EMAIL PROTECTED]> 0.4.2-5 +- rebuild in new environment + +* Tue Nov 18 2003 Joe Orton <[EMAIL PROTECTED]> 0.4.2-4 +- fix %%preun to allow --erase to succeed (#110115) + +* Thu Jul 31 2003 Joe Orton <[EMAIL PROTECTED]> 0.4.2-3 +- add dc_client init script +- pass -sessions to dc_server + +* Wed Jul 2 2003 Joe Orton <[EMAIL PROTECTED]> 0.4.2-2 +- have dc_server drop to 'nobody' user after bind() +- add init script for dc_server +- build everything using -fPIC + +* Mon Jun 9 2003 Joe Orton <[EMAIL PROTECTED]> 0.4.2-1 +- Initial build. + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
