From b7fade6f89869eb9402a02aaca13662f466c8165 Mon Sep 17 00:00:00 2001 From: Markus Brueffer Date: Wed, 13 Jul 2005 10:51:35 +0000 Subject: [PATCH] Add ktorrent 1.0, a BitTorrent client for KDE. Its main features are: o Download torrent files o Upload speed capping, seeing that most people can't upload infinite amounts of data o Internet searching using The Bittorrent website's search engine o UDP Trackers WWW: http://ktorrent.pwsp.net/ --- net-p2p/ktorrent-devel/Makefile | 24 +++++ net-p2p/ktorrent-devel/distinfo | 2 + .../files/patch-libtorrent-udptracker.cpp | 10 ++ net-p2p/ktorrent-devel/pkg-descr | 9 ++ net-p2p/ktorrent-devel/pkg-plist | 95 +++++++++++++++++++ net-p2p/ktorrent/Makefile | 24 +++++ net-p2p/ktorrent/distinfo | 2 + .../files/patch-libtorrent-udptracker.cpp | 10 ++ net-p2p/ktorrent/pkg-descr | 9 ++ net-p2p/ktorrent/pkg-plist | 95 +++++++++++++++++++ net-p2p/ktorrent2/Makefile | 24 +++++ net-p2p/ktorrent2/distinfo | 2 + .../files/patch-libtorrent-udptracker.cpp | 10 ++ net-p2p/ktorrent2/pkg-descr | 9 ++ net-p2p/ktorrent2/pkg-plist | 95 +++++++++++++++++++ net/Makefile | 1 + net/ktorrent/Makefile | 24 +++++ net/ktorrent/distinfo | 2 + .../files/patch-libtorrent-udptracker.cpp | 10 ++ net/ktorrent/pkg-descr | 9 ++ net/ktorrent/pkg-plist | 95 +++++++++++++++++++ 21 files changed, 561 insertions(+) create mode 100644 net-p2p/ktorrent-devel/Makefile create mode 100644 net-p2p/ktorrent-devel/distinfo create mode 100644 net-p2p/ktorrent-devel/files/patch-libtorrent-udptracker.cpp create mode 100644 net-p2p/ktorrent-devel/pkg-descr create mode 100644 net-p2p/ktorrent-devel/pkg-plist create mode 100644 net-p2p/ktorrent/Makefile create mode 100644 net-p2p/ktorrent/distinfo create mode 100644 net-p2p/ktorrent/files/patch-libtorrent-udptracker.cpp create mode 100644 net-p2p/ktorrent/pkg-descr create mode 100644 net-p2p/ktorrent/pkg-plist create mode 100644 net-p2p/ktorrent2/Makefile create mode 100644 net-p2p/ktorrent2/distinfo create mode 100644 net-p2p/ktorrent2/files/patch-libtorrent-udptracker.cpp create mode 100644 net-p2p/ktorrent2/pkg-descr create mode 100644 net-p2p/ktorrent2/pkg-plist create mode 100644 net/ktorrent/Makefile create mode 100644 net/ktorrent/distinfo create mode 100644 net/ktorrent/files/patch-libtorrent-udptracker.cpp create mode 100644 net/ktorrent/pkg-descr create mode 100644 net/ktorrent/pkg-plist diff --git a/net-p2p/ktorrent-devel/Makefile b/net-p2p/ktorrent-devel/Makefile new file mode 100644 index 000000000000..09703274ec36 --- /dev/null +++ b/net-p2p/ktorrent-devel/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: ktorrent +# Date created: Wed Jul 13 11:38:46 CEST 2005 +# Whom: Markus Brueffer +# +# $FreeBSD$ +# + +PORTNAME= ktorrent +PORTVERSION= 1.0 +CATEGORIES= net kde +MASTER_SITES= http://ktorrent.pwsp.net/downloads/ + +MAINTAINER= markus@FreeBSD.org +COMMENT= BitTorrent client for KDE + +USE_KDELIBS_VER=3 +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT} + +.include diff --git a/net-p2p/ktorrent-devel/distinfo b/net-p2p/ktorrent-devel/distinfo new file mode 100644 index 000000000000..d2a94213c535 --- /dev/null +++ b/net-p2p/ktorrent-devel/distinfo @@ -0,0 +1,2 @@ +MD5 (ktorrent-1.0.tar.gz) = ea1503979903566c94b809130eb57da8 +SIZE (ktorrent-1.0.tar.gz) = 771010 diff --git a/net-p2p/ktorrent-devel/files/patch-libtorrent-udptracker.cpp b/net-p2p/ktorrent-devel/files/patch-libtorrent-udptracker.cpp new file mode 100644 index 000000000000..fd021170533c --- /dev/null +++ b/net-p2p/ktorrent-devel/files/patch-libtorrent-udptracker.cpp @@ -0,0 +1,10 @@ +--- libtorrent/udptracker.cpp.orig Wed Jul 13 12:33:37 2005 ++++ libtorrent/udptracker.cpp Wed Jul 13 12:34:07 2005 +@@ -18,6 +18,7 @@ + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include ++#include + #include + #include + diff --git a/net-p2p/ktorrent-devel/pkg-descr b/net-p2p/ktorrent-devel/pkg-descr new file mode 100644 index 000000000000..aecb74c10aff --- /dev/null +++ b/net-p2p/ktorrent-devel/pkg-descr @@ -0,0 +1,9 @@ +KTorrent is a BitTorrent client for KDE. Its main features are: + + o Download torrent files + o Upload speed capping, seeing that most people can't upload infinite + amounts of data + o Internet searching using The Bittorrent website's search engine + o UDP Trackers + +WWW: http://ktorrent.pwsp.net/ diff --git a/net-p2p/ktorrent-devel/pkg-plist b/net-p2p/ktorrent-devel/pkg-plist new file mode 100644 index 000000000000..c9b6fef79213 --- /dev/null +++ b/net-p2p/ktorrent-devel/pkg-plist @@ -0,0 +1,95 @@ +bin/ktorrent +lib/libktorrent.la +lib/libktorrent.so +lib/libktorrent.so.0 +share/applications/kde/ktorrent.desktop +share/applnk/Internet/ktorrent.desktop +share/apps/ktorrent/icons/hicolor/128x128/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/16x16/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/22x22/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/32x32/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/48x48/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/64x64/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/64x64/filesystems/ktprefdownloads.png +share/apps/ktorrent/icons/hicolor/scalable/apps/ktorrent.svgz +share/apps/ktorrent/ktorrentui.rc +share/config.kcfg/ktorrent.kcfg +share/icons/hicolor/128x128/apps/ktorrent.png +share/icons/hicolor/16x16/apps/ktorrent.png +share/icons/hicolor/22x22/apps/ktorrent.png +share/icons/hicolor/32x32/apps/ktorrent.png +share/icons/hicolor/48x48/apps/ktorrent.png +share/icons/hicolor/64x64/apps/ktorrent.png +share/icons/hicolor/scalable/apps/ktorrent.svgz +share/locale/br/LC_MESSAGES/ktorrent.mo +share/locale/cs/LC_MESSAGES/ktorrent.mo +share/locale/da/LC_MESSAGES/ktorrent.mo +share/locale/de/LC_MESSAGES/ktorrent.mo +share/locale/el/LC_MESSAGES/ktorrent.mo +share/locale/en_GB/LC_MESSAGES/ktorrent.mo +share/locale/et/LC_MESSAGES/ktorrent.mo +share/locale/fr/LC_MESSAGES/ktorrent.mo +share/locale/ga/LC_MESSAGES/ktorrent.mo +share/locale/hu/LC_MESSAGES/ktorrent.mo +share/locale/it/LC_MESSAGES/ktorrent.mo +share/locale/nl/LC_MESSAGES/ktorrent.mo +share/locale/pl/LC_MESSAGES/ktorrent.mo +share/locale/pt/LC_MESSAGES/ktorrent.mo +share/locale/ru/LC_MESSAGES/ktorrent.mo +share/locale/sr/LC_MESSAGES/ktorrent.mo +share/locale/sr@Latn/LC_MESSAGES/ktorrent.mo +share/locale/sv/LC_MESSAGES/ktorrent.mo +share/locale/tr/LC_MESSAGES/ktorrent.mo +share/locale/uk/LC_MESSAGES/ktorrent.mo +@unexec rmdir %D/share/locale/uk/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/uk 2>/dev/null || true +@unexec rmdir %D/share/locale/sr/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/sr 2>/dev/null || true +@unexec rmdir %D/share/locale/pt/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/pt 2>/dev/null || true +@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/pl 2>/dev/null || true +@unexec rmdir %D/share/locale/el/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/el 2>/dev/null || true +@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/cs 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/scalable/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/scalable 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/64x64/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/64x64 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/22x22/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/22x22 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/128x128/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/128x128 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true +@unexec rmdir %D/share/icons 2>/dev/null || true +@unexec rmdir %D/share/config.kcfg 2>/dev/null || true +@dirrm share/apps/ktorrent/icons/hicolor/scalable/apps +@dirrm share/apps/ktorrent/icons/hicolor/scalable +@dirrm share/apps/ktorrent/icons/hicolor/64x64/filesystems +@dirrm share/apps/ktorrent/icons/hicolor/64x64/apps +@dirrm share/apps/ktorrent/icons/hicolor/64x64 +@dirrm share/apps/ktorrent/icons/hicolor/48x48/apps +@dirrm share/apps/ktorrent/icons/hicolor/48x48 +@dirrm share/apps/ktorrent/icons/hicolor/32x32/apps +@dirrm share/apps/ktorrent/icons/hicolor/32x32 +@dirrm share/apps/ktorrent/icons/hicolor/22x22/apps +@dirrm share/apps/ktorrent/icons/hicolor/22x22 +@dirrm share/apps/ktorrent/icons/hicolor/16x16/apps +@dirrm share/apps/ktorrent/icons/hicolor/16x16 +@dirrm share/apps/ktorrent/icons/hicolor/128x128/apps +@dirrm share/apps/ktorrent/icons/hicolor/128x128 +@dirrm share/apps/ktorrent/icons/hicolor +@dirrm share/apps/ktorrent/icons +@dirrm share/apps/ktorrent +@unexec rmdir %D/share/apps 2>/dev/null || true +@unexec rmdir %D/share/applnk/Internet 2>/dev/null || true +@unexec rmdir %D/share/applnk 2>/dev/null || true +@unexec rmdir %D/share/applications/kde 2>/dev/null || true +@unexec rmdir %D/share/applications 2>/dev/null || true diff --git a/net-p2p/ktorrent/Makefile b/net-p2p/ktorrent/Makefile new file mode 100644 index 000000000000..09703274ec36 --- /dev/null +++ b/net-p2p/ktorrent/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: ktorrent +# Date created: Wed Jul 13 11:38:46 CEST 2005 +# Whom: Markus Brueffer +# +# $FreeBSD$ +# + +PORTNAME= ktorrent +PORTVERSION= 1.0 +CATEGORIES= net kde +MASTER_SITES= http://ktorrent.pwsp.net/downloads/ + +MAINTAINER= markus@FreeBSD.org +COMMENT= BitTorrent client for KDE + +USE_KDELIBS_VER=3 +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT} + +.include diff --git a/net-p2p/ktorrent/distinfo b/net-p2p/ktorrent/distinfo new file mode 100644 index 000000000000..d2a94213c535 --- /dev/null +++ b/net-p2p/ktorrent/distinfo @@ -0,0 +1,2 @@ +MD5 (ktorrent-1.0.tar.gz) = ea1503979903566c94b809130eb57da8 +SIZE (ktorrent-1.0.tar.gz) = 771010 diff --git a/net-p2p/ktorrent/files/patch-libtorrent-udptracker.cpp b/net-p2p/ktorrent/files/patch-libtorrent-udptracker.cpp new file mode 100644 index 000000000000..fd021170533c --- /dev/null +++ b/net-p2p/ktorrent/files/patch-libtorrent-udptracker.cpp @@ -0,0 +1,10 @@ +--- libtorrent/udptracker.cpp.orig Wed Jul 13 12:33:37 2005 ++++ libtorrent/udptracker.cpp Wed Jul 13 12:34:07 2005 +@@ -18,6 +18,7 @@ + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include ++#include + #include + #include + diff --git a/net-p2p/ktorrent/pkg-descr b/net-p2p/ktorrent/pkg-descr new file mode 100644 index 000000000000..aecb74c10aff --- /dev/null +++ b/net-p2p/ktorrent/pkg-descr @@ -0,0 +1,9 @@ +KTorrent is a BitTorrent client for KDE. Its main features are: + + o Download torrent files + o Upload speed capping, seeing that most people can't upload infinite + amounts of data + o Internet searching using The Bittorrent website's search engine + o UDP Trackers + +WWW: http://ktorrent.pwsp.net/ diff --git a/net-p2p/ktorrent/pkg-plist b/net-p2p/ktorrent/pkg-plist new file mode 100644 index 000000000000..c9b6fef79213 --- /dev/null +++ b/net-p2p/ktorrent/pkg-plist @@ -0,0 +1,95 @@ +bin/ktorrent +lib/libktorrent.la +lib/libktorrent.so +lib/libktorrent.so.0 +share/applications/kde/ktorrent.desktop +share/applnk/Internet/ktorrent.desktop +share/apps/ktorrent/icons/hicolor/128x128/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/16x16/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/22x22/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/32x32/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/48x48/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/64x64/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/64x64/filesystems/ktprefdownloads.png +share/apps/ktorrent/icons/hicolor/scalable/apps/ktorrent.svgz +share/apps/ktorrent/ktorrentui.rc +share/config.kcfg/ktorrent.kcfg +share/icons/hicolor/128x128/apps/ktorrent.png +share/icons/hicolor/16x16/apps/ktorrent.png +share/icons/hicolor/22x22/apps/ktorrent.png +share/icons/hicolor/32x32/apps/ktorrent.png +share/icons/hicolor/48x48/apps/ktorrent.png +share/icons/hicolor/64x64/apps/ktorrent.png +share/icons/hicolor/scalable/apps/ktorrent.svgz +share/locale/br/LC_MESSAGES/ktorrent.mo +share/locale/cs/LC_MESSAGES/ktorrent.mo +share/locale/da/LC_MESSAGES/ktorrent.mo +share/locale/de/LC_MESSAGES/ktorrent.mo +share/locale/el/LC_MESSAGES/ktorrent.mo +share/locale/en_GB/LC_MESSAGES/ktorrent.mo +share/locale/et/LC_MESSAGES/ktorrent.mo +share/locale/fr/LC_MESSAGES/ktorrent.mo +share/locale/ga/LC_MESSAGES/ktorrent.mo +share/locale/hu/LC_MESSAGES/ktorrent.mo +share/locale/it/LC_MESSAGES/ktorrent.mo +share/locale/nl/LC_MESSAGES/ktorrent.mo +share/locale/pl/LC_MESSAGES/ktorrent.mo +share/locale/pt/LC_MESSAGES/ktorrent.mo +share/locale/ru/LC_MESSAGES/ktorrent.mo +share/locale/sr/LC_MESSAGES/ktorrent.mo +share/locale/sr@Latn/LC_MESSAGES/ktorrent.mo +share/locale/sv/LC_MESSAGES/ktorrent.mo +share/locale/tr/LC_MESSAGES/ktorrent.mo +share/locale/uk/LC_MESSAGES/ktorrent.mo +@unexec rmdir %D/share/locale/uk/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/uk 2>/dev/null || true +@unexec rmdir %D/share/locale/sr/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/sr 2>/dev/null || true +@unexec rmdir %D/share/locale/pt/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/pt 2>/dev/null || true +@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/pl 2>/dev/null || true +@unexec rmdir %D/share/locale/el/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/el 2>/dev/null || true +@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/cs 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/scalable/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/scalable 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/64x64/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/64x64 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/22x22/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/22x22 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/128x128/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/128x128 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true +@unexec rmdir %D/share/icons 2>/dev/null || true +@unexec rmdir %D/share/config.kcfg 2>/dev/null || true +@dirrm share/apps/ktorrent/icons/hicolor/scalable/apps +@dirrm share/apps/ktorrent/icons/hicolor/scalable +@dirrm share/apps/ktorrent/icons/hicolor/64x64/filesystems +@dirrm share/apps/ktorrent/icons/hicolor/64x64/apps +@dirrm share/apps/ktorrent/icons/hicolor/64x64 +@dirrm share/apps/ktorrent/icons/hicolor/48x48/apps +@dirrm share/apps/ktorrent/icons/hicolor/48x48 +@dirrm share/apps/ktorrent/icons/hicolor/32x32/apps +@dirrm share/apps/ktorrent/icons/hicolor/32x32 +@dirrm share/apps/ktorrent/icons/hicolor/22x22/apps +@dirrm share/apps/ktorrent/icons/hicolor/22x22 +@dirrm share/apps/ktorrent/icons/hicolor/16x16/apps +@dirrm share/apps/ktorrent/icons/hicolor/16x16 +@dirrm share/apps/ktorrent/icons/hicolor/128x128/apps +@dirrm share/apps/ktorrent/icons/hicolor/128x128 +@dirrm share/apps/ktorrent/icons/hicolor +@dirrm share/apps/ktorrent/icons +@dirrm share/apps/ktorrent +@unexec rmdir %D/share/apps 2>/dev/null || true +@unexec rmdir %D/share/applnk/Internet 2>/dev/null || true +@unexec rmdir %D/share/applnk 2>/dev/null || true +@unexec rmdir %D/share/applications/kde 2>/dev/null || true +@unexec rmdir %D/share/applications 2>/dev/null || true diff --git a/net-p2p/ktorrent2/Makefile b/net-p2p/ktorrent2/Makefile new file mode 100644 index 000000000000..09703274ec36 --- /dev/null +++ b/net-p2p/ktorrent2/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: ktorrent +# Date created: Wed Jul 13 11:38:46 CEST 2005 +# Whom: Markus Brueffer +# +# $FreeBSD$ +# + +PORTNAME= ktorrent +PORTVERSION= 1.0 +CATEGORIES= net kde +MASTER_SITES= http://ktorrent.pwsp.net/downloads/ + +MAINTAINER= markus@FreeBSD.org +COMMENT= BitTorrent client for KDE + +USE_KDELIBS_VER=3 +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT} + +.include diff --git a/net-p2p/ktorrent2/distinfo b/net-p2p/ktorrent2/distinfo new file mode 100644 index 000000000000..d2a94213c535 --- /dev/null +++ b/net-p2p/ktorrent2/distinfo @@ -0,0 +1,2 @@ +MD5 (ktorrent-1.0.tar.gz) = ea1503979903566c94b809130eb57da8 +SIZE (ktorrent-1.0.tar.gz) = 771010 diff --git a/net-p2p/ktorrent2/files/patch-libtorrent-udptracker.cpp b/net-p2p/ktorrent2/files/patch-libtorrent-udptracker.cpp new file mode 100644 index 000000000000..fd021170533c --- /dev/null +++ b/net-p2p/ktorrent2/files/patch-libtorrent-udptracker.cpp @@ -0,0 +1,10 @@ +--- libtorrent/udptracker.cpp.orig Wed Jul 13 12:33:37 2005 ++++ libtorrent/udptracker.cpp Wed Jul 13 12:34:07 2005 +@@ -18,6 +18,7 @@ + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include ++#include + #include + #include + diff --git a/net-p2p/ktorrent2/pkg-descr b/net-p2p/ktorrent2/pkg-descr new file mode 100644 index 000000000000..aecb74c10aff --- /dev/null +++ b/net-p2p/ktorrent2/pkg-descr @@ -0,0 +1,9 @@ +KTorrent is a BitTorrent client for KDE. Its main features are: + + o Download torrent files + o Upload speed capping, seeing that most people can't upload infinite + amounts of data + o Internet searching using The Bittorrent website's search engine + o UDP Trackers + +WWW: http://ktorrent.pwsp.net/ diff --git a/net-p2p/ktorrent2/pkg-plist b/net-p2p/ktorrent2/pkg-plist new file mode 100644 index 000000000000..c9b6fef79213 --- /dev/null +++ b/net-p2p/ktorrent2/pkg-plist @@ -0,0 +1,95 @@ +bin/ktorrent +lib/libktorrent.la +lib/libktorrent.so +lib/libktorrent.so.0 +share/applications/kde/ktorrent.desktop +share/applnk/Internet/ktorrent.desktop +share/apps/ktorrent/icons/hicolor/128x128/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/16x16/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/22x22/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/32x32/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/48x48/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/64x64/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/64x64/filesystems/ktprefdownloads.png +share/apps/ktorrent/icons/hicolor/scalable/apps/ktorrent.svgz +share/apps/ktorrent/ktorrentui.rc +share/config.kcfg/ktorrent.kcfg +share/icons/hicolor/128x128/apps/ktorrent.png +share/icons/hicolor/16x16/apps/ktorrent.png +share/icons/hicolor/22x22/apps/ktorrent.png +share/icons/hicolor/32x32/apps/ktorrent.png +share/icons/hicolor/48x48/apps/ktorrent.png +share/icons/hicolor/64x64/apps/ktorrent.png +share/icons/hicolor/scalable/apps/ktorrent.svgz +share/locale/br/LC_MESSAGES/ktorrent.mo +share/locale/cs/LC_MESSAGES/ktorrent.mo +share/locale/da/LC_MESSAGES/ktorrent.mo +share/locale/de/LC_MESSAGES/ktorrent.mo +share/locale/el/LC_MESSAGES/ktorrent.mo +share/locale/en_GB/LC_MESSAGES/ktorrent.mo +share/locale/et/LC_MESSAGES/ktorrent.mo +share/locale/fr/LC_MESSAGES/ktorrent.mo +share/locale/ga/LC_MESSAGES/ktorrent.mo +share/locale/hu/LC_MESSAGES/ktorrent.mo +share/locale/it/LC_MESSAGES/ktorrent.mo +share/locale/nl/LC_MESSAGES/ktorrent.mo +share/locale/pl/LC_MESSAGES/ktorrent.mo +share/locale/pt/LC_MESSAGES/ktorrent.mo +share/locale/ru/LC_MESSAGES/ktorrent.mo +share/locale/sr/LC_MESSAGES/ktorrent.mo +share/locale/sr@Latn/LC_MESSAGES/ktorrent.mo +share/locale/sv/LC_MESSAGES/ktorrent.mo +share/locale/tr/LC_MESSAGES/ktorrent.mo +share/locale/uk/LC_MESSAGES/ktorrent.mo +@unexec rmdir %D/share/locale/uk/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/uk 2>/dev/null || true +@unexec rmdir %D/share/locale/sr/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/sr 2>/dev/null || true +@unexec rmdir %D/share/locale/pt/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/pt 2>/dev/null || true +@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/pl 2>/dev/null || true +@unexec rmdir %D/share/locale/el/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/el 2>/dev/null || true +@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/cs 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/scalable/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/scalable 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/64x64/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/64x64 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/22x22/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/22x22 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/128x128/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/128x128 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true +@unexec rmdir %D/share/icons 2>/dev/null || true +@unexec rmdir %D/share/config.kcfg 2>/dev/null || true +@dirrm share/apps/ktorrent/icons/hicolor/scalable/apps +@dirrm share/apps/ktorrent/icons/hicolor/scalable +@dirrm share/apps/ktorrent/icons/hicolor/64x64/filesystems +@dirrm share/apps/ktorrent/icons/hicolor/64x64/apps +@dirrm share/apps/ktorrent/icons/hicolor/64x64 +@dirrm share/apps/ktorrent/icons/hicolor/48x48/apps +@dirrm share/apps/ktorrent/icons/hicolor/48x48 +@dirrm share/apps/ktorrent/icons/hicolor/32x32/apps +@dirrm share/apps/ktorrent/icons/hicolor/32x32 +@dirrm share/apps/ktorrent/icons/hicolor/22x22/apps +@dirrm share/apps/ktorrent/icons/hicolor/22x22 +@dirrm share/apps/ktorrent/icons/hicolor/16x16/apps +@dirrm share/apps/ktorrent/icons/hicolor/16x16 +@dirrm share/apps/ktorrent/icons/hicolor/128x128/apps +@dirrm share/apps/ktorrent/icons/hicolor/128x128 +@dirrm share/apps/ktorrent/icons/hicolor +@dirrm share/apps/ktorrent/icons +@dirrm share/apps/ktorrent +@unexec rmdir %D/share/apps 2>/dev/null || true +@unexec rmdir %D/share/applnk/Internet 2>/dev/null || true +@unexec rmdir %D/share/applnk 2>/dev/null || true +@unexec rmdir %D/share/applications/kde 2>/dev/null || true +@unexec rmdir %D/share/applications 2>/dev/null || true diff --git a/net/Makefile b/net/Makefile index d3abca4408eb..f59134e0d84f 100644 --- a/net/Makefile +++ b/net/Makefile @@ -294,6 +294,7 @@ SUBDIR += kphone SUBDIR += kpopup SUBDIR += krdesktop + SUBDIR += ktorrent SUBDIR += l2tpd SUBDIR += lam SUBDIR += lam7 diff --git a/net/ktorrent/Makefile b/net/ktorrent/Makefile new file mode 100644 index 000000000000..09703274ec36 --- /dev/null +++ b/net/ktorrent/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: ktorrent +# Date created: Wed Jul 13 11:38:46 CEST 2005 +# Whom: Markus Brueffer +# +# $FreeBSD$ +# + +PORTNAME= ktorrent +PORTVERSION= 1.0 +CATEGORIES= net kde +MASTER_SITES= http://ktorrent.pwsp.net/downloads/ + +MAINTAINER= markus@FreeBSD.org +COMMENT= BitTorrent client for KDE + +USE_KDELIBS_VER=3 +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT} + +.include diff --git a/net/ktorrent/distinfo b/net/ktorrent/distinfo new file mode 100644 index 000000000000..d2a94213c535 --- /dev/null +++ b/net/ktorrent/distinfo @@ -0,0 +1,2 @@ +MD5 (ktorrent-1.0.tar.gz) = ea1503979903566c94b809130eb57da8 +SIZE (ktorrent-1.0.tar.gz) = 771010 diff --git a/net/ktorrent/files/patch-libtorrent-udptracker.cpp b/net/ktorrent/files/patch-libtorrent-udptracker.cpp new file mode 100644 index 000000000000..fd021170533c --- /dev/null +++ b/net/ktorrent/files/patch-libtorrent-udptracker.cpp @@ -0,0 +1,10 @@ +--- libtorrent/udptracker.cpp.orig Wed Jul 13 12:33:37 2005 ++++ libtorrent/udptracker.cpp Wed Jul 13 12:34:07 2005 +@@ -18,6 +18,7 @@ + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #include ++#include + #include + #include + diff --git a/net/ktorrent/pkg-descr b/net/ktorrent/pkg-descr new file mode 100644 index 000000000000..aecb74c10aff --- /dev/null +++ b/net/ktorrent/pkg-descr @@ -0,0 +1,9 @@ +KTorrent is a BitTorrent client for KDE. Its main features are: + + o Download torrent files + o Upload speed capping, seeing that most people can't upload infinite + amounts of data + o Internet searching using The Bittorrent website's search engine + o UDP Trackers + +WWW: http://ktorrent.pwsp.net/ diff --git a/net/ktorrent/pkg-plist b/net/ktorrent/pkg-plist new file mode 100644 index 000000000000..c9b6fef79213 --- /dev/null +++ b/net/ktorrent/pkg-plist @@ -0,0 +1,95 @@ +bin/ktorrent +lib/libktorrent.la +lib/libktorrent.so +lib/libktorrent.so.0 +share/applications/kde/ktorrent.desktop +share/applnk/Internet/ktorrent.desktop +share/apps/ktorrent/icons/hicolor/128x128/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/16x16/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/22x22/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/32x32/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/48x48/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/64x64/apps/ktorrent.png +share/apps/ktorrent/icons/hicolor/64x64/filesystems/ktprefdownloads.png +share/apps/ktorrent/icons/hicolor/scalable/apps/ktorrent.svgz +share/apps/ktorrent/ktorrentui.rc +share/config.kcfg/ktorrent.kcfg +share/icons/hicolor/128x128/apps/ktorrent.png +share/icons/hicolor/16x16/apps/ktorrent.png +share/icons/hicolor/22x22/apps/ktorrent.png +share/icons/hicolor/32x32/apps/ktorrent.png +share/icons/hicolor/48x48/apps/ktorrent.png +share/icons/hicolor/64x64/apps/ktorrent.png +share/icons/hicolor/scalable/apps/ktorrent.svgz +share/locale/br/LC_MESSAGES/ktorrent.mo +share/locale/cs/LC_MESSAGES/ktorrent.mo +share/locale/da/LC_MESSAGES/ktorrent.mo +share/locale/de/LC_MESSAGES/ktorrent.mo +share/locale/el/LC_MESSAGES/ktorrent.mo +share/locale/en_GB/LC_MESSAGES/ktorrent.mo +share/locale/et/LC_MESSAGES/ktorrent.mo +share/locale/fr/LC_MESSAGES/ktorrent.mo +share/locale/ga/LC_MESSAGES/ktorrent.mo +share/locale/hu/LC_MESSAGES/ktorrent.mo +share/locale/it/LC_MESSAGES/ktorrent.mo +share/locale/nl/LC_MESSAGES/ktorrent.mo +share/locale/pl/LC_MESSAGES/ktorrent.mo +share/locale/pt/LC_MESSAGES/ktorrent.mo +share/locale/ru/LC_MESSAGES/ktorrent.mo +share/locale/sr/LC_MESSAGES/ktorrent.mo +share/locale/sr@Latn/LC_MESSAGES/ktorrent.mo +share/locale/sv/LC_MESSAGES/ktorrent.mo +share/locale/tr/LC_MESSAGES/ktorrent.mo +share/locale/uk/LC_MESSAGES/ktorrent.mo +@unexec rmdir %D/share/locale/uk/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/uk 2>/dev/null || true +@unexec rmdir %D/share/locale/sr/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/sr 2>/dev/null || true +@unexec rmdir %D/share/locale/pt/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/pt 2>/dev/null || true +@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/pl 2>/dev/null || true +@unexec rmdir %D/share/locale/el/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/el 2>/dev/null || true +@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/cs 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/scalable/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/scalable 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/64x64/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/64x64 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/22x22/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/22x22 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/128x128/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/128x128 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true +@unexec rmdir %D/share/icons 2>/dev/null || true +@unexec rmdir %D/share/config.kcfg 2>/dev/null || true +@dirrm share/apps/ktorrent/icons/hicolor/scalable/apps +@dirrm share/apps/ktorrent/icons/hicolor/scalable +@dirrm share/apps/ktorrent/icons/hicolor/64x64/filesystems +@dirrm share/apps/ktorrent/icons/hicolor/64x64/apps +@dirrm share/apps/ktorrent/icons/hicolor/64x64 +@dirrm share/apps/ktorrent/icons/hicolor/48x48/apps +@dirrm share/apps/ktorrent/icons/hicolor/48x48 +@dirrm share/apps/ktorrent/icons/hicolor/32x32/apps +@dirrm share/apps/ktorrent/icons/hicolor/32x32 +@dirrm share/apps/ktorrent/icons/hicolor/22x22/apps +@dirrm share/apps/ktorrent/icons/hicolor/22x22 +@dirrm share/apps/ktorrent/icons/hicolor/16x16/apps +@dirrm share/apps/ktorrent/icons/hicolor/16x16 +@dirrm share/apps/ktorrent/icons/hicolor/128x128/apps +@dirrm share/apps/ktorrent/icons/hicolor/128x128 +@dirrm share/apps/ktorrent/icons/hicolor +@dirrm share/apps/ktorrent/icons +@dirrm share/apps/ktorrent +@unexec rmdir %D/share/apps 2>/dev/null || true +@unexec rmdir %D/share/applnk/Internet 2>/dev/null || true +@unexec rmdir %D/share/applnk 2>/dev/null || true +@unexec rmdir %D/share/applications/kde 2>/dev/null || true +@unexec rmdir %D/share/applications 2>/dev/null || true