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...
Tijl Coosemans
tijl at FreeBSD.org
Mon Sep 8 17:04:07 UTC 2014
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 at skylord.ru
PLUGIN_DESC= Chatroom
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
-.include <bsd.port.post.mk>
+.include "../verlihub-plugins/Makefile.plugins"
+.include <bsd.port.mk>
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 at skylord.ru
PLUGIN_NAME= floodprot
PLUGIN_DESC= Floodprotect
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
-DISTNAME= ${PLUGIN_NAME}
-.include <bsd.port.post.mk>
+.include "../verlihub-plugins/Makefile.plugins"
+.include <bsd.port.mk>
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 at skylord.ru
PLUGIN_DESC= ForbiddenWords
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
-.include <bsd.port.post.mk>
+.include "../verlihub-plugins/Makefile.plugins"
+.include <bsd.port.mk>
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 at skylord.ru
PLUGIN_DESC= IPLog
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
-.include <bsd.port.post.mk>
+.include "../verlihub-plugins/Makefile.plugins"
+.include <bsd.port.mk>
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 <bsd.port.pre.mk>
-.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
-.include <bsd.port.post.mk>
+.include "../verlihub-plugins/Makefile.plugins"
+.include <bsd.port.mk>
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 <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSOCKET}
@@ -44,11 +45,6 @@ post-patch::
.endif
@${REINPLACE_CMD} -e 's|llua5\.1|llua-${LUA_VER}|g' \
${WRKSRC}/configure
-
-.include <bsd.port.pre.mk>
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>
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 at skylord.ru
PLUGIN_DESC= Messanger
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
-.include <bsd.port.post.mk>
+.include "../verlihub-plugins/Makefile.plugins"
+.include <bsd.port.mk>
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 at skylord.ru
PLUGIN_DESC= Statistics
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins"
-.include <bsd.port.post.mk>
+.include "../verlihub-plugins/Makefile.plugins"
+.include <bsd.port.mk>
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),
More information about the svn-ports-all
mailing list