From greid@ukug.uk.freebsd.org  Wed Jan  3 12:01:46 2001
Return-Path: <greid@ukug.uk.freebsd.org>
Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46])
	by hub.freebsd.org (Postfix) with ESMTP id 6608C37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  3 Jan 2001 12:01:46 -0800 (PST)
Received: from sobek.openirc.co.uk ([62.252.13.90])
          by mta06-svc.ntlworld.com
          (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
          id <20010103200144.CVFQ283.mta06-svc.ntlworld.com@sobek.openirc.co.uk>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Wed, 3 Jan 2001 20:01:44 +0000
Message-Id: <Pine.BSF.4.21.0101032006100.49084-100000@sobek.openirc.co.uk>
Date: Wed, 3 Jan 2001 20:06:38 +0000 (GMT)
From: George Reid <greid@ukug.uk.freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: biabam: A command-line attachment mailer

>Number:         24051
>Category:       ports
>Synopsis:       New port: biabam: A command-line attachment mailer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 03 12:10:02 PST 2001
>Closed-Date:    Mon Feb 26 22:28:39 PST 2001
>Last-Modified:  Mon Feb 26 22:28:55 PST 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Mon Feb 26 22:28:39 PST 2001 
State-Changed-Why:  
New port committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24051 
>Unformatted:
