summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2005-12-13 02:16:09 +0000
committerCarsten Lohrke <carlo@gentoo.org>2005-12-13 02:16:09 +0000
commite081af1fea70d21eef386bd5332e4fa26958f277 (patch)
tree43d32f4836283a94f9117df0bc3195b1a02f7de0 /net-firewall/kmyfirewall/files
parentUpdated HOMEPAGE. (diff)
downloadgentoo-2-e081af1fea70d21eef386bd5332e4fa26958f277.tar.gz
gentoo-2-e081af1fea70d21eef386bd5332e4fa26958f277.tar.bz2
gentoo-2-e081af1fea70d21eef386bd5332e4fa26958f277.zip
multiport rule fix
(Portage version: 2.0.53)
Diffstat (limited to 'net-firewall/kmyfirewall/files')
-rw-r--r--net-firewall/kmyfirewall/files/digest-kmyfirewall-1.0-r1 (renamed from net-firewall/kmyfirewall/files/digest-kmyfirewall-1.0)0
-rw-r--r--net-firewall/kmyfirewall/files/kmyfirewall-1.0-configure-arts.patch81
-rw-r--r--net-firewall/kmyfirewall/files/kmyfirewall-1.0_gentoo_multiport.diff29
3 files changed, 29 insertions, 81 deletions
diff --git a/net-firewall/kmyfirewall/files/digest-kmyfirewall-1.0 b/net-firewall/kmyfirewall/files/digest-kmyfirewall-1.0-r1
index 23584f8e7974..23584f8e7974 100644
--- a/net-firewall/kmyfirewall/files/digest-kmyfirewall-1.0
+++ b/net-firewall/kmyfirewall/files/digest-kmyfirewall-1.0-r1
diff --git a/net-firewall/kmyfirewall/files/kmyfirewall-1.0-configure-arts.patch b/net-firewall/kmyfirewall/files/kmyfirewall-1.0-configure-arts.patch
deleted file mode 100644
index 295394931b8b..000000000000
--- a/net-firewall/kmyfirewall/files/kmyfirewall-1.0-configure-arts.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff --exclude='*~' -Naur kmyfirewall-1.0.orig/configure kmyfirewall-1.0/configure
---- kmyfirewall-1.0.orig/configure 2005-12-12 16:01:44.000000000 -0200
-+++ kmyfirewall-1.0/configure 2005-12-12 16:04:37.000000000 -0200
-@@ -31546,77 +31546,6 @@
-
- if test "$build_arts" '!=' "no"; then
-
-- echo "$as_me:$LINENO: checking for mcopidl" >&5
--echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
-- if test -n "$MCOPIDL"; then
-- kde_cv_path="$MCOPIDL";
-- else
-- kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
--
-- if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
-- echo $ECHO_N "(cached) $ECHO_C" >&6
--else
--
-- kde_cv_path="NONE"
-- kde_save_IFS=$IFS
-- IFS=':'
-- dirs=""
-- for dir in $PATH; do
-- dirs="$dirs $dir"
-- done
-- if test -z ""; then dirs="$kde_default_bindirs $dirs"
-- else dirs="$dirs $kde_default_bindirs"
-- fi
-- IFS=$kde_save_IFS
--
-- for dir in $dirs; do
-- if test -x "$dir/mcopidl"; then
-- if test -n ""
-- then
-- evalstr="$dir/mcopidl 2>&1 "
-- if eval $evalstr; then
-- kde_cv_path="$dir/mcopidl"
-- break
-- fi
-- else
-- kde_cv_path="$dir/mcopidl"
-- break
-- fi
-- fi
-- done
--
-- eval "kde_cv_path_$kde_cache=$kde_cv_path"
--
--
--fi
--
--
-- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
--
-- fi
--
-- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
-- echo "$as_me:$LINENO: result: not found" >&5
--echo "${ECHO_T}not found" >&6
--
-- { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
--Please check whether you installed aRts correctly or use
----without-arts to compile without aRts support (this will remove functionality).
--" >&5
--echo "$as_me: error: The important program mcopidl was not found!
--Please check whether you installed aRts correctly or use
----without-arts to compile without aRts support (this will remove functionality).
--" >&2;}
-- { (exit 1); exit 1; }; }
--
-- else
-- echo "$as_me:$LINENO: result: $kde_cv_path" >&5
--echo "${ECHO_T}$kde_cv_path" >&6
-- MCOPIDL=$kde_cv_path
--
-- fi
--
--
- echo "$as_me:$LINENO: checking for artsc-config" >&5
- echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
- if test -n "$ARTSCCONFIG"; then
diff --git a/net-firewall/kmyfirewall/files/kmyfirewall-1.0_gentoo_multiport.diff b/net-firewall/kmyfirewall/files/kmyfirewall-1.0_gentoo_multiport.diff
new file mode 100644
index 000000000000..6480713aeb47
--- /dev/null
+++ b/net-firewall/kmyfirewall/files/kmyfirewall-1.0_gentoo_multiport.diff
@@ -0,0 +1,29 @@
+diff -ruN kmyfirewall-1.0_old/kmyfirewall/ruleoptionplugins/protocol_option/kmfruleoption_protocol_option.xml kmyfirewall-1.0/kmyfirewall/ruleoptionplugins/protocol_option/kmfruleoption_protocol_option.xml
+--- kmyfirewall-1.0_old/kmyfirewall/ruleoptionplugins/protocol_option/kmfruleoption_protocol_option.xml 2005-12-11 16:55:16.000000000 +0100
++++ kmyfirewall-1.0/kmyfirewall/ruleoptionplugins/protocol_option/kmfruleoption_protocol_option.xml 2005-12-11 13:37:54.000000000 +0100
+@@ -9,10 +9,10 @@
+ <option guiName="Dest. Port:" command="--destination-port" />
+ </ruleoptiondefinition>
+ <ruleoptiondefinition name="udp_multiport_opt" guiName="UDP Multiport">
++ <option guiName="" command="--match multiport" />
+- <option guiName="" command="-p udp --match multiport" />
+ <option guiName="Src. Ports:" command="--source-ports" />
+ <option guiName="Dest. Ports:" command="--destination-ports" />
++ <option guiName="Equal. Ports:" command="--ports" />
+- <option guiName="Equal. Ports:" command="--equal-ports" />
+ </ruleoptiondefinition>
+ <ruleoptiondefinition name="tcp_opt" guiName="Protocol TCP">
+ <option guiName="" command="-p tcp" />
+@@ -22,10 +22,10 @@
+ <option guiName="TCP Option:" command="--tcp-option" />
+ </ruleoptiondefinition>
+ <ruleoptiondefinition name="tcp_multiport_opt" guiName="TCP Multiport">
++ <option guiName="" command="--match multiport" />
+- <option guiName="" command="-p tcp --match multiport" />
+ <option guiName="Src. Ports:" command="--source-ports" />
+ <option guiName="Dest. Ports:" command="--destination-ports" />
++ <option guiName="Equal. Ports:" command="--ports" />
+- <option guiName="Equal. Ports:" command="--equal-ports" />
+ </ruleoptiondefinition>
+ <ruleoptiondefinition name="icmp_opt" guiName="Match ICMP">
+ <option guiName="" command="-p icmp" />