[DRE-commits] r1305 - in packages-wip/libdaemons-ruby/trunk/debian: . patches

Filipe Lautert filipe-guest at alioth.debian.org
Fri Mar 9 14:46:20 CET 2007


Author: filipe-guest
Date: 2007-03-09 13:46:20 +0000 (Fri, 09 Mar 2007)
New Revision: 1305

Added:
   packages-wip/libdaemons-ruby/trunk/debian/README.debian
   packages-wip/libdaemons-ruby/trunk/debian/libdaemons-ruby1.8.install
   packages-wip/libdaemons-ruby/trunk/debian/patches/
   packages-wip/libdaemons-ruby/trunk/debian/patches/001-creates_proxy_for_daemonize.diff
Modified:
   packages-wip/libdaemons-ruby/trunk/debian/control
   packages-wip/libdaemons-ruby/trunk/debian/rules
Log:
* Added conflict with libdaemonize-ruby
* Added proxy to support libdaemonize-ruby applications without modifications
* Created documentation notes about proxy for libdaemonize-ruby



Added: packages-wip/libdaemons-ruby/trunk/debian/README.debian
===================================================================
--- packages-wip/libdaemons-ruby/trunk/debian/README.debian	2007-03-09 04:07:30 UTC (rev 1304)
+++ packages-wip/libdaemons-ruby/trunk/debian/README.debian	2007-03-09 13:46:20 UTC (rev 1305)
@@ -0,0 +1,12 @@
+Ruby daemons for Debian
+-----------------------
+
+This package provides daemons libraries for ruby and a proxy
+for the older libdaemonize-ruby, so applications that
+were using libdaemonize-ruby can switch to libdaemons-ruby 
+without any code change.
+
+This proxy file will be dropped after lenny release, so newer
+applications shall require 'daemons/daemonize' besides 'daemonize'.
+
+-- Filipe Lautert <filipe at icewall.org>, Fri, 09 Mar 2007 10:17:40 -0300

Modified: packages-wip/libdaemons-ruby/trunk/debian/control
===================================================================
--- packages-wip/libdaemons-ruby/trunk/debian/control	2007-03-09 04:07:30 UTC (rev 1304)
+++ packages-wip/libdaemons-ruby/trunk/debian/control	2007-03-09 13:46:20 UTC (rev 1305)
@@ -8,6 +8,7 @@
 Package: libdaemons-ruby
 Architecture: all
 Depends: libdaemons-ruby1.8
+Conflicts: libdaemonize-ruby
 Description: Ruby daemons library
  Daemons provides an easy way to wrap existing ruby
  scripts (for example a self-written server) 
@@ -21,6 +22,8 @@
 Package: libdaemons-ruby1.8
 Architecture: any
 Depends: ${shlibs:Depends}
+Replaces: libdaemonize-ruby1.8
+Conflicts: libdaemonize-ruby1.8
 Description: Ruby daemons library
  Daemons provides an easy way to wrap existing ruby
  scripts (for example a self-written server) 

Added: packages-wip/libdaemons-ruby/trunk/debian/libdaemons-ruby1.8.install
===================================================================
--- packages-wip/libdaemons-ruby/trunk/debian/libdaemons-ruby1.8.install	2007-03-09 04:07:30 UTC (rev 1304)
+++ packages-wip/libdaemons-ruby/trunk/debian/libdaemons-ruby1.8.install	2007-03-09 13:46:20 UTC (rev 1305)
@@ -0,0 +1 @@
+daemonize.rb /usr/lib/ruby/1.8/

Added: packages-wip/libdaemons-ruby/trunk/debian/patches/001-creates_proxy_for_daemonize.diff
===================================================================
--- packages-wip/libdaemons-ruby/trunk/debian/patches/001-creates_proxy_for_daemonize.diff	2007-03-09 04:07:30 UTC (rev 1304)
+++ packages-wip/libdaemons-ruby/trunk/debian/patches/001-creates_proxy_for_daemonize.diff	2007-03-09 13:46:20 UTC (rev 1305)
@@ -0,0 +1,8 @@
+--- daemonize.rb-or	2007-03-09 10:42:21.386497814 -0300
++++ daemonize.rb	2007-03-09 10:42:08.429347983 -0300
+@@ -0,0 +1,5 @@
++# This proxy allows backward compatibility with 
++# libdaemonize-ruby1.8. It shall be dropped 
++# after lenny release.
++
++require 'daemons/daemonize'

Modified: packages-wip/libdaemons-ruby/trunk/debian/rules
===================================================================
--- packages-wip/libdaemons-ruby/trunk/debian/rules	2007-03-09 04:07:30 UTC (rev 1304)
+++ packages-wip/libdaemons-ruby/trunk/debian/rules	2007-03-09 13:46:20 UTC (rev 1305)
@@ -1,6 +1,5 @@
 #!/usr/bin/make -f
-#
-# CDBS file to build the Foo Ruby package.
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk




More information about the Pkg-ruby-extras-commits mailing list