From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 8 13:10:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B8D7324 for ; Sun, 8 Dec 2013 13:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5F0C3119D for ; Sun, 8 Dec 2013 13:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB8DA0Uc041610 for ; Sun, 8 Dec 2013 13:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB8DA0jt041600; Sun, 8 Dec 2013 13:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 8 Dec 2013 13:10:00 GMT Resent-Message-Id: <201312081310.rB8DA0jt041600@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, Mathieu Arnold Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 715FD229 for ; Sun, 8 Dec 2013 13:05:17 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 075631184 for ; Sun, 8 Dec 2013 13:05:14 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id B363CBDC78 for ; Sun, 8 Dec 2013 14:05:09 +0100 (CET) Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id 5F89BBDC64 for ; Sun, 8 Dec 2013 14:05:09 +0100 (CET) Received: from aragorn.in.absolight.net (aragorn.in.absolight.net [79.143.241.225]) by gw.in.absolight.net (Postfix) with ESMTP id 8EDAD6155 for ; Sun, 8 Dec 2013 14:05:08 +0100 (CET) Received: by aragorn.in.absolight.net (Postfix, from userid 1000) id EDFB514269C; Sun, 8 Dec 2013 14:05:07 +0100 (CET) Message-Id: <20131208130507.EDFB514269C@aragorn.in.absolight.net> Date: Sun, 8 Dec 2013 14:05:07 +0100 (CET) From: Mathieu Arnold To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/184589: [PATCH] net/linknx: update to 0.0.1.30 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 13:10:00 -0000 >Number: 184589 >Category: ports >Synopsis: [PATCH] net/linknx: update to 0.0.1.30 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Dec 08 13:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Mathieu Arnold >Release: FreeBSD 9.2-RELEASE i386 >Organization: Absolight >Environment: System: FreeBSD aragorn.in.absolight.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC >Description: - Update to 0.0.1.30 - Add LUA and MySQL support - Convert to new options framework - Support staging - Add LICENSE - New LIB_DEPENDS format If you don't have time to maintain the port further, I'll gladly take it on. Generated with FreeBSD Port Tools 0.99_11 (mode: update, diff: SVN) >How-To-Repeat: >Fix: --- linknx-0.0.1.30.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 335881) +++ Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= linknx -PORTVERSION= 0.0.1.25 -PORTREVISION= 4 +PORTVERSION= 0.0.1.30 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -10,36 +9,43 @@ MAINTAINER= bkoenig@alpha-tierchen.de COMMENT= Rule-based event handling in a KNX installation -LIB_DEPENDS= pthsem.20:${PORTSDIR}/devel/pthsem +LICENSE= GPLv2 + +LIB_DEPENDS= libpthsem.so:${PORTSDIR}/devel/pthsem BUILD_DEPENDS= ${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone +USES= gmake GNU_CONFIGURE= yes -USE_GMAKE= yes +USE_AUTOTOOLS= autoconf CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib" -OPTIONS_DEFINE= LIBESMTP LIBCURL +OPTIONS_DEFINE= LIBESMTP LIBCURL LIBLUA MYSQL OPTIONS_DEFAULT= LIBESMTP +OPTIONS_SUB= LIBESMTP_DESC= Install libesmtp for SMTP support LIBCURL_DESC= Install libcurl for Clickatell SMS support +LIBLUA_DESC= Install lilua for scripting +MYSQL_DESC= Install libmysql for logging & persist -NO_STAGE= yes -.include +LIBESMTP_CONFIGURE_ENABLE= smtp +LIBESMTP_LIB_DEPENDS= libesmtp.so:${PORTSDIR}/mail/libesmtp +LIBCURL_CONFIGURE_WITH= libcurl +LIBCURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl +LIBLUA_CONFIGURE_WITH= lua +LIBLUA_USE= lua=yes +LIBLUA_CFLAGS= -I${LUA_INCDIR} +LIBLUA_LDFLAGS= -L${LUA_LIBDIR} +MYSQL_CONFIGURE_WITH= mysql=${LOCALBASE}/bin/mysql_config +MYSQL_USE= mysql=yes -.if ${PORT_OPTIONS:MLIBESMTP} -CONFIGURE_ARGS+= --enable-smtp -LIB_DEPENDS+= esmtp.7:${PORTSDIR}/mail/libesmtp -.else -CONFIGURE_ARGS+= --disable-smtp -.endif +PORTDOCS= * -.if ${PORT_OPTIONS:MLIBCURL} -LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl -CONFIGURE_ARGS+= --with-libcurl=${LOCALBASE} -.else -CONFIGURE_ARGS+= --without-libcurl -.endif +PLIST_FILES= bin/linknx USE_RC_SUBR= ${PORTNAME} -.include +post-patch: + ${REINPLACE_CMD} "s/LUAPC=lua/LUAPC=lua-${LUA_VER}/" ${WRKSRC}/configure.ac + +.include Index: distinfo =================================================================== --- distinfo (revision 335881) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (linknx-0.0.1.25.tar.gz) = 2ad2db638d0f1542f34c0dce80ce8c5519c70cea80286d70ad7b91d923c5ff28 -SIZE (linknx-0.0.1.25.tar.gz) = 290886 +SHA256 (linknx-0.0.1.30.tar.gz) = 46e60620ad29d69bf3a1a3e9529322443c0d585e7e676ca7d441042b5fcad25e +SIZE (linknx-0.0.1.30.tar.gz) = 327809 Index: pkg-plist =================================================================== --- pkg-plist (revision 335881) +++ pkg-plist (working copy) @@ -1,4 +0,0 @@ -bin/linknx -%%DOCSDIR%%/linknx.xml -%%DOCSDIR%%/linknx_doc.tgz -@dirrm %%DOCSDIR%% --- linknx-0.0.1.30.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: