changeset 2070:42d543afd750

6258349 RFE: mail.local should support large files 6419990 sendmail fails on a large (> 2TB) file-system
author jbeck
date Fri, 26 May 2006 11:20:17 -0700
parents afaacba7add2
children 01f4efa62f05
files usr/src/cmd/sendmail/Makefile.cmd usr/src/cmd/sendmail/aux/Makefile usr/src/cmd/sendmail/db/Makefile usr/src/cmd/sendmail/libmilter/Makefile.com usr/src/cmd/sendmail/libsm/Makefile usr/src/cmd/sendmail/libsmdb/Makefile usr/src/cmd/sendmail/libsmutil/Makefile usr/src/cmd/sendmail/src/Makefile
diffstat 8 files changed, 50 insertions(+), 49 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/sendmail/Makefile.cmd	Fri May 26 09:10:03 2006 -0700
+++ b/usr/src/cmd/sendmail/Makefile.cmd	Fri May 26 11:20:17 2006 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,12 +18,13 @@
 #
 # CDDL HEADER END
 #
+
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# ident	"%Z%%M%	%I%	%E% SMI"
+#
 
-RLS_DEF=	-DSOLARIS=21100
+CPPFLAGS.sm=	$(CPPFLAGS.master) -DSOLARIS=21100 -D_FILE_OFFSET_BITS=64
 DBMDEF=		-DNDBM -DNEWDB -DNIS -DNISPLUS -DUSERDB -DMAP_REGEX -DLDAPMAP
--- a/usr/src/cmd/sendmail/aux/Makefile	Fri May 26 09:10:03 2006 -0700
+++ b/usr/src/cmd/sendmail/aux/Makefile	Fri May 26 11:20:17 2006 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,11 +18,12 @@
 #
 # CDDL HEADER END
 #
-#
-#ident	"%Z%%M%	%I%	%E% SMI"
+# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
 #
-# Copyright 1990 - 2002 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
+
+#
+# ident	"%Z%%M%	%I%	%E% SMI"
 #
 # cmd/sendmail/aux/Makefile
 #
@@ -59,11 +59,11 @@
 
 INCPATH=	-I../src -I../db -I../include
 
-ENVDEF=		$(RLS_DEF) -DNOT_SENDMAIL
+ENVDEF=		-DNOT_SENDMAIL
 SUNENVDEF=	-DSUN_EXTENSIONS -DUSE_VENDOR_CF_PATH
 DBMDEF=		-DNDBM -DNEWDB
 
-CPPFLAGS =	$(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.master)
+CPPFLAGS =	$(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.sm)
 
 .KEEP_STATE:
 
--- a/usr/src/cmd/sendmail/db/Makefile	Fri May 26 09:10:03 2006 -0700
+++ b/usr/src/cmd/sendmail/db/Makefile	Fri May 26 11:20:17 2006 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -29,10 +29,11 @@
 #
 
 include		../../Makefile.cmd
+include		../Makefile.cmd
 
 srcdir=	.
 
-CPPFLAGS = -I. -I$(srcdir)/include -D_REENTRANT $(CPPFLAGS.master)
+CPPFLAGS = -I. -I$(srcdir)/include -D_REENTRANT $(CPPFLAGS.sm)
 
 ARFLAGS=cq
 
--- a/usr/src/cmd/sendmail/libmilter/Makefile.com	Fri May 26 09:10:03 2006 -0700
+++ b/usr/src/cmd/sendmail/libmilter/Makefile.com	Fri May 26 11:20:17 2006 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -43,9 +43,9 @@
 SRCS=		$(LOCOBJS:%.o=$(SRCDIR)/%.c) $(REMOBJS:%.o=$(REMDIR)/%.c)
 
 INCPATH=        -I$(SENDMAIL)/src -I$(SENDMAIL)/include
-ENVDEF=		$(RLS_DEF) -DMILTER -DNETINET6 -DNOT_SENDMAIL \
-	-Dsm_snprintf=snprintf -D_REENTRANT -D_FFR_MILTER_ROOT_UNSAFE
-CPPFLAGS +=      $(INCPATH) $(ENVDEF)
+ENVDEF=		-DMILTER -DNETINET6 -DNOT_SENDMAIL -D_REENTRANT \
+	-Dsm_snprintf=snprintf
+CPPFLAGS=	$(INCPATH) $(ENVDEF) $(CPPFLAGS.sm)
 
 LIBS=		$(DYNLIB) $(LINTLIB)
 LDLIBS +=	-lc -lsocket -lnsl
--- a/usr/src/cmd/sendmail/libsm/Makefile	Fri May 26 09:10:03 2006 -0700
+++ b/usr/src/cmd/sendmail/libsm/Makefile	Fri May 26 11:20:17 2006 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -32,7 +32,7 @@
 include		../Makefile.cmd
 
 INCPATH=	-I. -I../src -I../include
-CPPFLAGS=	$(INCPATH) $(RLS_DEF) $(DBMDEF) $(CPPFLAGS.master)
+CPPFLAGS=	$(INCPATH) $(DBMDEF) $(CPPFLAGS.sm)
 
 ARFLAGS=	cq
 
--- a/usr/src/cmd/sendmail/libsmdb/Makefile	Fri May 26 09:10:03 2006 -0700
+++ b/usr/src/cmd/sendmail/libsmdb/Makefile	Fri May 26 11:20:17 2006 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -33,7 +33,7 @@
 
 INCPATH=	-I. -I../src -I../include -I../db
 ENVDEF=		-DNEWDB -DNDBM
-CPPFLAGS=	$(INCPATH) $(RLS_DEF) $(ENVDEF) $(CPPFLAGS.master)
+CPPFLAGS=	$(INCPATH) $(ENVDEF) $(CPPFLAGS.sm)
 
 ARFLAGS=	cq
 
--- a/usr/src/cmd/sendmail/libsmutil/Makefile	Fri May 26 09:10:03 2006 -0700
+++ b/usr/src/cmd/sendmail/libsmutil/Makefile	Fri May 26 11:20:17 2006 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -32,7 +32,7 @@
 include		../Makefile.cmd
 
 INCPATH=	-I. -I../src -I../include
-CPPFLAGS=	$(INCPATH) $(RLS_DEF) $(CPPFLAGS.master)
+CPPFLAGS=	$(INCPATH) $(CPPFLAGS.sm)
 
 ARFLAGS=	cq
 
--- a/usr/src/cmd/sendmail/src/Makefile	Fri May 26 09:10:03 2006 -0700
+++ b/usr/src/cmd/sendmail/src/Makefile	Fri May 26 11:20:17 2006 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -58,11 +58,11 @@
 # EXPORT DELETE START
 CRYPTOENVDEF=	-DSTARTTLS
 # EXPORT DELETE END
-ENVDEF=		$(RLS_DEF) -DNETINET6 -DTCPWRAPPERS $(CRYPTOENVDEF)
+ENVDEF=		-DNETINET6 -DTCPWRAPPERS $(CRYPTOENVDEF)
 SUNENVDEF=	-DSUN_EXTENSIONS -DVENDOR_DEFAULT=VENDOR_SUN \
 		-DSUN_INIT_DOMAIN -DSUN_SIMPLIFIED_LDAP
 
-CPPFLAGS = 	$(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.master)
+CPPFLAGS = 	$(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.sm)
 
 FILEMODE= 	2555
 OWNER=		root