[Demudi-commits] r528 - in packages/rtirq/trunk: . debian debian/patches

Free Ekanayaka free-guest@costa.debian.org
Mon, 11 Apr 2005 13:57:05 +0000


Author: free-guest
Date: 2005-04-11 13:57:04 +0000 (Mon, 11 Apr 2005)
New Revision: 528

Added:
   packages/rtirq/trunk/debian/
   packages/rtirq/trunk/debian/changelog
   packages/rtirq/trunk/debian/compat
   packages/rtirq/trunk/debian/control
   packages/rtirq/trunk/debian/copyright
   packages/rtirq/trunk/debian/patches/
   packages/rtirq/trunk/debian/patches/00list
   packages/rtirq/trunk/debian/patches/rtirq.conf.dpatch
   packages/rtirq/trunk/debian/patches/rtirq.sh.dpatch
   packages/rtirq/trunk/debian/rules
Log:
Load newtrunk into packages/rtirq/trunk.


Added: packages/rtirq/trunk/debian/changelog
===================================================================
--- packages/rtirq/trunk/debian/changelog	2005-04-11 13:56:42 UTC (rev 527)
+++ packages/rtirq/trunk/debian/changelog	2005-04-11 13:57:04 UTC (rev 528)
@@ -0,0 +1,5 @@
+rtirq (20041118-1) unstable; urgency=low
+
+  * First release.
+
+ -- Free Ekanayaka <free@agnula.org>  Mon, 11 Apr 2005 14:57:57 +0200

Added: packages/rtirq/trunk/debian/compat
===================================================================
--- packages/rtirq/trunk/debian/compat	2005-04-11 13:56:42 UTC (rev 527)
+++ packages/rtirq/trunk/debian/compat	2005-04-11 13:57:04 UTC (rev 528)
@@ -0,0 +1 @@
+4

Added: packages/rtirq/trunk/debian/control
===================================================================
--- packages/rtirq/trunk/debian/control	2005-04-11 13:56:42 UTC (rev 527)
+++ packages/rtirq/trunk/debian/control	2005-04-11 13:57:04 UTC (rev 528)
@@ -0,0 +1,12 @@
+Source: rtirq
+Section: base
+Priority: optional
+Maintainer: Free Ekanayaka <free@agnula.org>
+Build-Depends-Indep: debhelper (>= 4.1.0), dpatch
+Standards-Version: 3.6.0
+
+Package: rtirq
+Architecture: all
+Description: Realtime IRQ
+ This package contains scripts to prioritize IRQ thread handlers
+ on a realtime-preemptible kernel

Added: packages/rtirq/trunk/debian/copyright
===================================================================
--- packages/rtirq/trunk/debian/copyright	2005-04-11 13:56:42 UTC (rev 527)
+++ packages/rtirq/trunk/debian/copyright	2005-04-11 13:57:04 UTC (rev 528)
@@ -0,0 +1,10 @@
+This package was debianized by Free Ekanayaka <free@agnula.org> on
+Mon, 11 Apr 2005 12:32:42 +0100.
+
+Download site: http://lalists.stanford.edu/lau/2005/03/0137.html
+Author: Rui Nuno Capela
+
+Copyright:
+
+This software is distributed under the General Public Lisense, version 2 
+(see /usr/share/common-licenses/GPL-2 for more information)

Added: packages/rtirq/trunk/debian/patches/00list
===================================================================
--- packages/rtirq/trunk/debian/patches/00list	2005-04-11 13:56:42 UTC (rev 527)
+++ packages/rtirq/trunk/debian/patches/00list	2005-04-11 13:57:04 UTC (rev 528)
@@ -0,0 +1,2 @@
+rtirq.conf.dpatch
+rtirq.sh.dpatch

