Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 10:46:01 -0500 (EST)
From:      jedgar@fxp.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14948: Update port: news/pan
Message-ID:  <19991117154601.57FD39B1C@pawn.primelocation.net>

next in thread | raw e-mail | index | archive | help

>Number:         14948
>Category:       ports
>Synopsis:       Update port: news/pan
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 17 07:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris D. Faulhaber
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
BUGO - BSD Users Group of Orlando
>Environment:

FreeBSD 3.3-STABLE i386

>Description:

Update port: news/pan 0.6.2 -> 0.6.3

* Significantly faster article threading
* New translations (es, po, and sr)
* Customizable fonts/colors
* Misc bug and memory leak fixes

>How-To-Repeat:
>Fix:
	
diff -urN pan.orig/Makefile pan/Makefile
--- pan.orig/Makefile	Tue Nov 16 18:43:54 1999
+++ pan/Makefile	Mon Nov 15 20:56:38 1999
@@ -1,12 +1,12 @@
 # New ports collection makefile for:	pan
-# Version required:			0.6.2
+# Version required:			0.6.3
 # Date created:				07 August 1999
 # Whom:					Chris D. Faulhaber <jedgar@fxp.org>
 #
 # $FreeBSD: ports/news/pan/Makefile,v 1.7 1999/11/02 20:02:10 jim Exp $
 #
 
-DISTNAME=	pan-0.6.2
+DISTNAME=	pan-0.6.3
 CATEGORIES=	news gnome
 MASTER_SITES=	ftp://source.rebelbase.com/pub/pan/
 
diff -urN pan.orig/files/md5 pan/files/md5
--- pan.orig/files/md5	Tue Nov  2 15:02:22 1999
+++ pan/files/md5	Mon Nov 15 20:47:54 1999
@@ -1 +1 @@
-MD5 (pan-0.6.2.tar.bz2) = 3257d3ce3d8cc5717c30a3bdc1d7d9ab
+MD5 (pan-0.6.3.tar.bz2) = ac1f59a22fd6ef9763e05fe7a2328c67
diff -urN pan.orig/patches/patch-ab pan/patches/patch-ab
--- pan.orig/patches/patch-ab	Thu Oct 21 01:27:33 1999
+++ pan/patches/patch-ab	Mon Nov 15 21:13:13 1999
@@ -10,3 +10,46 @@
  #include <arpa/inet.h>
  #include <netdb.h>
  #include <pwd.h>
+--- pan/acache.c.orig	Wed Nov  3 19:27:40 1999
++++ pan/acache.c	Mon Nov 15 21:04:33 1999
+@@ -18,8 +18,8 @@
+  * 
+  */
+ 
+-#include <gdbm.h>
+ #include <errno.h>
++#include <gdbm.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
+--- pan/db.c.orig	Sat Nov 13 11:53:16 1999
++++ pan/db.c	Mon Nov 15 21:05:26 1999
+@@ -23,8 +23,8 @@
+  [ ] transparent (de)compression of database (bzip2 preferably)
+ */
+ 
+-#include <gdbm.h>
+ #include <errno.h>
++#include <gdbm.h>
+ 
+ //#include <sys/time.h>
+ //#include <unistd.h>
+--- pan/statistics.c.orig	Wed Nov  3 19:27:42 1999
++++ pan/statistics.c	Mon Nov 15 21:06:49 1999
+@@ -59,7 +59,6 @@
+ 	gushort len;
+ 	gshort i = 0;
+ 	gushort j = 0;
+-	gushort k = 0;
+ 
+ 	string = g_strdup_printf ("%ld", num);
+ 	len = strlen (string);
+@@ -95,7 +94,7 @@
+ gchar *
+ stats_make_time_online_string (void)
+ {
+-	gchar *p;
++	gchar *p = NULL;
+ 	gushort mins, hours;
+ 	gulong onlinetime;
+ 
diff -urN pan.orig/patches/patch-ac pan/patches/patch-ac
--- pan.orig/patches/patch-ac	Wed Dec 31 19:00:00 1969
+++ pan/patches/patch-ac	Mon Nov 15 21:13:02 1999
@@ -0,0 +1,48 @@
+--- uulib/Makefile.in.orig	Mon Nov 15 05:01:18 1999
++++ uulib/Makefile.in	Mon Nov 15 20:53:54 1999
+@@ -115,7 +115,7 @@
+ libuu_a_LIBADD = uulib.o uucheck.o uunconc.o uuutil.o uuencode.o uuscan.o uustring.o fptools.o
+ 
+ 
+-CFLAGS = -O2
++CFLAGS = @CFLAGS@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES = 
+--- uulib/uuscan.c.orig	Thu Sep 30 13:46:15 1999
++++ uulib/uuscan.c	Mon Nov 15 21:01:40 1999
+@@ -332,8 +332,8 @@
+ ParseHeader (headers *theheaders, char *line)
+ {
+   char **variable=NULL;
+-  char *value, *ptr, *thenew;
+-  int delimit, length;
++  char *value=NULL, *ptr, *thenew;
++  int delimit=0, length;
+ 
+   if (line == NULL)
+     return theheaders;
+@@ -523,10 +523,10 @@
+   char *line=uuscan_sdline, *bhds1=uuscan_sdbhds1, *bhds2=uuscan_sdbhds2;
+   static char *ptr, *p2, *p3=NULL, *bhdsp, bhl;
+   int bhflag=0, vflag, haddh=0, hadct=0;
+-  int bhrpc=0, bhnf=0, c, hcount, lcount, blen;
++  int bhrpc=0, bhnf=0, c, hcount, lcount, blen=0;
+   int encoding=0, dflag=0, ctline=42;
+   int dontcare=0, hadnl=0;
+-  long preheaders, oldposition;
++  long preheaders=0, oldposition;
+   size_t dcc, bhopc;
+ 
+   *errcode = UURET_OK;
+@@ -1100,8 +1100,8 @@
+ ScanPart (FILE *datei, char *fname, int *errcode)
+ {
+   int ecount, hcount, lcount;
+-  int bhflag, begflag, vflag, blen, res;
+-  long preheaders, prevpos, preenc, before;
++  int bhflag, begflag, vflag, blen=0, res;
++  long preheaders, prevpos=0, preenc, before;
+   char *line=uuscan_spline;
+   fileread *result;
+   char *ptr1, *ptr2;
diff -urN pan.orig/pkg/DESCR pan/pkg/DESCR
--- pan.orig/pkg/DESCR	Mon Sep 27 13:45:34 1999
+++ pan/pkg/DESCR	Mon Nov 15 21:21:04 1999
@@ -4,3 +4,6 @@
 Threaded GNOME newsreader based on Agent for Windows.
 
 WWW: http://www.superpimp.org/
+
+- Chris D. Faulhaber
+jedgar@fxp.org
diff -urN pan.orig/pkg/PLIST pan/pkg/PLIST
--- pan.orig/pkg/PLIST	Tue Nov  2 15:02:23 1999
+++ pan/pkg/PLIST	Mon Nov 15 21:11:00 1999
@@ -1,5 +1,8 @@
 bin/pan
 share/locale/da/LC_MESSAGES/pan.mo
+share/locale/es/LC_MESSAGES/pan.mo
 share/locale/ja/LC_MESSAGES/pan.mo
 share/locale/ko/LC_MESSAGES/pan.mo
+share/locale/pl/LC_MESSAGES/pan.mo
+share/locale/sr/LC_MESSAGES/pan.mo
 share/gnome/apps/Internet/pan.desktop

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991117154601.57FD39B1C>