From owner-svn-soc-all@freebsd.org Sun Aug 2 22:51:22 2015 Return-Path: Delivered-To: svn-soc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC9B69B19C6 for ; Sun, 2 Aug 2015 22:51:22 +0000 (UTC) (envelope-from roam@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D132077 for ; Sun, 2 Aug 2015 22:51:22 +0000 (UTC) (envelope-from roam@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id t72MpMUD065149 for ; Sun, 2 Aug 2015 22:51:22 GMT (envelope-from roam@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id t72MpKJM064690 for svn-soc-all@FreeBSD.org; Sun, 2 Aug 2015 22:51:20 GMT (envelope-from roam@FreeBSD.org) Date: Sun, 2 Aug 2015 22:51:20 GMT Message-Id: <201508022251.t72MpKJM064690@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to roam@FreeBSD.org using -f From: roam@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r289120 - in soc2015/roam/ports: . net net/sixxs-aiccu net/sixxs-aiccu/files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2015 22:51:23 -0000 Author: roam Date: Sun Aug 2 22:51:20 2015 New Revision: 289120 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=289120 Log: Import the FreeBSD port of sixxs-aiccu-20070115_4. Obtained from: The FreeBSD Ports Collection ObQuote: "Where do we go from here?" Added: soc2015/roam/ports/ soc2015/roam/ports/net/ soc2015/roam/ports/net/sixxs-aiccu/ soc2015/roam/ports/net/sixxs-aiccu/Makefile soc2015/roam/ports/net/sixxs-aiccu/distinfo soc2015/roam/ports/net/sixxs-aiccu/files/ soc2015/roam/ports/net/sixxs-aiccu/files/sixxs-aiccu.in soc2015/roam/ports/net/sixxs-aiccu/pkg-descr soc2015/roam/ports/net/sixxs-aiccu/pkg-plist Added: soc2015/roam/ports/net/sixxs-aiccu/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ soc2015/roam/ports/net/sixxs-aiccu/Makefile Sun Aug 2 22:51:20 2015 (r289120) @@ -0,0 +1,65 @@ +# Created by: Meno Abels +# $FreeBSD$ + +PORTNAME= aiccu +PORTVERSION= 20070115 +PORTREVISION= 4 +CATEGORIES= net ipv6 +MASTER_SITES= http://www.sixxs.net/archive/sixxs/aiccu/unix/ +PKGNAMEPREFIX= sixxs- +DISTNAME= aiccu_20070115 + +MAINTAINER= ports@FreeBSD.org +COMMENT= SixXS IPv6 TIC+ tunnel broker heartbeat client + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/doc/LICENSE + +USE_RC_SUBR= sixxs-aiccu +USES= gmake + +CFLAGS+= -D_REENTRANT -I${LOCALBASE}/include +LDFLAGS+= -lpthread -L${LOCALBASE}/lib +MAKE_ARGS+= CC="${CC}" LDFLAGS="${LDFLAGS}" +WRKSRC= ${WRKDIR}/aiccu +BUILD_WRKSRC= ${WRKDIR}/aiccu/unix-console +PORTDOCS= README + +OPTIONS_DEFINE= GNUTLS LOG_DAEMON DOCS +GNUTLS_DESC= Use gnutls to secure TIC supporting starttls +LOG_DAEMON_DESC=Log to LOG_DAEMON instead to LOG_LOCAL7 + +OPTIONS_DEFAULT+= GNUTLS + +.include + +.if ${PORT_OPTIONS:MGNUTLS} +LIB_DEPENDS+= libgnutls-openssl.so:${PORTSDIR}/security/gnutls +CFLAGS+= -DAICCU_GNUTLS +LDFLAGS+= -lgnutls +.endif + +post-patch: + @${REINPLACE_CMD} \ + -e 's:verbose true:verbose false:' \ + -e 's:daemonize false:daemonize true:' \ + -e 's:automatic false:automatic true:' \ + -e 's:tunnel_id T2995:#tunnel_id TXXXX:' \ + -e 's:ipv4_interface eth0:ipv4_interface sis0:' \ + -e 's:ipv6_interface sixxs:ipv6_interface gif0:' \ + ${WRKSRC}/doc/aiccu.conf + +.if ${PORT_OPTIONS:MLOG_DAEMON} +do-configure: + @${REINPLACE_CMD} \ + -e 's:LOG_LOCAL7:LOG_DAEMON:' \ + ${WRKSRC}/common/common.c +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/unix-console/aiccu ${STAGEDIR}${PREFIX}/sbin/sixxs-aiccu + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${STAGEDIR}${PREFIX}/etc/aiccu.conf.sample + +.include Added: soc2015/roam/ports/net/sixxs-aiccu/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ soc2015/roam/ports/net/sixxs-aiccu/distinfo Sun Aug 2 22:51:20 2015 (r289120) @@ -0,0 +1,2 @@ +SHA256 (aiccu_20070115.tar.gz) = 2260f426c13471169ccff8cb4a3908dc5f79fda18ddb6a55363e7824e6c4c760 +SIZE (aiccu_20070115.tar.gz) = 70056 Added: soc2015/roam/ports/net/sixxs-aiccu/files/sixxs-aiccu.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ soc2015/roam/ports/net/sixxs-aiccu/files/sixxs-aiccu.in Sun Aug 2 22:51:20 2015 (r289120) @@ -0,0 +1,40 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: sixxs-aiccu +# REQUIRE: NETWORKING ldconfig + +# +# Add the following lines to /etc/rc.conf to enable sixxs-aiccu: +# +#sixxs_aiccu_enable="YES" +# + +. /etc/rc.subr + +name="sixxs_aiccu" +rcvar="sixxs_aiccu_enable" + +command="%%PREFIX%%/sbin/sixxs-aiccu" + +load_rc_config ${name} + +# set default +: ${sixxs_aiccu_enable="NO"} +: ${sixxs_aiccu_config="%%PREFIX%%/etc/aiccu.conf"} + +command_args="${sixxs_aiccu_config}" +required_files="${sixxs_aiccu_config}" +start_cmd="${command} start $command_args" +stop_cmd="${command} stop $command_args" +brokers_cmd="${command} brokers" +tunnels_cmd="${command} tunnels $command_args" +test_cmd="${command} test $command_args" +autotest_cmd="${command} autotest $command_args" +license_cmd="${command} license" +version_cmd="${command} version" +extra_commands="brokers tunnels test autotest license version" + +run_rc_command "$1" Added: soc2015/roam/ports/net/sixxs-aiccu/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ soc2015/roam/ports/net/sixxs-aiccu/pkg-descr Sun Aug 2 22:51:20 2015 (r289120) @@ -0,0 +1,4 @@ +This is the TIC+ heartbeart client for the public dynamic-IPv4 +IPv6 tunnel beta test from the SixXS tunnel service provider. + +WWW: http://www.sixxs.net/tools/aiccu/ Added: soc2015/roam/ports/net/sixxs-aiccu/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ soc2015/roam/ports/net/sixxs-aiccu/pkg-plist Sun Aug 2 22:51:20 2015 (r289120) @@ -0,0 +1,2 @@ +@sample etc/aiccu.conf.sample +sbin/sixxs-aiccu