aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2015-08-19 12:09:02 +0800
committermi <mi@FreeBSD.org>2015-08-19 12:09:02 +0800
commitc5aba1d481bec05608a4aeba0b0d644c08591688 (patch)
treef913a6af0143fa2680e0b79b09d63116c121655f /net-p2p
parent85757846464c0859a3e19d2f06b138df3dacb958 (diff)
downloadfreebsd-ports-gnome-c5aba1d481bec05608a4aeba0b0d644c08591688.tar.gz
freebsd-ports-gnome-c5aba1d481bec05608a4aeba0b0d644c08591688.tar.zst
freebsd-ports-gnome-c5aba1d481bec05608a4aeba0b0d644c08591688.zip
Upgrade libtorrent-rasterbar to 1.0.6 and qbittorrent -- to 3.2.3.
PR: 202118 (maybe)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/libtorrent-rasterbar/Makefile4
-rw-r--r--net-p2p/libtorrent-rasterbar/distinfo4
-rw-r--r--net-p2p/qbittorrent/Makefile16
-rw-r--r--net-p2p/qbittorrent/distinfo4
-rw-r--r--net-p2p/qbittorrent/files/patch-configure23
5 files changed, 20 insertions, 31 deletions
diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile
index 821f4b9835a5..ab1ef51a2922 100644
--- a/net-p2p/libtorrent-rasterbar/Makefile
+++ b/net-p2p/libtorrent-rasterbar/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= libtorrent-rasterbar
-PORTVERSION= 1.0.4
+PORTVERSION= 1.0.6
CATEGORIES?= net-p2p ipv6
-MASTER_SITES= SF/${PORTNAME:S/-rasterbar//}/${PORTNAME:S/-rasterbar//}/
+MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/libtorrent-${PORTVERSION:S/./_/g}/
MAINTAINER= ports@FreeBSD.org
COMMENT?= C++ library implementing a BitTorrent client
diff --git a/net-p2p/libtorrent-rasterbar/distinfo b/net-p2p/libtorrent-rasterbar/distinfo
index 58465798a4d9..002a80ea0d62 100644
--- a/net-p2p/libtorrent-rasterbar/distinfo
+++ b/net-p2p/libtorrent-rasterbar/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libtorrent-rasterbar-1.0.4.tar.gz) = 1f567823133b1493b9717afc8334eed691bf0ab452d4a2e0f644989f13ce9db0
-SIZE (libtorrent-rasterbar-1.0.4.tar.gz) = 3297242
+SHA256 (libtorrent-rasterbar-1.0.6.tar.gz) = c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61
+SIZE (libtorrent-rasterbar-1.0.6.tar.gz) = 3307491
diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile
index 6fab443dc80f..ab61a56a5394 100644
--- a/net-p2p/qbittorrent/Makefile
+++ b/net-p2p/qbittorrent/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= qbittorrent
-PORTVERSION= 3.2.0
+PORTVERSION= 3.2.3
DISTVERSIONPREFIX= release-
CATEGORIES= net-p2p ipv6
@@ -44,17 +44,17 @@ CONFIGURE_ENV+= zlib_CFLAGS=-I/usr/include
CONFIGURE_ENV+= zlib_LIBS=-lz
CONFIGURE_ARGS+= CXXFLAGS=-DBOOST_ASIO_DYN_LINK
+GNU_CONFIGURE= yes
USE_OPENSSL= yes
+post-patch:
+ ${REINPLACE_CMD} 's,^\$$QT_QMAKE,${LOCALBASE}/bin/qmake-qt4,' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
+
.include <bsd.port.options.mk>
-do-configure:
-.if defined(SLAVE_PORT) && ${SLAVE_PORT:tl} == "no"
- @cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \
- ./configure --prefix=${PREFIX} ${CONFIGURE_ARGS}
-.else
- @cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \
- ./configure --prefix=${PREFIX} ${CONFIGURE_ARGS} --disable-gui
+.if !defined(SLAVE_PORT) || ${SLAVE_PORT:tl} != "no"
+CONFIGURE_ARGS+= --disable-gui
.endif
post-install:
diff --git a/net-p2p/qbittorrent/distinfo b/net-p2p/qbittorrent/distinfo
index 9bd7ca438611..04a812e2df6c 100644
--- a/net-p2p/qbittorrent/distinfo
+++ b/net-p2p/qbittorrent/distinfo
@@ -1,2 +1,2 @@
-SHA256 (qBittorrent-qBittorrent-release-3.2.0_GH0.tar.xz) = 1ca59b532c36c1c4e5b87ddfb13789104ecfbf79cd09afc3b05a5871011d0a75
-SIZE (qBittorrent-qBittorrent-release-3.2.0_GH0.tar.xz) = 4467597
+SHA256 (qBittorrent-qBittorrent-release-3.2.3_GH0.tar.xz) = 816d611a0af50c469f52946c94b88c003f908ee031ee0e55a45273e4c64897c5
+SIZE (qBittorrent-qBittorrent-release-3.2.3_GH0.tar.xz) = 4601930
diff --git a/net-p2p/qbittorrent/files/patch-configure b/net-p2p/qbittorrent/files/patch-configure
index 596e5583a7a8..4a55e94bd1b0 100644
--- a/net-p2p/qbittorrent/files/patch-configure
+++ b/net-p2p/qbittorrent/files/patch-configure
@@ -1,22 +1,11 @@
---- configure.orig 2015-05-10 01:20:19 UTC
-+++ configure
-@@ -4263,7 +4263,7 @@ fi
- # Detect OS
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5
- $as_echo_n "checking whether OS is FreeBSD... " >&6; }
--if test "x$host_os" = "x*FreeBSD*"; then :
-+if expr "$host_os" : ".*freebsd.*" > /dev/null; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- $as_echo "yes" >&6; }
- LIBS="-lexecinfo $LIBS"
-@@ -5808,8 +5808,8 @@ extract() {
- return 1
+--- configure 2015-08-02 13:18:04 UTC
++++ configure 2015-08-19 00:00:14 -0400
+@@ -5809,7 +5809,7 @@
fi
-- # Convert " -" to "\n" if not between quotes
-- string=$(echo " $*" | $SED -e 's: -:\n:g' -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g")
-+ # Convert " -" to "\n" if not between quotes and remove possible leading white spaces
-+ string=$(echo " $*" | tr ' -' '\n' | $SED -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[:space:]*//')
+ # Convert " -" to "\n" if not between quotes and remove possible leading white spaces
+- string=$(echo " $*" | $SED -e 's: -:\n:g' -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[:space:]*//')
++ string=$(echo " $*" | tr ' -' '\n' | $SED -e 's: -:\n:g' -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[:space:]*//')
SAVEIFS=$IFS
IFS=$(printf "\n\b")
for i in $string; do