Date: Fri, 6 Oct 2000 12:03:12 +0200 (CEST) From: Christian Weisgerber <naddy@mips.inka.de> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/21781: new port: mail/bsmtp Message-ID: <200010061003.e96A3CJ71338@kemoauc.mips.inka.de>
next in thread | raw e-mail | index | archive | help
>Number: 21781 >Category: ports >Synopsis: new port: mail/bsmtp >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: Fri Oct 06 04:40:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Christian Weisgerber >Release: FreeBSD 5.0-CURRENT alpha >Organization: >Environment: NEWLAYOUT >Description: This package supplies batch SMTP support for sendmail, both incoming and outgoing. Batch SMTP can be used to batch and compress mail messages for UUCP links, which is faster and doesn't suffer from the address limitations of rmail. Bsmtp's version of batch SMTP is fully compatible with smail. >How-To-Repeat: >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: # # bsmtp # bsmtp/distinfo # bsmtp/files # bsmtp/files/patch-bsmtp_c_in # bsmtp/files/config.sed # bsmtp/files/patch-Makefile_in # bsmtp/Makefile # bsmtp/pkg-comment # bsmtp/pkg-descr # bsmtp/pkg-plist # echo c - bsmtp mkdir -p bsmtp > /dev/null 2>&1 echo x - bsmtp/distinfo sed 's/^X//' >bsmtp/distinfo << 'END-of-bsmtp/distinfo' XMD5 (bsmtp-1.01.tar.gz) = 85aee02dfcb1c65646ebdb2fce7d8dbe END-of-bsmtp/distinfo echo c - bsmtp/files mkdir -p bsmtp/files > /dev/null 2>&1 echo x - bsmtp/files/patch-bsmtp_c_in sed 's/^X//' >bsmtp/files/patch-bsmtp_c_in << 'END-of-bsmtp/files/patch-bsmtp_c_in' X--- bsmtp.c.in.orig Sun May 16 11:24:08 1999 X+++ bsmtp.c.in Thu Oct 5 21:41:25 2000 X@@ -167,7 +167,10 @@ X } X #endif X fseek (file, 0, SEEK_END); X- fprintf (file, "MAIL FROM:<%s>\n", from); X+ if (*from == '<') X+ fprintf (file, "MAIL FROM:%s\n", from); X+ else X+ fprintf (file, "MAIL FROM:<%s>\n", from); X while (argc) { X fprintf (file, "RCPT TO:<%s>\n", argv[0]); X argv++; argc--; END-of-bsmtp/files/patch-bsmtp_c_in echo x - bsmtp/files/config.sed sed 's/^X//' >bsmtp/files/config.sed << 'END-of-bsmtp/files/config.sed' Xs,@CC@,%%CC%%, Xs,@INSTALL@,/usr/bin/install, Xs,@SH@,/bin/sh, Xs,@GZIP@,/usr/bin/gzip, Xs,@PERL@,/usr/bin/perl, Xs,@COMPRESS@,/usr/bin/compress, Xs,@UUX@,/usr/bin/uux, Xs,@SENDMAIL@,/usr/sbin/sendmail, Xs,@CFLAGS@,%%CFLAGS%%, Xs,@PRIVBINDIR@,%%PREFIX%%/libexec, Xs,@PUBBINDIR@,%%PREFIX%%/bin, Xs,@MAILERDIR@,%%PREFIX%%/share/sendmail, Xs,@QUEUEDIR@,/var/spool/bsmtp, Xs,@DAEMONUSER@,uucp, Xs,@DAEMONGID@,66, Xs,@DAEMONUID@,66, Xs,@INPROTO@,bsmtp, Xs,@LOCALHOSTNAME@,`hostname`, Xs,@DOMAINSUFFIX@,none, Xs,@SENDMAILVERS@,8.9, Xs,@INSTALLMAILER@,true, Xs,@MAILERVERSION@,8.9, Xs,@FLOCK@,true, Xs,@LOCKDEFINE@,-DUSE_FLOCK, Xs,@BATCHER@,batcher.new, END-of-bsmtp/files/config.sed echo x - bsmtp/files/patch-Makefile_in sed 's/^X//' >bsmtp/files/patch-Makefile_in << 'END-of-bsmtp/files/patch-Makefile_in' X--- Makefile.in.orig Sun May 16 11:24:08 1999 X+++ Makefile.in Thu Oct 5 23:44:15 2000 X@@ -30,8 +30,8 @@ X #oldsendmail=@OLDSENDMAIL@ # not used anymore X installmailer=@INSTALLMAILER@ X mailerversion=@MAILERVERSION@ X-bingrp = bin X-binusr = bin X+bingrp = wheel X+binusr = root X privbin = @PRIVBINDIR@ X pubbin = @PUBBINDIR@ X mailerdir = @MAILERDIR@ X@@ -88,6 +88,14 @@ X chown $(binusr) $(privbin) ; \ X chgrp $(bingrp) $(privbin) ; \ X chmod 755 $(privbin) ; \ X+ fi X+ @if [ ! -d $(mailerdir) ]; then \ X+ echo Making $(mailerdir) ; \ X+ set -x ; \ X+ mkdir -p $(mailerdir) || mkdir $(mailerdir) || exit 0 ; \ X+ chown $(binusr) $(mailerdir) ; \ X+ chgrp $(bingrp) $(mailerdir) ; \ X+ chmod 755 $(mailerdir) ; \ X fi X @if [ ! -d $(queuedir) ]; then \ X echo Making $(queuedir) ; \ END-of-bsmtp/files/patch-Makefile_in echo x - bsmtp/Makefile sed 's/^X//' >bsmtp/Makefile << 'END-of-bsmtp/Makefile' X# New ports collection makefile for: bsmtp X# Date created: 2000-10-05 X# Whom: Christian Weisgerber <naddy@mips.inka.de> X# X# $FreeBSD$ X XPORTNAME= bsmtp XPORTVERSION= 1.01 XCATEGORIES= mail XMASTER_SITES= http://www.stud.uni-karlsruhe.de/~uk1o/bsmtp/ X XMAINTAINER= naddy@mips.inka.de X XHAS_CONFIGURE= yes XCONFIGURE_ARGS= --redo X Xpre-configure: X @${SED} -e 's,%%CC%%,${CC},' \ X -e 's,%%CFLAGS%%,${CFLAGS},' \ X -e 's,%%PREFIX%%,${PREFIX},' \ X ${FILESDIR}/config.sed >${WRKSRC}/config.sed X Xpost-install: X ${MKDIR} ${PREFIX}/share/doc/bsmtp X ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bsmtp/ X X.include <bsd.port.mk> END-of-bsmtp/Makefile echo x - bsmtp/pkg-comment sed 's/^X//' >bsmtp/pkg-comment << 'END-of-bsmtp/pkg-comment' XBatch SMTP support for sendmail, incoming and outgoing END-of-bsmtp/pkg-comment echo x - bsmtp/pkg-descr sed 's/^X//' >bsmtp/pkg-descr << 'END-of-bsmtp/pkg-descr' XThis package supplies batch SMTP support for sendmail, both incoming Xand outgoing. Batch SMTP can be used to batch and compress mail Xmessages for UUCP links, which is faster and doesn't suffer from Xthe address limitations of rmail. Bsmtp's version of batch SMTP Xis fully compatible with smail. X XWWW: http://www.stud.uni-karlsruhe.de/~uk1o/bsmtp/ END-of-bsmtp/pkg-descr echo x - bsmtp/pkg-plist sed 's/^X//' >bsmtp/pkg-plist << 'END-of-bsmtp/pkg-plist' Xbin/_bqueue Xbin/bqueue Xbin/bsmtp Xbin/cbsmtp Xbin/crsmtp Xbin/rcsmtp Xbin/rgsmtp Xbin/rsmtp Xlibexec/batcher Xlibexec/bsmtp Xlibexec/rsmtp Xlibexec/transmitter.c-cbsmtp Xlibexec/transmitter.c-rcsmtp Xlibexec/transmitter.g-rcsmtp Xlibexec/transmitter.g-rgsmtp Xlibexec/transmitter.n-rsmtp Xshare/doc/bsmtp/README X@dirrm share/doc/bsmtp Xshare/sendmail/bsmtp.m4 X@exec mkdir -pm 770 /var/spool/bsmtp; chown uucp:uucp /var/spool/bsmtp X@unexec rmdir /var/spool/bsmtp || true END-of-bsmtp/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?200010061003.e96A3CJ71338>