Author: glen Date: Wed Dec 14 13:11:16 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - start from rel 0.1 - created -static - finished initscripts - killed old changelog - updated original source url to be existent
---- Files affected: SPECS: distcache.spec (1.4 -> 1.5) ---- Diffs: ================================================================ Index: SPECS/distcache.spec diff -u SPECS/distcache.spec:1.4 SPECS/distcache.spec:1.5 --- SPECS/distcache.spec:1.4 Tue Dec 6 20:28:15 2005 +++ SPECS/distcache.spec Wed Dec 14 14:11:10 2005 @@ -1,20 +1,20 @@ # $Revision$, $Date$ -# TODO: separate -static? Summary: Distributed SSL session cache Summary(pl): Rozproszona pamięć podręczna sesji SSL Name: distcache Version: 1.4.5 -Release: 6 +Release: 0.1 License: LGPL Group: Daemons Source0: http://dl.sourceforge.net/distcache/%{name}-%{version}.tar.bz2 # Source0-md5: bad485801024f711ad72e83ba1adcd7d Source1: dc_server.init Source2: dc_client.init -Patch0: %{name}-1.4.5-setuid.patch +Source3: distcache.sysconfig +Patch0: %{name}-setuid.patch URL: http://www.distcache.org/ -BuildRequires: automake >= 1:1.7 BuildRequires: autoconf >= 2.50 +BuildRequires: automake >= 1:1.7 BuildRequires: libtool BuildRequires: openssl-devel Requires(post): /sbin/ldconfig @@ -52,6 +52,18 @@ sesji lub mających samemu implementować mechanizm przechowywania danych dla serwera pamięci podręcznej sesji. +%package static +Summary: Static distcache distributed session cache library +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +This package includes the static 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 @@ -60,7 +72,7 @@ %{__libtoolize} %{__aclocal} %{__autoconf} -automake -aic --gnu || : automake ate my hamster +%{__automake} %configure \ --enable-shared %{__make} @@ -74,9 +86,10 @@ %{__make} -C ssl install \ DESTDIR=$RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc/rc.d/init.d -install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/dc_server -install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/dc_client +install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d} +install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dc_server +install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/dc_client +install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/distcache # Unpackaged files rm -f $RPM_BUILD_ROOT%{_bindir}/{nal_test,piper} @@ -91,9 +104,9 @@ %preun if [ "$1" = "0" ]; then - /etc/rc.d/init.d/dc_server stop >/dev/null 2>&1 - /etc/rc.d/init.d/dc_client stop >/dev/null 2>&1 + /etc/rc.d/init.d/dc_server stop /sbin/chkconfig --del dc_server + /etc/rc.d/init.d/dc_client stop /sbin/chkconfig --del dc_client fi @@ -102,6 +115,7 @@ %files %defattr(644,root,root,755) %doc ANNOUNCE CHANGES README LICENSE FAQ +%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/* %attr(755,root,root) %{_bindir}/sslswamp %attr(755,root,root) %{_bindir}/dc_* %attr(755,root,root) %{_libdir}/*.so.* @@ -113,17 +127,28 @@ %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/*.so -%{_libdir}/*.*a +%{_libdir}/*.la %{_includedir}/distcache %{_includedir}/libnal %{_mandir}/man2/* +%files static +%defattr(644,root,root,755) +%{_libdir}/*.a + %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.5 2005/12/14 13:11:10 glen +- start from rel 0.1 +- created -static +- finished initscripts +- killed old changelog +- updated original source url to be existent + Revision 1.4 2005/12/06 19:28:15 qboosh - md5 @@ -134,64 +159,5 @@ - pl, some cleanups 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. +- raw; needed for apache; see + ftp://mirror.nsc.liu.se/CentOS/4.2/os/SRPMS/distcache-1.4.5-6.src.rpm ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/distcache.spec?r1=1.4&r2=1.5&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
