summaryrefslogtreecommitdiff
path: root/sysutils/amtterm/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-05-13 13:24:01 +0000
committerobache <obache@pkgsrc.org>2011-05-13 13:24:01 +0000
commitb3daca1a8604f6537d6fe00a8481752f6b02411d (patch)
treebb59cb5045121c5d248dd8ef8c3ec1a089ff4845 /sysutils/amtterm/patches
parenta2208e59d623eebb17a8851a484efdb85a6e6cdb (diff)
downloadpkgsrc-b3daca1a8604f6537d6fe00a8481752f6b02411d.tar.gz
Import amtterm-1.2 as sysutils/amtterm.
Based on PR#44884 by YAMAMOTO Takeshi. Additionaly, some improvements by me. Active Management Technology (AMT) tools descriptions from man pages: amttool - remotely control Intel AMT managed machines. amtterm - Intel AMT serial-over-lan (sol) client. from amt-howto(7): What is AMT and why I should care? AMT stands for "Active Management Technology". It provides some remote management facilities. They are handled by the hardware and firmware, thus they work independant from the operation system. Means: It works before Linux bootet up to the point where it activated the network interface. It works even when your most recent test kernel deadlocked the machine. Which makes it quite useful for development machines ... Intel AMT is part of the vPro Platform. Recent intel-chipset based business machines should have it. My fairly new Intel SDV machine has it too.
Diffstat (limited to 'sysutils/amtterm/patches')
-rw-r--r--sysutils/amtterm/patches/patch-GNUmakefile17
-rw-r--r--sysutils/amtterm/patches/patch-mk_Variables.mk15
2 files changed, 32 insertions, 0 deletions
diff --git a/sysutils/amtterm/patches/patch-GNUmakefile b/sysutils/amtterm/patches/patch-GNUmakefile
new file mode 100644
index 00000000000..dc9afc55886
--- /dev/null
+++ b/sysutils/amtterm/patches/patch-GNUmakefile
@@ -0,0 +1,17 @@
+$NetBSD: patch-GNUmakefile,v 1.1.1.1 2011/05/13 13:24:01 obache Exp $
+
+* not to install gamt related files if it is off.
+
+--- GNUmakefile.orig 2008-10-30 09:59:57.000000000 +0000
++++ GNUmakefile
+@@ -43,8 +43,10 @@ install: build
+ $(INSTALL_DIR) $(bindir) $(appdir) $(mandir)/man1 $(mandir)/man7
+ $(INSTALL_BINARY) $(TARGETS) $(bindir)
+ $(INSTALL_SCRIPT) amttool $(bindir)
++ifeq ($(HAVE_GTK)$(HAVE_VTE),yesyes)
+ $(INSTALL_DATA) $(DESKTOP) $(appdir)
+ $(INSTALL_DATA) gamt.man $(mandir)/man1/gamt.1
++endif
+ $(INSTALL_DATA) amtterm.man $(mandir)/man1/amtterm.1
+ $(INSTALL_DATA) amttool.man $(mandir)/man1/amttool.1
+ $(INSTALL_DATA) amt-howto.man $(mandir)/man7/amt-howto.7
diff --git a/sysutils/amtterm/patches/patch-mk_Variables.mk b/sysutils/amtterm/patches/patch-mk_Variables.mk
new file mode 100644
index 00000000000..705c8acf7c4
--- /dev/null
+++ b/sysutils/amtterm/patches/patch-mk_Variables.mk
@@ -0,0 +1,15 @@
+$NetBSD: patch-mk_Variables.mk,v 1.1.1.1 2011/05/13 13:24:01 obache Exp $
+
+* honor PKGMANDIR
+
+--- mk/Variables.mk.orig 2008-10-30 09:29:19.000000000 +0000
++++ mk/Variables.mk
+@@ -9,7 +9,7 @@ bindir = $(DESTDIR)$(prefix)/bin
+ sbindir = $(DESTDIR)$(prefix)/sbin
+ libdir = $(DESTDIR)$(prefix)/$(LIB)
+ shrdir = $(DESTDIR)$(prefix)/share
+-mandir = $(shrdir)/man
++mandir = $(DESTDIR)$(prefix)/${PKGMANDIR}
+ locdir = $(shrdir)/locale
+ appdir = $(shrdir)/applications
+