From f4a8f5479e924924f1ea76074ac55218a07467159e070cbb6f3761becbb3d0c2 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Sun, 3 Oct 2010 20:41:57 +0000 Subject: [PATCH] Accepting request 49667 from Base:System Copy from Base:System/irqbalance based on submit request 49667 from user elvigia OBS-URL: https://build.opensuse.org/request/show/49667 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=14 --- irqbalance-0.55.tar.bz2 | 3 - irqbalance-0.56_svn201010021305.tar.bz2 | 3 + irqbalance.changes | 6 ++ irqbalance.spec | 86 ++++--------------------- 4 files changed, 21 insertions(+), 77 deletions(-) delete mode 100644 irqbalance-0.55.tar.bz2 create mode 100644 irqbalance-0.56_svn201010021305.tar.bz2 diff --git a/irqbalance-0.55.tar.bz2 b/irqbalance-0.55.tar.bz2 deleted file mode 100644 index 7d00631..0000000 --- a/irqbalance-0.55.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5dfafb5c8825346f886873a4ac34fd356af66ae3c87e935ef97f83b10e2ffa30 -size 19055 diff --git a/irqbalance-0.56_svn201010021305.tar.bz2 b/irqbalance-0.56_svn201010021305.tar.bz2 new file mode 100644 index 0000000..ac682df --- /dev/null +++ b/irqbalance-0.56_svn201010021305.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfdca6263a7eb78049c0458f6c51137f29dca3c1eebd7845f2444c07ec3e58e3 +size 36453 diff --git a/irqbalance.changes b/irqbalance.changes index ca6057b..a50e6e1 100644 --- a/irqbalance.changes +++ b/irqbalance.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 2 19:37:52 UTC 2010 - cristian.rodriguez@opensuse.org + +- update to version 0.56 in order to get libcap-ng support + so irqbalance can drop privileges. + ------------------------------------------------------------------- Wed Jun 17 17:52:43 CEST 2009 - crrodriguez@suse.de diff --git a/irqbalance.spec b/irqbalance.spec index 0629b68..dfd4994 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -1,7 +1,7 @@ # -# spec file for package irqbalance (Version 0.55) +# spec file for package irqbalance (Version 0.56_svn201010021305) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,12 +19,12 @@ Name: irqbalance -License: GPL v2 or later +License: GPLv2+ Group: System/Daemons AutoReqProv: on PreReq: %insserv_prereq -Version: 0.55 -Release: 121 +Version: 0.56_svn201010021305 +Release: 1 Summary: Balance IRQs on SMP Machines Source: %{name}-%{version}.tar.bz2 Source1: irqbalance.pod @@ -34,7 +34,10 @@ Url: http://www.irqbalance.org PreReq: coreutils fillup BuildRoot: %{_tmppath}/%{name}-%{version}-build # xorg-x11-util-devel is for gccmakedep -BuildRequires: glib2-devel perl xorg-x11-util-devel +BuildRequires: glib2-devel +%if 0%{suse_version} >= 1130 +BuildRequires: libcap-ng-devel +%endif Patch0: irqbalance-fix-Makefile Patch1: irqbalance-0.55-as-needed.patch @@ -49,11 +52,13 @@ Authors: Arjan van de Ven %prep -%setup +%setup -q %patch0 -p1 %patch1 %build +./autogen.sh +%configure make CFLAGS="$RPM_OPT_FLAGS -fPIE -pie" cp %{SOURCE1} . cp %{SOURCE3} . @@ -94,70 +99,3 @@ rm -rf $RPM_BUILD_ROOT /var/adm/fillup-templates/sysconfig.irqbalance %changelog -* Wed Jun 17 2009 crrodriguez@suse.de -- fix build when as-needed is a default linker option -* Wed Nov 05 2008 bwalle@suse.de -- Don't start the irqbalance on IA64 SGI SN2 systems (bnc#441505). -* Fri Aug 15 2008 bwalle@suse.de -- add "Required-Stop" to fix rpmlint error -* Tue Dec 11 2007 bwalle@suse.de -- add /etc/sysconfig/irqbalance configuration file for - IRQBALANCE_ONESHOT, IRQBALANCE_BANNED_CPUS and - IRQBALANCE_BANNED_INTERRUPTS configuration (#342593) -- fix some minor rpmlint warnings -* Thu Apr 26 2007 bwalle@suse.de -- remove special handling of timer interrupt and dual core - systems from init script because the new irq balancer does - that automatically -* Mon Apr 16 2007 bwalle@suse.de -- wrote manpage for irqbalance -* Wed Apr 11 2007 bwalle@suse.de -- updated to irqbalance.org 0.55 - o rewrite from static arrays to dynamic lists using glib - o added IRQBALANCE_ONESHOT, IRQBALANCE_BANNED_INTERRUPTS - IRQBALANCE_BANNED_CPUS configuration environment variables -- changed init script to not balance the timer interrupt due to - broken hardware -- added $remote_fs to Required-Start since the binary needs - glib2 -* Tue Apr 03 2007 bwalle@suse.de -- increased IRQ number to (256 + (32*MAX_CPU)) as done in the - x86_64 kernel -* Fri Jul 14 2006 sf@suse.de -- added patch from bug #171500, fixing regexps -* Tue May 16 2006 sf@suse.de -- added irqbalance-assert.diff to completely fix - bug #158186 (see changelog entry below) -* Tue May 09 2006 sf@suse.de -- increase MAX_INTERRUPTS to 512 to avoid - segfault (bug #158186) -* Wed May 03 2006 sf@suse.de -- modified startscript to start irqbalancing only on real SMP - machines (multisocket) (bug #171500) -* Thu Feb 09 2006 ak@suse.de -- increase max number of cpus to 128 (#146945) -- install manpage -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Mon Oct 31 2005 dmueller@suse.de -- don't build as root -* Fri Sep 02 2005 ro@suse.de -- rcscript: ignore on machines with < 2 CPUs -* Tue Jun 21 2005 ro@suse.de -- build with fPIE/pie -* Mon Feb 16 2004 sf@suse.de -- update to 0.09 -* Sat Sep 20 2003 kukuk@suse.de -- Add PreRequires for insserv -* Thu Sep 04 2003 ro@suse.de -- added stop_on_removal and restart_on_update -- changed insserv_and_fillup to insserv_force_if_yast -* Thu Sep 04 2003 sf@suse.de -- added %%insserv_and_fillup in %%post - and %%insserv_cleanup in %%postun -* Thu Sep 04 2003 ak@suse.de -- update to version 0.6 -- Clean up init script a bit -- Move initscript outside tar and mark as source -* Fri Mar 21 2003 sf@suse.de -- initial version 0.1