1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

This is a serial-over-lan (sol) client for Intel AMT. Includes a terminal and

a graphical (gtk) version.  Also comes with a perl script to gather
informations about and remotely control AMT managed computers.

WWW: https://www.kraxel.org/blog/linux/amtterm/
This commit is contained in:
Chris Rees 2011-12-29 20:29:46 +00:00
parent 6bdabc70f3
commit 102b39889e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288252
5 changed files with 78 additions and 0 deletions

View File

@ -5,6 +5,7 @@
SUBDIR += acfax
SUBDIR += aldo
SUBDIR += amtterm
SUBDIR += anyremote
SUBDIR += aprsd
SUBDIR += atslog

40
comms/amtterm/Makefile Normal file
View File

@ -0,0 +1,40 @@
# Ports collection Makefile for: amtterm
# Date created: 29 December 2011
# Whom: crees
#
# $FreeBSD$
#
PORTNAME= amtterm
PORTVERSION= 1.3
CATEGORIES= comms
MASTER_SITES= https://www.kraxel.org/releases/${PORTNAME}/
MAINTAINER= crees@FreeBSD.org
COMMENT= Serial-over-lan client for Intel AMT
LIB_DEPENDS= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
RUN_DEPENDS= p5-SOAP-Lite>=0.5:${PORTSDIR}/net/p5-SOAP-Lite
USE_GMAKE= yes
MAKEFILE= GNUmakefile
MAKE_ENV+= mandir=${MANPREFIX}/man
PLIST_FILES= bin/${PORTNAME} \
bin/amttool \
share/applications/gamt.desktop
PLIST_DIRSTRY= share/applications
MAN1= gamt.1 ${PORTNAME}.1 amttool.1
MAN7= amt-howto.7
MANCOMPRESSED= no
post-patch:
@${REINPLACE_CMD} -e 's,/sbin/ldconfig -p,${LDCONFIG} -r,' \
${WRKSRC}/mk/Autoconf.mk
.for mandir in 1 7
@${REINPLACE_CMD} -e \
's,$$(mandir)/man${mandir},${MAN${mandir}PREFIX}/man/man${mandir},' \
${WRKSRC}/${MAKEFILE}
.endfor
.include <bsd.port.mk>

2
comms/amtterm/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (amtterm-1.3.tar.gz) = 769d02f087c7594e4a29a901580b2d39154db49ca1f3a6881598d0c595b9bc50
SIZE (amtterm-1.3.tar.gz) = 37671

View File

@ -0,0 +1,30 @@
$FreeBSD$
From http://people.freebsd.org/~kib/misc/amtterm.1.patch
--- redir.c 2011-05-26 12:19:45.000000000 +0300
+++ redir.c 2011-12-28 22:39:15.164012594 +0200
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
--- tcp.c 2011-05-26 12:19:45.000000000 +0300
+++ tcp.c 2011-12-28 22:39:32.276853072 +0200
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>

5
comms/amtterm/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
This is a serial-over-lan (sol) client for Intel AMT. Includes a terminal and
a graphical (gtk) version. Also comes with a perl script to gather
informations about and remotely control AMT managed computers.
WWW: https://www.kraxel.org/blog/linux/amtterm/