summaryrefslogtreecommitdiff
path: root/usr/src/cmd
diff options
context:
space:
mode:
authorjbeck <none@none>2006-05-26 11:20:17 -0700
committerjbeck <none@none>2006-05-26 11:20:17 -0700
commit4abb96737d15cd2d6530b0aa7b8404ec911ad940 (patch)
tree21fcb72e090788dc8fa62d8e3f07e8d0abc28223 /usr/src/cmd
parent39cba716228ed2aec9b253319bc4dbb59179b94a (diff)
downloadillumos-joyent-4abb96737d15cd2d6530b0aa7b8404ec911ad940.tar.gz
6258349 RFE: mail.local should support large files
6419990 sendmail fails on a large (> 2TB) file-system
Diffstat (limited to 'usr/src/cmd')
-rw-r--r--usr/src/cmd/sendmail/Makefile.cmd14
-rw-r--r--usr/src/cmd/sendmail/aux/Makefile16
-rw-r--r--usr/src/cmd/sendmail/db/Makefile11
-rw-r--r--usr/src/cmd/sendmail/libmilter/Makefile.com14
-rw-r--r--usr/src/cmd/sendmail/libsm/Makefile10
-rw-r--r--usr/src/cmd/sendmail/libsmdb/Makefile10
-rw-r--r--usr/src/cmd/sendmail/libsmutil/Makefile10
-rw-r--r--usr/src/cmd/sendmail/src/Makefile12
8 files changed, 49 insertions, 48 deletions
diff --git a/usr/src/cmd/sendmail/Makefile.cmd b/usr/src/cmd/sendmail/Makefile.cmd
index f924656d19..44ba192f31 100644
--- a/usr/src/cmd/sendmail/Makefile.cmd
+++ b/usr/src/cmd/sendmail/Makefile.cmd
@@ -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
diff --git a/usr/src/cmd/sendmail/aux/Makefile b/usr/src/cmd/sendmail/aux/Makefile
index 58699b1dfb..0982fb3938 100644
--- a/usr/src/cmd/sendmail/aux/Makefile
+++ b/usr/src/cmd/sendmail/aux/Makefile
@@ -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
#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+
#
-# 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 @@ $(ROOTBIN)/mailq := FILEMODE = 4555
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:
diff --git a/usr/src/cmd/sendmail/db/Makefile b/usr/src/cmd/sendmail/db/Makefile
index ab70ef80a3..2306236d31 100644
--- a/usr/src/cmd/sendmail/db/Makefile
+++ b/usr/src/cmd/sendmail/db/Makefile
@@ -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
diff --git a/usr/src/cmd/sendmail/libmilter/Makefile.com b/usr/src/cmd/sendmail/libmilter/Makefile.com
index c4ac692bfc..a6fdd9828e 100644
--- a/usr/src/cmd/sendmail/libmilter/Makefile.com
+++ b/usr/src/cmd/sendmail/libmilter/Makefile.com
@@ -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 @@ SRCDIR= $(SENDMAIL)/libmilter
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
diff --git a/usr/src/cmd/sendmail/libsm/Makefile b/usr/src/cmd/sendmail/libsm/Makefile
index 5feb0f11c1..5f82deb0ef 100644
--- a/usr/src/cmd/sendmail/libsm/Makefile
+++ b/usr/src/cmd/sendmail/libsm/Makefile
@@ -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
include ../Makefile.cmd
INCPATH= -I. -I../src -I../include
-CPPFLAGS= $(INCPATH) $(RLS_DEF) $(DBMDEF) $(CPPFLAGS.master)
+CPPFLAGS= $(INCPATH) $(DBMDEF) $(CPPFLAGS.sm)
ARFLAGS= cq
diff --git a/usr/src/cmd/sendmail/libsmdb/Makefile b/usr/src/cmd/sendmail/libsmdb/Makefile
index 687255b9df..42ce4b2481 100644
--- a/usr/src/cmd/sendmail/libsmdb/Makefile
+++ b/usr/src/cmd/sendmail/libsmdb/Makefile
@@ -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 @@ include ../Makefile.cmd
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
diff --git a/usr/src/cmd/sendmail/libsmutil/Makefile b/usr/src/cmd/sendmail/libsmutil/Makefile
index 110326def3..97f49d2bfa 100644
--- a/usr/src/cmd/sendmail/libsmutil/Makefile
+++ b/usr/src/cmd/sendmail/libsmutil/Makefile
@@ -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
include ../Makefile.cmd
INCPATH= -I. -I../src -I../include
-CPPFLAGS= $(INCPATH) $(RLS_DEF) $(CPPFLAGS.master)
+CPPFLAGS= $(INCPATH) $(CPPFLAGS.sm)
ARFLAGS= cq
diff --git a/usr/src/cmd/sendmail/src/Makefile b/usr/src/cmd/sendmail/src/Makefile
index 6fdba589cf..5d9c54dc28 100644
--- a/usr/src/cmd/sendmail/src/Makefile
+++ b/usr/src/cmd/sendmail/src/Makefile
@@ -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 @@ INCPATH= -I. -I../include -I../db -I$(ROOTSFWINCLUDE)
# 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