From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 23 19:20:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C89A1065683 for ; Thu, 23 Oct 2008 19:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 379718FC1B for ; Thu, 23 Oct 2008 19:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9NJK2mL081060 for ; Thu, 23 Oct 2008 19:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9NJK2Fn081059; Thu, 23 Oct 2008 19:20:02 GMT (envelope-from gnats) Resent-Date: Thu, 23 Oct 2008 19:20:02 GMT Resent-Message-Id: <200810231920.m9NJK2Fn081059@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Björn König Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FE2C106566B for ; Thu, 23 Oct 2008 19:16:33 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de (mail.smartterra.de [195.225.132.203]) by mx1.freebsd.org (Postfix) with ESMTP id 93E918FC08 for ; Thu, 23 Oct 2008 19:16:32 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from home.alpha-tierchen.de (port-87-234-81-202.dynamic.qsc.de [87.234.81.202]) by mail.liberty-hosting.de (Postfix) with ESMTP id 41DAE3E9994 for ; Thu, 23 Oct 2008 21:10:37 +0200 (CEST) Received: by home.alpha-tierchen.de (Postfix, from userid 2000) id E07E2289D6; Thu, 23 Oct 2008 21:16:24 +0200 (CEST) Message-Id: <20081023191624.E07E2289D6@home.alpha-tierchen.de> Date: Thu, 23 Oct 2008 21:16:24 +0200 (CEST) From: Björn König To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/128320: New port: net/linknx X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Björn König List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 19:20:02 -0000 >Number: 128320 >Category: ports >Synopsis: New port: net/linknx >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 23 19:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Björn König >Release: >Organization: >Environment: >Description: From pkg-descr: LinKNX is a backend for controlling a KNX/EIB home and building automation system. It connects to eibd which is part of the BCU SDK and keeps state of KNX devices such as lamps, window blinds, heating and so on. Furthermore it provides a powerful, rule-based event after treatment, e.g. for switching other KNX devices, sending e-mail or SMS or executing a shell command. You can configure and control the LinKNX daemon using an XML-style protocol via TCP network socket or Unix domain socket. WWW: http://linknx.sourceforge.net/ >How-To-Repeat: >Fix: --- ports-net-linknx.shar begins here --- # 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: # # ports/net/linknx # ports/net/linknx/Makefile # ports/net/linknx/distinfo # ports/net/linknx/files # ports/net/linknx/files/linknx.in # ports/net/linknx/files/patch-src_eibclient.c # ports/net/linknx/pkg-descr # ports/net/linknx/pkg-plist # echo c - ports/net/linknx mkdir -p ports/net/linknx > /dev/null 2>&1 echo x - ports/net/linknx/Makefile sed 's/^X//' >ports/net/linknx/Makefile << 'cb3d2223c52cb34b8b3817a3ed159ea7' X# New ports collection makefile for: linknx X# Date Created: 23 October 2008 X# Whom: Björn König X# X# $FreeBSD$ X# X XPORTNAME= linknx XPORTVERSION= 0.0.1.25 XCATEGORIES= net XMASTER_SITES= SF X XMAINTAINER= bkoenig@alpha-tierchen.de XCOMMENT= Rule-based event handling in a KNX installation X XLIB_DEPENDS= pthsem.20:${PORTSDIR}/devel/pthsem XBUILD_DEPENDS= ${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XCONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib" X XOPTIONS= LIBESMTP "Install libesmtp for SMTP support" on \ X LIBCURL "Install libcurl for Clickatell SMS support" off X X.include X X.if (defined(WITH_LIBESMTP) || exists(${LOCALBASE}/include/libesmtp.h)) XCONFIGURE+= --enable-smtp XLIB_DEPENDS+= esmtp.6:${PORTSDIR}/mail/libesmtp X.endif X X.if (defined(WITH_LIBCURL) || exists(${LOCALBASE}/lib/libcurl.so)) XLIB_DEPENDS+= curl.4:${PORTSDIR}/ftp/curl X.endif X XUSE_RC_SUBR= ${PORTNAME} X X.include cb3d2223c52cb34b8b3817a3ed159ea7 echo x - ports/net/linknx/distinfo sed 's/^X//' >ports/net/linknx/distinfo << 'ca428fe728c029da9459a6e2c8f331c9' XSHA256 (linknx-0.0.1.25.tar.gz) = 2ad2db638d0f1542f34c0dce80ce8c5519c70cea80286d70ad7b91d923c5ff28 XMD5 (linknx-0.0.1.25.tar.gz) = 2e85192b5d482e301da35afb8e67c68a XSIZE (linknx-0.0.1.25.tar.gz) = 290886 ca428fe728c029da9459a6e2c8f331c9 echo c - ports/net/linknx/files mkdir -p ports/net/linknx/files > /dev/null 2>&1 echo x - ports/net/linknx/files/linknx.in sed 's/^X//' >ports/net/linknx/files/linknx.in << '5e77ac0b72697f7410b6fd3fdf8cff85' X#!/bin/sh X# X# $FreeBSD$ X# X X# PROVIDE: linknx X# REQUIRE: DAEMON X X# X# linknx_enable (bool): Set to "NO" by default. Set it X# to "YES" to enable linknx. X# X# linknx_console (str): The output of the daemon goes to this X# file. It is set to "/var/log/linknx.log" X# by default. Set it to "" to disable it. X# Recommended for production use. X# X# linknx_config (str): The default configuration file. By default X# there is no configuration file set. X# X X X. "%%RC_SUBR%%" X Xname="linknx" Xrcvar=`set_rcvar` X Xstart_precmd="linknx_precmd" X X: ${linknx_enable:="NO"} X: ${linknx_console:="/var/log/linknx.log"} X: ${linknx_config:=""} X: ${linknx_pidfile:="/var/run/linknx.pid"} X: ${linknx_flags:="--pid-file=${linknx_pidfile}"} X Xcommand="/usr/local/bin/$name" Xpidfile=${linknx_pidfile} X Xload_rc_config "$name" X Xlinknx_precmd() X{ X if [ -f "${linknx_console}" ]; then X echo "----------------" `date` "----------------" >> ${linknx_console} X fi X} X Xif [ "x${linknx_console}" != "x" ]; then X linknx_flags="${linknx_flags} --daemon=${linknx_console}" Xelse X linknx_flags="${linknx_flags} --daemon" Xfi X Xif [ "x${linknx_config}" != "x" ]; then X linknx_flags="${linknx_flags} --config=${linknx_config}" Xfi X Xrun_rc_command "$1" 5e77ac0b72697f7410b6fd3fdf8cff85 echo x - ports/net/linknx/files/patch-src_eibclient.c sed 's/^X//' >ports/net/linknx/files/patch-src_eibclient.c << 'f2fc583b470208323e4a7b7b56bd649b' X--- src/eibclient.c.orig 2007-12-29 22:23:06.000000000 +0100 X+++ src/eibclient.c 2008-10-23 20:15:56.000000000 +0200 X@@ -32,6 +32,7 @@ X #include X #include X #include X+#include X X #include "config.h" X f2fc583b470208323e4a7b7b56bd649b echo x - ports/net/linknx/pkg-descr sed 's/^X//' >ports/net/linknx/pkg-descr << 'e6ffb8228bf9d69f9a91762ba897a069' XLinKNX is a backend for controlling a KNX/EIB home and building automation Xsystem. It connects to eibd which is part of the BCU SDK and keeps state of XKNX devices such as lamps, window blinds, heating and so on. XFurthermore it provides a powerful, rule-based event after treatment, e.g. Xfor switching other KNX devices, sending e-mail or SMS or executing a shell Xcommand. You can configure and control the LinKNX daemon using an XML-style Xprotocol via TCP network socket or Unix domain socket. X XWWW: http://linknx.sourceforge.net/ e6ffb8228bf9d69f9a91762ba897a069 echo x - ports/net/linknx/pkg-plist sed 's/^X//' >ports/net/linknx/pkg-plist << '1999972d256fb28e02ccaa858807b023' Xbin/linknx X%%DOCSDIR%%/linknx.xml X%%DOCSDIR%%/linknx_doc.tgz X@dirrm %%DOCSDIR%% 1999972d256fb28e02ccaa858807b023 exit --- ports-net-linknx.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: