Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 21:05:03 +0100 (CET)
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24936: Maintainer update: mail/bsmtp 1.02
Message-ID:  <200102072005.f17K53322850@kemoauc.mips.inka.de>

next in thread | raw e-mail | index | archive | help

>Number:         24936
>Category:       ports
>Synopsis:       Maintainer update: mail/bsmtp 1.02
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 07 12:40:03 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Christian Weisgerber
>Release:        FreeBSD 5.0-CURRENT alpha
>Organization:
>Environment:
System: FreeBSD kemoauc.mips.inka.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Dec 25 13:44:16 CET 2000 naddy@kemoauc.mips.inka.de:/usr/obj/usr/src/sys/KEMOAUC alpha

>Description:

Update mail/bsmtp to 1.02.
Old distfile has disappeared.  No functional changes.

>How-To-Repeat:

>Fix:

diff -uNr /usr/ports/mail/bsmtp/Makefile bsmtp/Makefile
--- /usr/ports/mail/bsmtp/Makefile	Sat Oct 28 03:22:47 2000
+++ bsmtp/Makefile	Wed Feb  7 20:48:05 2001
@@ -5,20 +5,21 @@
 # $FreeBSD: ports/mail/bsmtp/Makefile,v 1.1 2000/10/28 01:22:47 jeh Exp $
 
 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
+MAINTAINER=	Christian Weisgerber <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
diff -uNr /usr/ports/mail/bsmtp/distinfo bsmtp/distinfo
--- /usr/ports/mail/bsmtp/distinfo	Sat Oct 28 03:22:47 2000
+++ bsmtp/distinfo	Wed Feb  7 19:51:34 2001
@@ -1 +1 @@
-MD5 (bsmtp-1.01.tar.gz) = 85aee02dfcb1c65646ebdb2fce7d8dbe
+MD5 (bsmtp-1.02.tar.gz) = 3084ca188e42414c42efe8d714166adb
diff -uNr /usr/ports/mail/bsmtp/files/config.sed bsmtp/files/config.sed
--- /usr/ports/mail/bsmtp/files/config.sed	Sat Oct 28 03:22:49 2000
+++ bsmtp/files/config.sed	Wed Feb  7 20:32:16 2001
@@ -1,3 +1,4 @@
+# $FreeBSD$
 s,@CC@,%%CC%%,
 s,@INSTALL@,/usr/bin/install,
 s,@SH@,/bin/sh,
@@ -10,6 +11,8 @@
 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,
diff -uNr /usr/ports/mail/bsmtp/files/patch-Makefile_in bsmtp/files/patch-Makefile_in
--- /usr/ports/mail/bsmtp/files/patch-Makefile_in	Sat Oct 28 03:22:49 2000
+++ bsmtp/files/patch-Makefile_in	Thu Jan  1 01:00:00 1970
@@ -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) ; \
diff -uNr /usr/ports/mail/bsmtp/files/patch-bsmtp_c_in bsmtp/files/patch-bsmtp_c_in
--- /usr/ports/mail/bsmtp/files/patch-bsmtp_c_in	Sat Oct 28 03:22:50 2000
+++ bsmtp/files/patch-bsmtp_c_in	Wed Feb  7 20:37:27 2001
@@ -1,14 +1,11 @@
---- 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--;
+$FreeBSD$
+--- 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 */
diff -uNr /usr/ports/mail/bsmtp/pkg-plist bsmtp/pkg-plist
--- /usr/ports/mail/bsmtp/pkg-plist	Sat Oct 28 03:22:47 2000
+++ bsmtp/pkg-plist	Wed Feb  7 20:07:56 2001
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
 bin/_bqueue
 bin/bqueue
 bin/bsmtp

>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?200102072005.f17K53322850>