1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update libktorrent to 1.2.0

Update ktorrent to 4.2.0
This commit is contained in:
Max Brazhnikov 2012-03-07 15:25:42 +00:00
parent c5fe5d7353
commit f7c01a2822
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292883
8 changed files with 33 additions and 35 deletions

View File

@ -6,18 +6,15 @@
#
PORTNAME= ktorrent
DISTVERSION= 4.1.3
PORTREVISION= 1
DISTVERSION= 4.2.0
CATEGORIES= net-p2p kde
MASTER_SITES= http://ktorrent.org/downloads/${DISTVERSION}/
MAINTAINER= makc@FreeBSD.org
COMMENT= BitTorrent client for KDE
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
qca.2:${PORTSDIR}/devel/qca \
tag.1:${PORTSDIR}/audio/taglib \
ktorrent.3:${PORTSDIR}/net-p2p/libktorrent
LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib \
ktorrent.4:${PORTSDIR}/net-p2p/libktorrent
USE_BZIP2= yes
USE_KDE4= kdelibs kdehier kdeprefix automoc4 pimlibs workspace
@ -30,8 +27,10 @@ MAKE_JOBS_SAFE= yes
CONFLICTS_BUILD= ktorrent-2*
SHLIB_VER= 12.0.2
SHLIB_VER= 13.0.0
PLIST_SUB+= SHLIB_VER=${SHLIB_VER} \
SHLIB_SHVER=${SHLIB_VER:R:R}
CMAKE_ARGS+= -DENABLE_KIO_MAGNET=1
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (ktorrent-4.1.3.tar.bz2) = 2f852f4ffdda976af38b85bf532e7d353dcf7b7dd7135a66af834543eb420646
SIZE (ktorrent-4.1.3.tar.bz2) = 2959837
SHA256 (ktorrent-4.2.0.tar.bz2) = f625b1dc116c94d97ce3b56a7a259b07d95f6592b709596319bf16bb06cf6422
SIZE (ktorrent-4.2.0.tar.bz2) = 3083219

View File

@ -223,6 +223,7 @@ share/locale/ar/LC_MESSAGES/ktorrent.mo
share/locale/ast/LC_MESSAGES/ktorrent.mo
share/locale/be/LC_MESSAGES/ktorrent.mo
share/locale/bg/LC_MESSAGES/ktorrent.mo
share/locale/bs/LC_MESSAGES/ktorrent.mo
share/locale/ca/LC_MESSAGES/ktorrent.mo
share/locale/ca@valencia/LC_MESSAGES/ktorrent.mo
share/locale/cs/LC_MESSAGES/ktorrent.mo
@ -246,6 +247,7 @@ share/locale/is/LC_MESSAGES/ktorrent.mo
share/locale/it/LC_MESSAGES/ktorrent.mo
share/locale/ja/LC_MESSAGES/ktorrent.mo
share/locale/km/LC_MESSAGES/ktorrent.mo
share/locale/ku/LC_MESSAGES/ktorrent.mo
share/locale/lt/LC_MESSAGES/ktorrent.mo
share/locale/lv/LC_MESSAGES/ktorrent.mo
share/locale/mai/LC_MESSAGES/ktorrent.mo
@ -264,6 +266,7 @@ share/locale/se/LC_MESSAGES/ktorrent.mo
share/locale/si/LC_MESSAGES/ktorrent.mo
share/locale/sk/LC_MESSAGES/ktorrent.mo
share/locale/sl/LC_MESSAGES/ktorrent.mo
share/locale/sq/LC_MESSAGES/ktorrent.mo
share/locale/sr/LC_MESSAGES/ktorrent.mo
share/locale/sr@ijekavian/LC_MESSAGES/ktorrent.mo
share/locale/sr@ijekavianlatin/LC_MESSAGES/ktorrent.mo

View File

@ -6,8 +6,7 @@
#
PORTNAME= libktorrent
DISTVERSION= 1.1.3
PORTREVISION= 1
DISTVERSION= 1.2.0
CATEGORIES= net-p2p kde
MASTER_SITES= http://ktorrent.org/downloads/${DISTVERSION:S,^1,4,}/
@ -27,7 +26,7 @@ USE_GETTEXT= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
SHLIB_VER= 3.0.3
SHLIB_VER= 4.0.0
PLIST_SUB+= SHLIB_VER=${SHLIB_VER} \
SHLIB_SHVER=${SHLIB_VER:R:R}

View File

