- Upgrade to version 3.3.3.

- Change maintainer since predecessor is not responsible.

PR:		ports/27199
Submitted by:	Kawaguti Ginga <ginga@athena.club.ne.jp>
This commit is contained in:
SADA Kenji 2001-05-29 14:02:56 +00:00
parent c62c82bfd0
commit addde4c5de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43256
12 changed files with 168 additions and 262 deletions

View file

@ -6,15 +6,16 @@
#
PORTNAME= xbuffy
PORTVERSION= 3.3
PORTVERSION= 3.3.3
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= utilities
DISTNAME= ${PORTNAME}${PORTVERSION}
MASTER_SITES= http://www.fiction.net/blong/programs/xbuffy/
DISTNAME= ${PORTNAME}-3.3.bl.3
MAINTAINER= dchapes@zeus.leitch.com
MAINTAINER= ginga@athena.club.ne.jp
USE_IMAKE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= xbuffy.1
.include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (xbuffy3.3.tar.gz) = 38a41fc0c4aa10e8e402a4a72c919818
MD5 (xbuffy-3.3.bl.3.tar.gz) = f4de2adc9d0b2327040e700e2fd25a42

View file

@ -1,27 +1,20 @@
*** XBuffy.ad.orig Tue Jan 31 16:37:56 1995
--- XBuffy.ad Wed Jun 21 16:37:30 1995
***************
*** 1,11 ****
!
! Application Defaults file for XBuffy, this is just meant as an example
!
! *nobeep: FALSE
! *horiz: FALSE
! *names: FALSE
! *shortnames: TRUE
! *polltime: 30
! *priority: 15
! *headertime: 10
! *mailboxes: /usr/spool/mail/wfp5p:/home/wfp5p/.Mail/elmProblems
--- 1,11 ----
!
! Application Defaults file for XBuffy, this is just meant as an example
!
! !XBuffy*nobeep: FALSE
! !XBuffy*horiz: TRUE
! !XBuffy*names: FALSE
! !XBuffy*shortnames: TRUE
! XBuffy*polltime: 30
! XBuffy*priority: 15
! XBuffy*headertime: 10
! !XBuffy*mailboxes: /usr/spool/mail/wfp5p:/home/wfp5p/.Mail/elmProblems
diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_append.c ./libdyn/dyn_append.c
--- ../../xbuffy-3.3.bl.3/libdyn/dyn_append.c Fri Feb 20 17:54:14 1998
+++ ./libdyn/dyn_append.c Tue May 8 13:13:43 2001
@@ -11,6 +11,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include "dynP.h"
@@ -20,7 +21,7 @@
int num;
{
if (obj->debug)
- fprintf(stderr, "dyn: append: Writing %d bytes from %d to %d + %d\n",
+ fprintf(stderr, "dyn: append: Writing %d bytes from %p to %p + %d\n",
obj->el_size*num, els, obj->array, obj->num_el*obj->el_size);
if (obj->size < obj->num_el + num) {

View file

@ -0,0 +1,11 @@
diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_create.c ./libdyn/dyn_create.c
--- ../../xbuffy-3.3.bl.3/libdyn/dyn_create.c Fri Feb 20 17:54:14 1998
+++ ./libdyn/dyn_create.c Tue May 8 13:13:43 2001
@@ -12,6 +12,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include "dynP.h"

View file

@ -1,29 +1,29 @@
*** libdyn/dyn_append.c.orig Fri Dec 10 14:56:02 1993
--- libdyn/dyn_append.c Wed Jun 21 16:45:48 1995
***************
*** 11,16 ****
--- 11,17 ----
*/
#include <stdio.h>
+ #include <string.h>
#include "dynP.h"
***************
*** 20,26 ****
int num;
{
if (obj->debug)
! fprintf(stderr, "dyn: append: Writing %d bytes from %d to %d + %d\n",
obj->el_size*num, els, obj->array, obj->num_el*obj->el_size);
if (obj->size < obj->num_el + num) {
--- 21,27 ----
int num;
{
if (obj->debug)
! fprintf(stderr, "dyn: append: Writing %d bytes from %p to %p + %d\n",
obj->el_size*num, els, obj->array, obj->num_el*obj->el_size);
if (obj->size < obj->num_el + num) {
diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_delete.c ./libdyn/dyn_delete.c
--- ../../xbuffy-3.3.bl.3/libdyn/dyn_delete.c Fri Feb 20 17:54:14 1998
+++ ./libdyn/dyn_delete.c Tue May 8 13:13:43 2001
@@ -11,6 +11,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include "dynP.h"
@@ -45,7 +46,7 @@
else {
if (obj->debug)
fprintf(stderr,
- "dyn: delete: copying %d bytes from %d + %d to + %d.\n",
+ "dyn: delete: copying %d bytes from %p + %d to + %d.\n",
obj->el_size*(obj->num_el - index), obj->array,
(index+1)*obj->el_size, index*obj->el_size);
@@ -56,7 +57,7 @@
if (obj->paranoid) {
if (obj->debug)
fprintf(stderr,
- "dyn: delete: zeroing %d bytes from %d + %d\n",
+ "dyn: delete: zeroing %d bytes from %p + %d\n",
obj->el_size, obj->array,
obj->el_size*(obj->num_el - 1));
bzero(obj->array + obj->el_size*(obj->num_el - 1),

View file

@ -1,11 +1,29 @@
*** libdyn/dyn_create.c.orig Fri Dec 10 14:56:02 1993
--- libdyn/dyn_create.c Wed Jun 21 16:39:16 1995
***************
*** 12,17 ****
--- 12,18 ----
*/
#include <stdio.h>
+ #include <stdlib.h>
#include "dynP.h"
diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_insert.c ./libdyn/dyn_insert.c
--- ../../xbuffy-3.3.bl.3/libdyn/dyn_insert.c Fri Feb 20 17:54:14 1998
+++ ./libdyn/dyn_insert.c Tue May 8 13:13:43 2001
@@ -11,6 +11,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include "dynP.h"
int DynInsert(obj, index, els, num)
@@ -35,7 +36,7 @@
}
if (obj->debug)
- fprintf(stderr,"dyn: insert: Moving %d bytes from %d + %d to + %d\n",
+ fprintf(stderr,"dyn: insert: Moving %d bytes from %p + %d to + %d\n",
(obj->num_el-index)*obj->el_size, obj->array,
obj->el_size*index, obj->el_size*(index+num));
@@ -46,7 +47,7 @@
(obj->num_el-index)*obj->el_size);
if (obj->debug)
- fprintf(stderr, "dyn: insert: Copying %d bytes from %d to %d + %d\n",
+ fprintf(stderr, "dyn: insert: Copying %d bytes from %p to %p + %d\n",
obj->el_size*num, els, obj->array, obj->el_size*index);
bcopy(els, obj->array + obj->el_size*index, obj->el_size*num);

View file

@ -1,46 +1,29 @@
*** libdyn/dyn_delete.c.orig Fri Dec 10 14:56:03 1993
--- libdyn/dyn_delete.c Wed Jun 21 16:45:00 1995
***************
*** 11,16 ****
--- 11,17 ----
*/
#include <stdio.h>
+ #include <string.h>
#include "dynP.h"
***************
*** 45,51 ****
else {
if (obj->debug)
fprintf(stderr,
! "dyn: delete: copying %d bytes from %d + %d to + %d.\n",
obj->el_size*(obj->num_el - index), obj->array,
(index+1)*obj->el_size, index*obj->el_size);
--- 46,52 ----
else {
if (obj->debug)
fprintf(stderr,
! "dyn: delete: copying %d bytes from %p + %d to + %d.\n",
obj->el_size*(obj->num_el - index), obj->array,
(index+1)*obj->el_size, index*obj->el_size);
***************
*** 56,62 ****
if (obj->paranoid) {
if (obj->debug)
fprintf(stderr,
! "dyn: delete: zeroing %d bytes from %d + %d\n",
obj->el_size, obj->array,
obj->el_size*(obj->num_el - 1));
bzero(obj->array + obj->el_size*(obj->num_el - 1),
--- 57,63 ----
if (obj->paranoid) {
if (obj->debug)
fprintf(stderr,
! "dyn: delete: zeroing %d bytes from %p + %d\n",
obj->el_size, obj->array,
obj->el_size*(obj->num_el - 1));
bzero(obj->array + obj->el_size*(obj->num_el - 1),
diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_put.c ./libdyn/dyn_put.c
--- ../../xbuffy-3.3.bl.3/libdyn/dyn_put.c Fri Feb 20 17:54:14 1998
+++ ./libdyn/dyn_put.c Tue May 8 13:13:44 2001
@@ -11,6 +11,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include "dynP.h"
@@ -34,7 +35,7 @@
}
if (obj->debug)
- fprintf(stderr, "dyn: get: Returning address %d + %d.\n",
+ fprintf(stderr, "dyn: get: Returning address %p + %d.\n",
obj->array, obj->el_size*num);
return (DynPtr) obj->array + obj->el_size*num;
@@ -67,7 +68,7 @@
int ret;
if (obj->debug)
- fprintf(stderr, "dyn: put: Writing %d bytes from %d to %d + %d\n",
+ fprintf(stderr, "dyn: put: Writing %d bytes from %p to %p + %d\n",
obj->el_size, el, obj->array, index*obj->el_size);
if ((ret = _DynResize(obj, index)) != DYN_OK)

View file

@ -1,46 +1,11 @@
*** libdyn/dyn_insert.c.orig Fri Dec 10 14:56:04 1993
--- libdyn/dyn_insert.c Wed Jun 21 16:47:42 1995
***************
*** 11,16 ****
--- 11,17 ----
*/
#include <stdio.h>
+ #include <string.h>
#include "dynP.h"
int DynInsert(obj, index, els, num)
***************
*** 35,41 ****
}
if (obj->debug)
! fprintf(stderr,"dyn: insert: Moving %d bytes from %d + %d to + %d\n",
(obj->num_el-index)*obj->el_size, obj->array,
obj->el_size*index, obj->el_size*(index+num));
--- 36,42 ----
}
if (obj->debug)
! fprintf(stderr,"dyn: insert: Moving %d bytes from %p + %d to + %d\n",
(obj->num_el-index)*obj->el_size, obj->array,
obj->el_size*index, obj->el_size*(index+num));
***************
*** 46,52 ****
(obj->num_el-index)*obj->el_size);
if (obj->debug)
! fprintf(stderr, "dyn: insert: Copying %d bytes from %d to %d + %d\n",
obj->el_size*num, els, obj->array, obj->el_size*index);
bcopy(els, obj->array + obj->el_size*index, obj->el_size*num);
--- 47,53 ----
(obj->num_el-index)*obj->el_size);
if (obj->debug)
! fprintf(stderr, "dyn: insert: Copying %d bytes from %p to %p + %d\n",
obj->el_size*num, els, obj->array, obj->el_size*index);
bcopy(els, obj->array + obj->el_size*index, obj->el_size*num);
diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_realloc.c ./libdyn/dyn_realloc.c
--- ../../xbuffy-3.3.bl.3/libdyn/dyn_realloc.c Fri Feb 20 17:54:14 1998
+++ ./libdyn/dyn_realloc.c Tue May 8 13:13:44 2001
@@ -11,6 +11,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include "dynP.h"

View file

@ -1,46 +1,16 @@
*** libdyn/dyn_put.c.orig Fri Dec 10 14:56:04 1993
--- libdyn/dyn_put.c Wed Jun 21 16:43:13 1995
***************
*** 11,16 ****
--- 11,17 ----
*/
#include <stdio.h>
+ #include <string.h>
#include "dynP.h"
***************
*** 34,40 ****
}
if (obj->debug)
! fprintf(stderr, "dyn: get: Returning address %d + %d.\n",
obj->array, obj->el_size*num);
return (DynPtr) obj->array + obj->el_size*num;
--- 35,41 ----
}
if (obj->debug)
! fprintf(stderr, "dyn: get: Returning address %p + %d.\n",
obj->array, obj->el_size*num);
return (DynPtr) obj->array + obj->el_size*num;
***************
*** 67,73 ****
int ret;
if (obj->debug)
! fprintf(stderr, "dyn: put: Writing %d bytes from %d to %d + %d\n",
obj->el_size, el, obj->array, index*obj->el_size);
if ((ret = _DynResize(obj, index)) != DYN_OK)
--- 68,74 ----
int ret;
if (obj->debug)
! fprintf(stderr, "dyn: put: Writing %d bytes from %p to %p + %d\n",
obj->el_size, el, obj->array, index*obj->el_size);
if ((ret = _DynResize(obj, index)) != DYN_OK)
diff -ur ../../xbuffy-3.3.bl.3/nntp.c ./nntp.c
--- ../../xbuffy-3.3.bl.3/nntp.c Wed Jul 1 19:12:51 1998
+++ ./nntp.c Tue May 8 16:43:06 2001
@@ -294,12 +294,9 @@
DynObject headerString;
Boolean *beenTouched;
{
- int sock, err, len;
char line[1024];
- long ipaddr;
char *from;
char *subject;
- long firstScanArticle;
long firstArticle;
long lastArticle;
long retVal;

View file

@ -1,12 +1,15 @@
*** libdyn/dyn_realloc.c.orig Fri Dec 10 14:56:05 1993
--- libdyn/dyn_realloc.c Wed Jun 21 16:46:32 1995
***************
*** 11,16 ****
--- 11,17 ----
*/
#include <stdio.h>
+ #include <stdlib.h>
#include "dynP.h"
diff -ur ../../xbuffy-3.3.bl.3/xbuffy.c ./xbuffy.c
--- ../../xbuffy-3.3.bl.3/xbuffy.c Wed Jul 1 19:53:44 1998
+++ ./xbuffy.c Tue May 8 13:14:21 2001
@@ -177,11 +177,7 @@
int num = 0;
Arg args[5];
int nargs;
- static BoxInfo_t *tempNews = 0;
BoxInfo_t *currentBox;
- int found;
- static char *mailHeader = NULL;
- int headerSize;
Boolean beenTouched;
Boolean isIcon = FALSE;

View file

@ -1,24 +0,0 @@
--- nntp.c.orig Wed Mar 20 22:45:11 1996
+++ nntp.c Thu Nov 20 03:58:04 1997
@@ -101,7 +101,7 @@
bcopy(*hp->h_addr_list, (char *) &server.sin_addr, hp->h_length);
- err = connect(sock, (struct aockaddr*)&server, sizeof(server));
+ err = connect(sock, (struct sockaddr*)&server, sizeof(server));
if (err)
Fatal("connect failed");
@@ -289,12 +289,9 @@
DynObject headerString;
Boolean *beenTouched;
{
- int sock, err, len;
char line[1024];
- long ipaddr;
char *from;
char *subject;
- long firstScanArticle;
long firstArticle;
long lastArticle;
long retVal;

View file

@ -1,14 +0,0 @@
--- xbuffy.c.orig Thu Nov 20 03:59:39 1997
+++ xbuffy.c Thu Nov 20 04:01:41 1997
@@ -171,11 +171,7 @@
int num = 0;
Arg args[5];
int nargs;
- static BoxInfo_t *tempNews = 0;
BoxInfo_t *currentBox;
- int found;
- static char *mailHeader = NULL;
- int headerSize;
Boolean beenTouched;
Boolean isIcon = FALSE;