diff options
author | markus <markus@FreeBSD.org> | 2007-10-23 06:54:05 +0800 |
---|---|---|
committer | markus <markus@FreeBSD.org> | 2007-10-23 06:54:05 +0800 |
commit | 8bda7f87917369b96540dd236541a67df5fe64be (patch) | |
tree | a29c5408cdd48a2a35564813d13c8abc0cec0439 /net-p2p | |
parent | a810cb4ecb4a0fea98820614956ab56118f40d81 (diff) | |
download | freebsd-ports-gnome-8bda7f87917369b96540dd236541a67df5fe64be.tar.gz freebsd-ports-gnome-8bda7f87917369b96540dd236541a67df5fe64be.tar.zst freebsd-ports-gnome-8bda7f87917369b96540dd236541a67df5fe64be.zip |
- Update to version 2.2.2 and update mastersite [1]
- Add major lib version to gmp dependency [2]
- Fix usage of statvfs(2) which caused way off calculations of remaining disk
space
PR: ports/114394 [2]
Submitted by: Kjell Tore Ullavik <ktullavik@gmail.com> [2]
Josh Paetzel <josh@tcbug.org> [1]
Andreas Hermann Braml <a.strich.b@web.de> [1]
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/ktorrent/Makefile | 7 | ||||
-rw-r--r-- | net-p2p/ktorrent/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/ktorrent/files/patch-libktorrent-util-fileops.cpp | 11 | ||||
-rw-r--r-- | net-p2p/ktorrent/pkg-plist | 16 | ||||
-rw-r--r-- | net-p2p/ktorrent2/Makefile | 7 | ||||
-rw-r--r-- | net-p2p/ktorrent2/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/ktorrent2/files/patch-libktorrent-util-fileops.cpp | 11 | ||||
-rw-r--r-- | net-p2p/ktorrent2/pkg-plist | 16 |
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 |