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.
This commit is contained in:
parent
282e80f153
commit
ed5099f622
54
comms/amtterm/Makefile
Normal file
54
comms/amtterm/Makefile
Normal file
@ -0,0 +1,54 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/06/02 12:09:35 sthen Exp $
|
||||
|
||||
COMMENT-term= cli client for Intel AMT serial-over-lan
|
||||
COMMENT-main= client and tools for Intel AMT serial-over-lan
|
||||
|
||||
V= 1.3
|
||||
DISTNAME= amtterm-$V
|
||||
PKGNAME-main= amtterm-$V
|
||||
PKGNAME-term= amtterm-cli-$V
|
||||
MULTI_PACKAGES= -main -term
|
||||
|
||||
CATEGORIES= comms sysutils net
|
||||
|
||||
HOMEPAGE= https://www.kraxel.org/blog/linux/amtterm/
|
||||
|
||||
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB-term= c
|
||||
WANTLIB-main= ${MODGETTEXT_WANTLIB} c gio-2.0 glib-2.0 gobject-2.0
|
||||
WANTLIB-main += atk-1.0 cairo gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0
|
||||
WANTLIB-main += pango-1.0 pangocairo-1.0 pangoft2-1.0 png vte
|
||||
WANTLIB-main += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
||||
WANTLIB-main += Xrandr Xrender expat fontconfig freetype m pixman-1
|
||||
WANTLIB-main += pthread pthread-stubs xcb xcb-render xcb-shm z
|
||||
|
||||
MASTER_SITES= https://www.kraxel.org/releases/amtterm/
|
||||
|
||||
MODULES= devel/gettext
|
||||
LIB_DEPENDS-term=
|
||||
LIB_DEPENDS-main= ${MODGETTEXT_LIB_DEPENDS} \
|
||||
devel/vte
|
||||
RUN_DEPENDS-main= comms/amtterm,-term \
|
||||
devel/desktop-file-utils \
|
||||
www/p5-SOAP-Lite
|
||||
|
||||
MAKE_FLAGS= verbose=yes
|
||||
FAKE_FLAGS= mandir=${WRKINST}${PREFIX}/man
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
MAKE_FILE= GNUmakefile
|
||||
|
||||
pre-configure:
|
||||
cp ${FILESDIR}/Make.config ${WRKSRC}/
|
||||
|
||||
.include <bsd.port.mk>
|
5
comms/amtterm/distinfo
Normal file
5
comms/amtterm/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (amtterm-1.3.tar.gz) = ojhbIwVoCuBmh4Z1J5JP9Q==
|
||||
RMD160 (amtterm-1.3.tar.gz) = OC+YabhJ989hgLaPKiSBIlylda8=
|
||||
SHA1 (amtterm-1.3.tar.gz) = z9GZzIcPSKWcqolAiwOSOeq4UyI=
|
||||
SHA256 (amtterm-1.3.tar.gz) = dp0C8IfHWU5KKakBWAstORVNtJyh86aIFZjQxZW5vFA=
|
||||
SIZE (amtterm-1.3.tar.gz) = 37671
|
3
comms/amtterm/files/Make.config
Normal file
3
comms/amtterm/files/Make.config
Normal file
@ -0,0 +1,3 @@
|
||||
LIB := lib
|
||||
HAVE_GTK := yes
|
||||
HAVE_VTE := yes
|
12
comms/amtterm/patches/patch-amttool
Normal file
12
comms/amtterm/patches/patch-amttool
Normal file
@ -0,0 +1,12 @@
|
||||
$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) {
|
12
comms/amtterm/patches/patch-mk_Maintainer_mk
Normal file
12
comms/amtterm/patches/patch-mk_Maintainer_mk
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-mk_Maintainer_mk,v 1.1.1.1 2012/06/02 12:09:35 sthen Exp $
|
||||
--- mk/Maintainer.mk.orig Sat Jun 2 09:16:01 2012
|
||||
+++ mk/Maintainer.mk Sat Jun 2 09:15:53 2012
|
||||
@@ -12,7 +12,7 @@ sync:: distclean
|
||||
chmod 444 $(srcdir)/INSTALL $(srcdir)/mk/*.mk
|
||||
|
||||
|
||||
-repository := $(shell basename $(PWD))
|
||||
+repository := $(shell basename $$(pwd))
|
||||
release-dir ?= $(HOME)/projects/Releases
|
||||
release-pub ?= bigendian.kraxel.org:/public/vhosts/www.kraxel.org/releases/$(repository)
|
||||
tarball = $(release-dir)/$(repository)-$(VERSION).tar
|
8
comms/amtterm/patches/patch-tcp_h
Normal file
8
comms/amtterm/patches/patch-tcp_h
Normal file
@ -0,0 +1,8 @@
|
||||
$OpenBSD: patch-tcp_h,v 1.1.1.1 2012/06/02 12:09:35 sthen Exp $
|
||||
--- tcp.h.orig Sat Jun 2 09:16:45 2012
|
||||
+++ tcp.h Sat Jun 2 09:16:55 2012
|
||||
@@ -1,3 +1,4 @@
|
||||
+#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
5
comms/amtterm/pkg/DESCR-main
Normal file
5
comms/amtterm/pkg/DESCR-main
Normal file
@ -0,0 +1,5 @@
|
||||
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.
|
1
comms/amtterm/pkg/DESCR-term
Normal file
1
comms/amtterm/pkg/DESCR-term
Normal file
@ -0,0 +1 @@
|
||||
amtterm-cli provides a command-line client for Intel AMT serial-over-lan (sol).
|
9
comms/amtterm/pkg/PLIST-main
Normal file
9
comms/amtterm/pkg/PLIST-main
Normal file
@ -0,0 +1,9 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2012/06/02 12:09:35 sthen Exp $
|
||||
bin/amttool
|
||||
@bin bin/gamt
|
||||
@man man/man1/amttool.1
|
||||
@man man/man1/gamt.1
|
||||
@man man/man7/amt-howto.7
|
||||
share/applications/gamt.desktop
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
3
comms/amtterm/pkg/PLIST-term
Normal file
3
comms/amtterm/pkg/PLIST-term
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST-term,v 1.1.1.1 2012/06/02 12:09:35 sthen Exp $
|
||||
@bin bin/amtterm
|
||||
@man man/man1/amtterm.1
|
Loading…
Reference in New Issue
Block a user