[csw-devel] SF.net SVN: gar:[14792] csw/mgar/pkg/sendmail/trunk
bonivart at users.sourceforge.net
bonivart at users.sourceforge.net
Sun Jun 12 22:23:43 CEST 2011
Revision: 14792
http://gar.svn.sourceforge.net/gar/?rev=14792&view=rev
Author: bonivart
Date: 2011-06-12 20:23:43 +0000 (Sun, 12 Jun 2011)
Log Message:
-----------
sendmail/trunk: try to simplify makefile, lots of temporary overrides for now
Modified Paths:
--------------
csw/mgar/pkg/sendmail/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/sendmail/trunk/files/COPYING
Modified: csw/mgar/pkg/sendmail/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sendmail/trunk/Makefile 2011-06-12 14:26:07 UTC (rev 14791)
+++ csw/mgar/pkg/sendmail/trunk/Makefile 2011-06-12 20:23:43 UTC (rev 14792)
@@ -9,14 +9,15 @@
Sendmail MTA
endef
-INSTALLISADIR = $(WORKROOTDIR)/install-$(GAROSREL)-$(MODULATION)
-WORKDIR = $(WORKROOTDIR)/build-$(GAROSREL)-$(MODULATION)
-WORKDIR_FIRSTMOD = $(WORKROOTDIR)/build-$(GAROSREL)-$(firstword $(MODULATIONS))
-COOKIEDIR = $(COOKIEROOTDIR)/$(GAROSREL)-$(MODULATION)
+#INSTALLISADIR = $(WORKROOTDIR)/install-$(GAROSREL)-$(MODULATION)
+#WORKDIR = $(WORKROOTDIR)/build-$(GAROSREL)-$(MODULATION)
+#WORKDIR_FIRSTMOD = $(WORKROOTDIR)/build-$(GAROSREL)-$(firstword $(MODULATIONS))
+#COOKIEDIR = $(COOKIEROOTDIR)/$(GAROSREL)-$(MODULATION)
MASTER_SITES = ftp://ftp.sendmail.org/pub/sendmail/
+SPKG_SOURCEURL = http://www.sendmail.org
-MY_CLASSES = CSWsendmail.i.sol9 CSWsendmail.i.sol10
+#MY_CLASSES = CSWsendmail.i.sol9 CSWsendmail.i.sol10
DISTFILES = $(NAME).$(VERSION).tar.gz
DISTFILES += README.CSW sendmail.schema CSWsendmail.postinstall
@@ -24,31 +25,35 @@
DISTFILES += cswsendmail site.config.m4 $(MY_CLASSES) CSWsendmail.checkinstall
DISTFILES += CSWsendmail.preremove CSWsendmail.preinstall CSWsendmail.space
DISTFILES += $(foreach FILE,$(shell cd $(FILEDIR) && ls *.CSW),$(FILE))
+DISTFILES += COPYING
# Enable support for files > 2GB in size.
EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-# we require
PACKAGES = CSWsendmail
-SPKG_SOURCEURL = http://www.sendmail.org
+CATALOGNAME_CSWsendmail = sendmail
SPKG_DESC_CSWsendmail = $(DESCRIPTION)
-CATALOGNAME_CSWsendmail = sendmail
-RUNTIME_DEP_PKGS_CSWsendmail = CSWbdb48 CSWoldaprt CSWosslrt CSWsasl CSWtcpwrap
-RUNTIME_DEP_PKGS_CSWsendmail += CSWcswclassutils
+RUNTIME_DEP_PKGS_CSWsendmail = CSWbdb48
+RUNTIME_DEP_PKGS_CSWsendmail += CSWoldaprt
+RUNTIME_DEP_PKGS_CSWsendmail += CSWosslrt
+RUNTIME_DEP_PKGS_CSWsendmail += CSWsasl
+RUNTIME_DEP_PKGS_CSWsendmail += CSWtcpwrap
-PROTOTYPE_FILTER = awk \
- '$$$$2 ~/i.sol9/ { next } \
- $$$$2 ~/i.sol10/ { next } \
- $$$$3 ~/\/init\.d\/cswsendmail$$$$/ {$$$$2 = "cswinitsmf"} \
- $$$$3 ~/sol9\./ { $$$$2 = "sol9" } \
- $$$$3 ~/sol10\./ { $$$$2 = "sol10" } \
- { print } \
- END { { print "i i.sol9=CSWsendmail.i.sol9" } \
- { print "i i.sol10=CSWsendmail.i.sol10" } }'
+INITSMF = /etc/opt/csw/init.d/cswsendmail
-ENABLE_CHECK = 0
+#PROTOTYPE_FILTER = awk \
+# '$$$$2 ~/i.sol9/ { next } \
+# $$$$2 ~/i.sol10/ { next } \
+# $$$$3 ~/\/init\.d\/cswsendmail$$$$/ {$$$$2 = "cswinitsmf"} \
+# $$$$3 ~/sol9\./ { $$$$2 = "sol9" } \
+# $$$$3 ~/sol10\./ { $$$$2 = "sol10" } \
+# { print } \
+# END { { print "i i.sol9=CSWsendmail.i.sol9" } \
+# { print "i i.sol10=CSWsendmail.i.sol10" } }'
+#ENABLE_CHECK = 0
+
# patch away GNUism
PATCHFILES = patch-CC-M.m4
@@ -58,6 +63,30 @@
INSTALL_SCRIPTS = custom
EXTRA_MERGE_SCRIPTS = OS
+# Temporary overrides
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/README
+CHECKPKG_OVERRIDES_CSWsendmail += file-collision|/opt/csw/share/man/man1/mailq.1|CSWpostfix|CSWsendmail
+CHECKPKG_OVERRIDES_CSWsendmail += surplus-dependency|CSWbdb48
+CHECKPKG_OVERRIDES_CSWsendmail += file-collision|/opt/csw/bin/newaliases|CSWpostfix|CSWsendmail
+CHECKPKG_OVERRIDES_CSWsendmail += file-collision|/opt/csw/share/man/man5/aliases.5|CSWpostfix|CSWsendmail
+CHECKPKG_OVERRIDES_CSWsendmail += file-collision|/opt/csw/bin/mailq|CSWpostfix|CSWsendmail
+CHECKPKG_OVERRIDES_CSWsendmail += file-collision|/opt/csw/share/man/man1/newaliases.1|CSWpostfix|CSWsendmail
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/share|root/opt/csw/share/mail/cf/README
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/smrsh.8
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/sendmail.8
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/ostype/freebsd6.m4
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/ostype/freebsd5.m4
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/ostype/powerux.m4
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/ostype/dragonfly.m4
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/feature/local_procmail.m4
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/cf/mail.cs.mc
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/cf/mail.eecs.mc
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/cf/knecht.mc
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/mailer/qpage.m4
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/mailer/fax.m4
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/mailer/procmail.m4
+CHECKPKG_OVERRIDES_CSWsendmail += file-with-bad-content|/usr/local|root/opt/csw/share/mail/cf/mailer/phquery.m4
+
include gar/category.mk
ADMSCRIPTS = preremove preinstall space depend i.sol9 i.sol10
Added: csw/mgar/pkg/sendmail/trunk/files/COPYING
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/COPYING (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/COPYING 2011-06-12 20:23:43 UTC (rev 14792)
@@ -0,0 +1,81 @@
+ SENDMAIL LICENSE
+
+The following license terms and conditions apply, unless a redistribution
+agreement or other license is obtained from Sendmail, Inc., 6475 Christie
+Ave, Third Floor, Emeryville, CA 94608, USA, or by electronic mail at
+license at sendmail.com.
+
+License Terms:
+
+Use, Modification and Redistribution (including distribution of any
+modified or derived work) in source and binary forms is permitted only if
+each of the following conditions is met:
+
+1. Redistributions qualify as "freeware" or "Open Source Software" under
+ one of the following terms:
+
+ (a) Redistributions are made at no charge beyond the reasonable cost of
+ materials and delivery.
+
+ (b) Redistributions are accompanied by a copy of the Source Code or by an
+ irrevocable offer to provide a copy of the Source Code for up to three
+ years at the cost of materials and delivery. Such redistributions
+ must allow further use, modification, and redistribution of the Source
+ Code under substantially the same terms as this license. For the
+ purposes of redistribution "Source Code" means the complete compilable
+ and linkable source code of sendmail and associated libraries and
+ utilities in the sendmail distribution including all modifications.
+
+2. Redistributions of Source Code must retain the copyright notices as they
+ appear in each Source Code file, these license terms, and the
+ disclaimer/limitation of liability set forth as paragraph 6 below.
+
+3. Redistributions in binary form must reproduce the Copyright Notice,
+ these license terms, and the disclaimer/limitation of liability set
+ forth as paragraph 6 below, in the documentation and/or other materials
+ provided with the distribution. For the purposes of binary distribution
+ the "Copyright Notice" refers to the following language:
+ "Copyright (c) 1998-2010 Sendmail, Inc. All rights reserved."
+
+4. Neither the name of Sendmail, Inc. nor the University of California nor
+ names of their contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission. The name "sendmail" is a trademark of Sendmail, Inc.
+
+5. All redistributions must comply with the conditions imposed by the
+ University of California on certain embedded code, which copyright
+ Notice and conditions for redistribution are as follows:
+
+ (a) Copyright (c) 1988, 1993 The Regents of the University of
+ California. All rights reserved.
+
+ (b) Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ (i) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ (ii) Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ (iii) Neither the name of the University nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+ SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+ CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+$Revision: 8.17 $, Last updated $Date: 2010/12/03 01:10:00 $, Document 139848.1
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list