--- reniced-1.19.orig/debian/watch +++ reniced-1.19/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cgarbs.de/stuff.en.html .*reniced-(.*)\.tar\.gz --- reniced-1.19.orig/debian/control +++ reniced-1.19/debian/control @@ -0,0 +1,19 @@ +Source: reniced +Section: utils +Priority: extra +Maintainer: Christian Garbs +Standards-Version: 3.9.1 +Build-Depends: debhelper (>= 5), cdbs +Homepage: http://www.cgarbs.de/stuff.en.html + +Package: reniced +Architecture: all +Depends: libbsd-resource-perl, ${perl:Depends}, ${misc:Depends} +Description: renice running processes based on regular expressions + reniced takes a list of regular expressions, looks for processes + matching them and renices the processes to given values. + . + Instead of editing the scripts in /etc/init.d to give daemons the + nicelevel you want (and get prompted at every package update because + these files are conffiles) you can just run reniced once a day. + . --- reniced-1.19.orig/debian/copyright +++ reniced-1.19/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Christian Garbs on +Sat Apr 16 23:53:56 CEST 2005 + +It has been downloaded from: http://www.cgarbs.de/stuff.en.html + +Upstream Authors: Christian Garbs + +Copyright 2005,2007 Christian Garbs + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. --- reniced-1.19.orig/debian/manpages +++ reniced-1.19/debian/manpages @@ -0,0 +1 @@ +reniced.1 --- reniced-1.19.orig/debian/reniced.init +++ reniced-1.19/debian/reniced.init @@ -0,0 +1,50 @@ +#! /bin/sh + +### BEGIN INIT INFO +# Provides: reniced +# Required-Start: $all +# Required-Stop: $all +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: renices running processes +# Description: reniced takes a list of regular expressions, +# looks for processes matching them +# and renices the processes to given values. +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +PROG=/usr/bin/reniced +NAME=reniced +DESC=reniced + +test -x $PROG || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + $PROG + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + echo -n "(not supported, no effect) " + echo "$NAME." + ;; + status) + echo -n "No status information for $DESC." + ;; + restart|force-reload) + echo -n "Restarting $DESC: " + $PROG + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- reniced-1.19.orig/debian/compat +++ reniced-1.19/debian/compat @@ -0,0 +1 @@ +5 --- reniced-1.19.orig/debian/changelog +++ reniced-1.19/debian/changelog @@ -0,0 +1,74 @@ +reniced (1.19-1) unstable; urgency=low + + * New upstream release. + + * debian/control: + - add ${misc:Depends} to binary package + - move homepage from package description to Homepage: field + - bump policy version from 3.7.2 to 3.9.1 + * debian/copyright: + - clarify license: GPL-2, not GPL + + -- Christian Garbs Sun, 19 Sep 2010 21:47:26 +0200 + +reniced (1.17-1) unstable; urgency=low + + * New maintainer, as agreed with bartm. + * Version 1.7-1 should have been 1.17-1, hereby fixed. + * Install upstream HISTORY file (changelog). + * Use sequence number 99 for init script. + * Update copyright file. + * Add README.Debian. + + -- Christian Garbs Sun, 26 Aug 2007 20:14:36 +0200 + +reniced (1.7-1) unstable; urgency=low + + * New upstream release. + + -- Bart Martens Wed, 08 Aug 2007 19:20:04 +0200 + +reniced (1.5-4) unstable; urgency=low + + * debian/*: Switched to cdbs. + * debian/control: Priority "extra" because libbsd-resource-perl has "extra". + + -- Bart Martens Sat, 4 Nov 2006 17:27:24 +0100 + +reniced (1.5-3) unstable; urgency=low + + * reniced.conf: Commented out all lines. + * debian/init.d, debian/rules: Install init.d script. Closes: #389121. + + -- Bart Martens Sun, 24 Sep 2006 10:01:41 +0200 + +reniced (1.5-2) unstable; urgency=low + + * Copied from Ubuntu to Debian. Closes: #381201. + * debian/*: Repackaged with dh-make 0.41. + * debian/copyright: Updated. + * debian/watch: Added. + + -- Bart Martens Wed, 2 Aug 2006 21:00:17 +0200 + +reniced (1.5-1) unstable; urgency=low + + * New upstream release + * install manpage + * update download location in copyright file + + -- Christian Garbs Sun, 17 Apr 2005 13:12:30 +0200 + +reniced (1.4-2) unstable; urgency=low + + * run dh_perl + * fix Depends: + * fix typo in package description + + -- Christian Garbs Sun, 17 Apr 2005 00:31:45 +0200 + +reniced (1.4-1) unstable; urgency=low + + * Initial release + + -- Christian Garbs Sat, 16 Apr 2005 23:59:25 +0200 --- reniced-1.19.orig/debian/rules +++ reniced-1.19/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk + +DEB_UPDATE_RCD_PARAMS = defaults 99 +DEB_INSTALL_DOCS_ALL = HISTORY --- reniced-1.19.orig/debian/README.Debian +++ reniced-1.19/debian/README.Debian @@ -0,0 +1,24 @@ +reniced for Debian +------------------ + +Because of #389121, reniced now has an init script. Even when it is +called very late (it has a sequence number of 99), it will propably +not act on all your processes. On the other hand, the init script +will ensure (if you didn't turn it off) a reniced run when you upgrade +the package. + +As reniced can only renice those processes already running, it should +be called regularly to act on new or restarted processes as well. +To accomplish this, you could add a file like this to /etc/cron.d/: + + + +SHELL=/bin/sh +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +# reniced +10 6 * * * root /usr/bin/reniced + + + + -- Christian Garbs , Sun, 26 Aug 2007 20:14:24 +0200 --- reniced-1.19.orig/debian/install +++ reniced-1.19/debian/install @@ -0,0 +1,2 @@ +reniced usr/bin +reniced.conf etc/