From owner-svn-ports-head@FreeBSD.ORG Mon Feb 3 22:43:38 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 250508AA; Mon, 3 Feb 2014 22:43:38 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 10CAA1DD1; Mon, 3 Feb 2014 22:43:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s13Mhb31018984; Mon, 3 Feb 2014 22:43:37 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s13MhbUV018981; Mon, 3 Feb 2014 22:43:37 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201402032243.s13MhbUV018981@svn.freebsd.org> From: Rusmir Dusko Date: Mon, 3 Feb 2014 22:43:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342476 - in head/net-p2p: libtorrent-rasterbar libtorrent-rasterbar-python 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.17 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, 03 Feb 2014 22:43:38 -0000 Author: nemysis Date: Mon Feb 3 22:43:37 2014 New Revision: 342476 URL: http://svnweb.freebsd.org/changeset/ports/342476 QAT: https://qat.redports.org/buildarchive/r342476/ Log: net-p2p/libtorrent-rasterbar - Change master sites, use SF instead of GOOGLE_CODE - Change license BSD to BSD3CLAUSE - Disable all warnings with -w - Set PORTSCOUT, with 0.16.14 segmentation fault with qBittorrent Versions 3.1.5, 3.1.6, 3.1.8 - Add SHLIB_VER and PLIST_SUB - Add STRIP Option, and add to default Options - Strip libraries for Master and Slave Port net-p2p/libtorrent-rasterbar-python - Add STRIP to OPTIONS_EXCLUDE Modified: head/net-p2p/libtorrent-rasterbar-python/Makefile head/net-p2p/libtorrent-rasterbar/Makefile head/net-p2p/libtorrent-rasterbar/pkg-plist Modified: head/net-p2p/libtorrent-rasterbar-python/Makefile ============================================================================== --- head/net-p2p/libtorrent-rasterbar-python/Makefile Mon Feb 3 22:39:05 2014 (r342475) +++ head/net-p2p/libtorrent-rasterbar-python/Makefile Mon Feb 3 22:43:37 2014 (r342476) @@ -22,7 +22,7 @@ PYDISTUTILS_PKGNAME= python_libtorrent PLIST= ${NONEXISTENT} PLIST_FILES= %%PYTHON_SITELIBDIR%%/libtorrent.so -OPTIONS_EXCLUDE= DOCS EXAMPLES +OPTIONS_EXCLUDE= DOCS EXAMPLES STRIP # insure python paths are correctly identified CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \ Modified: head/net-p2p/libtorrent-rasterbar/Makefile ============================================================================== --- head/net-p2p/libtorrent-rasterbar/Makefile Mon Feb 3 22:39:05 2014 (r342475) +++ head/net-p2p/libtorrent-rasterbar/Makefile Mon Feb 3 22:43:37 2014 (r342476) @@ -5,13 +5,12 @@ PORTNAME= libtorrent-rasterbar PORTVERSION= 0.16.13 PORTREVISION= 2 CATEGORIES?= net-p2p ipv6 -MASTER_SITES= GOOGLE_CODE -PROJECTHOST= libtorrent +MASTER_SITES= SF/${PORTNAME:S/-rasterbar//}/${PORTNAME:S/-rasterbar//}/ MAINTAINER= nemysis@FreeBSD.org COMMENT?= C++ library implementing a BitTorrent client -LICENSE= BSD +LICENSE= BSD3CLAUSE LIB_DEPENDS?= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \ libGeoIP.so:${PORTSDIR}/net/GeoIP @@ -19,8 +18,12 @@ LIB_DEPENDS?= libboost_date_time.so:${PO USES= compiler:c++11-lang pathfix pkgconfig iconv USE_OPENSSL= yes GNU_CONFIGURE= yes +CFLAGS+= -w USE_LDCONFIG= yes +# Wrong versioning upstream +PORTSCOUT= skipv:0.16.14 + CONFIGURE_ARGS= --disable-debug \ --disable-static \ --enable-dht \ @@ -34,6 +37,9 @@ CONFIGURE_ARGS= --disable-debug \ --with-libiconv \ --with-openssl=${OPENSSLBASE} +SHLIB_VER= 7 +PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" + SUB_FILES= pkg-message PORTDOCS= * @@ -47,7 +53,8 @@ DOC_FILES2= *.png *.jpg *.gif *.html *.r PORTEXAMPLES= *.cpp -OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFINE= DOCS EXAMPLES STRIP +OPTIONS_DEFAULT= STRIP .include @@ -63,6 +70,14 @@ post-patch: ${WRKSRC}/Jamfile post-install: +.if ${PORT_OPTIONS:MSTRIP} + ${STRIP_CMD} \ + ${STAGEDIR}${PREFIX}/lib/libtorrent-rasterbar.so.${SHLIB_VER} +.else + ${STRIP_CMD} \ + ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages/libtorrent.so +.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR2} Modified: head/net-p2p/libtorrent-rasterbar/pkg-plist ============================================================================== --- head/net-p2p/libtorrent-rasterbar/pkg-plist Mon Feb 3 22:39:05 2014 (r342475) +++ head/net-p2p/libtorrent-rasterbar/pkg-plist Mon Feb 3 22:43:37 2014 (r342476) @@ -135,7 +135,7 @@ include/libtorrent/web_peer_connection.h include/libtorrent/xml_parse.hpp lib/libtorrent-rasterbar.la lib/libtorrent-rasterbar.so -lib/libtorrent-rasterbar.so.7 +lib/libtorrent-rasterbar.so.%%SHLIB_VER%% libdata/pkgconfig/libtorrent-rasterbar.pc @dirrm include/libtorrent/kademlia @dirrm include/libtorrent/extensions