Bug 184589 - [PATCH] net/linknx: update to 0.0.1.30
Summary: [PATCH] net/linknx: update to 0.0.1.30
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-08 13:10 UTC by Mathieu Arnold
Modified: 2013-12-27 17:30 UTC (History)
0 users

See Also:


Attachments
linknx-0.0.1.30.patch (2.75 KB, patch)
2013-12-08 13:10 UTC, Mathieu Arnold
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer freebsd_triage 2013-12-08 13:10:00 UTC
- 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)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-08 13:10:07 UTC
Maintainer of net/linknx,

Please note that PR ports/184589 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184589

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-08 13:10:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2013-12-08 13:10:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mat

Take
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2013-12-27 17:28:08 UTC
State Changed
From-To: feedback->closed

Committed, thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-12-27 17:28:13 UTC
Author: mat
Date: Fri Dec 27 17:28:05 2013
New Revision: 337755
URL: http://svnweb.freebsd.org/changeset/ports/337755

Log:
  - Update to 0.0.1.30
  - Add LUA and MySQL support
  - Convert to new options framework
  - Support staging
  - Add LICENSE
  - New LIB_DEPENDS format
  
  maintainer timeout.
  
  PR:		ports/184589
  Submitted by:	mat

Deleted:
  head/net/linknx/pkg-plist
Modified:
  head/net/linknx/Makefile
  head/net/linknx/distinfo

Modified: head/net/linknx/Makefile
==============================================================================
--- head/net/linknx/Makefile	Fri Dec 27 17:25:49 2013	(r337754)
+++ head/net/linknx/Makefile	Fri Dec 27 17:28:05 2013	(r337755)
@@ -2,44 +2,50 @@
 # $FreeBSD$
 
 PORTNAME=	linknx
-PORTVERSION=	0.0.1.25
-PORTREVISION=	4
+PORTVERSION=	0.0.1.30
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 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
+
+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
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+PORTDOCS=	*
 
-.if ${PORT_OPTIONS:MLIBESMTP}
-CONFIGURE_ARGS+=	--enable-smtp
-LIB_DEPENDS+=	esmtp.7:${PORTSDIR}/mail/libesmtp
-.else
-CONFIGURE_ARGS+=	--disable-smtp
-.endif
-
-.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 <bsd.port.post.mk>
+post-patch:
+	${REINPLACE_CMD} "s/LUAPC=lua/LUAPC=lua-${LUA_VER}/" ${WRKSRC}/configure.ac
+
+.include <bsd.port.mk>

Modified: head/net/linknx/distinfo
==============================================================================
--- head/net/linknx/distinfo	Fri Dec 27 17:25:49 2013	(r337754)
+++ head/net/linknx/distinfo	Fri Dec 27 17:28:05 2013	(r337755)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"