diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-03-21 08:22:21 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-03-21 08:22:21 +0000 |
commit | 226ecd2dfc621ab69d6c6d3a3a470a0e9f76e848 (patch) | |
tree | 36772279318610fcd75bc21c8337e13ddf8d708c /sysutils | |
parent | - Prune more minimal plists (diff) |
* Properly obtain the domain name on FreeBSD
* Add support for FreeBSD's many ethernet interfaces
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/system-tools-backends/Makefile | 1 | ||||
-rw-r--r-- | sysutils/system-tools-backends/files/patch-network.pl.in | 20 |
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]+" ], |