diff --git a/net/libktorrent/Makefile b/net/libktorrent/Makefile new file mode 100644 index 00000000000..f8bcfff16a8 --- /dev/null +++ b/net/libktorrent/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2013/04/24 19:23:44 zhuk Exp $ + +CATEGORIES = net +COMMENT = KTorrent engine +V = 1.3.1 +DISTNAME = libktorrent-$V +HOMEPAGE = http://ktorrent.org/ + +EXTRACT_SUFX = .tar.bz2 + +SHARED_LIBS = ktorrent 0.0 + +# GPLv2+ +PERMIT_PACKAGE_CDROM = Yes + +WANTLIB = m pthread stdc++ +WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtSvg lib/qt4/QtXml +WANTLIB += lib/qt4/QtNetwork +WANTLIB += ${KDE4LIB}/kdeui ${KDE4LIB}/kio ${KDE4LIB}/solid +WANTLIB += gcrypt gmp qca2 + +MASTER_SITES = ${HOMEPAGE}downloads/${V:C/^./4/}/ + +MODULES = x11/kde4 +MODKDE4_USE = libs +MODKDE4_LIB_LINKS = Yes + +BUILD_DEPENDS = devel/boost \ + devel/doxygen + +LIB_DEPENDS = devel/gmp \ + security/libgcrypt \ + security/qca2 + +.include diff --git a/net/libktorrent/distinfo b/net/libktorrent/distinfo new file mode 100644 index 00000000000..893c53d873e --- /dev/null +++ b/net/libktorrent/distinfo @@ -0,0 +1,2 @@ +SHA256 (libktorrent-1.3.1.tar.bz2) = L+Ecy0vyAow9oR5SzeiQ8bOpBWDlSOrImk+OFViwlyU= +SIZE (libktorrent-1.3.1.tar.bz2) = 863105 diff --git a/net/libktorrent/patches/patch-src_net_address_h b/net/libktorrent/patches/patch-src_net_address_h new file mode 100644 index 00000000000..b2e6f8f5bb8 --- /dev/null +++ b/net/libktorrent/patches/patch-src_net_address_h @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_net_address_h,v 1.1.1.1 2013/04/24 19:23:44 zhuk Exp $ +--- src/net/address.h.orig Sun Jun 10 17:00:06 2012 ++++ src/net/address.h Sun Jun 10 17:01:40 2012 +@@ -20,6 +20,8 @@ + #ifndef NETADDRESS_H + #define NETADDRESS_H + ++#include ++#include + #include + #include + #include diff --git a/net/libktorrent/pkg/DESCR b/net/libktorrent/pkg/DESCR new file mode 100644 index 00000000000..a8e04c577a4 --- /dev/null +++ b/net/libktorrent/pkg/DESCR @@ -0,0 +1,7 @@ +KTorrent is a bittorrent application for KDE which allows you to +download files using the BitTorrent protocol. It enables you to run +multiple torrents at the same time and comes with extended features +to make it a full-featured client for BitTorrent. + +This package contains main KTorrent library, that could be used by +other apps than KTorrent itself. diff --git a/net/libktorrent/pkg/PLIST b/net/libktorrent/pkg/PLIST new file mode 100644 index 00000000000..2a1d1c5cc61 --- /dev/null +++ b/net/libktorrent/pkg/PLIST @@ -0,0 +1,270 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/24 19:23:44 zhuk Exp $ +include/kde4/libktorrent/ +include/kde4/libktorrent/bcodec/ +include/kde4/libktorrent/bcodec/bdecoder.h +include/kde4/libktorrent/bcodec/bencoder.h +include/kde4/libktorrent/bcodec/bnode.h +include/kde4/libktorrent/bcodec/value.h +include/kde4/libktorrent/datachecker/ +include/kde4/libktorrent/datachecker/datachecker.h +include/kde4/libktorrent/datachecker/datacheckerjob.h +include/kde4/libktorrent/datachecker/datacheckerthread.h +include/kde4/libktorrent/datachecker/multidatachecker.h +include/kde4/libktorrent/datachecker/singledatachecker.h +include/kde4/libktorrent/dht/ +include/kde4/libktorrent/dht/announcereq.h +include/kde4/libktorrent/dht/announcersp.h +include/kde4/libktorrent/dht/announcetask.h +include/kde4/libktorrent/dht/database.h +include/kde4/libktorrent/dht/dht.h +include/kde4/libktorrent/dht/dhtbase.h +include/kde4/libktorrent/dht/dhtpeersource.h +include/kde4/libktorrent/dht/findnodereq.h +include/kde4/libktorrent/dht/findnodersp.h +include/kde4/libktorrent/dht/getpeersreq.h +include/kde4/libktorrent/dht/getpeersrsp.h +include/kde4/libktorrent/dht/kbucket.h +include/kde4/libktorrent/dht/kbucketentry.h +include/kde4/libktorrent/dht/kbuckettable.h +include/kde4/libktorrent/dht/kclosestnodessearch.h +include/kde4/libktorrent/dht/key.h +include/kde4/libktorrent/dht/node.h +include/kde4/libktorrent/dht/nodelookup.h +include/kde4/libktorrent/dht/pack.h +include/kde4/libktorrent/dht/pingreq.h +include/kde4/libktorrent/dht/pingrsp.h +include/kde4/libktorrent/dht/rpccall.h +include/kde4/libktorrent/dht/rpcmsg.h +include/kde4/libktorrent/dht/rpcmsgfactory.h +include/kde4/libktorrent/dht/rpcserver.h +include/kde4/libktorrent/dht/rpcserverinterface.h +include/kde4/libktorrent/dht/task.h +include/kde4/libktorrent/dht/taskmanager.h +include/kde4/libktorrent/diskio/ +include/kde4/libktorrent/diskio/cache.h +include/kde4/libktorrent/diskio/cachefile.h +include/kde4/libktorrent/diskio/chunk.h +include/kde4/libktorrent/diskio/chunkmanager.h +include/kde4/libktorrent/diskio/deletedatafilesjob.h +include/kde4/libktorrent/diskio/dndfile.h +include/kde4/libktorrent/diskio/movedatafilesjob.h +include/kde4/libktorrent/diskio/multifilecache.h +include/kde4/libktorrent/diskio/piecedata.h +include/kde4/libktorrent/diskio/preallocationjob.h +include/kde4/libktorrent/diskio/preallocationthread.h +include/kde4/libktorrent/diskio/singlefilecache.h +include/kde4/libktorrent/download/ +include/kde4/libktorrent/download/chunkdownload.h +include/kde4/libktorrent/download/chunkselector.h +include/kde4/libktorrent/download/downloader.h +include/kde4/libktorrent/download/packet.h +include/kde4/libktorrent/download/piece.h +include/kde4/libktorrent/download/request.h +include/kde4/libktorrent/download/webseed.h +include/kde4/libktorrent/interfaces/ +include/kde4/libktorrent/interfaces/blocklistinterface.h +include/kde4/libktorrent/interfaces/cachefactory.h +include/kde4/libktorrent/interfaces/chunkdownloadinterface.h +include/kde4/libktorrent/interfaces/chunkselectorinterface.h +include/kde4/libktorrent/interfaces/exitoperation.h +include/kde4/libktorrent/interfaces/logmonitorinterface.h +include/kde4/libktorrent/interfaces/monitorinterface.h +include/kde4/libktorrent/interfaces/peerinterface.h +include/kde4/libktorrent/interfaces/peersource.h +include/kde4/libktorrent/interfaces/piecedownloader.h +include/kde4/libktorrent/interfaces/queuemanagerinterface.h +include/kde4/libktorrent/interfaces/serverinterface.h +include/kde4/libktorrent/interfaces/torrentfileinterface.h +include/kde4/libktorrent/interfaces/torrentinterface.h +include/kde4/libktorrent/interfaces/trackerinterface.h +include/kde4/libktorrent/interfaces/trackerslist.h +include/kde4/libktorrent/interfaces/webseedinterface.h +include/kde4/libktorrent/ktorrent_export.h +include/kde4/libktorrent/magnet/ +include/kde4/libktorrent/magnet/magnetdownloader.h +include/kde4/libktorrent/magnet/magnetlink.h +include/kde4/libktorrent/magnet/metadatadownload.h +include/kde4/libktorrent/migrate/ +include/kde4/libktorrent/migrate/cachemigrate.h +include/kde4/libktorrent/migrate/ccmigrate.h +include/kde4/libktorrent/migrate/migrate.h +include/kde4/libktorrent/mse/ +include/kde4/libktorrent/mse/bigint.h +include/kde4/libktorrent/mse/encryptedauthenticate.h +include/kde4/libktorrent/mse/encryptedpacketsocket.h +include/kde4/libktorrent/mse/encryptedserverauthenticate.h +include/kde4/libktorrent/mse/functions.h +include/kde4/libktorrent/mse/rc4encryptor.h +include/kde4/libktorrent/net/ +include/kde4/libktorrent/net/address.h +include/kde4/libktorrent/net/addressresolver.h +include/kde4/libktorrent/net/downloadthread.h +include/kde4/libktorrent/net/networkthread.h +include/kde4/libktorrent/net/packetsocket.h +include/kde4/libktorrent/net/poll.h +include/kde4/libktorrent/net/portlist.h +include/kde4/libktorrent/net/reverseresolver.h +include/kde4/libktorrent/net/serversocket.h +include/kde4/libktorrent/net/socket.h +include/kde4/libktorrent/net/socketdevice.h +include/kde4/libktorrent/net/socketgroup.h +include/kde4/libktorrent/net/socketmonitor.h +include/kde4/libktorrent/net/socks.h +include/kde4/libktorrent/net/speed.h +include/kde4/libktorrent/net/streamsocket.h +include/kde4/libktorrent/net/trafficshapedsocket.h +include/kde4/libktorrent/net/uploadthread.h +include/kde4/libktorrent/net/wakeuppipe.h +include/kde4/libktorrent/peer/ +include/kde4/libktorrent/peer/accessmanager.h +include/kde4/libktorrent/peer/authenticate.h +include/kde4/libktorrent/peer/authenticatebase.h +include/kde4/libktorrent/peer/authenticationmonitor.h +include/kde4/libktorrent/peer/chunkcounter.h +include/kde4/libktorrent/peer/connectionlimit.h +include/kde4/libktorrent/peer/packetreader.h +include/kde4/libktorrent/peer/peer.h +include/kde4/libktorrent/peer/peerconnector.h +include/kde4/libktorrent/peer/peerdownloader.h +include/kde4/libktorrent/peer/peerid.h +include/kde4/libktorrent/peer/peermanager.h +include/kde4/libktorrent/peer/peerprotocolextension.h +include/kde4/libktorrent/peer/peeruploader.h +include/kde4/libktorrent/peer/serverauthenticate.h +include/kde4/libktorrent/peer/superseeder.h +include/kde4/libktorrent/peer/utmetadata.h +include/kde4/libktorrent/peer/utpex.h +include/kde4/libktorrent/torrent/ +include/kde4/libktorrent/torrent/advancedchokealgorithm.h +include/kde4/libktorrent/torrent/choker.h +include/kde4/libktorrent/torrent/globals.h +include/kde4/libktorrent/torrent/job.h +include/kde4/libktorrent/torrent/jobqueue.h +include/kde4/libktorrent/torrent/peersourcemanager.h +include/kde4/libktorrent/torrent/server.h +include/kde4/libktorrent/torrent/statsfile.h +include/kde4/libktorrent/torrent/timeestimator.h +include/kde4/libktorrent/torrent/torrent.h +include/kde4/libktorrent/torrent/torrentcontrol.h +include/kde4/libktorrent/torrent/torrentcreator.h +include/kde4/libktorrent/torrent/torrentfile.h +include/kde4/libktorrent/torrent/torrentfilestream.h +include/kde4/libktorrent/torrent/torrentstats.h +include/kde4/libktorrent/torrent/uploader.h +include/kde4/libktorrent/tracker/ +include/kde4/libktorrent/tracker/httpannouncejob.h +include/kde4/libktorrent/tracker/httptracker.h +include/kde4/libktorrent/tracker/kioannouncejob.h +include/kde4/libktorrent/tracker/tracker.h +include/kde4/libktorrent/tracker/trackermanager.h +include/kde4/libktorrent/tracker/udptracker.h +include/kde4/libktorrent/tracker/udptrackersocket.h +include/kde4/libktorrent/upnp/ +include/kde4/libktorrent/upnp/upnpmcastsocket.h +include/kde4/libktorrent/upnp/upnprouter.h +include/kde4/libktorrent/util/ +include/kde4/libktorrent/util/array.h +include/kde4/libktorrent/util/autorotatelogjob.h +include/kde4/libktorrent/util/bitset.h +include/kde4/libktorrent/util/bufferpool.h +include/kde4/libktorrent/util/circularbuffer.h +include/kde4/libktorrent/util/compressfilejob.h +include/kde4/libktorrent/util/constants.h +include/kde4/libktorrent/util/decompressfilejob.h +include/kde4/libktorrent/util/error.h +include/kde4/libktorrent/util/extractfilejob.h +include/kde4/libktorrent/util/file.h +include/kde4/libktorrent/util/fileops.h +include/kde4/libktorrent/util/functions.h +include/kde4/libktorrent/util/log.h +include/kde4/libktorrent/util/logsystemmanager.h +include/kde4/libktorrent/util/pipe.h +include/kde4/libktorrent/util/ptrmap.h +include/kde4/libktorrent/util/resourcemanager.h +include/kde4/libktorrent/util/sha1hash.h +include/kde4/libktorrent/util/sha1hashgen.h +include/kde4/libktorrent/util/signalcatcher.h +include/kde4/libktorrent/util/timer.h +include/kde4/libktorrent/util/urlencoder.h +include/kde4/libktorrent/util/waitjob.h +include/kde4/libktorrent/util/win32.h +include/kde4/libktorrent/utp/ +include/kde4/libktorrent/utp/connection.h +include/kde4/libktorrent/utp/delaywindow.h +include/kde4/libktorrent/utp/localwindow.h +include/kde4/libktorrent/utp/packetbuffer.h +include/kde4/libktorrent/utp/pollpipe.h +include/kde4/libktorrent/utp/remotewindow.h +include/kde4/libktorrent/utp/timevalue.h +include/kde4/libktorrent/utp/utpprotocol.h +include/kde4/libktorrent/utp/utpserver.h +include/kde4/libktorrent/utp/utpserverthread.h +include/kde4/libktorrent/utp/utpsocket.h +include/kde4/libktorrent/version.h +@lib ${KDE4LIB}/libktorrent.so.${LIBktorrent_VERSION} +@lib lib/libktorrent.so.${LIBktorrent_VERSION} +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/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 +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/ +share/locale/hne/LC_MESSAGES/ +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/ +share/locale/se/LC_MESSAGES/ +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/ +share/locale/sr@ijekavian/LC_MESSAGES/ +share/locale/sr@ijekavian/LC_MESSAGES/libktorrent.mo +share/locale/sr@ijekavianlatin/ +share/locale/sr@ijekavianlatin/LC_MESSAGES/ +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/ug/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