diff options
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/bsmtp/Makefile | 27 | ||||
-rw-r--r-- | mail/bsmtp/distinfo | 1 | ||||
-rw-r--r-- | mail/bsmtp/files/config.sed | 25 | ||||
-rw-r--r-- | mail/bsmtp/files/patch-Makefile_in | 28 | ||||
-rw-r--r-- | mail/bsmtp/files/patch-bsmtp_c_in | 14 | ||||
-rw-r--r-- | mail/bsmtp/pkg-comment | 1 | ||||
-rw-r--r-- | mail/bsmtp/pkg-descr | 7 | ||||
-rw-r--r-- | mail/bsmtp/pkg-plist | 22 |
9 files changed, 126 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 5ce054a..e9a023c 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -8,6 +8,7 @@ SUBDIR += balsa SUBDIR += bbmail SUBDIR += biffer + SUBDIR += bsmtp SUBDIR += bulk_mailer SUBDIR += cclient SUBDIR += cclient-maildir diff --git a/mail/bsmtp/Makefile b/mail/bsmtp/Makefile new file mode 100644 index 0000000..c2cf448 --- /dev/null +++ b/mail/bsmtp/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: bsmtp +# Date created: 2000-10-05 +# Whom: Christian Weisgerber <naddy@mips.inka.de> +# +# $FreeBSD$ + +PORTNAME= bsmtp +PORTVERSION= 1.01 +CATEGORIES= mail +MASTER_SITES= http://www.stud.uni-karlsruhe.de/~uk1o/bsmtp/ + +MAINTAINER= naddy@mips.inka.de + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --redo + +pre-configure: + @${SED} -e 's,%%CC%%,${CC},' \ + -e 's,%%CFLAGS%%,${CFLAGS},' \ + -e 's,%%PREFIX%%,${PREFIX},' \ + ${FILESDIR}/config.sed >${WRKSRC}/config.sed + +post-install: + ${MKDIR} ${PREFIX}/share/doc/bsmtp + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bsmtp/ + +.include <bsd.port.mk> diff --git a/mail/bsmtp/distinfo b/mail/bsmtp/distinfo new file mode 100644 index 0000000..07ecf6b --- /dev/null +++ b/mail/bsmtp/distinfo @@ -0,0 +1 @@ +MD5 (bsmtp-1.01.tar.gz) = 85aee02dfcb1c65646ebdb2fce7d8dbe diff --git a/mail/bsmtp/files/config.sed b/mail/bsmtp/files/config.sed new file mode 100644 index 0000000..d7044b2 --- /dev/null +++ b/mail/bsmtp/files/config.sed @@ -0,0 +1,25 @@ +s,@CC@,%%CC%%, +s,@INSTALL@,/usr/bin/install, +s,@SH@,/bin/sh, +s,@GZIP@,/usr/bin/gzip, +s,@PERL@,/usr/bin/perl, +s,@COMPRESS@,/usr/bin/compress, +s,@UUX@,/usr/bin/uux, +s,@SENDMAIL@,/usr/sbin/sendmail, +s,@CFLAGS@,%%CFLAGS%%, +s,@PRIVBINDIR@,%%PREFIX%%/libexec, +s,@PUBBINDIR@,%%PREFIX%%/bin, +s,@MAILERDIR@,%%PREFIX%%/share/sendmail, +s,@QUEUEDIR@,/var/spool/bsmtp, +s,@DAEMONUSER@,uucp, +s,@DAEMONGID@,66, +s,@DAEMONUID@,66, +s,@INPROTO@,bsmtp, +s,@LOCALHOSTNAME@,`hostname`, +s,@DOMAINSUFFIX@,none, +s,@SENDMAILVERS@,8.9, +s,@INSTALLMAILER@,true, +s,@MAILERVERSION@,8.9, +s,@FLOCK@,true, +s,@LOCKDEFINE@,-DUSE_FLOCK, +s,@BATCHER@,batcher.new, diff --git a/mail/bsmtp/files/patch-Makefile_in b/mail/bsmtp/files/patch-Makefile_in new file mode 100644 index 0000000..2104c2c --- /dev/null +++ b/mail/bsmtp/files/patch-Makefile_in @@ -0,0 +1,28 @@ +--- Makefile.in.orig Sun May 16 11:24:08 1999 ++++ Makefile.in Thu Oct 5 23:44:15 2000 +@@ -30,8 +30,8 @@ + #oldsendmail=@OLDSENDMAIL@ # not used anymore + installmailer=@INSTALLMAILER@ + mailerversion=@MAILERVERSION@ +-bingrp = bin +-binusr = bin ++bingrp = wheel ++binusr = root + privbin = @PRIVBINDIR@ + pubbin = @PUBBINDIR@ + mailerdir = @MAILERDIR@ +@@ -88,6 +88,14 @@ + chown $(binusr) $(privbin) ; \ + chgrp $(bingrp) $(privbin) ; \ + chmod 755 $(privbin) ; \ ++ fi ++ @if [ ! -d $(mailerdir) ]; then \ ++ echo Making $(mailerdir) ; \ ++ set -x ; \ ++ mkdir -p $(mailerdir) || mkdir $(mailerdir) || exit 0 ; \ ++ chown $(binusr) $(mailerdir) ; \ ++ chgrp $(bingrp) $(mailerdir) ; \ ++ chmod 755 $(mailerdir) ; \ + fi + @if [ ! -d $(queuedir) ]; then \ + echo Making $(queuedir) ; \ diff --git a/mail/bsmtp/files/patch-bsmtp_c_in b/mail/bsmtp/files/patch-bsmtp_c_in new file mode 100644 index 0000000..d75120e --- /dev/null +++ b/mail/bsmtp/files/patch-bsmtp_c_in @@ -0,0 +1,14 @@ +--- bsmtp.c.in.orig Sun May 16 11:24:08 1999 ++++ bsmtp.c.in Thu Oct 5 21:41:25 2000 +@@ -167,7 +167,10 @@ + } + #endif + fseek (file, 0, SEEK_END); +- fprintf (file, "MAIL FROM:<%s>\n", from); ++ if (*from == '<') ++ fprintf (file, "MAIL FROM:%s\n", from); ++ else ++ fprintf (file, "MAIL FROM:<%s>\n", from); + while (argc) { + fprintf (file, "RCPT TO:<%s>\n", argv[0]); + argv++; argc--; diff --git a/mail/bsmtp/pkg-comment b/mail/bsmtp/pkg-comment new file mode 100644 index 0000000..dd27c6f --- /dev/null +++ b/mail/bsmtp/pkg-comment @@ -0,0 +1 @@ +Batch SMTP support for sendmail, incoming and outgoing diff --git a/mail/bsmtp/pkg-descr b/mail/bsmtp/pkg-descr new file mode 100644 index 0000000..99c2cd4 --- /dev/null +++ b/mail/bsmtp/pkg-descr @@ -0,0 +1,7 @@ +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. + +WWW: http://www.stud.uni-karlsruhe.de/~uk1o/bsmtp/ diff --git a/mail/bsmtp/pkg-plist b/mail/bsmtp/pkg-plist new file mode 100644 index 0000000..2465b5c --- /dev/null +++ b/mail/bsmtp/pkg-plist @@ -0,0 +1,22 @@ +bin/_bqueue +bin/bqueue +bin/bsmtp +bin/cbsmtp +bin/crsmtp +bin/rcsmtp +bin/rgsmtp +bin/rsmtp +libexec/batcher +libexec/bsmtp +libexec/rsmtp +libexec/transmitter.c-cbsmtp +libexec/transmitter.c-rcsmtp +libexec/transmitter.g-rcsmtp +libexec/transmitter.g-rgsmtp +libexec/transmitter.n-rsmtp +share/doc/bsmtp/README +share/sendmail/bsmtp.m4 +@dirrm share/doc/bsmtp +@dirrm share/sendmail +@exec mkdir -pm 770 /var/spool/bsmtp; chown uucp:uucp /var/spool/bsmtp +@unexec rmdir /var/spool/bsmtp || true |