[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: conserver-8.1.13 is available

Martin Evans m.d.t.evans@qmul.ac.uk
Mon, 16 Jan 2006 02:35:41 -0800 (PST)


Bryan,

The redhat rpm spec file has been broken by newer versions of rpm. On my
fedora 4 machine with rpm 4.4.1 I get:

# rpmbuild -ta conserver-8.1.13.tar.gz
error: Legacy syntax is unsupported: copyright
error: line 21: Unknown tag: Copyright: distributable

I've attached a patch that fixes this by changing "Copyright:
distributable" to "License: distributable". Note that this completely
changes the meaning (and I am not sure if the former was intentional as
the LICENSE file says "Copyright (c) 2000, conserver.com").

With that alteration in place, the build then fails with a:

Checking for unpackaged
file(s): /usr/lib/rpm/check-files /var/tmp/conserver-buildroot
error: Installed (but unpackaged) file(s) found:
   /usr/lib/conserver/convert


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib/conserver/convert

The attached patch also fixes that by lumping the file in to the %doc
(given it's name. I'm not sure where else it should go).

Hope that helps,
Martin.

On Sun, 2006-01-15 at 09:40 -0800, Bryan Stansell wrote:
> This latest release includes what I believe is a fix for the "conserver
> runs wild and eats up the CPU" issue that I've heard about.  It seems to
> happen on Linux, but not Solaris (not sure about other platforms as
> those are the only two I can test on).  For those of you using Linux and
> seeing this problem, please let me know if 8.1.13 doesn't fix it.  I'm
> keeping my fingers crossed.
> 
> Here are the other changes incorporated:
> 
> version 8.1.13 (Jan 15, 2006):
> 	- use SIOCGIFNUM for interface count (if available) and catch
> 	  EINVAL on Solaris - patch by Peter Jeremy
> 	  <peter.jeremy@alcatel.com.au>
> 	- console output now resets idle timer - suggested by Peter
> 	  Saunders <pajs@fodder.org.uk>
> 	- bug fix for conserver process running out of control and using
> 	  up cpu - debugged with Alexandra N. Kossovsky
> 	  <Alexandra.Kossovsky@oktetlabs.ru>
> 
> Bryan Stansell
> _______________________________________________
> announce mailing list
> announce@conserver.com
> https://www.conserver.com/mailman/listinfo/announce
-- 
-- Dr MDT Evans, Computing Services, Queen Mary, University of London

--- conserver.spec.0	2006-01-15 17:22:11.000000000 +0000
+++ conserver.spec	2006-01-16 10:22:30.000000000 +0000
@@ -18,7 +18,7 @@
 Name: %{pkg}
 Version: %{ver}
 Release: 1.%{distver}
-Copyright: distributable
+License: distributable
 Group: System Environment/Daemons
 URL: http://www.conserver.com/
 Source: http://www.conserver.com/%{pkg}-%{ver}.tar.gz
@@ -65,6 +65,9 @@
 %{__mkdir_p} %{buildroot}/%{_initrddir}
 %{__cp} contrib/redhat-rpm/conserver.init %{buildroot}/%{_initrddir}/conserver
 
+# remove installed convert script.
+%{__rm} %{buildroot}/usr/lib/conserver/convert
+
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -91,7 +94,7 @@
 
 %files
 %defattr(-,root,root)
-%doc CHANGES FAQ INSTALL README conserver.cf
+%doc CHANGES FAQ INSTALL README conserver.cf conserver/convert
 %config(noreplace) %{_sysconfdir}/conserver.cf
 %config(noreplace) %{_sysconfdir}/conserver.passwd
 %attr(555,root,root) %{_initrddir}/conserver