aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--news/bgrab/Makefile17
-rw-r--r--news/bgrab/distinfo1
-rw-r--r--news/bgrab/files/patch-ab40
-rw-r--r--news/bgrab/files/patch-ac10
-rw-r--r--news/bgrab/pkg-comment1
-rw-r--r--news/bgrab/pkg-descr5
-rw-r--r--news/bgrab/pkg-plist1
7 files changed, 75 insertions, 0 deletions
diff --git a/news/bgrab/Makefile b/news/bgrab/Makefile
new file mode 100644
index 000000000000..a6e3dcb1878d
--- /dev/null
+++ b/news/bgrab/Makefile
@@ -0,0 +1,17 @@
+# New ports collection makefile for: bgrab
+# Version required: 1.1
+# Date created: 27 July 1999
+# Whom: Kelly Yancey <kbyanc@posi.net>
+#
+# $Id$
+#
+
+DISTNAME= bgrab
+PKGNAME= bgrab-1.1
+CATEGORIES= news foo bar
+MASTER_SITES= http://awwm.linuxberg.com/files/console/network/ \
+ http://powerlinux.linuxberg.com/files/console/network/
+
+MAINTAINER= kbyanc@posi.net
+
+.include <bsd.port.mk>
diff --git a/news/bgrab/distinfo b/news/bgrab/distinfo
new file mode 100644
index 000000000000..c203562a864c
--- /dev/null
+++ b/news/bgrab/distinfo
@@ -0,0 +1 @@
+MD5 (bgrab.tar.gz) = 8c41598154b89b2a0195884b43e83ac2
diff --git a/news/bgrab/files/patch-ab b/news/bgrab/files/patch-ab
new file mode 100644
index 000000000000..86f8d9b16c3e
--- /dev/null
+++ b/news/bgrab/files/patch-ab
@@ -0,0 +1,40 @@
+diff -u -N ./main.cc ../bgrab/main.cc
+--- ./main.cc Mon Feb 1 03:04:23 1999
++++ ../bgrab/main.cc Tue Jul 27 10:38:26 1999
+@@ -9,7 +9,6 @@
+ #include <sys/types.h>
+ #include <sys/wait.h>
+ #include <stdlib.h>
+-#include <curses.h>
+ }
+
+ extern "C++" {
+@@ -19,7 +18,7 @@
+ #include "multipart.h"
+ }
+
+-#define NNTP_PORT 119
++unsigned NNTP_PORT = 119;
+
+ char *NNTP_SERVER = NULL;
+ char *NNTP_GROUP = NULL;
+@@ -194,6 +193,10 @@
+ fprintf(stderr, "groupname newsgroup to read\n");
+ fprintf(stderr," -n don't output to stdout\n");
+ fprintf(stderr," -f fork to background. use only with -n\n");
++ fprintf(stderr,"\nThe hostname or IP address of the news server can be\n");
++ fprintf(stderr,"specified by the NNTPSERVER environment variable, or defaults\n");
++ fprintf(stderr,"to \"news\". The port to connect to can be specified by the\n");
++ fprintf(stderr,"NNTPPORT environment variable or defaults to 119.\n");
+ exit(-1);
+ }
+
+@@ -225,6 +228,8 @@
+ void main(int argc, char **argv) {
+ if (getenv("NNTPSERVER")) NNTP_SERVER = strdup(getenv("NNTPSERVER"));
+ else NNTP_SERVER = strdup("news");
++
++ if (getenv("NNTPPORT")) NNTP_PORT = atoi(getenv("NNTPPORT"));
+
+ process_command_line(argc, argv);
+
diff --git a/news/bgrab/files/patch-ac b/news/bgrab/files/patch-ac
new file mode 100644
index 000000000000..4fce47a9dab3
--- /dev/null
+++ b/news/bgrab/files/patch-ac
@@ -0,0 +1,10 @@
+diff -u -N ./screen.h ../bgrab/screen.h
+--- ./screen.h Sun Jan 24 03:24:50 1999
++++ ../bgrab/screen.h Tue Jul 27 10:38:40 1999
+@@ -1,5 +1,5 @@
+ extern "C" {
+-#include <curses.h>
++#include <ncurses.h>
+ #include <stdio.h>
+ }
+
diff --git a/news/bgrab/pkg-comment b/news/bgrab/pkg-comment
new file mode 100644
index 000000000000..06b9205f3bf9
--- /dev/null
+++ b/news/bgrab/pkg-comment
@@ -0,0 +1 @@
+Downloads binaries from newsgroups
diff --git a/news/bgrab/pkg-descr b/news/bgrab/pkg-descr
new file mode 100644
index 000000000000..f519e45443c4
--- /dev/null
+++ b/news/bgrab/pkg-descr
@@ -0,0 +1,5 @@
+This is an automated binary extraction tool for UseNet newsgroups.
+It will log into any newsgroup and download all the binary files.
+
+ -kbyanc
+ kbyanc@posi.net
diff --git a/news/bgrab/pkg-plist b/news/bgrab/pkg-plist
new file mode 100644
index 000000000000..3bebaa2bcd31
--- /dev/null
+++ b/news/bgrab/pkg-plist
@@ -0,0 +1 @@
+bin/bgrab