diff options
author | kbyanc <kbyanc@FreeBSD.org> | 2001-01-21 11:45:01 +0800 |
---|---|---|
committer | kbyanc <kbyanc@FreeBSD.org> | 2001-01-21 11:45:01 +0800 |
commit | c0f5ca60651cc19d305aa2ae3cc4f1dee36d8eff (patch) | |
tree | 1a6f5c96ab95ee4ea4a58c1df238303c0e560b87 /news | |
parent | 4893d1255fc5a40b5c80cd21bd24d1f303df4b29 (diff) | |
download | freebsd-ports-gnome-c0f5ca60651cc19d305aa2ae3cc4f1dee36d8eff.tar.gz freebsd-ports-gnome-c0f5ca60651cc19d305aa2ae3cc4f1dee36d8eff.tar.zst freebsd-ports-gnome-c0f5ca60651cc19d305aa2ae3cc4f1dee36d8eff.zip |
Update bgrab to latest version (1.36).
Diffstat (limited to 'news')
-rw-r--r-- | news/bgrab/Makefile | 3 | ||||
-rw-r--r-- | news/bgrab/distinfo | 2 | ||||
-rw-r--r-- | news/bgrab/files/Makefile.dist | 2 | ||||
-rw-r--r-- | news/bgrab/files/patch-ab | 58 |
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); |