[DebianBRTeam-commits] r543 - in /packages/hlbr/trunk/debian/patches: 02_init.d.dpatch 03_www_rule.dpatch
eriberto-guest at users.alioth.debian.org
eriberto-guest at users.alioth.debian.org
Fri Sep 12 14:54:11 UTC 2008
Author: eriberto-guest
Date: Fri Sep 12 14:54:11 2008
New Revision: 543
URL: http://svn.debian.org/wsvn/?sc=1&rev=543
Log:
* Added the 02 and 03 patches files.
Added:
packages/hlbr/trunk/debian/patches/02_init.d.dpatch (with props)
packages/hlbr/trunk/debian/patches/03_www_rule.dpatch (with props)
Added: packages/hlbr/trunk/debian/patches/02_init.d.dpatch
URL: http://svn.debian.org/wsvn/packages/hlbr/trunk/debian/patches/02_init.d.dpatch?rev=543&op=file
==============================================================================
--- packages/hlbr/trunk/debian/patches/02_init.d.dpatch (added)
+++ packages/hlbr/trunk/debian/patches/02_init.d.dpatch Fri Sep 12 14:54:11 2008
@@ -1,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_init.d.dpatch by Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Add PATH variable to avoid command not found message.
+
+ at DPATCH@
+diff -urNad hlbr-1.6~/scripts/hlbr.init hlbr-1.6/scripts/hlbr.init
+--- hlbr-1.6~/scripts/hlbr.init 2008-07-24 14:30:00.000000000 -0300
++++ hlbr-1.6/scripts/hlbr.init 2008-09-11 17:47:47.000000000 -0300
+@@ -24,6 +24,7 @@
+ fi
+
+ # Variables
++PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+ CONF="/etc/hlbr/hlbr.config"
+ RULES="/etc/hlbr/hlbr.rules"
+ OPTS="-c $CONF -r $RULES"
Propchange: packages/hlbr/trunk/debian/patches/02_init.d.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: packages/hlbr/trunk/debian/patches/03_www_rule.dpatch
URL: http://svn.debian.org/wsvn/packages/hlbr/trunk/debian/patches/03_www_rule.dpatch?rev=543&op=file
==============================================================================
--- packages/hlbr/trunk/debian/patches/03_www_rule.dpatch (added)
+++ packages/hlbr/trunk/debian/patches/03_www_rule.dpatch Fri Sep 12 14:54:11 2008
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_www_rule.dpatch by Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Change tcp nocase to tcp regex, fixing a mistake.
+
+ at DPATCH@
+diff -urNad hlbr-1.6~/rules/www.rules hlbr-1.6/rules/www.rules
+--- hlbr-1.6~/rules/www.rules 2008-07-24 15:19:08.000000000 -0300
++++ hlbr-1.6/rules/www.rules 2008-09-11 17:52:06.000000000 -0300
+@@ -20,7 +20,7 @@
+ <rule>
+ ip dst(www)
+ tcp dst(80)
+-tcp nocase(GET[ -~]+\.php($|/|\&|\?))
++tcp regex(GET[ -~]+\.php($|/|\&|\?))
+ message=(www-2) .php request
+ action=action1
+ </rule>
Propchange: packages/hlbr/trunk/debian/patches/03_www_rule.dpatch
------------------------------------------------------------------------------
svn:executable = *
More information about the debian-br-team-commits
mailing list