diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-09-01 21:19:27 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-09-01 21:19:27 +0000 |
commit | 76ed31cd8e8ed2da3291cc9e6ba80e32f4d4f450 (patch) | |
tree | dd4e362ea42868f04daf2a0c237823582ebb2212 /net-p2p/libktorrent | |
parent | a6b5e54aac859d7797d8b78a9b4aea7bdf9bf6f4 (diff) |
Notes
Diffstat (limited to 'net-p2p/libktorrent')
-rw-r--r-- | net-p2p/libktorrent/Makefile | 29 | ||||
-rw-r--r-- | net-p2p/libktorrent/distinfo | 3 | ||||
-rw-r--r-- | net-p2p/libktorrent/files/patch-src__net__socket.cpp | 18 | ||||
-rw-r--r-- | net-p2p/libktorrent/pkg-descr | 7 | ||||
-rw-r--r-- | net-p2p/libktorrent/pkg-plist | 238 |
5 files changed, 295 insertions, 0 deletions
diff --git a/net-p2p/libktorrent/Makefile b/net-p2p/libktorrent/Makefile new file mode 100644 index 000000000000..e85126a28165 --- /dev/null +++ b/net-p2p/libktorrent/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: libktorrent +# Date created: 2010-05-05 +# Whom: Max Brazhnikov <makc@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libktorrent +PORTVERSION= 1.0.3 +CATEGORIES= net-p2p kde +MASTER_SITES= http://ktorrent.org/downloads/${PORTVERSION:S,^1,4,}/ + +MAINTAINER= makc@FreeBSD.org +COMMENT= Torrent library split from KTorrent + +LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \ + qca.2:${PORTSDIR}/devel/qca \ + boost_thread.4:${PORTSDIR}/devel/boost-libs + +USE_BZIP2= yes +USE_KDE4= kdelibs kdehier kdeprefix automoc4 +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build moc_build rcc_build uic_build +USE_CMAKE= yes +USE_GETTEXT= yes +USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes + +.include <bsd.port.mk> diff --git a/net-p2p/libktorrent/distinfo b/net-p2p/libktorrent/distinfo new file mode 100644 index 000000000000..bb297bc56172 --- /dev/null +++ b/net-p2p/libktorrent/distinfo @@ -0,0 +1,3 @@ +MD5 (libktorrent-1.0.3.tar.bz2) = 575d3e67a858a64364cb66b65716200b +SHA256 (libktorrent-1.0.3.tar.bz2) = fab13e546034494fcf6f542fde4bc9d7aa8829b25c9d47dc05359e58d7f7caf9 +SIZE (libktorrent-1.0.3.tar.bz2) = 922388 diff --git a/net-p2p/libktorrent/files/patch-src__net__socket.cpp b/net-p2p/libktorrent/files/patch-src__net__socket.cpp new file mode 100644 index 000000000000..8b459b5412f5 --- /dev/null +++ b/net-p2p/libktorrent/files/patch-src__net__socket.cpp @@ -0,0 +1,18 @@ +--- ./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 diff --git a/net-p2p/libktorrent/pkg-descr b/net-p2p/libktorrent/pkg-descr new file mode 100644 index 000000000000..e22fb87289a4 --- /dev/null +++ b/net-p2p/libktorrent/pkg-descr @@ -0,0 +1,7 @@ +KTorrent has been split into the application ktorrent and the library +libktorrent. Libktorrent contains all the torrent downloading code, +and ktorrent contains all application code and plugins. The goal +is to make libktorrent an independent library (though still closely +related to ktorrent), which can be used by other applications. + +WWW: http://ktorrent.org/ diff --git a/net-p2p/libktorrent/pkg-plist b/net-p2p/libktorrent/pkg-plist new file mode 100644 index 000000000000..438ad865523c --- /dev/null +++ b/net-p2p/libktorrent/pkg-plist @@ -0,0 +1,238 @@ +include/libktorrent/bcodec/bdecoder.h +include/libktorrent/bcodec/bencoder.h +include/libktorrent/bcodec/bnode.h +include/libktorrent/bcodec/value.h +include/libktorrent/datachecker/datachecker.h +include/libktorrent/datachecker/datacheckerjob.h +include/libktorrent/datachecker/datacheckerlistener.h +include/libktorrent/datachecker/datacheckerthread.h +include/libktorrent/datachecker/multidatachecker.h +include/libktorrent/datachecker/singledatachecker.h +include/libktorrent/dht/announcetask.h +include/libktorrent/dht/database.h +include/libktorrent/dht/dht.h +include/libktorrent/dht/dhtbase.h +include/libktorrent/dht/dhtpeersource.h +include/libktorrent/dht/kbucket.h +include/libktorrent/dht/kclosestnodessearch.h +include/libktorrent/dht/key.h +include/libktorrent/dht/node.h +include/libktorrent/dht/nodelookup.h +include/libktorrent/dht/pack.h +include/libktorrent/dht/rpccall.h +include/libktorrent/dht/rpcmsg.h +include/libktorrent/dht/rpcserver.h +include/libktorrent/dht/task.h +include/libktorrent/dht/taskmanager.h +include/libktorrent/diskio/cache.h +include/libktorrent/diskio/cachefile.h +include/libktorrent/diskio/chunk.h +include/libktorrent/diskio/chunkmanager.h +include/libktorrent/diskio/deletedatafilesjob.h +include/libktorrent/diskio/dndfile.h +include/libktorrent/diskio/movedatafilesjob.h +include/libktorrent/diskio/multifilecache.h +include/libktorrent/diskio/piecedata.h +include/libktorrent/diskio/preallocationjob.h +include/libktorrent/diskio/preallocationthread.h +include/libktorrent/diskio/singlefilecache.h +include/libktorrent/download/chunkdownload.h +include/libktorrent/download/chunkselector.h +include/libktorrent/download/downloader.h +include/libktorrent/download/packet.h +include/libktorrent/download/piece.h +include/libktorrent/download/request.h +include/libktorrent/download/webseed.h +include/libktorrent/interfaces/blocklistinterface.h +include/libktorrent/interfaces/cachefactory.h +include/libktorrent/interfaces/chunkdownloadinterface.h +include/libktorrent/interfaces/chunkselectorinterface.h +include/libktorrent/interfaces/exitoperation.h +include/libktorrent/interfaces/logmonitorinterface.h +include/libktorrent/interfaces/monitorinterface.h +include/libktorrent/interfaces/peerinterface.h +include/libktorrent/interfaces/peersource.h +include/libktorrent/interfaces/piecedownloader.h +include/libktorrent/interfaces/queuemanagerinterface.h +include/libktorrent/interfaces/serverinterface.h +include/libktorrent/interfaces/torrentfileinterface.h +include/libktorrent/interfaces/torrentinterface.h +include/libktorrent/interfaces/trackerinterface.h +include/libktorrent/interfaces/trackerslist.h +include/libktorrent/interfaces/webseedinterface.h +include/libktorrent/ktorrent_export.h +include/libktorrent/magnet/magnetdownloader.h +include/libktorrent/magnet/magnetlink.h +include/libktorrent/magnet/metadatadownload.h +include/libktorrent/migrate/cachemigrate.h +include/libktorrent/migrate/ccmigrate.h +include/libktorrent/migrate/migrate.h +include/libktorrent/mse/bigint.h +include/libktorrent/mse/encryptedauthenticate.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/downloadthread.h +include/libktorrent/net/networkthread.h +include/libktorrent/net/poll.h +include/libktorrent/net/portlist.h +include/libktorrent/net/reverseresolver.h +include/libktorrent/net/socket.h +include/libktorrent/net/socketdevice.h +include/libktorrent/net/socketgroup.h +include/libktorrent/net/socketmonitor.h +include/libktorrent/net/socks.h +include/libktorrent/net/speed.h +include/libktorrent/net/uploadthread.h +include/libktorrent/net/wakeuppipe.h +include/libktorrent/peer/accessmanager.h +include/libktorrent/peer/authenticate.h +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 +include/libktorrent/peer/peerid.h +include/libktorrent/peer/peermanager.h +include/libktorrent/peer/peerprotocolextension.h +include/libktorrent/peer/peeruploader.h +include/libktorrent/peer/serverauthenticate.h +include/libktorrent/peer/utmetadata.h +include/libktorrent/peer/utpex.h +include/libktorrent/torrent/advancedchokealgorithm.h +include/libktorrent/torrent/choker.h +include/libktorrent/torrent/globals.h +include/libktorrent/torrent/job.h +include/libktorrent/torrent/jobqueue.h +include/libktorrent/torrent/peersourcemanager.h +include/libktorrent/torrent/server.h +include/libktorrent/torrent/statsfile.h +include/libktorrent/torrent/timeestimator.h +include/libktorrent/torrent/torrent.h +include/libktorrent/torrent/torrentcontrol.h +include/libktorrent/torrent/torrentcreator.h +include/libktorrent/torrent/torrentfile.h +include/libktorrent/torrent/torrentstats.h +include/libktorrent/torrent/uploader.h +include/libktorrent/tracker/httpannouncejob.h +include/libktorrent/tracker/httptracker.h +include/libktorrent/tracker/kioannouncejob.h +include/libktorrent/tracker/tracker.h +include/libktorrent/tracker/trackermanager.h +include/libktorrent/tracker/udptracker.h +include/libktorrent/tracker/udptrackersocket.h +include/libktorrent/util/array.h +include/libktorrent/util/autorotatelogjob.h +include/libktorrent/util/bitset.h +include/libktorrent/util/circularbuffer.h +include/libktorrent/util/compressfilejob.h +include/libktorrent/util/constants.h +include/libktorrent/util/decompressfilejob.h +include/libktorrent/util/error.h +include/libktorrent/util/extractfilejob.h +include/libktorrent/util/file.h +include/libktorrent/util/fileops.h +include/libktorrent/util/functions.h +include/libktorrent/util/log.h +include/libktorrent/util/logsystemmanager.h +include/libktorrent/util/pipe.h +include/libktorrent/util/ptrmap.h +include/libktorrent/util/sha1hash.h +include/libktorrent/util/sha1hashgen.h +include/libktorrent/util/timer.h +include/libktorrent/util/urlencoder.h +include/libktorrent/util/waitjob.h +include/libktorrent/util/win32.h +include/libktorrent/utp/connection.h +include/libktorrent/utp/delaywindow.h +include/libktorrent/utp/localwindow.h +include/libktorrent/utp/pollpipe.h +include/libktorrent/utp/remotewindow.h +include/libktorrent/utp/timevalue.h +include/libktorrent/utp/utpprotocol.h +include/libktorrent/utp/utpserver.h +include/libktorrent/utp/utpserverthread.h +include/libktorrent/utp/utpsocket.h +include/libktorrent/version.h +lib/libktorrent.so +lib/libktorrent.so.2 +lib/libktorrent.so.2.0.2 +share/apps/cmake/modules/FindKTorrent.cmake +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/ca/LC_MESSAGES/libktorrent.mo +share/locale/ca@valencia/LC_MESSAGES/libktorrent.mo +share/locale/cs/LC_MESSAGES/libktorrent.mo +share/locale/da/LC_MESSAGES/libktorrent.mo +share/locale/de/LC_MESSAGES/libktorrent.mo +share/locale/el/LC_MESSAGES/libktorrent.mo +share/locale/en_GB/LC_MESSAGES/libktorrent.mo +share/locale/eo/LC_MESSAGES/libktorrent.mo +share/locale/es/LC_MESSAGES/libktorrent.mo +share/locale/et/LC_MESSAGES/libktorrent.mo +share/locale/eu/LC_MESSAGES/libktorrent.mo +share/locale/fi/LC_MESSAGES/libktorrent.mo +share/locale/fr/LC_MESSAGES/libktorrent.mo +share/locale/ga/LC_MESSAGES/libktorrent.mo +share/locale/gl/LC_MESSAGES/libktorrent.mo +share/locale/hi/LC_MESSAGES/libktorrent.mo +share/locale/hne/LC_MESSAGES/libktorrent.mo +share/locale/hr/LC_MESSAGES/libktorrent.mo +share/locale/hu/LC_MESSAGES/libktorrent.mo +share/locale/is/LC_MESSAGES/libktorrent.mo +share/locale/it/LC_MESSAGES/libktorrent.mo +share/locale/ja/LC_MESSAGES/libktorrent.mo +share/locale/km/LC_MESSAGES/libktorrent.mo +share/locale/ku/LC_MESSAGES/libktorrent.mo +share/locale/lt/LC_MESSAGES/libktorrent.mo +share/locale/lv/LC_MESSAGES/libktorrent.mo +share/locale/ms/LC_MESSAGES/libktorrent.mo +share/locale/nb/LC_MESSAGES/libktorrent.mo +share/locale/nds/LC_MESSAGES/libktorrent.mo +share/locale/nl/LC_MESSAGES/libktorrent.mo +share/locale/nn/LC_MESSAGES/libktorrent.mo +share/locale/oc/LC_MESSAGES/libktorrent.mo +share/locale/pl/LC_MESSAGES/libktorrent.mo +share/locale/pt/LC_MESSAGES/libktorrent.mo +share/locale/pt_BR/LC_MESSAGES/libktorrent.mo +share/locale/ro/LC_MESSAGES/libktorrent.mo +share/locale/ru/LC_MESSAGES/libktorrent.mo +share/locale/se/LC_MESSAGES/libktorrent.mo +share/locale/si/LC_MESSAGES/libktorrent.mo +share/locale/sk/LC_MESSAGES/libktorrent.mo +share/locale/sl/LC_MESSAGES/libktorrent.mo +share/locale/sr/LC_MESSAGES/libktorrent.mo +share/locale/sr@ijekavian/LC_MESSAGES/libktorrent.mo +share/locale/sr@ijekavianlatin/LC_MESSAGES/libktorrent.mo +share/locale/sr@latin/LC_MESSAGES/libktorrent.mo +share/locale/sv/LC_MESSAGES/libktorrent.mo +share/locale/tr/LC_MESSAGES/libktorrent.mo +share/locale/uk/LC_MESSAGES/libktorrent.mo +share/locale/zh_CN/LC_MESSAGES/libktorrent.mo +share/locale/zh_TW/LC_MESSAGES/libktorrent.mo +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrm include/libktorrent/utp +@dirrm include/libktorrent/util +@dirrm include/libktorrent/tracker +@dirrm include/libktorrent/torrent +@dirrm include/libktorrent/peer +@dirrm include/libktorrent/net +@dirrm include/libktorrent/mse +@dirrm include/libktorrent/migrate +@dirrm include/libktorrent/magnet +@dirrm include/libktorrent/interfaces +@dirrm include/libktorrent/download +@dirrm include/libktorrent/diskio +@dirrm include/libktorrent/dht +@dirrm include/libktorrent/datachecker +@dirrm include/libktorrent/bcodec +@dirrm include/libktorrent |