aboutsummaryrefslogtreecommitdiff
path: root/sysutils/system-tools-backends
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-21 08:22:21 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-21 08:22:21 +0000
commit226ecd2dfc621ab69d6c6d3a3a470a0e9f76e848 (patch)
tree36772279318610fcd75bc21c8337e13ddf8d708c /sysutils/system-tools-backends
parent2b72e5841cc31d7aebacb622fe008a37fd8698b8 (diff)
downloadports-226ecd2dfc621ab69d6c6d3a3a470a0e9f76e848.tar.gz
ports-226ecd2dfc621ab69d6c6d3a3a470a0e9f76e848.zip
Notes
Diffstat (limited to 'sysutils/system-tools-backends')
-rw-r--r--sysutils/system-tools-backends/Makefile1
-rw-r--r--sysutils/system-tools-backends/files/patch-network.pl.in20
2 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/system-tools-backends/Makefile b/sysutils/system-tools-backends/Makefile
index dfd08f2641b6..3207c75a793c 100644
--- a/sysutils/system-tools-backends/Makefile
+++ b/sysutils/system-tools-backends/Makefile
@@ -7,6 +7,7 @@
PORTNAME= system-tools-backends
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.2
diff --git a/sysutils/system-tools-backends/files/patch-network.pl.in b/sysutils/system-tools-backends/files/patch-network.pl.in
new file mode 100644
index 000000000000..0ecf1d9c0837
--- /dev/null
+++ b/sysutils/system-tools-backends/files/patch-network.pl.in
@@ -0,0 +1,20 @@
+--- network.pl.in.orig Mon Mar 21 03:16:35 2005
++++ network.pl.in Mon Mar 21 03:19:37 2005
+@@ -777,7 +777,7 @@
+ $types_cache{$dev} = "modem";
+ }
+ }
+- elsif ($dev =~ /(eth|dc|ed|bfe)[0-9]/)
++ elsif ($dev =~ /(eth|dc|ed|bfe|em|fxp|bge|de|xl|ixgb|txp|vx|lge|nge|pcn|re|rl|sf|sis|sk|ste|ti|tl|tx|vge|vr|wb|cs|ex|ep|fe|ie|lnc|sn|xe|le|an|awi|wi|ndis|wlaue|axe|cue|kue|rue|fwe)[0-9]/)
+ {
+ $types_cache{$dev} = "ethernet";
+ }
+@@ -4285,7 +4285,7 @@
+ table =>
+ [
+ [ "hostname", \&gst_parse_sh_re, RC_CONF, hostname, "^([^\.]*)\." ],
+- [ "domain", \&gst_parse_sh_re, RC_CONF, hostname, "\.([^\.]*)\$" ],
++ [ "domain", \&gst_parse_split_first_str, RESOLV_CONF, "domain", "[ \t]+" ],
+ [ "nameserver", \&gst_parse_split_all_unique_hash_comment, RESOLV_CONF, "nameserver", "[ \t]+" ],
+ [ "searchdomain", \&gst_parse_split_first_array_unique, RESOLV_CONF, "search", "[ \t]+", "[ \t]+" ],
+ [ "statichost", \&gst_parse_split_hash, HOSTS, "[ \t]+", "[ \t]+" ],