update to 1.0.2

PR:		24936
Submitted by:	MAINTAINER
This commit is contained in:
Ying-Chieh Liao 2001-02-08 18:58:53 +00:00
parent ea3ae5e7da
commit 7048d15946
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38123
6 changed files with 21 additions and 48 deletions

View File

@ -5,20 +5,21 @@
# $FreeBSD$
PORTNAME= bsmtp
PORTVERSION= 1.01
PORTVERSION= 1.02
CATEGORIES= mail
MASTER_SITES= http://www.stud.uni-karlsruhe.de/~uk1o/bsmtp/
MAINTAINER= naddy@mips.inka.de
WRKSRC= ${WRKDIR}/${PORTNAME}
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
@${SED} <${FILESDIR}/config.sed >${WRKSRC}/config.sed \
-e 's:%%CC%%:${CC}:' \
-e 's:%%CFLAGS%%:${CFLAGS}:' \
-e 's:%%PREFIX%%:${PREFIX}:'
post-install:
${MKDIR} ${PREFIX}/share/doc/bsmtp

View File

@ -1 +1 @@
MD5 (bsmtp-1.01.tar.gz) = 85aee02dfcb1c65646ebdb2fce7d8dbe
MD5 (bsmtp-1.02.tar.gz) = 3084ca188e42414c42efe8d714166adb

View File

@ -1,3 +1,4 @@
# $FreeBSD$
s,@CC@,%%CC%%,
s,@INSTALL@,/usr/bin/install,
s,@SH@,/bin/sh,
@ -10,6 +11,8 @@ s,@CFLAGS@,%%CFLAGS%%,
s,@PRIVBINDIR@,%%PREFIX%%/libexec,
s,@PUBBINDIR@,%%PREFIX%%/bin,
s,@MAILERDIR@,%%PREFIX%%/share/sendmail,
s,@BINUSR@,root,
s,@BINGRP@,wheel,
s,@QUEUEDIR@,/var/spool/bsmtp,
s,@DAEMONUSER@,uucp,
s,@DAEMONGID@,66,

View File

@ -1,28 +0,0 @@
--- 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) ; \

View File

@ -1,14 +1,10 @@
--- 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--;
--- bsmtp.c.in.orig Wed Feb 7 20:36:42 2001
+++ bsmtp.c.in Wed Feb 7 20:36:58 2001
@@ -36,6 +36,7 @@
#include <grp.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
/* From .../sendmail/src/sysexits.h */

View File

@ -1,3 +1,4 @@
@comment $FreeBSD$
bin/_bqueue
bin/bqueue
bin/bsmtp