Hello community,
here is the log from the commit of package salinfo
checked in at Thu Nov 2 20:24:53 CET 2006.
--------
--- arch/ia64/salinfo/salinfo.changes 2006-09-19 14:48:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/salinfo/salinfo.changes 2006-11-02 16:54:40.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Nov 2 16:53:17 CET 2006 - schwab@suse.de
+
+- Update to salinfo 1.2.
+ * Add 'dp' bit (Data poisoned on MBE).
+ * Do not create new files when logrotating old salinfo records.
+
+-------------------------------------------------------------------
Old:
----
salinfo-1.1.tar.bz2
New:
----
salinfo-1.2.diff
salinfo-1.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ salinfo.spec ++++++
--- /var/tmp/diff_new_pack.8ftfaa/_old 2006-11-02 20:24:44.000000000 +0100
+++ /var/tmp/diff_new_pack.8ftfaa/_new 2006-11-02 20:24:44.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package salinfo (Version 1.1)
+# spec file for package salinfo (Version 1.2)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,13 +12,14 @@
Name: salinfo
Summary: Decode IA64 SAL records
-Version: 1.1
-Release: 4
+Version: 1.2
+Release: 1
Group: System/Daemons
-License: GPL
+License: GNU General Public License (GPL) - all versions
PreReq: %insserv_prereq %fillup_prereq
Autoreqprov: on
Source: salinfo-%{version}.tar.bz2
+Patch: salinfo-%{version}.diff
Source1: rcsalinfo_decode
Source2: sysconfig-salinfo
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -39,18 +40,17 @@
%prep
%setup -q
+%patch
%build
make "CFLAGS=$RPM_OPT_FLAGS"
%install
make install prefix=$RPM_BUILD_ROOT mandir=%{_mandir} initdir=/etc/init.d
-rm -rf $RPM_BUILD_ROOT/etc/cron.daily
install -m 755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/salinfo_decode
mkdir -p $RPM_BUILD_ROOT/usr/sbin
ln -s /etc/init.d/salinfo_decode $RPM_BUILD_ROOT/usr/sbin/rcsalinfo_decode
mkdir -p $RPM_BUILD_ROOT/var/log/salinfo/raw $RPM_BUILD_ROOT/var/log/salinfo/decoded
-rm -rf $RPM_BUILD_ROOT/etc/logrotate.d
rm -f $RPM_BUILD_ROOT/etc/sysconfig/salinfo_decode_all
rm -f $RPM_BUILD_ROOT/etc/init.d/salinfo_decode_all
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
@@ -72,12 +72,17 @@
%files
%defattr(-, root, root)
/etc/init.d/*
+/etc/logrotate.d/*
/usr/sbin/*
/var/log/salinfo
%{_mandir}/man8/*.gz
/var/adm/fillup-templates/*
%changelog -n salinfo
+* Thu Nov 02 2006 - schwab@suse.de
+- Update to salinfo 1.2.
+ * Add 'dp' bit (Data poisoned on MBE).
+ * Do not create new files when logrotating old salinfo records.
* Tue Sep 19 2006 - schwab@suse.de
- Redirect output of daemon.
* Fri Mar 31 2006 - schwab@suse.de
++++++ salinfo-1.2.diff ++++++
--- salinfo_decode.c
+++ salinfo_decode.c
@@ -303,7 +303,7 @@
snprintf(line, sizeof(line), ", %d %s",
dropped_all[i]->dropped, dropped_all[i]->name);
dropped_all[i]->dropped = 0;
- strncat(log, line, sizeof(log));
+ strncat(log, line, sizeof(log) - strlen(log) - 1);
}
}
syslog(LOG_NOTICE, "%s", log);
++++++ salinfo-1.1.tar.bz2 -> salinfo-1.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/salinfo-1.1/ChangeLog new/salinfo-1.2/ChangeLog
--- old/salinfo-1.1/ChangeLog 2006-02-13 15:14:06.000000000 +0100
+++ new/salinfo-1.2/ChangeLog 2006-10-26 05:46:44.000000000 +0200
@@ -1,3 +1,9 @@
+2006-10-26 Keith Owens