Date: Sun, 2 Aug 2015 22:51:20 GMT 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 Message-ID: <201508022251.t72MpKJM064690@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <meno.abels@adviser.com> +# $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 <bsd.port.options.mk> + +.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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508022251.t72MpKJM064690>