ports/178592: net-p2p/libtorrent-rastarbar-16: Update to version 0.16.9
KATO Tsuguru
tkato432 at yahoo.com
Mon May 13 18:10:08 UTC 2013
>Number: 178592
>Category: ports
>Synopsis: net-p2p/libtorrent-rastarbar-16: Update to version 0.16.9
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon May 13 18:10:07 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 0.16.9
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# net-p2p_libtorrent-rasterbar-16.diff
# net-p2p_libtorrent-rasterbar-16-python.diff
#
echo x - net-p2p_libtorrent-rasterbar-16.diff
sed 's/^X//' >net-p2p_libtorrent-rasterbar-16.diff << '638fc653905070975c85727308696716'
Xdiff -urN /usr/ports/net-p2p/libtorrent-rasterbar-16/Makefile net-p2p/libtorrent-rasterbar-16/Makefile
X--- /usr/ports/net-p2p/libtorrent-rasterbar-16/Makefile 2013-04-27 22:32:14.000000000 +0900
X+++ net-p2p/libtorrent-rasterbar-16/Makefile 2013-05-14 00:00:49.000000000 +0900
X@@ -1,8 +1,8 @@
X # $FreeBSD: head/net-p2p/libtorrent-rasterbar-16/Makefile 316662 2013-04-27 11:59:28Z mva $
X
X PORTNAME= libtorrent-rasterbar
X-PORTVERSION= 0.16.7
X-PORTREVISION?= 2
X+PORTVERSION= 0.16.9
X+PORTREVISION?= 0
X CATEGORIES?= net-p2p ipv6
X MASTER_SITES= GOOGLE_CODE
X PROJECTHOST= libtorrent
X@@ -10,21 +10,18 @@
X MAINTAINER= ports at FreeBSD.org
X COMMENT?= C++ library implementing a BitTorrent client
X
X-MAKE_JOBS_SAFE= yes
X+LICENSE= BSD
X
X-CONFLICTS+= libtorrent-rasterbar-0.1[45789].*
X+LIB_DEPENDS= boost_date_time:${PORTSDIR}/devel/boost-libs \
X+ GeoIP:${PORTSDIR}/net/GeoIP
X
X NO_LATEST_LINK= yes
X
X-LIB_DEPENDS+= boost_date_time:${PORTSDIR}/devel/boost-libs \
X- GeoIP:${PORTSDIR}/net/GeoIP
X-
X-GNU_CONFIGURE= yes
X-USES= pathfix pkgconfig iconv
X-USE_LDCONFIG= yes
X+USES= iconv pathfix pkgconfig
X USE_OPENSSL= yes
X-
X-CONFIGURE_ARGS+= --disable-debug \
X+GNU_CONFIGURE= yes
X+CONFIGURE_ARGS+=--disable-silent-rules \
X+ --disable-debug \
X --disable-static \
X --enable-dht \
X --enable-encryption \
X@@ -36,33 +33,26 @@
X --with-libgeoip \
X --with-libiconv \
X --with-openssl=${OPENSSLBASE}
X+USE_LDCONFIG= yes
X+MAKE_JOBS_SAFE= yes
X
X-PORTDOCS= *
X-
X-OPTIONS_DEFINE= DOCS
X+CONFLICTS+= libtorrent-rasterbar-0.1[45789].*
X
X .include <bsd.port.pre.mk>
X
X-.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes" && defined(USE_PYTHON)
X-CONFIGURE_ARGS+= --enable-python-binding \
X- --with-boost-python=boost_python
X-.else
X+.if !defined(SLAVE_PORT) || ${SLAVE_PORT:L} != "yes"
X+OPTIONS_DEFINE= DOCS
X CONFIGURE_ARGS+= --disable-python-binding
X-.endif
X
X-.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes"
X-post-patch: slave-post-patch
X-.else
X+PORTDOCS= *
X+
X post-patch:
X- @${REINPLACE_CMD} -e 's|<include>/usr/local/include|<include>${PREFIX}/include|' \
X- ${WRKSRC}/Jamfile
X-.endif
X+ @${REINPLACE_CMD} -e \
X+ 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Jamfile
X+ @${REINPLACE_CMD} -e \
X+ 's|"-Os"|""|' ${WRKSRC}/configure
X
X-.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes"
X-post-install: slave-post-install
X-.else
X post-install:
X-.endif
X .if ${PORT_OPTIONS:MDOCS}
X @${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
X@@ -71,5 +61,6 @@
X ${INSTALL_DATA} ${WRKSRC}/docs/*.jpg ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/docs/*.png ${DOCSDIR}
X .endif
X+.endif
X
X .include <bsd.port.post.mk>
Xdiff -urN /usr/ports/net-p2p/libtorrent-rasterbar-16/distinfo net-p2p/libtorrent-rasterbar-16/distinfo
X--- /usr/ports/net-p2p/libtorrent-rasterbar-16/distinfo 2013-01-31 23:09:49.000000000 +0900
X+++ net-p2p/libtorrent-rasterbar-16/distinfo 2013-05-14 00:00:49.000000000 +0900
X@@ -1,2 +1,2 @@
X-SHA256 (libtorrent-rasterbar-0.16.7.tar.gz) = 6d3ec18ffb14e6637020f020b3a7ea1831ab02941f4698f30beedbfa63f30048
X-SIZE (libtorrent-rasterbar-0.16.7.tar.gz) = 2931824
X+SHA256 (libtorrent-rasterbar-0.16.9.tar.gz) = 7b7e1f68c75bd80c14a3b8ab937be0823363d60f32df1373fa6c76f9d7346f1d
X+SIZE (libtorrent-rasterbar-0.16.9.tar.gz) = 2945330
638fc653905070975c85727308696716
echo x - net-p2p_libtorrent-rasterbar-16-python.diff
sed 's/^X//' >net-p2p_libtorrent-rasterbar-16-python.diff << 'aaec2a8b2ac82799cc4912a09ef9bccd'
Xdiff -urN /usr/ports/net-p2p/libtorrent-rasterbar-16-python/Makefile net-p2p/libtorrent-rasterbar-16-python/Makefile
X--- /usr/ports/net-p2p/libtorrent-rasterbar-16-python/Makefile 2013-02-07 02:42:48.000000000 +0900
X+++ net-p2p/libtorrent-rasterbar-16-python/Makefile 2013-05-14 00:00:49.000000000 +0900
X@@ -1,39 +1,37 @@
X # $FreeBSD: head/net-p2p/libtorrent-rasterbar-16-python/Makefile 311774 2013-02-06 15:33:54Z bapt $
X
X-PORTREVISION= 2
X+PORTREVISION= 0
X
X PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
X COMMENT= Python bindings for libtorrent-rasterbar-16
X CATEGORIES= net-p2p python
X
X-USE_PYTHON= yes
X-
X LIB_DEPENDS+= boost_python:${PORTSDIR}/devel/boost-python-libs \
X- torrent-rasterbar.7:${PORTSDIR}/net-p2p/libtorrent-rasterbar-16
X+ torrent-rasterbar:${PORTSDIR}/net-p2p/libtorrent-rasterbar-16
X
X BUILD_WRKSRC= ${WRKSRC}/bindings/python
X INSTALL_WRKSRC= ${BUILD_WRKSRC}
X-PLIST= ${.CURDIR}/pkg-plist
X+
X+USE_PYTHON= yes
X INSTALLS_EGGINFO= yes
X PYDISTUTILS_PKGNAME= python_libtorrent
X
X-NOPORTDOCS= yes
X+CONFIGURE_ENV+= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \
X+ PYTHON_VERSION="${PYTHON_VERSION}"
X+CONFIGURE_ARGS+=--enable-python-binding \
X+ --with-boost-python=boost_python
X
X-slave-post-patch:
X- @${REINPLACE_CMD} -E -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
X- ${WRKSRC}/bindings/python/setup.py.in
X+PLIST= ${.CURDIR}/pkg-plist
X+
X+post-patch:
X+ @${REINPLACE_CMD} -e \
X+ '/LIBS=/s|-lpthread||g' ${WRKSRC}/configure
X
X-slave-post-install:
X+post-install:
X # fix installation permissions
X @${CHMOD} ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/libtorrent.so
X
X MASTERDIR= ${.CURDIR}/../libtorrent-rasterbar-16
X-.include "${MASTERDIR}/Makefile"
X
X-##
X-# information available after <bsd.port.pre.mk>
X-##
X-# insure python paths are correctly identified
X-CONFIGURE_ENV+= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \
X- PYTHON_VERSION="${PYTHON_VERSION}"
X+.include "${MASTERDIR}/Makefile"
aaec2a8b2ac82799cc4912a09ef9bccd
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list