Date: Tue, 27 Jul 1999 11:11:21 -0400 (EDT) From: kbyanc@alcnet.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12841: new port: bgrab-1.1 Message-ID: <199907271511.LAA38593@kronos.alcnet.com>
next in thread | raw e-mail | index | archive | help
>Number: 12841 >Category: ports >Synopsis: New port of Rael's Binary Grabber (bgrab-1.1) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 27 11:10:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Kelly Yancey >Release: FreeBSD 3.2-STABLE i386 >Organization: >Environment: >Description: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/news/bgrab/ # /usr/ports/news/bgrab/patches # /usr/ports/news/bgrab/patches/patch-aa # /usr/ports/news/bgrab/Makefile # /usr/ports/news/bgrab/pkg # /usr/ports/news/bgrab/pkg/COMMENT # /usr/ports/news/bgrab/pkg/DESCR # /usr/ports/news/bgrab/pkg/PLIST # /usr/ports/news/bgrab/files # /usr/ports/news/bgrab/files/md5 # echo c - /usr/ports/news/bgrab/ mkdir -p /usr/ports/news/bgrab/ > /dev/null 2>&1 echo c - /usr/ports/news/bgrab/patches mkdir -p /usr/ports/news/bgrab/patches > /dev/null 2>&1 echo x - /usr/ports/news/bgrab/patches/patch-aa sed 's/^X//' >/usr/ports/news/bgrab/patches/patch-aa << 'END-of-/usr/ports/news/bgrab/patches/patch-aa' Xdiff -u -N ./Makefile ../bgrab/Makefile X--- ./Makefile Wed Dec 31 19:00:00 1969 X+++ ../bgrab/Makefile Tue Jul 27 11:00:19 1999 X@@ -0,0 +1,16 @@ X+OBJ = main.o server.o screen.o tree.o multipart.o X+CC = g++ X+CPPFLAGS= -O6 X+LIBS = -lncurses X+DEST = /usr/local/bin X+ X+bgrab: $(OBJ) Makefile common.h X+ $(CC) $(LIBS) -o bgrab $(OBJ) X+ X+clean: X+ rm -f $(OBJ) bgrab X+ X+install: bgrab X+ install -o root -g wheel -m 0755 bgrab $(DEST)/bgrab X+ X+all: bgrab XBinary files ./bgrab and ../bgrab/bgrab differ Xdiff -u -N ./main.cc ../bgrab/main.cc X--- ./main.cc Mon Feb 1 03:04:23 1999 X+++ ../bgrab/main.cc Tue Jul 27 10:38:26 1999 X@@ -9,7 +9,6 @@ X #include <sys/types.h> X #include <sys/wait.h> X #include <stdlib.h> X-#include <curses.h> X } X X extern "C++" { X@@ -19,7 +18,7 @@ X #include "multipart.h" X } X X-#define NNTP_PORT 119 X+unsigned NNTP_PORT = 119; X X char *NNTP_SERVER = NULL; X char *NNTP_GROUP = NULL; X@@ -194,6 +193,10 @@ X fprintf(stderr, "groupname newsgroup to read\n"); X fprintf(stderr," -n don't output to stdout\n"); X fprintf(stderr," -f fork to background. use only with -n\n"); X+ fprintf(stderr,"\nThe hostname or IP address of the news server can be\n"); X+ fprintf(stderr,"specified by the NNTPSERVER environment variable, or defaults\n"); X+ fprintf(stderr,"to \"news\". The port to connect to can be specified by the\n"); X+ fprintf(stderr,"NNTPPORT environment variable or defaults to 119.\n"); X exit(-1); X } X X@@ -225,6 +228,8 @@ X void main(int argc, char **argv) { X if (getenv("NNTPSERVER")) NNTP_SERVER = strdup(getenv("NNTPSERVER")); X else NNTP_SERVER = strdup("news"); X+ X+ if (getenv("NNTPPORT")) NNTP_PORT = atoi(getenv("NNTPPORT")); X X process_command_line(argc, argv); X XBinary files ./main.o and ../bgrab/main.o differ XBinary files ./multipart.o and ../bgrab/multipart.o differ Xdiff -u -N ./screen.h ../bgrab/screen.h X--- ./screen.h Sun Jan 24 03:24:50 1999 X+++ ../bgrab/screen.h Tue Jul 27 10:38:40 1999 X@@ -1,5 +1,5 @@ X extern "C" { X-#include <curses.h> X+#include <ncurses.h> X #include <stdio.h> X } X XBinary files ./screen.o and ../bgrab/screen.o differ XBinary files ./server.o and ../bgrab/server.o differ XBinary files ./tree.o and ../bgrab/tree.o differ END-of-/usr/ports/news/bgrab/patches/patch-aa echo x - /usr/ports/news/bgrab/Makefile sed 's/^X//' >/usr/ports/news/bgrab/Makefile << 'END-of-/usr/ports/news/bgrab/Makefile' X# New ports collection makefile for: bgrab X# Version required: 1.1 X# Date created: 27 July 1999 X# Whom: kbyanc X# X# $Id$ X# X XDISTNAME= bgrab XPKGNAME= bgrab-1.1 XCATEGORIES= news XMASTER_SITES= http://awwm.linuxberg.com/files/console/network/ \ X http://powerlinux.linuxberg.com/files/console/network/ X XMAINTAINER= kbyanc@posi.net X XLIB_DEPENDS= ncurses:${PORTSDIR}/devel/ncurses X X.include <bsd.port.mk> END-of-/usr/ports/news/bgrab/Makefile echo c - /usr/ports/news/bgrab/pkg mkdir -p /usr/ports/news/bgrab/pkg > /dev/null 2>&1 echo x - /usr/ports/news/bgrab/pkg/COMMENT sed 's/^X//' >/usr/ports/news/bgrab/pkg/COMMENT << 'END-of-/usr/ports/news/bgrab/pkg/COMMENT' XRael's Binary Grabber - downloads binaries from newsgroups END-of-/usr/ports/news/bgrab/pkg/COMMENT echo x - /usr/ports/news/bgrab/pkg/DESCR sed 's/^X//' >/usr/ports/news/bgrab/pkg/DESCR << 'END-of-/usr/ports/news/bgrab/pkg/DESCR' XThis is an automated binary extraction tool for UseNet newsgroups. XIt will log into any newsgroup and download all the binary files. X X -kbyanc X kbyanc@posi.net END-of-/usr/ports/news/bgrab/pkg/DESCR echo x - /usr/ports/news/bgrab/pkg/PLIST sed 's/^X//' >/usr/ports/news/bgrab/pkg/PLIST << 'END-of-/usr/ports/news/bgrab/pkg/PLIST' Xbin/bgrab X END-of-/usr/ports/news/bgrab/pkg/PLIST echo c - /usr/ports/news/bgrab/files mkdir -p /usr/ports/news/bgrab/files > /dev/null 2>&1 echo x - /usr/ports/news/bgrab/files/md5 sed 's/^X//' >/usr/ports/news/bgrab/files/md5 << 'END-of-/usr/ports/news/bgrab/files/md5' XMD5 (bgrab.tar.gz) = 8c41598154b89b2a0195884b43e83ac2 END-of-/usr/ports/news/bgrab/files/md5 exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907271511.LAA38593>