Added: packages/rtirq/trunk/debian/patches/rtirq.conf.dpatch
===================================================================
--- packages/rtirq/trunk/debian/patches/rtirq.conf.dpatch	2005-04-11 13:56:42 UTC (rev 527)
+++ packages/rtirq/trunk/debian/patches/rtirq.conf.dpatch	2005-04-11 13:57:04 UTC (rev 528)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## rtirq.conf.dpatch by Free Ekanayaka <free@agnula.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad rtirq-20041118/rtirq.conf /tmp/dpep.QESeKk/rtirq-20041118/rtirq.conf
+--- rtirq-20041118/rtirq.conf	2004-11-11 19:17:41.000000000 +0100
++++ /tmp/dpep.QESeKk/rtirq-20041118/rtirq.conf	2005-04-11 12:46:55.000000000 +0200
+@@ -3,7 +3,7 @@
+ # Copyright (c) 2004 rncbc aka Rui Nuno Capela.
+ # All rights reserved.
+ #
+-# /etc/sysconfig/rtirq
++# /etc/default/rtirq
+ #
+ # Configuration for IRQ thread tunning,
+ # for realtime-preempt enabled kernels,

Added: packages/rtirq/trunk/debian/patches/rtirq.sh.dpatch
===================================================================
--- packages/rtirq/trunk/debian/patches/rtirq.sh.dpatch	2005-04-11 13:56:42 UTC (rev 527)
+++ packages/rtirq/trunk/debian/patches/rtirq.sh.dpatch	2005-04-11 13:57:04 UTC (rev 528)
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## rtirq.sh.dpatch by Free Ekanayaka <free@agnula.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad rtirq-20041118/rtirq.sh /tmp/dpep.1xSZvl/rtirq-20041118/rtirq.sh
+--- rtirq-20041118/rtirq.sh	2004-11-18 15:11:49.000000000 +0100
++++ /tmp/dpep.1xSZvl/rtirq-20041118/rtirq.sh	2005-04-11 14:12:40.000000000 +0200
+@@ -43,7 +43,7 @@
+ }
+ 
+ # Check for existence of needed config file and read it.
+-RTIRQ_CONFIG=/etc/sysconfig/rtirq
++RTIRQ_CONFIG=/etc/default/rtirq
+ [ -r ${RTIRQ_CONFIG} ] || {
+   echo "`basename $0`: ${RTIRQ_CONFIG}: not found."
+   [ "${RTIRQ_ACTION}" = "stop" ] && exit 0 || exit 6
+@@ -74,7 +74,7 @@
+   IRQ=$4
+   PID=`${RTIRQ_PIDOF} "IRQ ${IRQ}"`
+   if [ $((${PID})) -gt 0 ]; then 
+-    PREPEND="`basename $0`: ${ACTION} [${NAME}] irq=${IRQ} pid=${PID}"
++    PREPEND="Setting IRQ priorities: ${ACTION} [${NAME}] irq=${IRQ} pid=${PID}"
+     case ${ACTION} in
+     start)
+       PREPEND="${PREPEND} prio=${PRI2}"

Added: packages/rtirq/trunk/debian/rules
===================================================================
--- packages/rtirq/trunk/debian/rules	2005-04-11 13:56:42 UTC (rev 527)
+++ packages/rtirq/trunk/debian/rules	2005-04-11 13:57:04 UTC (rev 528)
@@ -0,0 +1,55 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+include /usr/share/dpatch/dpatch.make
+
+PACKAGE=rtirq
+
+# Here we do not have to build
+build: patch-stamp
+	cp rtirq.conf debian/rtirq.default
+	cp rtirq.sh   debian/rtirq.init
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+
+	# Add here commands to clean up after the build process.
+	-rm debian/rtirq.default
+	-rm debian/rtirq.init
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i 
+	dh_installdirs -i
+	dh_install -i
+
+binary:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installinit --name=$(PACKAGE) -- defaults 15
+	dh_link
+	dh_strip
+	dh_compress 
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: install-indep
+
+binary: binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure


Property changes on: packages/rtirq/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *