ports/189401: New port: sysutils/amtc -- Threaded Intel AMT/vPro mass management tool
Tony Li
tony.li at tony.li
Tue May 6 22:00:01 UTC 2014
>Number: 189401
>Category: ports
>Synopsis: New port: sysutils/amtc -- Threaded Intel AMT/vPro mass management tool
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 06 22:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Tony Li
>Release: FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD Mumble 9.2-STABLE FreeBSD 9.2-STABLE #0: Mon May 5 04:47:47 PDT 2014 root at js-build-vm2:/home/buildbot/workspace/iso-build-full--default/obj/home/buildbot/workspace/iso-build-full--de
fault/fbsd-stable9-picoral/sys/Mumble amd64
>Description:
Intel's Active Management Technology embeds a small microcontroller in
a processor's chipset and can be enabled to provide remote management
capabilities, such as remote reset. This tool helps perform these management
tasks.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# amtc
# amtc/pkg-plist
# amtc/distinfo
# amtc/Makefile
# amtc/pkg-descr
# amtc/files
# amtc/files/Makefile
#
echo c - amtc
mkdir -p amtc > /dev/null 2>&1
echo x - amtc/pkg-plist
sed 's/^X//' >amtc/pkg-plist << '611ab35d8e4590d34b9104d5f97bc31f'
Xbin/amtc
Xwww/amtc-web/amtc-web.css
Xwww/amtc-web/amtc-web.js
Xwww/amtc-web/amtc-web.php
Xwww/amtc-web/index.html
Xwww/amtc-web/sorttable.js
Xwww/amtc-web/admin/admin.php
Xwww/amtc-web/admin/amtc-log-rooms.sh
Xwww/amtc-web/admin/amtc-web.phpsh
Xwww/amtc-web/admin/dump_mysql.txt
Xwww/amtc-web/admin/dump_sqlite.txt
Xwww/amtc-web/img/amtc-web.png
Xwww/amtc-web/img/linux.png
Xwww/amtc-web/img/no-os.png
Xwww/amtc-web/img/skipped.png
Xwww/amtc-web/img/wheel.gif
Xwww/amtc-web/img/windows.png
Xwww/amtc-web/lib/application.conf.php
Xwww/amtc-web/lib/class.AmtcWebSetup.php
Xwww/amtc-web/lib/class.FrontendCtrl.php
Xwww/amtc-web/lib/class.Room.php
Xwww/amtc-web/lib/class.SpooledJob.php
Xwww/amtc-web/lib/class.StateMonitor.php
Xwww/amtc-web/lib/class.amtc.php
X at dirrmtry www/amtc-web
X at dirrmtry %%WWWDIR%%-web/lib
X at dirrmtry %%WWWDIR%%-web/img
X at dirrmtry %%WWWDIR%%-web/admin
X
611ab35d8e4590d34b9104d5f97bc31f
echo x - amtc/distinfo
sed 's/^X//' >amtc/distinfo << 'dff871516e9ba22366d155ade423a300'
XSHA256 (amtc-0.7.0.20140310.tar.gz) = 7a91d0429f7d4a04d714ece2de89175ee7a3f7bb818e3df6282ae384a0005e06
XSIZE (amtc-0.7.0.20140310.tar.gz) = 173644
dff871516e9ba22366d155ade423a300
echo x - amtc/Makefile
sed 's/^X//' >amtc/Makefile << '595a29e2978b5687313930a73fcea9d4'
X# $FreeBSD$
X
XPORTNAME= amtc
XPORTVERSION= 0.7.0.20140310
XCATEGORIES= sysutils
X
XMAINTAINER= tony.li at tony.li
XCOMMENT= Threaded Intel AMT/vPro mass management tool
X
XLICENSE= CC3.0
XLICENSE_NAME= Creative Commons Attribution 3.0 Unported
XLICENSE_TEXT= http://creativecommons.org/licenses/by/3.0/
XLICENSE_PERMS= auto-accept pkg-sell pkg-mirror dist-sell dist-mirror
X
XBUILD_DEPENDS= xxd:${PORTSDIR}/editors/vim-lite
XLIB_DEPENDS+= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
X libcurl.so:${PORTSDIR}/ftp/curl
X
XUSE_GITHUB= yes
XGH_ACCOUNT= schnoddelbotz
XGH_COMMIT= e4aaa28
XGH_TAGNAME= ${GH_COMMIT}
XUSES= perl5
XUSE_PERL5= build
X
XWRKSRC_SUBDIR= src
X
Xpost-patch:
X ${CP} ${PATCHDIR}/Makefile ${WRKSRC}
X
X.include <bsd.port.mk>
595a29e2978b5687313930a73fcea9d4
echo x - amtc/pkg-descr
sed 's/^X//' >amtc/pkg-descr << '15168e15fec0201d2cd5fdbbf8013a31'
XIntel's Active Management Technology is a simple embedded subsystem
Xthat helps you manage remote servers. In particular you can power off
Xor reset a remote system, regardless of the state of the operating
Xsystem.
X
Xamtc is a tool to efficiently monitor, power-control on a scheduled
Xbasis and interactively manage a bigger bunch of PCs equipped with
XIntel vPro technology, distributed over several rooms. Having a
Xpractical tool for this purpose massively eases system management
Xprocedures, from scheduled, unattended OS-re-installs to individual,
Xinteractive remote power management needs.
X
XWiki: https://github.com/schnoddelbotz/amtc/wiki
XGit: https://github.com/schnoddelbotz/amtc
15168e15fec0201d2cd5fdbbf8013a31
echo c - amtc/files
mkdir -p amtc/files > /dev/null 2>&1
echo x - amtc/files/Makefile
sed 's/^X//' >amtc/files/Makefile << 'b1c076a41bbd058cae5f8de72f147036'
X
XLFLAGS=-lcurl -pthread -lgcrypt -L$(PREFIX)/lib
XCFLAGS=-I. -Wall -I$(PREFIX)/include
XAMTCV=$(shell cat ../version)
X
XBINDIR ?= bin
XWWWDIR ?= www
X
XHEADERS=amtc_usage cmd_powerdown cmd_powerup cmd_info cmd_powerreset cmd_powercycle wsman_info wsman_info_step2 wsman_up wsman_down wsman_reset wsman_xenum wsman_xenum_step2
X
Xall: amtc
X
Xamtc: amt.h
X $(CC) -o amtc amtc.c $(CFLAGS) $(LFLAGS)
X
Xamt.h:
X perl -pi -e 's/v(\d\.\d\.\d)/v$(AMTCV)/' amtc_usage
X for H in $(HEADERS); do xxd -i $$H $$H.h; done
X cat amtc_usage.h cmd_*.h wsman_*.h wsman.h > amt.h
X perl -pi -e 's/(0x\S\S)$$/$$1, 0x00/' amt.h
X perl -pi -e 's/(\d+);$$/$$1 + 1 .";"/e' amt.h
X
Xclean:
X rm -f cmd_*.h wsman_*.h amtc_usage.h amt.h amtc *.o
X
Xinstall:
X mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR) $(DESTDIR)$(PREFIX)/$(WWWDIR)
X $(INSTALL) -c amtc $(DESTDIR)$(PREFIX)/$(BINDIR)
X /bin/cp -R ../amtc-web $(DESTDIR)$(PREFIX)/$(WWWDIR)
X
b1c076a41bbd058cae5f8de72f147036
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list