From owner-svn-ports-head@FreeBSD.ORG Mon Sep 8 17:04:07 2014 Return-Path: Delivered-To: svn-ports-head@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 8F617A95; Mon, 8 Sep 2014 17:04:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 7087E1B7E; Mon, 8 Sep 2014 17:04:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s88H476W076272; Mon, 8 Sep 2014 17:04:07 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s88H45su076250; Mon, 8 Sep 2014 17:04:05 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201409081704.s88H45su076250@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Mon, 8 Sep 2014 17:04:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367657 - in head/net-p2p: verlihub verlihub-plugins verlihub-plugins-chatroom verlihub-plugins-floodprotect verlihub-plugins-forbid verlihub-plugins-iplog verlihub-plugins-isp verlihub... X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 17:04:07 -0000 Author: tijl Date: Mon Sep 8 17:04:04 2014 New Revision: 367657 URL: http://svnweb.freebsd.org/changeset/ports/367657 QAT: https://qat.redports.org/buildarchive/r367657/ Log: net-p2p/verlihub: - Fix build with clang net-p2p/verlihub-plugins*: - Add USES=libtool and INSTALL_TARGET=install-strip - Drop USE_GCC=any - Avoid including bsd.port.pre.mk Added: head/net-p2p/verlihub/files/patch-src__casyncconn.cpp (contents, props changed) Modified: head/net-p2p/verlihub-plugins-chatroom/Makefile head/net-p2p/verlihub-plugins-floodprotect/Makefile head/net-p2p/verlihub-plugins-forbid/Makefile head/net-p2p/verlihub-plugins-iplog/Makefile head/net-p2p/verlihub-plugins-isp/Makefile head/net-p2p/verlihub-plugins-luascript/Makefile head/net-p2p/verlihub-plugins-messanger/Makefile head/net-p2p/verlihub-plugins-stats/Makefile head/net-p2p/verlihub-plugins/Makefile.plugins head/net-p2p/verlihub/Makefile Modified: head/net-p2p/verlihub-plugins-chatroom/Makefile ============================================================================== --- head/net-p2p/verlihub-plugins-chatroom/Makefile Mon Sep 8 16:58:56 2014 (r367656) +++ head/net-p2p/verlihub-plugins-chatroom/Makefile Mon Sep 8 17:04:04 2014 (r367657) @@ -3,7 +3,7 @@ PORTNAME= chatroom PORTVERSION= 1.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= SF/verlihub/VH_Chatroom/${DISTVERSION} @@ -11,6 +11,5 @@ MAINTAINER= me@skylord.ru PLUGIN_DESC= Chatroom -.include -.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins" -.include +.include "../verlihub-plugins/Makefile.plugins" +.include Modified: head/net-p2p/verlihub-plugins-floodprotect/Makefile ============================================================================== --- head/net-p2p/verlihub-plugins-floodprotect/Makefile Mon Sep 8 16:58:56 2014 (r367656) +++ head/net-p2p/verlihub-plugins-floodprotect/Makefile Mon Sep 8 17:04:04 2014 (r367657) @@ -3,16 +3,15 @@ PORTNAME= floodprotect PORTVERSION= 1.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= SF/verlihub/OldFiles +DISTNAME= ${PLUGIN_NAME} MAINTAINER= me@skylord.ru PLUGIN_NAME= floodprot PLUGIN_DESC= Floodprotect -.include -.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins" -DISTNAME= ${PLUGIN_NAME} -.include +.include "../verlihub-plugins/Makefile.plugins" +.include Modified: head/net-p2p/verlihub-plugins-forbid/Makefile ============================================================================== --- head/net-p2p/verlihub-plugins-forbid/Makefile Mon Sep 8 16:58:56 2014 (r367656) +++ head/net-p2p/verlihub-plugins-forbid/Makefile Mon Sep 8 17:04:04 2014 (r367657) @@ -3,7 +3,7 @@ PORTNAME= forbid PORTVERSION= 1.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= SF/verlihub/VH_Forbid/${DISTVERSION} @@ -11,6 +11,5 @@ MAINTAINER= me@skylord.ru PLUGIN_DESC= ForbiddenWords -.include -.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins" -.include +.include "../verlihub-plugins/Makefile.plugins" +.include Modified: head/net-p2p/verlihub-plugins-iplog/Makefile ============================================================================== --- head/net-p2p/verlihub-plugins-iplog/Makefile Mon Sep 8 16:58:56 2014 (r367656) +++ head/net-p2p/verlihub-plugins-iplog/Makefile Mon Sep 8 17:04:04 2014 (r367657) @@ -3,7 +3,7 @@ PORTNAME= iplog PORTVERSION= 1.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= SF/verlihub/VH_IPLog/${DISTVERSION} @@ -11,6 +11,5 @@ MAINTAINER= me@skylord.ru PLUGIN_DESC= IPLog -.include -.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins" -.include +.include "../verlihub-plugins/Makefile.plugins" +.include Modified: head/net-p2p/verlihub-plugins-isp/Makefile ============================================================================== --- head/net-p2p/verlihub-plugins-isp/Makefile Mon Sep 8 16:58:56 2014 (r367656) +++ head/net-p2p/verlihub-plugins-isp/Makefile Mon Sep 8 17:04:04 2014 (r367657) @@ -3,7 +3,7 @@ PORTNAME= isp PORTVERSION= 1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-p2p MASTER_SITES= SF/verlihub/VH_ISP/${DISTVERSION} @@ -13,6 +13,5 @@ PLUGIN_DESC= ISP PLIST_FILES= share/verlihub/default_pi_isp.sql -.include -.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins" -.include +.include "../verlihub-plugins/Makefile.plugins" +.include Modified: head/net-p2p/verlihub-plugins-luascript/Makefile ============================================================================== --- head/net-p2p/verlihub-plugins-luascript/Makefile Mon Sep 8 16:58:56 2014 (r367656) +++ head/net-p2p/verlihub-plugins-luascript/Makefile Mon Sep 8 17:04:04 2014 (r367657) @@ -3,7 +3,7 @@ PORTNAME= luascript PORTVERSION= 1.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-p2p PKGNAMEPREFIX= verlihub-plugins- MASTER_SITES= SF/verlihub/VH_Lua/${DISTVERSION} @@ -28,6 +28,7 @@ PLIST_DIRS= share/verlihub/scripts OPTIONS_DEFINE= SOCKET SOCKET_DESC= Build with LuaSocket support +.include "../verlihub-plugins/Makefile.plugins" .include .if ${PORT_OPTIONS:MSOCKET} @@ -44,11 +45,6 @@ post-patch:: .endif @${REINPLACE_CMD} -e 's|llua5\.1|llua-${LUA_VER}|g' \ ${WRKSRC}/configure - -.include -.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins" - -post-patch:: @${REINPLACE_CMD} -e 's|for libpath in /|for libpath in ${PREFIX} /|g' ${WRKSRC}/config_lua -.include +.include Modified: head/net-p2p/verlihub-plugins-messanger/Makefile ============================================================================== --- head/net-p2p/verlihub-plugins-messanger/Makefile Mon Sep 8 16:58:56 2014 (r367656) +++ head/net-p2p/verlihub-plugins-messanger/Makefile Mon Sep 8 17:04:04 2014 (r367657) @@ -3,7 +3,7 @@ PORTNAME= messanger PORTVERSION= 1.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= SF/verlihub/VH_Messanger/${DISTVERSION} @@ -11,6 +11,5 @@ MAINTAINER= me@skylord.ru PLUGIN_DESC= Messanger -.include -.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins" -.include +.include "../verlihub-plugins/Makefile.plugins" +.include Modified: head/net-p2p/verlihub-plugins-stats/Makefile ============================================================================== --- head/net-p2p/verlihub-plugins-stats/Makefile Mon Sep 8 16:58:56 2014 (r367656) +++ head/net-p2p/verlihub-plugins-stats/Makefile Mon Sep 8 17:04:04 2014 (r367657) @@ -3,7 +3,7 @@ PORTNAME= stats PORTVERSION= 1.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= SF/verlihub/VH_Stats/${DISTVERSION} @@ -11,6 +11,5 @@ MAINTAINER= me@skylord.ru PLUGIN_DESC= Statistics -.include -.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins" -.include +.include "../verlihub-plugins/Makefile.plugins" +.include Modified: head/net-p2p/verlihub-plugins/Makefile.plugins ============================================================================== --- head/net-p2p/verlihub-plugins/Makefile.plugins Mon Sep 8 16:58:56 2014 (r367656) +++ head/net-p2p/verlihub-plugins/Makefile.plugins Mon Sep 8 17:04:04 2014 (r367657) @@ -6,30 +6,29 @@ PLUGIN_NAME?= ${PORTNAME} PKGNAMEPREFIX= verlihub-plugins- -DISTNAME= ${PLUGIN_NAME}-${PORTVERSION} +DISTNAME?= ${PLUGIN_NAME}-${PORTVERSION} WRKSRC?= ${WRKDIR}/${PLUGIN_NAME} -COMMENT?= ${PLUGIN_DESC} plugin for the VerliHub - a Direct Connect protocol server +COMMENT?= ${PLUGIN_DESC} plugin for VerliHub - a Direct Connect protocol server BUILD_DEPENDS+= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net-p2p/verlihub RUN_DEPENDS+= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net-p2p/verlihub -USE_GCC= any GNU_CONFIGURE= yes -CFLAGS+= -fPIC +INSTALL_TARGET= install-strip +USES+= libtool +USE_GCC= any PLIST_FILES+= lib/lib${PLUGIN_NAME}_pi.a \ - lib/lib${PLUGIN_NAME}_pi.la \ lib/lib${PLUGIN_NAME}_pi.so \ lib/lib${PLUGIN_NAME}_pi.so.0 \ + lib/lib${PLUGIN_NAME}_pi.so.0.0.0 \ etc/verlihub/plugins/lib${PLUGIN_NAME}_pi.so +PLIST_DIRSTRY+= etc/verlihub/plugins etc/verlihub PKGMESSAGE= ${WRKDIR}/pkg-message PKGMESSAGE_TEMPLATE= ${PORTSDIR}/net-p2p/verlihub-plugins/pkg-message.plugins -post-patch:: - @${REINPLACE_CMD} -e 's,echo aout,echo elf,' ${WRKSRC}/configure - post-build:: @${SED} -e 's,%%PLUGIN_DESC%%,${PLUGIN_DESC},' < \ ${PKGMESSAGE_TEMPLATE} > ${PKGMESSAGE} @@ -38,5 +37,3 @@ post-install:: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/verlihub/plugins ${LN} -sf ../../../lib/lib${PLUGIN_NAME}_pi.so \ ${STAGEDIR}${PREFIX}/etc/verlihub/plugins - @${ECHO_CMD} '@unexec rmdir %D/etc/verlihub/plugins 2>/dev/null || true' >> ${TMPPLIST} - @${ECHO_CMD} '@unexec rmdir %D/etc/verlihub 2>/dev/null || true' >> ${TMPPLIST} Modified: head/net-p2p/verlihub/Makefile ============================================================================== --- head/net-p2p/verlihub/Makefile Mon Sep 8 16:58:56 2014 (r367656) +++ head/net-p2p/verlihub/Makefile Mon Sep 8 17:04:04 2014 (r367657) @@ -3,7 +3,7 @@ PORTNAME= verlihub DISTVERSION= 0.9.8e-r2 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/Verlihub/${DISTVERSION} @@ -18,9 +18,8 @@ LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net libpcre.so:${PORTSDIR}/devel/pcre RUN_DEPENDS= bash:${PORTSDIR}/shells/bash -LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= -L${LOCALBASE}/lib USE_RC_SUBR= verlihub -USE_GCC= any USES= libtool USE_MYSQL= yes GNU_CONFIGURE= yes Added: head/net-p2p/verlihub/files/patch-src__casyncconn.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/verlihub/files/patch-src__casyncconn.cpp Mon Sep 8 17:04:04 2014 (r367657) @@ -0,0 +1,18 @@ +--- src/casyncconn.cpp.orig 2009-07-10 20:23:05.000000000 +0200 ++++ src/casyncconn.cpp 2014-09-08 18:37:50.000000000 +0200 +@@ -90,7 +90,6 @@ + cAsyncConn::cAsyncConn(int desc, cAsyncSocketServer *s, tConnType ct): + cObj("cAsyncConn"), + mSockDesc(desc), +- mIterator(0), + ok(desc>0), + mWritable(true), + mExtraPoll(0), +@@ -147,7 +146,6 @@ + mBufReadPos(0), + mRegFlag(0), + mCloseAfter(0,0), +- mIterator(0), + ok(false), + mWritable(true), + mExtraPoll(0),