Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 1999 08:11:07 -0500 (EST)
From:      jedgar@fxp.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15185: Update port: news/pan
Message-ID:  <19991130131107.231AE9B36@pawn.primelocation.net>

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

>Number:         15185
>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:   Tue Nov 30 05:20: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

* Update to 0.6.4
* Replaced gdbm with db (much faster now)
* Added Italian translations
* Integrated most of patches/*
* Removed unneeded gmake dependency
* etc...

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/news/pan/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	1999/11/17 22:49:32	1.8
+++ Makefile	1999/11/30 13:00:56
@@ -1,26 +1,24 @@
 # New ports collection makefile for:	pan
-# Version required:			0.6.3
+# Version required:			0.6.4
 # Date created:				07 August 1999
 # Whom:					Chris D. Faulhaber <jedgar@fxp.org>
 #
 # $FreeBSD: ports/news/pan/Makefile,v 1.8 1999/11/17 22:49:32 jim Exp $
 #
 
-DISTNAME=	pan-0.6.3
+DISTNAME=	pan-0.6.4
 CATEGORIES=	news gnome
 MASTER_SITES=	ftp://source.rebelbase.com/pub/pan/
 
 MAINTAINER=	jedgar@fxp.org
 
-LIB_DEPENDS=	gdbm.2:${PORTSDIR}/databases/gdbm \
-		gnome.3:${PORTSDIR}/x11/gnomelibs
+LIB_DEPENDS=	gnome.3:${PORTSDIR}/x11/gnomelibs
 
 GLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config
 GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
 
 USE_BZIP2=	yes
 USE_X_PREFIX=	yes
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-x
 CONFIGURE_ENV+=	CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
Index: files/md5
===================================================================
RCS file: /home/ncvs/ports/news/pan/files/md5,v
retrieving revision 1.8
diff -u -r1.8 md5
--- md5	1999/11/17 22:49:38	1.8
+++ md5	1999/11/30 13:00:56
@@ -1 +1 @@
-MD5 (pan-0.6.3.tar.bz2) = ac1f59a22fd6ef9763e05fe7a2328c67
+MD5 (pan-0.6.4.tar.bz2) = a694991bdcd97940a101290f8f66dbab
Index: patches/patch-ab
===================================================================
RCS file: /home/ncvs/ports/news/pan/patches/patch-ab,v
retrieving revision 1.2
diff -u -r1.2 patch-ab
--- patch-ab	1999/11/17 22:49:38	1.2
+++ patch-ab	1999/11/30 13:00:56
@@ -1,55 +1,10 @@
---- pan/post.c.orig	Wed Oct 20 22:18:44 1999
-+++ pan/post.c	Wed Oct 20 22:19:06 1999
-@@ -18,6 +18,9 @@
+--- pan/acache.c.orig	Sat Nov 27 19:19:45 1999
++++ pan/acache.c	Tue Nov 30 07:38:01 1999
+@@ -18,7 +18,6 @@
   * 
   */
  
-+#include <sys/types.h>
-+#include <sys/socket.h>
-+#include <netinet/in.h>
- #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;
- 
Index: patches/patch-ac
===================================================================
RCS file: /home/ncvs/ports/news/pan/patches/patch-ac,v
retrieving revision 1.1
diff -u -r1.1 patch-ac
--- patch-ac	1999/11/17 22:49:38	1.1
+++ patch-ac	1999/11/30 13:00:56
@@ -1,48 +1,20 @@
---- 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
+--- pan/gui.c.orig	Mon Nov 29 11:40:33 1999
++++ pan/gui.c	Tue Nov 30 07:52:02 1999
+@@ -760,7 +760,7 @@
+ 				GTK_CTREE (Pan.article_ctree),
+ 				GTK_CLIST (Pan.article_ctree)->selection->data );
+ 			if ( message_id ) {
+-				text_set_from_message_id ( message_id );
++				text_set_from_message_id ( (gchar*) message_id );
+ 				gtk_widget_grab_focus ( text );
+ 			}
  
+@@ -805,7 +805,7 @@
+ 	if (gdata)
+ 		buf = g_strdup_printf ("Pan [%s]", gdata->name);
+ 	else
+-		buf = g_strdup_printf ("Pan", VERSION);
++		buf = g_strdup_printf ("Pan [%s]", VERSION);
  
--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;
+ 	gtk_window_set_title (GTK_WINDOW (Pan.window), buf);
+ 	g_free (buf);
Index: pkg/PLIST
===================================================================
RCS file: /home/ncvs/ports/news/pan/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- PLIST	1999/11/17 22:49:39	1.4
+++ PLIST	1999/11/30 13:00:56
@@ -1,6 +1,7 @@
 bin/pan
 share/locale/da/LC_MESSAGES/pan.mo
 share/locale/es/LC_MESSAGES/pan.mo
+share/locale/it/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

>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?19991130131107.231AE9B36>