Update to 0.90.

Submitted by Nikolay Sturm <sturm@sec.informatik.tu-darmstadt.de>.
Thanks to Aleksander Piotrowski for sending patches.
This commit is contained in:
naddy 2002-08-03 23:41:21 +00:00
parent 920fd6ebbb
commit 94efda0686
6 changed files with 39 additions and 34 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.6 2002/06/25 02:58:09 pvalchev Exp $
# $OpenBSD: Makefile,v 1.7 2002/08/03 23:41:21 naddy Exp $
COMMENT= "Gtk-based GUI client for the Gnutella Network"
VERSION= 0.85
VERSION= 0.90
DISTNAME= gtk-gnutella-${VERSION}
CATEGORIES= net
NEED_VERSION= 1.504
HOMEPAGE= http://gtk-gnutella.sourceforge.net/
@ -14,6 +13,7 @@ MAINTAINER= Nikolay Sturm <sturm@sec.informatik.tu-darmstadt.de>
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtk-gnutella/}
EXTRACT_SUFX= .tar.bz2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
@ -21,9 +21,8 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-xml-store
SEPARATE_BUILD= concurrent
USE_X11= Yes
USE_GMAKE= Yes
DOCDIR= ${PREFIX}/share/doc/gtk-gnutella

View File

@ -1,3 +1,3 @@
MD5 (gtk-gnutella-0.85.tar.gz) = f38eb5946ae271dfee66c2fc6f514c75
RMD160 (gtk-gnutella-0.85.tar.gz) = fa55ed3ffe389ee181a3288aec41c97b09743383
SHA1 (gtk-gnutella-0.85.tar.gz) = 614cc8ff83ea1ed7d1fd002a3bb3d759dc23c083
MD5 (gtk-gnutella-0.90.tar.bz2) = 4f43c0260391106e0f8b7d50efe83c13
RMD160 (gtk-gnutella-0.90.tar.bz2) = 5be9f3cf2a5556f57f0fd1fa4a967f24bbd724e4
SHA1 (gtk-gnutella-0.90.tar.bz2) = 7d9adf703e8a62429279cf88d03732d14e1a8f9a

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-src_downloads_c,v 1.1 2002/02/28 21:01:31 naddy Exp $
--- src/downloads.c.orig Thu Feb 28 21:36:14 2002
+++ src/downloads.c Thu Feb 28 21:37:02 2002
@@ -1562,7 +1562,7 @@ static gboolean download_overlap_check(s
*/
if (d->skip != buf.st_size) {
- g_warning("File '%s' changed size (now %ld, but was %d)",
+ g_warning("File '%s' changed size (now %lld, but was %d)",
d->output_name, buf.st_size, d->skip);
download_stop(d, GTA_DL_STOPPED, "Stopped (Output file size changed)");
goto out;
@@ -1827,7 +1827,7 @@ static void download_request(struct down
if (stat(dl_tmp, &st) != -1) {
/* File exists, we'll append the data to it */
if (st.st_size != d->skip) {
- g_warning("File '%s' changed size (now %ld, but was %d)",
+ g_warning("File '%s' changed size (now %lld, but was %d)",
d->output_name, st.st_size, d->skip);
download_stop(d, GTA_DL_STOPPED,
"Stopped (Output file size changed)");

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_gui_c,v 1.2 2002/06/25 02:58:09 pvalchev Exp $
--- src/gui.c.orig Fri May 10 09:44:08 2002
+++ src/gui.c Fri May 10 09:44:15 2002
@@ -570,7 +570,7 @@ void gui_update_download(struct download
$OpenBSD: patch-src_gui_c,v 1.3 2002/08/03 23:41:21 naddy Exp $
--- src/gui.c.orig Sat Jul 6 12:17:19 2002
+++ src/gui.c Thu Aug 1 20:14:31 2002
@@ -1742,7 +1742,7 @@ void gui_update_download(struct download
break;
case GTA_DL_TIMEOUT_WAIT:

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-src_huge_c,v 1.1 2002/08/03 23:41:21 naddy Exp $
--- src/huge.c.orig Thu Aug 1 20:42:54 2002
+++ src/huge.c Thu Aug 1 20:43:32 2002
@@ -189,7 +189,7 @@ static void add_persistent_cache_entry(
if (0 == ftell(persistent_cache))
fprintf(persistent_cache, "%s", sha1_persistent_cache_file_header);
- fprintf(persistent_cache, "%s\t%lu\t%ld\t%s\n",
+ fprintf(persistent_cache, "%s\t%lu\t%d\t%s\n",
sha1_base32(digest), (gulong) size, mtime, file_name);
fclose(persistent_cache);
}
@@ -208,7 +208,7 @@ static void dump_cache_one_entry(
if (!e->shared)
return;
- fprintf(persistent_cache, "%s\t%lu\t%ld\t%s\n",
+ fprintf(persistent_cache, "%s\t%lu\t%d\t%s\n",
sha1_base32(e->digest), (gulong) e->size, e->mtime, e->file_name);
}

View File

@ -1,5 +1,11 @@
@comment $OpenBSD: PLIST,v 1.2 2001/10/25 21:42:32 heko Exp $
@comment $OpenBSD: PLIST,v 1.3 2002/08/03 23:41:21 naddy Exp $
bin/gtk-gnutella
man/man1/gtk-gnutella.1
share/doc/gtk-gnutella/README
share/gtk-gnutella/pixmaps/arrow_down.xpm
share/gtk-gnutella/pixmaps/arrow_up.xpm
share/gtk-gnutella/pixmaps/firewall.xpm
share/gtk-gnutella/pixmaps/no_firewall.xpm
@dirrm share/gtk-gnutella/pixmaps
@dirrm share/gtk-gnutella
@dirrm share/doc/gtk-gnutella