summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-06-22 06:32:41 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-06-22 06:32:41 +0000
commit050eccf96c717a35c6ae02f3fbfe050c799bb27c (patch)
tree53ab3ff80d7c0fbb4d0b1ae6bccbc7311638ae42 /mail
parentUpgrade 4.29 -> 4.33 (diff)
Another biff replacement.
Submitted by: Dave Chapeskie <dchapes@ale.zeus.leitch.com>
Notes
Notes: svn path=/head/; revision=1854
Diffstat (limited to 'mail')
-rw-r--r--mail/xbuffy/Makefile19
-rw-r--r--mail/xbuffy/distinfo1
-rw-r--r--mail/xbuffy/files/patch-aa27
-rw-r--r--mail/xbuffy/files/patch-ac29
-rw-r--r--mail/xbuffy/files/patch-ad11
-rw-r--r--mail/xbuffy/files/patch-ae46
-rw-r--r--mail/xbuffy/files/patch-af46
-rw-r--r--mail/xbuffy/files/patch-ag46
-rw-r--r--mail/xbuffy/files/patch-ah12
-rw-r--r--mail/xbuffy/files/patch-ai86
-rw-r--r--mail/xbuffy/files/patch-ak201
-rw-r--r--mail/xbuffy/pkg-comment1
-rw-r--r--mail/xbuffy/pkg-descr9
-rw-r--r--mail/xbuffy/pkg-plist4
14 files changed, 538 insertions, 0 deletions
diff --git a/mail/xbuffy/Makefile b/mail/xbuffy/Makefile
new file mode 100644
index 000000000000..c49ce7a4a948
--- /dev/null
+++ b/mail/xbuffy/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: xbuffy
+# Version required: 3.2.1
+# Date created: 18 June 1995
+# Whom: dchapes@zeus.leitch.com
+#
+# $Id: Makefile,v $
+#
+
+DISTNAME= xbuffy3.2.1
+PKGNAME= xbuffy-3.2.1
+CATEGORIES+= x11
+MASTER_SITES= ftp://sunsite.doc.ic.ac.uk/computing/graphics/systems/X11/contrib/utilities/
+MASTER_SITES+= ftp://ftp.cyf-kr.edu.pl/etc/lfs/x-contrib/utilities/
+
+MAINTAINER= dchapes@zeus.leitch.com
+
+USE_IMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/mail/xbuffy/distinfo b/mail/xbuffy/distinfo
new file mode 100644
index 000000000000..f034ef922422
--- /dev/null
+++ b/mail/xbuffy/distinfo
@@ -0,0 +1 @@
+MD5 (xbuffy3.2.1.tar.gz) = fe31f9759c80d0726b9e6dfb69abee2a
diff --git a/mail/xbuffy/files/patch-aa b/mail/xbuffy/files/patch-aa
new file mode 100644
index 000000000000..62bd74c831c4
--- /dev/null
+++ b/mail/xbuffy/files/patch-aa
@@ -0,0 +1,27 @@
+*** 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 --git a/mail/xbuffy/files/patch-ac b/mail/xbuffy/files/patch-ac
new file mode 100644
index 000000000000..b89ba09b8e23
--- /dev/null
+++ b/mail/xbuffy/files/patch-ac
@@ -0,0 +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 --git a/mail/xbuffy/files/patch-ad b/mail/xbuffy/files/patch-ad
new file mode 100644
index 000000000000..80dac2fb31c5
--- /dev/null
+++ b/mail/xbuffy/files/patch-ad
@@ -0,0 +1,11 @@
+*** 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 --git a/mail/xbuffy/files/patch-ae b/mail/xbuffy/files/patch-ae
new file mode 100644
index 000000000000..2dfa30da136f
--- /dev/null
+++ b/mail/xbuffy/files/patch-ae
@@ -0,0 +1,46 @@
+*** 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 --git a/mail/xbuffy/files/patch-af b/mail/xbuffy/files/patch-af
new file mode 100644
index 000000000000..a1d43fb9f586
--- /dev/null
+++ b/mail/xbuffy/files/patch-af
@@ -0,0 +1,46 @@
+*** 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 --git a/mail/xbuffy/files/patch-ag b/mail/xbuffy/files/patch-ag
new file mode 100644
index 000000000000..ad960f9c0a53
--- /dev/null
+++ b/mail/xbuffy/files/patch-ag
@@ -0,0 +1,46 @@
+*** 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 --git a/mail/xbuffy/files/patch-ah b/mail/xbuffy/files/patch-ah
new file mode 100644
index 000000000000..19da78be771c
--- /dev/null
+++ b/mail/xbuffy/files/patch-ah
@@ -0,0 +1,12 @@
+*** 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 --git a/mail/xbuffy/files/patch-ai b/mail/xbuffy/files/patch-ai
new file mode 100644
index 000000000000..dd085eaa16b6
--- /dev/null
+++ b/mail/xbuffy/files/patch-ai
@@ -0,0 +1,86 @@
+*** nntp.c.orig Tue Jan 31 16:37:56 1995
+--- nntp.c Wed Jun 21 19:33:33 1995
+***************
+*** 73,79 ****
+ }
+
+
+! int initNNTP()
+ {
+ char line[1024];
+ int err;
+--- 73,79 ----
+ }
+
+
+! void initNNTP()
+ {
+ char line[1024];
+ int err;
+***************
+*** 101,107 ****
+
+ bcopy(*hp->h_addr_list, (char *) &server.sin_addr, hp->h_length);
+
+! err = connect(sock, &server, sizeof(server));
+
+ if (err)
+ Fatal("connect failed");
+--- 101,107 ----
+
+ bcopy(*hp->h_addr_list, (char *) &server.sin_addr, hp->h_length);
+
+! err = connect(sock, (struct sockaddr*)&server, sizeof(server));
+
+ if (err)
+ Fatal("connect failed");
+***************
+*** 137,143 ****
+
+ if ((x = atoi(line)) != 221)
+ {
+! if (x = 423) /* then the article just don't exist */
+ return (0);
+ else
+ Fatal("getHeaders: got a bad value: %s", line);
+--- 137,143 ----
+
+ if ((x = atoi(line)) != 221)
+ {
+! if (x == 423) /* then the article just don't exist */
+ return (0);
+ else
+ Fatal("getHeaders: got a bad value: %s", line);
+***************
+*** 184,190 ****
+ return (fname);
+ }
+
+! int readNewsrcEntry(newsBox, firstArt, lastArt)
+ BoxInfo_t *newsBox;
+ long firstArt;
+ long lastArt;
+--- 184,190 ----
+ return (fname);
+ }
+
+! void readNewsrcEntry(newsBox, firstArt, lastArt)
+ BoxInfo_t *newsBox;
+ long firstArt;
+ long lastArt;
+***************
+*** 289,300 ****
+ 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;
+--- 289,297 ----
+ \ No newline at end of file
diff --git a/mail/xbuffy/files/patch-ak b/mail/xbuffy/files/patch-ak
new file mode 100644
index 000000000000..558e93b19cce
--- /dev/null
+++ b/mail/xbuffy/files/patch-ak
@@ -0,0 +1,201 @@
+*** xbuffy.c.orig Thu Mar 30 09:57:43 1995
+--- xbuffy.c Wed Jun 21 18:51:45 1995
+***************
+*** 179,193 ****
+ void CheckBox(i)
+ int i;
+ {
+! int num;
+! char amt[MAX_STRING];
+ 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;
+
+--- 179,188 ----
+ void CheckBox(i)
+ int i;
+ {
+! int num = 0;
+ Arg args[5];
+ int nargs;
+ BoxInfo_t *currentBox;
+ Boolean beenTouched;
+ Boolean isIcon = FALSE;
+
+***************
+*** 276,283 ****
+ char amt[MAX_STRING];
+ char fmtString[MAX_STRING];
+ char *ptr;
+! int offset;
+! Boolean name, shortName;
+ Arg args[5];
+ int nargs;
+
+--- 271,277 ----
+ char amt[MAX_STRING];
+ char fmtString[MAX_STRING];
+ char *ptr;
+! int offset;
+ Arg args[5];
+ int nargs;
+
+***************
+*** 439,445 ****
+ static XtIntervalId timerID;
+ static int rootH = 0;
+ static int rootW = 0;
+! int number;
+ static Boolean firstTime = TRUE;
+ static DynObject mailHeaders;
+ static char *hdrPtr;
+--- 433,439 ----
+ static XtIntervalId timerID;
+ static int rootH = 0;
+ static int rootW = 0;
+! int number = 0;
+ static Boolean firstTime = TRUE;
+ static DynObject mailHeaders;
+ static char *hdrPtr;
+***************
+*** 620,631 ****
+ XEvent *event;
+ Boolean *cont;
+ {
+- char *command;
+ BoxInfo_t *currentBox;
+- char *tmp;
+- char buf[512];
+- char *av[5];
+- int ac = 0;
+
+ currentBox = &boxInfo[i];
+
+--- 614,620 ----
+***************
+*** 665,671 ****
+ char buffer[MAX_STRING];
+ char From[MAX_STRING], Subject[MAX_STRING];
+ register int count = 0;
+! int status;
+ register Boolean in_header = FALSE;
+ struct stat f_stat;
+
+--- 654,660 ----
+ char buffer[MAX_STRING];
+ char From[MAX_STRING], Subject[MAX_STRING];
+ register int count = 0;
+! int status = UNKNOWN;
+ register Boolean in_header = FALSE;
+ struct stat f_stat;
+
+***************
+*** 697,704 ****
+
+ while (fgets(buffer, MAX_STRING - 2, fp) != 0)
+ {
+! long CL;
+! int has_CL;
+
+ buffer[MAX_STRING - 1] = '\0'; /* just in case */
+ if ((strchr(buffer, '\n') == NULL) && (!feof(fp)))
+--- 686,693 ----
+
+ while (fgets(buffer, MAX_STRING - 2, fp) != 0)
+ {
+! long CL = 0L;
+! int has_CL = FALSE;
+
+ buffer[MAX_STRING - 1] = '\0'; /* just in case */
+ if ((strchr(buffer, '\n') == NULL) && (!feof(fp)))
+***************
+*** 836,842 ****
+ tempBox.type = BoxType;
+ tempBox.boxNum = nBoxes;
+
+! if (BoxType = NNTPBOX)
+ {
+ tempBox.articles = DynCreate(sizeof(Articles_t), 2);
+ #ifdef DEBUG
+--- 825,831 ----
+ tempBox.type = BoxType;
+ tempBox.boxNum = nBoxes;
+
+! if (BoxType == NNTPBOX)
+ {
+ tempBox.articles = DynCreate(sizeof(Articles_t), 2);
+ #ifdef DEBUG
+***************
+*** 902,908 ****
+ {
+ char *mailPath = 0;
+ char *boxes = 0;
+- int pos = 0;
+ char *str = 0;
+
+ /* get mail path */
+--- 891,896 ----
+***************
+*** 946,952 ****
+ {
+ char *newsPath = 0;
+ char *boxes = 0;
+- int pos = 0;
+ char *str = 0;
+
+ /* get nntp path */
+--- 934,939 ----
+***************
+*** 1023,1028 ****
+--- 1010,1016 ----
+ break;
+ case NONE:
+ case USR:
++ case UNDEF:
+ break;
+ }
+
+***************
+*** 1039,1044 ****
+--- 1027,1033 ----
+ break;
+ case NONE:
+ case USR:
++ case UNDEF:
+ break;
+ }
+
+***************
+*** 1100,1113 ****
+ };
+
+ #endif
+- FILE *boxes;
+ static Boolean mailArgs;
+ Widget form;
+- Widget command;
+ int i;
+ char *check;
+ char name[MAX_STRING];
+- Pixel bg, fg;
+ Arg args[5];
+ int nargs;
+ int pid;
+--- 1089,1099 ----
+***************
+*** 1223,1230 ****
+ #ifdef NNTP
+ else
+ {
+- int dummy;
+-
+ initBox(NEWstrdup(*argv), NNTPBOX, envPolltime, envHeadertime,
+ UNDEF, data.command, data.audioCmd, NULL, data.origMode, data.nobeep,NULL,NULL);
+
+--- 1209,1214 ----
diff --git a/mail/xbuffy/pkg-comment b/mail/xbuffy/pkg-comment
new file mode 100644
index 000000000000..4cf5e5b5118a
--- /dev/null
+++ b/mail/xbuffy/pkg-comment
@@ -0,0 +1 @@
+XBuffy 3.2.1 - A replacement for xbiff that handles multiple mail files.
diff --git a/mail/xbuffy/pkg-descr b/mail/xbuffy/pkg-descr
new file mode 100644
index 000000000000..899dcf5151c5
--- /dev/null
+++ b/mail/xbuffy/pkg-descr
@@ -0,0 +1,9 @@
+Basically, XBuffy (and Xmultibiff) is a XBiff-type program with a lot
+of new options. With XBuffy you can watch multiple mailboxes. When
+new mail arrives, you can have a pop up window showing the From: and
+Subject: lines. You can also set it up to launch your favorite mail
+reader when you click on a box. Currently. xbuffy is only capable of
+watching mailboxes with the standard mailbox format (messages separated
+with a From line).
+
+This is version 3.2.1.
diff --git a/mail/xbuffy/pkg-plist b/mail/xbuffy/pkg-plist
new file mode 100644
index 000000000000..2fbe84980160
--- /dev/null
+++ b/mail/xbuffy/pkg-plist
@@ -0,0 +1,4 @@
+@cwd /usr/X11R6
+@mode 755
+bin/xbuffy
+man/man1/xbuffy.1.gz