aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2005-07-13 10:51:35 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2005-07-13 10:51:35 +0000
commitb7fade6f89869eb9402a02aaca13662f466c8165 (patch)
tree7f11cf62b7596138503528ff7e8d8a804be3f3f7 /net-p2p
parent0ea29f07c2a59888e800933f0e770da2b30b3a7c (diff)
downloadports-b7fade6f89869eb9402a02aaca13662f466c8165.tar.gz
ports-b7fade6f89869eb9402a02aaca13662f466c8165.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/ktorrent-devel/Makefile24
-rw-r--r--net-p2p/ktorrent-devel/distinfo2
-rw-r--r--net-p2p/ktorrent-devel/files/patch-libtorrent-udptracker.cpp10
-rw-r--r--net-p2p/ktorrent-devel/pkg-descr9
-rw-r--r--net-p2p/ktorrent-devel/pkg-plist95
-rw-r--r--net-p2p/ktorrent/Makefile24
-rw-r--r--net-p2p/ktorrent/distinfo2
-rw-r--r--net-p2p/ktorrent/files/patch-libtorrent-udptracker.cpp10
-rw-r--r--net-p2p/ktorrent/pkg-descr9
-rw-r--r--net-p2p/ktorrent/pkg-plist95
-rw-r--r--net-p2p/ktorrent2/Makefile24
-rw-r--r--net-p2p/ktorrent2/distinfo2
-rw-r--r--net-p2p/ktorrent2/files/patch-libtorrent-udptracker.cpp10
-rw-r--r--net-p2p/ktorrent2/pkg-descr9
-rw-r--r--net-p2p/ktorrent2/pkg-plist95
15 files changed, 420 insertions, 0 deletions
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 <markus@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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 <stdlib.h>
++#include <sys/time.h>
+ #include <qsocketnotifier.h>
+ #include <qsocketdevice.h>
+
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 <markus@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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 <stdlib.h>
++#include <sys/time.h>
+ #include <qsocketnotifier.h>
+ #include <qsocketdevice.h>
+
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 <markus@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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 <stdlib.h>
++#include <sys/time.h>
+ #include <qsocketnotifier.h>
+ #include <qsocketdevice.h>
+
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