1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- 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]
This commit is contained in:
Markus Brueffer 2007-10-22 22:54:05 +00:00
parent 8e046e4a7a
commit 6a54a8bd3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201775
8 changed files with 48 additions and 32 deletions

View File

@ -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]*

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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]*

View File

@ -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

View File

@ -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

View File

@ -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