openbsd-ports/comms/amtterm/patches/patch-amttool
sthen ed5099f622 import ports/comms/amtterm, ok jasper@
amtterm provides gui and cli clients for Intel AMT serial-over-lan (sol),
and a perl script to gather information and control managed computers.

To reduce depencies when only the cli version is wanted, install the
amtterm-term subpackage instead.
2012-06-02 12:09:35 +00:00

13 lines
389 B
Plaintext

$OpenBSD: patch-amttool,v 1.1.1.1 2012/06/02 12:09:35 sthen Exp $
--- amttool.orig Sat Jun 2 12:56:35 2012
+++ amttool Sat Jun 2 12:58:08 2012
@@ -8,7 +8,7 @@ my $amt_host = shift;
my $amt_port = "16992";
my $amt_proto = 'http';
-if ($amt_host =~ /([^:]+):(\d+)/) {
+if ($amt_host && $amt_host =~ /([^:]+):(\d+)/) {
$amt_host = $1;
$amt_port = $2;
if ($amt_port == 16993) {