runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 405e57981b35d82ceb0db288b3067c85d7d18a72
parent 4a061d249295e41c6b8238c6925b387a8c9c26e0
Author: Gerrit Pape <pape@smarden.org>
Date:   Thu, 15 May 2003 09:53:06 +0000

  * debian/diff/defaultsize.diff: new; fix default max. size for single
    log files to match the documentation.
debianized.

Diffstat:
Mdebian/changelog | 8++++++++
Adebian/diff/defaultsize.diff | 18++++++++++++++++++
Mdebian/rules | 35++++++++++++++++++++---------------
3 files changed, 46 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog @@ -1,3 +1,11 @@ +runit (0.9.3-1) unstable; urgency=low + + * new upstream version. + * debian/diff/defaultsize.diff: new; fix default max. size for single + log files to match the documentation. + + -- Gerrit Pape <pape@smarden.org> Thu, 15 May 2003 11:50:45 +0200 + runit (0.9.2-1) unstable; urgency=low * new upstream version. diff --git a/debian/diff/defaultsize.diff b/debian/diff/defaultsize.diff @@ -0,0 +1,18 @@ +* fix default max. size for single log files to match the documentation. + +Index: src/svlogd.c +=================================================================== +RCS file: /var/lib/cvs/runit/src/svlogd.c,v +retrieving revision 1.5 +diff -u -r1.5 svlogd.c +--- src/svlogd.c 3 May 2003 15:57:56 -0000 1.5 ++++ src/svlogd.c 15 May 2003 09:21:00 -0000 +@@ -305,7 +305,7 @@ + coe(ld->fdlock); + + ld->size =0; +- ld->sizemax =9000; ++ ld->sizemax =1000000; + ld->nmax =10; + ld->name =(char*)fn; + ld->match =0; diff --git a/debian/rules b/debian/rules @@ -15,11 +15,16 @@ build-arch: configure-stamp build-arch-stamp build-arch-stamp: dh_testdir - tar xfzvp runit-0.9.2.tar.gz + tar xfzvp runit-0.9.3.tar.gz + + # temporary patch + ( set -e; cd admin/runit-0.9.3; patch -p0 ) \ + <debian/diff/defaultsize.diff + ( \ set -e; \ - cd admin/runit-0.9.2/src; \ - ln -s runit-0.9.2 runit; mv runit ../..; \ + cd admin/runit-0.9.3/src; \ + ln -s runit-0.9.3 runit; mv runit ../..; \ echo 'diet -v -Os gcc -O2 -Wall' >conf-cc; \ echo 'diet -v -Os gcc -s -Os -pipe' >conf-ld; \ $(MAKE); \ @@ -52,28 +57,28 @@ install: build dh_installdirs # runit - install -m0500 admin/runit-0.9.2/src/runit \ + install -m0500 admin/runit-0.9.3/src/runit \ $(CURDIR)/debian/runit/sbin/runit - install -m0500 admin/runit-0.9.2/src/runit-init \ + install -m0500 admin/runit-0.9.3/src/runit-init \ $(CURDIR)/debian/runit/sbin/runit-init - install -m0755 admin/runit-0.9.2/src/runsvdir \ + install -m0755 admin/runit-0.9.3/src/runsvdir \ $(CURDIR)/debian/runit/usr/bin/runsvdir - install -m0755 admin/runit-0.9.2/src/runsv \ + install -m0755 admin/runit-0.9.3/src/runsv \ $(CURDIR)/debian/runit/usr/bin/runsv - install -m0755 admin/runit-0.9.2/src/runsvchdir \ + install -m0755 admin/runit-0.9.3/src/runsvchdir \ $(CURDIR)/debian/runit/usr/sbin/runsvchdir - install -m0755 admin/runit-0.9.2/src/svlogd \ + install -m0755 admin/runit-0.9.3/src/svlogd \ $(CURDIR)/debian/runit/usr/bin/svlogd - install -m0755 admin/runit-0.9.2/src/svwaitdown \ + install -m0755 admin/runit-0.9.3/src/svwaitdown \ $(CURDIR)/debian/runit/usr/bin/svwaitdown - install -m0755 admin/runit-0.9.2/src/svwaitup \ + install -m0755 admin/runit-0.9.3/src/svwaitup \ $(CURDIR)/debian/runit/usr/bin/svwaitup - install -m0755 admin/runit-0.9.2/src/utmpset \ + install -m0755 admin/runit-0.9.3/src/utmpset \ $(CURDIR)/debian/runit/usr/sbin/utmpset - install -m0755 admin/runit-0.9.2/src/runsvstat \ + install -m0755 admin/runit-0.9.3/src/runsvstat \ $(CURDIR)/debian/runit/usr/bin/runsvstat - install -m0755 admin/runit-0.9.2/src/runsvctrl \ + install -m0755 admin/runit-0.9.3/src/runsvctrl \ $(CURDIR)/debian/runit/usr/bin/runsvctrl install -m0755 debian/getty-tty5.run \ @@ -117,7 +122,7 @@ binary-arch: build install # dh_installdocs -an # dh_installexamples -a dh_installman -a admin/runit/man/*.8 - dh_installchangelogs -a admin/runit-0.9.2/package/CHANGES + dh_installchangelogs -a admin/runit-0.9.3/package/CHANGES dh_strip -a # dh_link -a dh_compress -a