@ -1,2 +1,2 @@
SHA256 (libktorrent-1.1.3.tar.bz2) = b6a0c9f2e2a9ce0bb16cb3b82cac894ab43bdaaa95736a26f41778d7aae97b57
SIZE (libktorrent-1.1.3.tar.bz2) = 922651
SHA256 (libktorrent-1.2.0.tar.bz2) = 24801cd43dfb78a5b8f4c468283dc774ad4025f1bf71909d79344414a8ff8298
SIZE (libktorrent-1.2.0.tar.bz2) = 919037

View File

@ -0,0 +1,10 @@
--- ./src/net/address.cpp.orig 2012-02-28 17:35:19.000000000 +0000
+++ ./src/net/address.cpp 2012-03-06 13:36:25.728553394 +0000
@@ -21,6 +21,7 @@
#include "address.h"
#include <arpa/inet.h>
#include <util/log.h>
+#include <sys/socket.h>
using namespace bt;

View File

@ -1,18 +0,0 @@
--- ./src/net/socket.cpp.orig 2010-06-14 20:29:14.000000000 +0400
+++ ./src/net/socket.cpp 2010-06-16 01:32:57.006817314 +0400
@@ -54,6 +54,15 @@
#define errno WSAGetLastError()
#endif
#include <kdebug.h>
+
+#ifndef SOL_IP
+#define SOL_IP IPPROTO_IP
+#endif
+
+#ifndef SOL_IPV6
+#define SOL_IPV6 IPPROTO_IPV6
+#endif
+
using namespace bt;
namespace net

View File

@ -68,14 +68,15 @@ include/libktorrent/migrate/ccmigrate.h
include/libktorrent/migrate/migrate.h
include/libktorrent/mse/bigint.h
include/libktorrent/mse/encryptedauthenticate.h
include/libktorrent/mse/encryptedpacketsocket.h
include/libktorrent/mse/encryptedserverauthenticate.h
include/libktorrent/mse/functions.h
include/libktorrent/mse/rc4encryptor.h
include/libktorrent/mse/streamsocket.h
include/libktorrent/net/address.h
include/libktorrent/net/bufferedsocket.h
include/libktorrent/net/addressresolver.h
include/libktorrent/net/downloadthread.h
include/libktorrent/net/networkthread.h
include/libktorrent/net/packetsocket.h
include/libktorrent/net/poll.h
include/libktorrent/net/portlist.h
include/libktorrent/net/reverseresolver.h
@ -86,6 +87,8 @@ include/libktorrent/net/socketgroup.h
include/libktorrent/net/socketmonitor.h
include/libktorrent/net/socks.h
include/libktorrent/net/speed.h
include/libktorrent/net/streamsocket.h
include/libktorrent/net/trafficshapedsocket.h
include/libktorrent/net/uploadthread.h
include/libktorrent/net/wakeuppipe.h
include/libktorrent/peer/accessmanager.h
@ -94,7 +97,6 @@ include/libktorrent/peer/authenticatebase.h
include/libktorrent/peer/authenticationmonitor.h
include/libktorrent/peer/chunkcounter.h
include/libktorrent/peer/packetreader.h
include/libktorrent/peer/packetwriter.h
include/libktorrent/peer/peer.h
include/libktorrent/peer/peerconnector.h
include/libktorrent/peer/peerdownloader.h
@ -134,6 +136,7 @@ include/libktorrent/upnp/upnprouter.h
include/libktorrent/util/array.h
include/libktorrent/util/autorotatelogjob.h
include/libktorrent/util/bitset.h
include/libktorrent/util/bufferpool.h
include/libktorrent/util/circularbuffer.h
include/libktorrent/util/compressfilejob.h
include/libktorrent/util/constants.h
@ -158,6 +161,7 @@ include/libktorrent/util/win32.h
include/libktorrent/utp/connection.h
include/libktorrent/utp/delaywindow.h
include/libktorrent/utp/localwindow.h
include/libktorrent/utp/packetbuffer.h
include/libktorrent/utp/pollpipe.h
include/libktorrent/utp/remotewindow.h
include/libktorrent/utp/timevalue.h
@ -174,6 +178,7 @@ share/locale/ar/LC_MESSAGES/libktorrent.mo
share/locale/ast/LC_MESSAGES/libktorrent.mo
share/locale/be/LC_MESSAGES/libktorrent.mo
share/locale/bg/LC_MESSAGES/libktorrent.mo
share/locale/bs/LC_MESSAGES/libktorrent.mo
share/locale/ca/LC_MESSAGES/libktorrent.mo
share/locale/ca@valencia/LC_MESSAGES/libktorrent.mo
share/locale/cs/LC_MESSAGES/libktorrent.mo