Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2015 20:35:26 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399602 - in head/sysutils: . amtc amtc/files
Message-ID:  <201510172035.t9HKZQ4Z077191@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Oct 17 20:35:26 2015
New Revision: 399602
URL: https://svnweb.freebsd.org/changeset/ports/399602

Log:
  New port: sysutils/amtc
  
  Intel's Active Management Technology is a simple embedded subsystem
  that helps you manage remote servers.  In particular you can power off
  or reset a remote system, regardless of the state of the operating
  system.
  
  amtc is a tool to efficiently monitor, power-control on a scheduled
  basis and interactively manage a bigger bunch of PCs equipped with
  Intel vPro technology, distributed over several rooms. Having a
  practical tool for this purpose massively eases system management
  procedures, from scheduled, unattended OS-re-installs to individual,
  interactive remote power management needs.
  
  WWW: https://github.com/schnoddelbotz/amtc
  
  PR:		189401
  Submitted by:	tony.li@tony.li

Added:
  head/sysutils/amtc/
  head/sysutils/amtc/Makefile   (contents, props changed)
  head/sysutils/amtc/distinfo   (contents, props changed)
  head/sysutils/amtc/files/
  head/sysutils/amtc/files/patch-Makefile   (contents, props changed)
  head/sysutils/amtc/pkg-descr   (contents, props changed)
  head/sysutils/amtc/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sat Oct 17 20:00:28 2015	(r399601)
+++ head/sysutils/Makefile	Sat Oct 17 20:35:26 2015	(r399602)
@@ -27,6 +27,7 @@
     SUBDIR += aird
     SUBDIR += am-utils
     SUBDIR += amrstat
+    SUBDIR += amtc
     SUBDIR += anacron
     SUBDIR += and
     SUBDIR += ansible

Added: head/sysutils/amtc/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/amtc/Makefile	Sat Oct 17 20:35:26 2015	(r399602)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME=	amtc
+PORTVERSION=	0.8.4
+CATEGORIES=	sysutils
+
+MAINTAINER=	tony.li@tony.li
+COMMENT=	Threaded Intel AMT/vPro mass management tool
+
+LICENSE=	CC3.0
+LICENSE_NAME=	Creative Commons Attribution 3.0 Unported
+LICENSE_TEXT=	http://creativecommons.org/licenses/by/3.0/
+LICENSE_PERMS=	auto-accept pkg-sell pkg-mirror dist-sell dist-mirror
+
+BUILD_DEPENDS=	xxd:${PORTSDIR}/editors/vim-lite
+LIB_DEPENDS+=	libgcrypt.so:${PORTSDIR}/security/libgcrypt \
+		libcurl.so:${PORTSDIR}/ftp/curl
+
+USES=		perl5 shebangfix
+USE_GITHUB=	yes
+GH_ACCOUNT=	schnoddelbotz
+GH_TAGNAME=	e7822e8
+USE_PERL5=	build
+SHEBANG_FILES=	${WRKSRC}/../amtc-web/cli/amtc-web.phpsh
+
+WRKSRC_SUBDIR=	src
+
+post-stage:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/amtc
+
+.include <bsd.port.mk>

Added: head/sysutils/amtc/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/amtc/distinfo	Sat Oct 17 20:35:26 2015	(r399602)
@@ -0,0 +1,2 @@
+SHA256 (schnoddelbotz-amtc-0.8.4-e7822e8_GH0.tar.gz) = 9fdbcfd2b10e87d0363b2b8498779f35d864ff29596ee15994f0c55ef9595abb
+SIZE (schnoddelbotz-amtc-0.8.4-e7822e8_GH0.tar.gz) = 1503968

Added: head/sysutils/amtc/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/amtc/files/patch-Makefile	Sat Oct 17 20:35:26 2015	(r399602)
@@ -0,0 +1,31 @@
+--- Makefile.orig	2015-05-04 22:53:09 UTC
++++ Makefile
+@@ -4,8 +4,8 @@
+ #
+ # Makefile for amtc
+ 
+-LDLIBS=-lcurl -lpthread
+-CFLAGS=-I. -Wall
++LDLIBS=-L/usr/local/lib -lcurl -lpthread
++CFLAGS=-I/usr/local/include -I. -Wall
+ AMTCV=$(shell cat ../version)
+ APP=amtc-$(AMTCV)
+ OS=$(shell uname -s)
+@@ -18,6 +18,8 @@ HEADERS=amtc_usage cmd_powerdown cmd_pow
+ 	wsman_ping_enable wsman_ping_disable \
+ 	wsman_shutdown_graceful
+ 
++all: amtc
++
+ amtc: amtc.c
+ 
+ amtc.c: amt.h
+@@ -34,3 +36,8 @@ amt.h:
+ clean:
+ 	rm -f cmd_*.h wsman_*.h amtc_usage.h amt.h amtc *.o
+ 
++install:
++	mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/www
++	$(INSTALL) -c amtc $(DESTDIR)$(PREFIX)/bin
++	/bin/cp -R ../amtc-web $(DESTDIR)$(PREFIX)/www
++

Added: head/sysutils/amtc/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/amtc/pkg-descr	Sat Oct 17 20:35:26 2015	(r399602)
@@ -0,0 +1,13 @@
+Intel's Active Management Technology is a simple embedded subsystem
+that helps you manage remote servers.  In particular you can power off
+or reset a remote system, regardless of the state of the operating
+system.
+
+amtc is a tool to efficiently monitor, power-control on a scheduled
+basis and interactively manage a bigger bunch of PCs equipped with
+Intel vPro technology, distributed over several rooms. Having a
+practical tool for this purpose massively eases system management
+procedures, from scheduled, unattended OS-re-installs to individual,
+interactive remote power management needs.
+
+WWW: https://github.com/schnoddelbotz/amtc

