NetBSD Problem Report #23060
Received: (qmail 26093 invoked by uid 605); 5 Oct 2003 06:14:42 -0000
Message-Id: <11552-1065334481@rainier.reedmedia.net>
Date: Sat, 04 Oct 2003 23:14:41 -0700
From: reed@reedmedia.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.netbsd.org
Subject: update mail/sendmail to support BSD/OS
X-Send-Pr-Version: 3.95
>Number: 23060
>Category: pkg
>Synopsis: update mail/sendmail to support BSD/OS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Oct 05 06:15:00 +0000 2003
>Closed-Date: Wed Dec 03 22:15:03 +0000 2003
>Last-Modified: Wed Dec 03 22:15:03 +0000 2003
>Originator:
>Release: NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
>Description:
mail/sendmail doesn't build under BSD/OS.
1) BSD/OS comes with getipnodebyaddr(3). So use it instead of trying to
declare it again (with unmatching prototype). (By the way, this assumes
that my previous OPSYS patch to make "BSDOS" from "BSD/OS" is fine; maybe
it should be "BSD-OS"?)
2) The sendmail build mechanism is smart enough to change BSD/OS to BSD-OS
for a directory name. The pkgsrc post-install should do the same.
(Also, I didn't provide a patch, but the MESSAGE should be based if
mailwrapper is used. If not, it is confusing. Maybe always install the
mailwrapper -- or make this MESSAGE more understandable.)
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile,v
retrieving revision 1.63
diff -b -u -r1.63 Makefile
--- Makefile 18 Sep 2003 09:01:03 -0000 1.63
+++ Makefile 4 Oct 2003 23:22:50 -0000
@@ -94,10 +94,10 @@
.if ${USE_DB2} == YES
${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE}
.endif
- ${INSTALL_DATA} ${WRKSRC}/obj.`uname -srm | ${TR} \ . | ${SED} s/sun4./sun4/`/libsm/libsm.a \
+ ${INSTALL_DATA} ${WRKSRC}/obj.`uname -srm | ${TR} \ . | ${TR} \/ - | ${SED} s/sun4./sun4/`/libsm/libsm.a \
${PREFIX}/lib
${INSTALL_DATA} \
- ${WRKSRC}/obj.`uname -srm | ${TR} \ . | ${SED} s/sun4./sun4/`/libsmutil/libsmutil.a \
+ ${WRKSRC}/obj.`uname -srm | ${TR} \ . | ${TR} \/ - | ${SED} s/sun4./sun4/`/libsmutil/libsmutil.a \
${PREFIX}/lib
USE_PKGINSTALL= yes
@@ -107,4 +107,4 @@
.include "../../mk/bsd.pkg.mk"
# has to be below include for bsd.pkg.mk, else substition fails
-OBJDIR!= ${ECHO} obj.`uname -srm | ${TR} \ .`
+OBJDIR!= ${ECHO} obj.`uname -srm | ${TR} \ . | ${TR} \/ -`
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile.common,v
retrieving revision 1.12
diff -b -u -r1.12 Makefile.common
--- Makefile.common 3 Oct 2003 10:34:02 -0000 1.12
+++ Makefile.common 4 Oct 2003 23:22:50 -0000
@@ -44,7 +44,7 @@
${ECHO} -n 'compiled features:' >>${DESCR_SRC}
.if defined(USE_INET6) && ${USE_INET6} == YES
${CAT} ${FILESDIR}/site.config.m4-v6 >>${SITECONFIG}
-.if ${OPSYS} != "SunOS"
+.if ${OPSYS} != "SunOS" && ${OPSYS} != "BSDOS"
${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG}
.endif
${ECHO} -n ' INET6' >>${DESCR_SRC}
>Release-Note:
>Audit-Trail:
From: "Jeremy C. Reed" <reed@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/23060 CVS commit: pkgsrc/mail/sendmail
Date: Wed, 3 Dec 2003 22:11:03 +0000 (UTC)
Module Name: pkgsrc
Committed By: reed
Date: Wed Dec 3 22:11:03 UTC 2003
Modified Files:
pkgsrc/mail/sendmail: Makefile Makefile.common
Log Message:
Replace any "/" in OPSYS name with a "-". Sendmail's build
mechanism already does this, so pkgsrc for this should do the same.
Make sure getipnodebyaddr is used under BSD/OS.
This closes PR #23060.
To generate a diff of this commit:
cvs rdiff -r1.65 -r1.66 pkgsrc/mail/sendmail/Makefile
cvs rdiff -r1.12 -r1.13 pkgsrc/mail/sendmail/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: reed
State-Changed-When: Wed Dec 3 22:13:44 UTC 2003
State-Changed-Why:
I committed the fixes to make sendmail build and install under BSD/OS.
I didn't bump PKGREVISION because it didn't build in the first place --
no changes to other packages.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.