From owner-freebsd-ports Wed Jan 3 12:10:15 2001 From owner-freebsd-ports@FreeBSD.ORG Wed Jan 3 12:10:03 2001 Return-Path: Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EE30137B404 for ; Wed, 3 Jan 2001 12:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f03KA2i27613; Wed, 3 Jan 2001 12:10:02 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 3 Jan 2001 12:10:02 -0800 (PST) Resent-Message-Id: <200101032010.f03KA2i27613@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-ports@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, George Reid Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id 6608C37B400 for ; 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 ; Wed, 3 Jan 2001 20:01:44 +0000 Message-Id: Date: Wed, 3 Jan 2001 20:06:38 +0000 (GMT) From: George Reid To: FreeBSD-gnats-submit@freebsd.org Subject: ports/24051: New port: biabam: A command-line attachment mailer Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 | biabam -s 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 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 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 | biabam -s 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