summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelly Yancey <kbyanc@FreeBSD.org>2001-01-21 03:45:01 +0000
committerKelly Yancey <kbyanc@FreeBSD.org>2001-01-21 03:45:01 +0000
commit9460afdbc489139b255e5d12e4d8ddf7ad488205 (patch)
tree406209287ca73814910f7ad4688b96448c28457a
parentadd myself to the map (diff)
Update bgrab to latest version (1.36).
Notes
Notes: svn path=/head/; revision=37391
-rw-r--r--news/bgrab/Makefile3
-rw-r--r--news/bgrab/distinfo2
-rw-r--r--news/bgrab/files/Makefile.dist2
-rw-r--r--news/bgrab/files/patch-ab58
4 files changed, 18 insertions, 47 deletions
diff --git a/news/bgrab/Makefile b/news/bgrab/Makefile
index dab2c2327392..cf6b57322404 100644
--- a/news/bgrab/Makefile
+++ b/news/bgrab/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= bgrab
-PORTVERSION= 1.3.4
+PORTVERSION= 1.3.6
CATEGORIES= news
MASTER_SITES= http://www.student.dtu.dk/~c960941/bgrab/
+EXTRACT_SUFX= .tgz
MAINTAINER= kbyanc@posi.net
diff --git a/news/bgrab/distinfo b/news/bgrab/distinfo
index d540df16978c..106320cb4994 100644
--- a/news/bgrab/distinfo
+++ b/news/bgrab/distinfo
@@ -1 +1 @@
-MD5 (bgrab-1.3.4.tar.gz) = 6e02ce0a601bfed1215111c2189c7a00
+MD5 (bgrab-1.3.6.tgz) = e0c8e05ce219803aa9914ae81b08ee5b
diff --git a/news/bgrab/files/Makefile.dist b/news/bgrab/files/Makefile.dist
index ccddd1cbd480..d46e79467e65 100644
--- a/news/bgrab/files/Makefile.dist
+++ b/news/bgrab/files/Makefile.dist
@@ -1,5 +1,5 @@
OBJ = main.o server.o screen.o tree.o multipart.o grouplist.o \
- findfile.o parsecfgfile.o
+ findfile.o parsecfgfile.o MessageIdStore.o
CXX ?= g++
CXXFLAGS ?= -O6
CXXFLAGS += -DFREEBSD
diff --git a/news/bgrab/files/patch-ab b/news/bgrab/files/patch-ab
index 3e1216f440ad..ea98554a5657 100644
--- a/news/bgrab/files/patch-ab
+++ b/news/bgrab/files/patch-ab
@@ -1,44 +1,14 @@
---- main.cc.orig Tue Mar 14 08:03:04 2000
-+++ main.cc Tue Mar 21 15:13:59 2000
-@@ -15,7 +15,7 @@
- #include "findfile.h"
- #include "parsecfgfile.h"
-
--#define NNTP_PORT 119
-+unsigned NNTP_PORT = 119;
-
- char *NNTP_SERVER = NULL;
- groupListPointer NNTP_GROUP = new groupList();
-@@ -282,6 +282,8 @@
- fprintf(stderr,"grouplist newsgroups to read\n");
- fprintf(stderr,"-S name name of the news server\n");
- fprintf(stderr," (if not specified, environ. var. NNTPSERVER is used )\n");
-+ fprintf(stderr,"-P port number of the port on the news server to connect to\n");
-+ fprintf(stderr," (if not specified, environ. var. NNTPPORT is used, or 119)\n");
- fprintf(stderr,"-n don't output to stdout\n");
- fprintf(stderr,"-f fork to background. use only with -n\n");
- fprintf(stderr,"-s num consider messages posted to more than\n");
-@@ -321,6 +323,14 @@
- }
- NNTP_SERVER = argv[i];
- break;
-+ case 'P':
-+ i++;
-+ if (i > argc) {
-+ usage_error(argv[0]);
-+ break;
-+ }
-+ NNTP_PORT = atoi(argv[i]);
-+ break;
- case 's': i++;
- if (i == argc) {
- usage_error(argv[0]);
-@@ -366,6 +376,8 @@
- missing_helper();
-
- if (getenv("NNTPGROUP")) NNTP_GROUP->addGroup( getenv("NNTPGROUP") ); // Check env for group to be checked
-+
-+ if (getenv("NNTP_PORT")) NNTP_PORT = atoi(getenv("NNTPPORT"));
-
- process_command_line(argc, argv);
- if ( cfgfilename ) // Parse the config file
+--- main.cc.orig Sat Jan 20 20:04:03 2001
++++ main.cc Sat Jan 20 20:04:19 2001
+@@ -16,10 +16,7 @@
+ #include "screen.h"
+ #include "MessageIdStore.h"
+ #include <strings.h>
+-
+-extern "C" {
+-#include <rxposix.h>
+-}
++#include <regex.h>
+
+ /* Prototype for signal handler */
+ void cleanUp(int);