aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2007-10-22 22:54:05 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2007-10-22 22:54:05 +0000
commit6a54a8bd3bd0f26ce07bb1330e05d1ee2edcbf9e (patch)
treee33644e5caaee3b5f8c822724d7ca599522e6119 /net-p2p
parent8e046e4a7a2e051f60cbbcf9e84d09b0376f7df2 (diff)
downloadports-6a54a8bd3bd0f26ce07bb1330e05d1ee2edcbf9e.tar.gz
ports-6a54a8bd3bd0f26ce07bb1330e05d1ee2edcbf9e.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/ktorrent/Makefile7
-rw-r--r--net-p2p/ktorrent/distinfo6
-rw-r--r--net-p2p/ktorrent/files/patch-libktorrent-util-fileops.cpp11
-rw-r--r--net-p2p/ktorrent/pkg-plist16
-rw-r--r--net-p2p/ktorrent2/Makefile7
-rw-r--r--net-p2p/ktorrent2/distinfo6
-rw-r--r--net-p2p/ktorrent2/files/patch-libktorrent-util-fileops.cpp11
-rw-r--r--net-p2p/ktorrent2/pkg-plist16
8 files changed, 48 insertions, 32 deletions
diff --git a/net-p2p/ktorrent/Makefile b/net-p2p/ktorrent/Makefile
index 2fe331e54fd3..ad4959cd15c6 100644
--- a/net-p2p/ktorrent/Makefile
+++ b/net-p2p/ktorrent/Makefile
@@ -6,16 +6,15 @@
#
PORTNAME= ktorrent
-PORTVERSION= 2.1.4
-PORTREVISION= 1
+PORTVERSION= 2.2.2
CATEGORIES= net-p2p kde
-MASTER_SITES= http://ktorrent.pwsp.net/downloads/${PORTVERSION}/ \
+MASTER_SITES= http://ktorrent.org/downloads/${PORTVERSION}/ \
http://www.hitnet.rwth-aachen.de/~brueffer/distfiles/
MAINTAINER= markus@FreeBSD.org
COMMENT= BitTorrent client for KDE
-LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4
+LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
CONFLICTS= ktorrent-devel-[0-9]*
diff --git a/net-p2p/ktorrent/distinfo b/net-p2p/ktorrent/distinfo
index 434a91f14fbe..29a9500e3943 100644
--- a/net-p2p/ktorrent/distinfo
+++ b/net-p2p/ktorrent/distinfo
@@ -1,3 +1,3 @@
-MD5 (ktorrent-2.1.4.tar.gz) = 69d3d7df6200710181594da19ab8c248
-SHA256 (ktorrent-2.1.4.tar.gz) = d492f75801c180202e99ca9c9cdff0b54e2f5d8e4ae2dddccbf1aac218276c48
-SIZE (ktorrent-2.1.4.tar.gz) = 3631999
+MD5 (ktorrent-2.2.2.tar.gz) = f3bd4cdcb45cefcd85599907781c6e21
+SHA256 (ktorrent-2.2.2.tar.gz) = 1be155d62b4533386dccb12de8dc3a28c1020c08c7c25223e1d31856d8b5e16b
+SIZE (ktorrent-2.2.2.tar.gz) = 3820959
diff --git a/net-p2p/ktorrent/files/patch-libktorrent-util-fileops.cpp b/net-p2p/ktorrent/files/patch-libktorrent-util-fileops.cpp
new file mode 100644
index 000000000000..bb0df257e008
--- /dev/null
+++ b/net-p2p/ktorrent/files/patch-libktorrent-util-fileops.cpp
@@ -0,0 +1,11 @@
+--- libktorrent/util/fileops.cpp.orig 2007-10-22 18:18:51.000000000 +0200
++++ libktorrent/util/fileops.cpp 2007-10-22 18:35:28.000000000 +0200
+@@ -425,7 +425,7 @@
+ if (statvfs(path.local8Bit(), &stfs) == 0)
+ #endif
+ {
+- bytes_free = ((Uint64)stfs.f_bavail) * ((Uint64)stfs.f_bsize);
++ bytes_free = ((Uint64)stfs.f_bavail) * ((Uint64)stfs.f_frsize);
+ return true;
+ }
+ else
diff --git a/net-p2p/ktorrent/pkg-plist b/net-p2p/ktorrent/pkg-plist
index a4e5694d5d23..5bfc12378d4e 100644
--- a/net-p2p/ktorrent/pkg-plist
+++ b/net-p2p/ktorrent/pkg-plist
@@ -27,13 +27,16 @@ lib/kde3/ktschedulerplugin.so
lib/kde3/ktsearchplugin.a
lib/kde3/ktsearchplugin.la
lib/kde3/ktsearchplugin.so
+lib/kde3/ktstatsplugin.a
+lib/kde3/ktstatsplugin.la
+lib/kde3/ktstatsplugin.so
lib/kde3/ktupnpplugin.a
lib/kde3/ktupnpplugin.la
lib/kde3/ktupnpplugin.so
lib/kde3/ktwebinterfaceplugin.a
lib/kde3/ktwebinterfaceplugin.la
lib/kde3/ktwebinterfaceplugin.so
-lib/libktorrent-2.1.4.so
+lib/libktorrent-2.2.2.so
lib/libktorrent.a
lib/libktorrent.la
lib/libktorrent.so
@@ -364,6 +367,7 @@ share/config.kcfg/ktrssfeedplugin.kcfg
share/config.kcfg/ktscanfolderplugin.kcfg
share/config.kcfg/ktschedulerplugin.kcfg
share/config.kcfg/ktsearchplugin.kcfg
+share/config.kcfg/ktstatsplugin.kcfg
share/config.kcfg/ktupnpplugin.kcfg
share/config.kcfg/ktwebinterfaceplugin.kcfg
share/icons/hicolor/128x128/apps/ktorrent.png
@@ -392,19 +396,14 @@ share/locale/el/LC_MESSAGES/ktorrent.mo
share/locale/en_GB/LC_MESSAGES/ktorrent.mo
share/locale/es/LC_MESSAGES/ktorrent.mo
share/locale/et/LC_MESSAGES/ktorrent.mo
-share/locale/eu/LC_MESSAGES/ktorrent.mo
share/locale/fa/LC_MESSAGES/ktorrent.mo
-share/locale/fi/LC_MESSAGES/ktorrent.mo
share/locale/fr/LC_MESSAGES/ktorrent.mo
-share/locale/ga/LC_MESSAGES/ktorrent.mo
share/locale/gl/LC_MESSAGES/ktorrent.mo
-share/locale/hr/LC_MESSAGES/ktorrent.mo
share/locale/hu/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/ka/LC_MESSAGES/ktorrent.mo
share/locale/lt/LC_MESSAGES/ktorrent.mo
-share/locale/mk/LC_MESSAGES/ktorrent.mo
share/locale/ms/LC_MESSAGES/ktorrent.mo
share/locale/nb/LC_MESSAGES/ktorrent.mo
share/locale/nds/LC_MESSAGES/ktorrent.mo
@@ -431,6 +430,7 @@ share/services/ktrssfeedplugin.desktop
share/services/ktscanfolderplugin.desktop
share/services/ktschedulerplugin.desktop
share/services/ktsearchplugin.desktop
+share/services/ktstatsplugin.desktop
share/services/ktupnpplugin.desktop
share/services/ktwebinterfaceplugin.desktop
share/servicetypes/ktorrentplugin.desktop
@@ -438,8 +438,6 @@ share/servicetypes/ktorrentplugin.desktop
@dirrmtry share/locale/rw
@dirrmtry share/locale/nds/LC_MESSAGES
@dirrmtry share/locale/nds
-@dirrmtry share/locale/km/LC_MESSAGES
-@dirrmtry share/locale/km
@dirrm share/apps/ktorrent/www/mobile
@dirrm share/apps/ktorrent/www/default
@dirrm share/apps/ktorrent/www/coldmilk/icons/64x64
diff --git a/net-p2p/ktorrent2/Makefile b/net-p2p/ktorrent2/Makefile
index 2fe331e54fd3..ad4959cd15c6 100644
--- a/net-p2p/ktorrent2/Makefile
+++ b/net-p2p/ktorrent2/Makefile
@@ -6,16 +6,15 @@
#
PORTNAME= ktorrent
-PORTVERSION= 2.1.4
-PORTREVISION= 1
+PORTVERSION= 2.2.2
CATEGORIES= net-p2p kde
-MASTER_SITES= http://ktorrent.pwsp.net/downloads/${PORTVERSION}/ \
+MASTER_SITES= http://ktorrent.org/downloads/${PORTVERSION}/ \
http://www.hitnet.rwth-aachen.de/~brueffer/distfiles/
MAINTAINER= markus@FreeBSD.org
COMMENT= BitTorrent client for KDE
-LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4
+LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
CONFLICTS= ktorrent-devel-[0-9]*
diff --git a/net-p2p/ktorrent2/distinfo b/net-p2p/ktorrent2/distinfo
index 434a91f14fbe..29a9500e3943 100644
--- a/net-p2p/ktorrent2/distinfo
+++ b/net-p2p/ktorrent2/distinfo
@@ -1,3 +1,3 @@
-MD5 (ktorrent-2.1.4.tar.gz) = 69d3d7df6200710181594da19ab8c248
-SHA256 (ktorrent-2.1.4.tar.gz) = d492f75801c180202e99ca9c9cdff0b54e2f5d8e4ae2dddccbf1aac218276c48
-SIZE (ktorrent-2.1.4.tar.gz) = 3631999
+MD5 (ktorrent-2.2.2.tar.gz) = f3bd4cdcb45cefcd85599907781c6e21
+SHA256 (ktorrent-2.2.2.tar.gz) = 1be155d62b4533386dccb12de8dc3a28c1020c08c7c25223e1d31856d8b5e16b
+SIZE (ktorrent-2.2.2.tar.gz) = 3820959
diff --git a/net-p2p/ktorrent2/files/patch-libktorrent-util-fileops.cpp b/net-p2p/ktorrent2/files/patch-libktorrent-util-fileops.cpp
new file mode 100644
index 000000000000..bb0df257e008
--- /dev/null
+++ b/net-p2p/ktorrent2/files/patch-libktorrent-util-fileops.cpp
@@ -0,0 +1,11 @@
+--- libktorrent/util/fileops.cpp.orig 2007-10-22 18:18:51.000000000 +0200
++++ libktorrent/util/fileops.cpp 2007-10-22 18:35:28.000000000 +0200
+@@ -425,7 +425,7 @@
+ if (statvfs(path.local8Bit(), &stfs) == 0)
+ #endif
+ {
+- bytes_free = ((Uint64)stfs.f_bavail) * ((Uint64)stfs.f_bsize);
++ bytes_free = ((Uint64)stfs.f_bavail) * ((Uint64)stfs.f_frsize);
+ return true;
+ }
+ else
diff --git a/net-p2p/ktorrent2/pkg-plist b/net-p2p/ktorrent2/pkg-plist
index a4e5694d5d23..5bfc12378d4e 100644
--- a/net-p2p/ktorrent2/pkg-plist
+++ b/net-p2p/ktorrent2/pkg-plist
@@ -27,13 +27,16 @@ lib/kde3/ktschedulerplugin.so
lib/kde3/ktsearchplugin.a
lib/kde3/ktsearchplugin.la
lib/kde3/ktsearchplugin.so
+lib/kde3/ktstatsplugin.a
+lib/kde3/ktstatsplugin.la
+lib/kde3/ktstatsplugin.so
lib/kde3/ktupnpplugin.a
lib/kde3/ktupnpplugin.la
lib/kde3/ktupnpplugin.so
lib/kde3/ktwebinterfaceplugin.a
lib/kde3/ktwebinterfaceplugin.la
lib/kde3/ktwebinterfaceplugin.so
-lib/libktorrent-2.1.4.so
+lib/libktorrent-2.2.2.so
lib/libktorrent.a
lib/libktorrent.la
lib/libktorrent.so
@@ -364,6 +367,7 @@ share/config.kcfg/ktrssfeedplugin.kcfg
share/config.kcfg/ktscanfolderplugin.kcfg
share/config.kcfg/ktschedulerplugin.kcfg
share/config.kcfg/ktsearchplugin.kcfg
+share/config.kcfg/ktstatsplugin.kcfg
share/config.kcfg/ktupnpplugin.kcfg
share/config.kcfg/ktwebinterfaceplugin.kcfg
share/icons/hicolor/128x128/apps/ktorrent.png
@@ -392,19 +396,14 @@ share/locale/el/LC_MESSAGES/ktorrent.mo
share/locale/en_GB/LC_MESSAGES/ktorrent.mo
share/locale/es/LC_MESSAGES/ktorrent.mo
share/locale/et/LC_MESSAGES/ktorrent.mo
-share/locale/eu/LC_MESSAGES/ktorrent.mo
share/locale/fa/LC_MESSAGES/ktorrent.mo
-share/locale/fi/LC_MESSAGES/ktorrent.mo
share/locale/fr/LC_MESSAGES/ktorrent.mo
-share/locale/ga/LC_MESSAGES/ktorrent.mo
share/locale/gl/LC_MESSAGES/ktorrent.mo
-share/locale/hr/LC_MESSAGES/ktorrent.mo
share/locale/hu/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/ka/LC_MESSAGES/ktorrent.mo
share/locale/lt/LC_MESSAGES/ktorrent.mo
-share/locale/mk/LC_MESSAGES/ktorrent.mo
share/locale/ms/LC_MESSAGES/ktorrent.mo
share/locale/nb/LC_MESSAGES/ktorrent.mo
share/locale/nds/LC_MESSAGES/ktorrent.mo
@@ -431,6 +430,7 @@ share/services/ktrssfeedplugin.desktop
share/services/ktscanfolderplugin.desktop
share/services/ktschedulerplugin.desktop
share/services/ktsearchplugin.desktop
+share/services/ktstatsplugin.desktop
share/services/ktupnpplugin.desktop
share/services/ktwebinterfaceplugin.desktop
share/servicetypes/ktorrentplugin.desktop
@@ -438,8 +438,6 @@ share/servicetypes/ktorrentplugin.desktop
@dirrmtry share/locale/rw
@dirrmtry share/locale/nds/LC_MESSAGES
@dirrmtry share/locale/nds
-@dirrmtry share/locale/km/LC_MESSAGES
-@dirrmtry share/locale/km
@dirrm share/apps/ktorrent/www/mobile
@dirrm share/apps/ktorrent/www/default
@dirrm share/apps/ktorrent/www/coldmilk/icons/64x64