Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2001 20:06:38 +0000 (GMT)
From:      George Reid <greid@dogma.freebsd-uk.eu.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24051: New port: biabam: A command-line attachment mailer
Message-ID:  <Pine.BSF.4.21.0101032006100.49084-100000@sobek.openirc.co.uk>
Resent-Message-ID: <200101032010.f03KA2i27613@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24051
>Category:       ports
>Synopsis:       New port: biabam: A command-line attachment mailer
>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:   Wed Jan 03 12:10:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     George Reid
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSD UKUG
>Environment:
n/a
>Description:
Biabam Is A Bash Attachment Mailer

To use BIABAM use the following syntax (yes, it is on my todo list, to add
switches so the syntax get's like mailing with commandline Mutt):

echo <body> | biabam <attachment> -s <subject> <recipient>

Example:
echo "Here is the tarball you requested" | \
  biabam foobar-0.7.8.tar.gz -s "Answer to your request" john@doe.org

If no text is piped into biabam, it will wait for text on standard input
(finish with CTRL-D)

BIABAM also works with the Bourne shell (/bin/sh).

- George Reid
greid@ukug.uk.freebsd.org
>How-To-Repeat:
n/a
>Fix:
# 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:
#
#	biabam
#	biabam/Makefile
#	biabam/distinfo
#	biabam/pkg-descr
#	biabam/pkg-comment
#	biabam/pkg-plist
#
echo c - biabam
mkdir -p biabam > /dev/null 2>&1
echo x - biabam/Makefile
sed 's/^X//' >biabam/Makefile << 'END-of-biabam/Makefile'
X# New ports collection makefile for:   biabam
X# Date created:        03 January 2001
X# Whom:                George Reid <greid@ukug.uk.freebsd.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=       	biabam
XPORTVERSION=		0.9.2
XCATEGORIES=     	mail
XMASTER_SITES=   	http://mmj.dk/biabam/
X
XMAINTAINER=		greid@ukug.uk.freebsd.org
X
XNO_BUILD=		yes
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/biabam ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-biabam/Makefile
echo x - biabam/distinfo
sed 's/^X//' >biabam/distinfo << 'END-of-biabam/distinfo'
XMD5 (biabam-0.9.2.tar.gz) = d89e67163ffbe22fda162d70efb3a12b
END-of-biabam/distinfo
echo x - biabam/pkg-descr
sed 's/^X//' >biabam/pkg-descr << 'END-of-biabam/pkg-descr'
XBiabam Is A Bash Attachment Mailer
X
XTo use BIABAM use the following syntax (yes, it is on my todo list, to add
Xswitches so the syntax get's like mailing with commandline Mutt):
X
Xecho <body> | biabam <attachment> -s <subject> <recipient>
X
XExample:
Xecho "Here is the tarball you requested" | \
X  biabam foobar-0.7.8.tar.gz -s "Answer to your request" john@doe.org
X
XIf no text is piped into biabam, it will wait for text on standard input
X(finish with CTRL-D)
X
XBIABAM also works with the Bourne shell (/bin/sh).
X
X- George Reid
Xgreid@ukug.uk.freebsd.org
END-of-biabam/pkg-descr
echo x - biabam/pkg-comment
sed 's/^X//' >biabam/pkg-comment << 'END-of-biabam/pkg-comment'
XA command-line attachment mailer
END-of-biabam/pkg-comment
echo x - biabam/pkg-plist
sed 's/^X//' >biabam/pkg-plist << 'END-of-biabam/pkg-plist'
Xbin/biabam
END-of-biabam/pkg-plist
exit



>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?Pine.BSF.4.21.0101032006100.49084-100000>