diff options
author | Donald Burr <dburr@FreeBSD.org> | 1998-05-16 03:30:43 +0000 |
---|---|---|
committer | Donald Burr <dburr@FreeBSD.org> | 1998-05-16 03:30:43 +0000 |
commit | 0ecccd54b8d73a793b4d0047410effcd8b3375a7 (patch) | |
tree | 4dd3d78845da8f7460ab8de9303ac38b91c24ca6 /news/xmitbin | |
parent | b66ef94807b52769232a1b9b6bdb519e54734aaf (diff) | |
download | ports-0ecccd54b8d73a793b4d0047410effcd8b3375a7.tar.gz ports-0ecccd54b8d73a793b4d0047410effcd8b3375a7.zip |
Notes
Diffstat (limited to 'news/xmitbin')
-rw-r--r-- | news/xmitbin/Makefile | 23 | ||||
-rw-r--r-- | news/xmitbin/distinfo | 1 | ||||
-rw-r--r-- | news/xmitbin/files/patch-aa | 60 | ||||
-rw-r--r-- | news/xmitbin/files/patch-ab | 13 | ||||
-rw-r--r-- | news/xmitbin/files/patch-ac | 28 | ||||
-rw-r--r-- | news/xmitbin/files/patch-ad | 28 | ||||
-rw-r--r-- | news/xmitbin/pkg-comment | 1 | ||||
-rw-r--r-- | news/xmitbin/pkg-descr | 14 | ||||
-rw-r--r-- | news/xmitbin/pkg-message | 16 | ||||
-rw-r--r-- | news/xmitbin/pkg-plist | 10 |
10 files changed, 194 insertions, 0 deletions
diff --git a/news/xmitbin/Makefile b/news/xmitbin/Makefile new file mode 100644 index 000000000000..ae3f606ff1f8 --- /dev/null +++ b/news/xmitbin/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: xmitnin +# Version required: 1.9 +# Date created: 29 Nov 1997 +# Whom: Donald Burr <dburr@FreeBSD.ORG> +# +# $Id$ +# + +DISTNAME= xmitBin-1.9 +PKGNAME= xmitbin-1.9 +CATEGORIES= news mail +MASTER_SITES= ftp://ftp.cadence.com/utils/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= dburr@FreeBSD.ORG + +MAN1= xmitBin.1 +NO_WRKSUBDIR= YES + +post-install: + @${CAT} ${PKGDIR}/MESSAGE + +.include <bsd.port.mk> diff --git a/news/xmitbin/distinfo b/news/xmitbin/distinfo new file mode 100644 index 000000000000..04cc7a585fba --- /dev/null +++ b/news/xmitbin/distinfo @@ -0,0 +1 @@ +MD5 (xmitBin-1.9.tar.Z) = 7ac853f2dcf327b89f2f44d932d43596 diff --git a/news/xmitbin/files/patch-aa b/news/xmitbin/files/patch-aa new file mode 100644 index 000000000000..0e596406c4a8 --- /dev/null +++ b/news/xmitbin/files/patch-aa @@ -0,0 +1,60 @@ +--- Makefile.old Fri May 15 19:21:24 1998 ++++ Makefile Fri May 15 19:22:47 1998 +@@ -1,5 +1,5 @@ + # Installation directory... +-INSTDIR = /mnt3/deej ++INSTDIR = ${PREFIX} + # Where to install the program itself... + BINDIR = ${INSTDIR}/bin + # Where to put the man page... +@@ -14,7 +14,7 @@ + # (NOTE! This also applies to "sendmail" and "ELM" usage!) + # This option when used with "sendmail" provides the greatest amount of + # xmitBin functionality, so it's the default... +-CCOPTS = -DSysVMail ++# CCOPTS = -DSysVMail + # ...BSD mailing on a BSD system... + # CCOPTS = + # ...you might also want to define "SYSV" if you're on a System V machine +@@ -24,11 +24,13 @@ + # ...of course, you could do both, too! + # CCOPTS = -DSYSV -DSysVMail + # ...options for gcc on a Linux 386/486 system... +-# CCOPTS = -06 -Wall -DSYSV -DSysVMail ++# CCOPTS = -06 -m486 -Wall -DSYSV -DSysVMail + # ...options for SCO UNIX... + # CCOPTS = -DSCO -DSYSV + # ...options for Apollo... + # CCOPTS = -DAPOLLO -DSysVMail ++# ...options for FreeBSD... ++CCOPTS = -O6 -m486 -Wall -DSysVMail + + # + # END OF USER-CONFIGURABLE ITEMS - NO MODIFICATIONS BEYOND THIS POINT SHOULD +@@ -44,13 +46,23 @@ + clean: + rm -f ${TARGET} ${OBJS} + +-install: ${BINDIR}/${TARGET} ${MANDIR}/man1/${TARGET}.1 ++install: ${BINDIR}/${TARGET} ${MANDIR}/man1/${TARGET}.1 extras + + ${BINDIR}/${TARGET}: ${TARGET} +- cp ${TARGET} ${BINDIR} ++ install -c -s -o root -g wheel -m 111 ${TARGET} ${BINDIR}/${TARGET} + + ${MANDIR}/man1/${TARGET}.1: ${TARGET}.1 +- cp ${TARGET}.1 ${MANDIR}/man1 ++ install -c -m 644 -o bin -g bin ${TARGET}.1 ${MANDIR}/man1/${TARGET}.1 ++ ++extras: mailbin postbin ++ install -c -o root -g wheel -m 755 mailbin ${BINDIR}/mailbin ++ install -c -o root -g wheel -m 755 postbin ${BINDIR}/postbin ++ install -c -d -o bin -g bin -m 755 ${INSTDIR}/lib/xmitBin ++ install -c -o root -g wheel -m 755 autoSend ${INSTDIR}/lib/xmitBin/autoSend ++ install -c -o root -g wheel -m 644 doList.awk ${BINDIR}/doList.awk ++ install -c -o root -g wheel -m 644 mkList.awk ${BINDIR}/mkList.awk ++ install -c -o bin -g bin -m 644 autoSend.txt ${INSTDIR}/lib/xmitBin/autoSend.txt ++ install -c -o bin -g bin -m 644 anonymous.anondat ${INSTDIR}/lib/xmitBin/anonymous.anondat + + ${TARGET}: ${OBJS} + ${CC} -o ${TARGET} ${OBJS} diff --git a/news/xmitbin/files/patch-ab b/news/xmitbin/files/patch-ab new file mode 100644 index 000000000000..07182aefb990 --- /dev/null +++ b/news/xmitbin/files/patch-ab @@ -0,0 +1,13 @@ +diff -ruN autoSend.old autoSend +--- autoSend.old Wed Sep 15 03:14:16 1993 ++++ autoSend Sat Nov 29 04:15:37 1997 +@@ -1,7 +1,7 @@ + #!/bin/csh -f + # These next two definitions need to be configured for each user! +-set datDir = /mnt3/deej/gif/autoSend +-set binDir = /mnt3/deej/bin ++set datDir = /tmp/autoSend ++set binDir = /usr/local/bin + # OK, all standard stuff now... + echo "" + echo "AutoSend run started `date`" diff --git a/news/xmitbin/files/patch-ac b/news/xmitbin/files/patch-ac new file mode 100644 index 000000000000..c1aac6ef64a2 --- /dev/null +++ b/news/xmitbin/files/patch-ac @@ -0,0 +1,28 @@ +diff -ruN mailbin.old mailbin +--- mailbin.old Wed Dec 31 16:00:00 1969 ++++ mailbin Sat Nov 29 04:15:38 1997 +@@ -0,0 +1,24 @@ ++#!/bin/sh ++MAILER="Mail" ++DSCDIR=${HOME}/.xmitBin ++if [ ! -d ${DSCDIR} ] ++then ++ echo creating ${DSCDIR} ++ mkdir ${DSCDIR} ++fi ++export MAILER DSCDIR ++ ++if [ $# -ne 3 ] ++then ++ echo "usage: ${0} email filename title" ++ echo "NOTE: title must be all one argument, so enclose it in quotes!" ++ exit 1 ++fi ++ ++ADDR=${1} ++FILE=${2} ++TITLE=${3} ++ ++exec xmitBin -mail -d ${ADDR} -f ${FILE} -verbose "${TITLE}" ++# -l label to put in titlebar ++# consider -noscript diff --git a/news/xmitbin/files/patch-ad b/news/xmitbin/files/patch-ad new file mode 100644 index 000000000000..aed92468b430 --- /dev/null +++ b/news/xmitbin/files/patch-ad @@ -0,0 +1,28 @@ +diff -ruN postbin.old postbin +--- postbin.old Wed Dec 31 16:00:00 1969 ++++ postbin Sat Nov 29 04:15:38 1997 +@@ -0,0 +1,24 @@ ++#!/bin/sh ++POSTER="inews -h" ++DSCDIR=${HOME}/.xmitBin ++if [ ! -d ${DSCDIR} ] ++then ++ echo creating ${DSCDIR} ++ mkdir ${DSCDIR} ++fi ++export POSTER DSCDIR ++ ++if [ $# -ne 3 ] ++then ++ echo "usage: ${0} newsgroup filename title" ++ echo "NOTE: title must be all one argument, so enclose it in quotes!" ++ exit 1 ++fi ++ ++NG=${1} ++FILE=${2} ++TITLE=${3} ++ ++exec xmitBin -post -d ${NG} -f ${FILE} -verbose "${TITLE}" ++# -l label to put in titlebar ++# consider -noscript diff --git a/news/xmitbin/pkg-comment b/news/xmitbin/pkg-comment new file mode 100644 index 000000000000..7990dd0f6ba8 --- /dev/null +++ b/news/xmitbin/pkg-comment @@ -0,0 +1 @@ +Posts or mails binary and sourcecode files intelligently diff --git a/news/xmitbin/pkg-descr b/news/xmitbin/pkg-descr new file mode 100644 index 000000000000..52c18d9acf19 --- /dev/null +++ b/news/xmitbin/pkg-descr @@ -0,0 +1,14 @@ +xmitBin allows you to post large binary postings (well, any large posting) +to usenet newsgroups, to someone via e-mail, or both. It will post +intelligently, meaning uuencoding binaries, splitting large files across +multiple postings, and generally making it easier for those reading your +posts to find and decode all pieces of your post, and not getting usenet +site admins mad at you for posting large binaries in one chunk. If you've +ever wanted to post to any of the alt.binaries.* groups, this is the tool +for you! + +I have included two shell scripts of my own, "mailbin" and "postbin". +These scripts make it easy to mail and post (respectively) stuff using +a good default set of command line switches. + +[ This port is maintained by Donald Burr <dburr@FreeBSD.ORG>. ] diff --git a/news/xmitbin/pkg-message b/news/xmitbin/pkg-message new file mode 100644 index 000000000000..36102ddc8671 --- /dev/null +++ b/news/xmitbin/pkg-message @@ -0,0 +1,16 @@ +A couple of notes on this package/port... + +* I have included two scripts of my own design, postbin and mailbin. + They allow you to easily mail and post stuff using a fairly generic + (i.e. probably useful for most people) set of options. + +* Documentation and sample configuration files are located in + /usr/local/lib/xmitBin/. + +* A script, autoSend, has been included. This script is intended to be + run automatically (e.g. by cron(8)). It will allow you to periodically + post stuff on a regular basis. See the "autoSend.txt" documentation + file for more information. The script is located at + /usr/local/lib/xmitBin/autoSend. Each user who wishes to use it + should copy it to a directory where scripts are kept (e.g. $HOME/bin), + and then modify it to suit him/her according to the directions. diff --git a/news/xmitbin/pkg-plist b/news/xmitbin/pkg-plist new file mode 100644 index 000000000000..d6e75e8e3070 --- /dev/null +++ b/news/xmitbin/pkg-plist @@ -0,0 +1,10 @@ +bin/xmitBin +bin/mailbin +bin/postbin +bin/doList.awk +bin/mkList.awk +man/man1/xmitBin.1.gz +lib/xmitBin/autoSend +lib/xmitBin/autoSend.txt +lib/xmitBin/anonymous.anondat +@dirrm lib/xmitBin |