Date: Fri, 22 Jun 2012 10:54:53 GMT From: YAMAMOTO@FreeBSD.org, Shigeru <shigeru@iij.ad.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/169322: New port: SMFv2/ARMS Service Adapter daemon. Message-ID: <201206221054.q5MAsrjj027522@red.freebsd.org> Resent-Message-ID: <201206221100.q5MB0AEI013570@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169322 >Category: ports >Synopsis: New port: SMFv2/ARMS Service Adapter daemon. >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: Fri Jun 22 11:00:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: YAMAMOTO, Shigeru >Release: FreeBSD 9.0-release and 10-current >Organization: Internet Initiative Japan Inc. >Environment: FreeBSD mercury.tokyo.iiji.jp 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r236371M: Fri Jun 1 11:25:32 JST 2012 root@mercury.tokyo.iiji.jp:/usr/obj/usr/src/sys/MERCURY amd64 >Description: New port: net/armsd is a SMFv2/ARMS Service Adapter daemon. It is a sample implementation of a SMFv2/ARMS Service Adapter. SMFv2/ARMS is a framwork for 'Zero Configuration Service and Centralized Remote Management Service on the Internet', which is now serviced by IIJ in Japan. After Febrary 2012, IIJ open a source code for developing a SMFv2 Service Adapter. (called 'libarms') IIJ open a source code of a daemon which is using libarms. (called 'armsd') Unfortunately, information about libarms and SMFv2/ARMS is only in Japanese. >How-To-Repeat: >Fix: I append shar file. 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: # # net/armsd # net/armsd/distinfo # net/armsd/Makefile # net/armsd/pkg-plist # net/armsd/pkg-descr # net/armsd/files # net/armsd/files/patch-Makefile.in # echo c - net/armsd mkdir -p net/armsd > /dev/null 2>&1 echo x - net/armsd/distinfo sed 's/^X//' >net/armsd/distinfo << 'ffe1fcc136d6209d34cd351f7b278d5c' XSHA256 (armsd-0.7.0.tar.gz) = 4467e33bedcc8f92d50a672ff79a78d655f90a561f8e34569195a1f56a0464b9 XSIZE (armsd-0.7.0.tar.gz) = 92690 ffe1fcc136d6209d34cd351f7b278d5c echo x - net/armsd/Makefile sed 's/^X//' >net/armsd/Makefile << '50ee11c4da0d6e60e3456061e88172c3' X# New ports collection makefile for: libarms X# Date created: 22 Jun 2012 X# Whom: shigeru@iij.ad.jp X# X# $FreeBSD$ X# X XPORTNAME= armsd XPORTVERSION= 0.7.0 XCATEGORIES= net XMASTER_SITES= https://dev.smf.jp/dl/ \ X http://dev.smf.jp/dl/ X XMAINTAINER= shigeru@iij.ad.jp XCOMMENT= SMFv2/ARMS Service Adapter daemon X XLIB_DEPENDS= arms:${PORTSDIR}/net/libarms X XUSE_GMAKE= yes XGNU_CONFIGURE= yes XUSE_LDCONFIG= yes X XLDFLAGS+= -L${LOCALBASE}/lib XCPPFLAGS+= -I${LOCALBASE}/include X X.include <bsd.port.mk> 50ee11c4da0d6e60e3456061e88172c3 echo x - net/armsd/pkg-plist sed 's/^X//' >net/armsd/pkg-plist << '4e7bda8cd9d472c246b639abb0717e1d' Xetc/armsd/armsd.conf.sample Xsbin/armsd Xshare/examples/armsd/clear Xshare/examples/armsd/command Xshare/examples/armsd/debug Xshare/examples/armsd/line Xshare/examples/armsd/mac2sacode.awk Xshare/examples/armsd/reboot Xshare/examples/armsd/reconfig Xshare/examples/armsd/start Xshare/examples/armsd/state-changed Xshare/examples/armsd/status Xshare/examples/armsd/stop X@dirrm etc/armsd/scripts X@dirrm etc/armsd X@dirrm share/examples/armsd X@dirrm share/examples X@dirrm var/armsd X@dirrm var 4e7bda8cd9d472c246b639abb0717e1d echo x - net/armsd/pkg-descr sed 's/^X//' >net/armsd/pkg-descr << '0e760d6a740e6ab37dddfbcc639068ff' XSMFv2/ARMS Service Adapter daemon. XIt is a sample implementation of Service Adapter. XIt is using 'net/libarms'. X XWWW: https://dev.smf.jp/libarms/ 0e760d6a740e6ab37dddfbcc639068ff echo c - net/armsd/files mkdir -p net/armsd/files > /dev/null 2>&1 echo x - net/armsd/files/patch-Makefile.in sed 's/^X//' >net/armsd/files/patch-Makefile.in << '433a3e149ba623ee30caca6f0364064a' X--- Makefile.in.orig 2012-05-18 12:42:15.000000000 +0900 X+++ Makefile.in 2012-06-22 19:23:58.881105665 +0900 X@@ -1,4 +1,4 @@ X-DESTDIR= X+#DESTDIR= X prefix=@prefix@ X exec_prefix=@exec_prefix@ X sbindir=@sbindir@ X@@ -7,7 +7,7 @@ X localstatedir=@localstatedir@ X X cachedir=${localstatedir}/armsd X-exampledir=${datadir}/armsd X+exampledir=${datadir}/examples/armsd X X CFLAGS= -O2 -Wall -Werror @DEFS@ @CPPFLAGS@ @CFLAGS@ X CFLAGS_COV= $(CFLAGS) -fprofile-arcs -ftest-coverage X@@ -33,7 +33,7 @@ X install -c -s armsd $(DESTDIR)${sbindir} X install -d $(DESTDIR)${sysconfdir}/armsd X install -d $(DESTDIR)${sysconfdir}/armsd/scripts X- install -c armsd.conf $(DESTDIR)${sysconfdir}/armsd/armsd.conf X+ install -c armsd.conf $(DESTDIR)${sysconfdir}/armsd/armsd.conf.sample X install -d $(DESTDIR)${cachedir} X install -d $(DESTDIR)${exampledir} X install -c examples/* $(DESTDIR)${exampledir} 433a3e149ba623ee30caca6f0364064a exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206221054.q5MAsrjj027522>