Added: head/sysutils/amtc/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/amtc/pkg-plist	Sat Oct 17 20:35:26 2015	(r399602)
@@ -0,0 +1,77 @@
+bin/amtc
+%%WWWDIR%%-web/LICENSES-3rd-party.txt
+%%WWWDIR%%-web/Makefile
+%%WWWDIR%%-web/Makefile.Sources
+%%WWWDIR%%-web/_htaccess_example
+%%WWWDIR%%-web/_httpd_conf_example
+%%WWWDIR%%-web/amtc-favicon.png
+%%WWWDIR%%-web/basic-auth/_htaccess.default
+%%WWWDIR%%-web/basic-auth/index.html
+%%WWWDIR%%-web/cli/amtc-web.phpsh
+%%WWWDIR%%-web/config/_htpasswd.default
+%%WWWDIR%%-web/crontab-example.txt
+%%WWWDIR%%-web/css/amtc-web.css
+%%WWWDIR%%-web/data/.htaccess
+%%WWWDIR%%-web/js/app/app.js
+%%WWWDIR%%-web/js/compile-template.js
+%%WWWDIR%%-web/lib/AmtcwebInstaller.php
+%%WWWDIR%%-web/lib/AmtcwebSpooler.php
+%%WWWDIR%%-web/lib/app_bootstrap.php
+%%WWWDIR%%-web/lib/db-model/host.php
+%%WWWDIR%%-web/lib/db-model/job.php
+%%WWWDIR%%-web/lib/db-model/laststate.php
+%%WWWDIR%%-web/lib/db-model/logday.php
+%%WWWDIR%%-web/lib/db-model/notification.php
+%%WWWDIR%%-web/lib/db-model/optionset.php
+%%WWWDIR%%-web/lib/db-model/ou.php
+%%WWWDIR%%-web/lib/db-model/statelog.php
+%%WWWDIR%%-web/lib/db-model/user.php
+%%WWWDIR%%-web/lib/install-db/mysql-exampledata.sql
+%%WWWDIR%%-web/lib/install-db/mysql-minimal.sql
+%%WWWDIR%%-web/lib/install-db/mysql.sql
+%%WWWDIR%%-web/lib/install-db/sqlite-exampledata.sql
+%%WWWDIR%%-web/lib/install-db/sqlite-minimal.sql
+%%WWWDIR%%-web/lib/install-db/sqlite.sql
+%%WWWDIR%%-web/pages/about.md
+%%WWWDIR%%-web/pages/configure-amt.md
+%%WWWDIR%%-web/pages/first-steps.md
+%%WWWDIR%%-web/rest-api.php
+%%WWWDIR%%-web/templates/_optionsetEdit.hbs.html
+%%WWWDIR%%-web/templates/_ouSelection.hbs.html
+%%WWWDIR%%-web/templates/_scheduleEdit.hbs.html
+%%WWWDIR%%-web/templates/_userEdit.hbs.html
+%%WWWDIR%%-web/templates/addHostsWizard.hbs.html
+%%WWWDIR%%-web/templates/application.hbs.html
+%%WWWDIR%%-web/templates/application_footer.html
+%%WWWDIR%%-web/templates/application_header.html
+%%WWWDIR%%-web/templates/components/state-log.hbs.html
+%%WWWDIR%%-web/templates/components/tree-menu-node.hbs.html
+%%WWWDIR%%-web/templates/energy.hbs.html
+%%WWWDIR%%-web/templates/index.hbs.html
+%%WWWDIR%%-web/templates/login.hbs.html
+%%WWWDIR%%-web/templates/logout.hbs.html
+%%WWWDIR%%-web/templates/logs.hbs.html
+%%WWWDIR%%-web/templates/navigation.hbs.html
+%%WWWDIR%%-web/templates/optionset.hbs.html
+%%WWWDIR%%-web/templates/optionsets.hbs.html
+%%WWWDIR%%-web/templates/optionsets/index.hbs.html
+%%WWWDIR%%-web/templates/optionsets/new.hbs.html
+%%WWWDIR%%-web/templates/ou.hbs.html
+%%WWWDIR%%-web/templates/ou/edit.hbs.html
+%%WWWDIR%%-web/templates/ou/hosts.hbs.html
+%%WWWDIR%%-web/templates/ou/monitor.hbs.html
+%%WWWDIR%%-web/templates/ou/statelog.hbs.html
+%%WWWDIR%%-web/templates/ous.hbs.html
+%%WWWDIR%%-web/templates/ous/index.hbs.html
+%%WWWDIR%%-web/templates/ous/new.hbs.html
+%%WWWDIR%%-web/templates/page.hbs.html
+%%WWWDIR%%-web/templates/schedule.hbs.html
+%%WWWDIR%%-web/templates/schedules.hbs.html
+%%WWWDIR%%-web/templates/schedules/index.hbs.html
+%%WWWDIR%%-web/templates/schedules/new.hbs.html
+%%WWWDIR%%-web/templates/setup.hbs.html
+%%WWWDIR%%-web/templates/systemhealth.hbs.html
+%%WWWDIR%%-web/templates/user/edit.hbs.html
+%%WWWDIR%%-web/templates/users.hbs.html
+%%WWWDIR%%-web/templates/users/index.hbs.html
+%%WWWDIR%%-web/templates/users/new.hbs.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510172035.t9HKZQ4Z077191>