svn commit: r249865 - in stable/9/contrib/sendmail: . cf/cf cf/m4 contrib doc/op include/sm libmilter libsm mailstats makemap praliases rmail src test vacation

Gregory Neil Shapiro gshapiro at FreeBSD.org
Thu Apr 25 01:42:58 UTC 2013


Author: gshapiro
Date: Thu Apr 25 01:42:54 2013
New Revision: 249865
URL: http://svnweb.freebsd.org/changeset/base/249865

Log:
  MFC: Merge sendmail 8.14.7

Added:
  stable/9/contrib/sendmail/libsm/t-fget.c
     - copied unchanged from r249729, head/contrib/sendmail/libsm/t-fget.c
Modified:
  stable/9/contrib/sendmail/CACerts
  stable/9/contrib/sendmail/PGPKEYS
  stable/9/contrib/sendmail/RELEASE_NOTES
  stable/9/contrib/sendmail/cf/cf/submit.cf
  stable/9/contrib/sendmail/cf/m4/version.m4
  stable/9/contrib/sendmail/contrib/etrn.pl
  stable/9/contrib/sendmail/doc/op/op.me
  stable/9/contrib/sendmail/include/sm/config.h
  stable/9/contrib/sendmail/include/sm/io.h
  stable/9/contrib/sendmail/libmilter/Makefile.m4
  stable/9/contrib/sendmail/libmilter/sm_gethost.c
  stable/9/contrib/sendmail/libsm/Makefile.m4
  stable/9/contrib/sendmail/libsm/cf.c
  stable/9/contrib/sendmail/libsm/fget.c
  stable/9/contrib/sendmail/mailstats/mailstats.c
  stable/9/contrib/sendmail/makemap/makemap.c
  stable/9/contrib/sendmail/praliases/praliases.c
  stable/9/contrib/sendmail/rmail/rmail.c
  stable/9/contrib/sendmail/src/Makefile.m4
  stable/9/contrib/sendmail/src/alias.c
  stable/9/contrib/sendmail/src/collect.c
  stable/9/contrib/sendmail/src/conf.c
  stable/9/contrib/sendmail/src/control.c
  stable/9/contrib/sendmail/src/deliver.c
  stable/9/contrib/sendmail/src/main.c
  stable/9/contrib/sendmail/src/map.c
  stable/9/contrib/sendmail/src/mci.c
  stable/9/contrib/sendmail/src/milter.c
  stable/9/contrib/sendmail/src/mime.c
  stable/9/contrib/sendmail/src/parseaddr.c
  stable/9/contrib/sendmail/src/queue.c
  stable/9/contrib/sendmail/src/readcf.c
  stable/9/contrib/sendmail/src/recipient.c
  stable/9/contrib/sendmail/src/savemail.c
  stable/9/contrib/sendmail/src/sendmail.h
  stable/9/contrib/sendmail/src/sfsasl.c
  stable/9/contrib/sendmail/src/srvrsmtp.c
  stable/9/contrib/sendmail/src/tls.c
  stable/9/contrib/sendmail/src/usersmtp.c
  stable/9/contrib/sendmail/src/util.c
  stable/9/contrib/sendmail/src/version.c
  stable/9/contrib/sendmail/test/Makefile.m4
  stable/9/contrib/sendmail/vacation/vacation.c
Directory Properties:
  stable/9/contrib/sendmail/   (props changed)

Modified: stable/9/contrib/sendmail/CACerts
==============================================================================
--- stable/9/contrib/sendmail/CACerts	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/CACerts	Thu Apr 25 01:42:54 2013	(r249865)
@@ -1,4 +1,4 @@
-# $Id: CACerts,v 8.5 2011/05/06 23:05:10 ca Exp $
+# $Id: CACerts,v 8.6 2013/01/18 15:14:17 ca Exp $
 # This file contains some CA certificates that are used to sign the
 # certificates of mail servers of members of the sendmail consortium
 # who may reply to questions etc sent to sendmail.org.
@@ -10,93 +10,93 @@ Certificate:
     Data:
         Version: 3 (0x2)
         Serial Number:
-            c2:3c:61:67:3b:0a:cc:5e
-        Signature Algorithm: md5WithRSAEncryption
-        Issuer: C=US, ST=California, L=Berkeley, O=Endmail Org, OU=MTA, CN=Claus Assmann CA RSA 2009/emailAddress=ca+ca-rsa2009 at esmtp.org
+            f1:41:b3:3d:ba:bd:33:49
+        Signature Algorithm: sha1WithRSAEncryption
+        Issuer: C=US, ST=California, L=Berkeley, O=Endmail Org, OU=MTA, CN=Claus Assmann CA RSA 2012/emailAddress=ca+ca-rsa2012 at esmtp.org
         Validity
-            Not Before: May 14 04:42:18 2009 GMT
-            Not After : May 13 04:42:18 2012 GMT
-        Subject: C=US, ST=California, L=Berkeley, O=Endmail Org, OU=MTA, CN=Claus Assmann CA RSA 2009/emailAddress=ca+ca-rsa2009 at esmtp.org
+            Not Before: Mar 10 02:47:46 2012 GMT
+            Not After : Mar 10 02:47:46 2015 GMT
+        Subject: C=US, ST=California, L=Berkeley, O=Endmail Org, OU=MTA, CN=Claus Assmann CA RSA 2012/emailAddress=ca+ca-rsa2012 at esmtp.org
         Subject Public Key Info:
             Public Key Algorithm: rsaEncryption
-            RSA Public Key: (2048 bit)
-                Modulus (2048 bit):
-                    00:d5:f8:d3:48:38:75:df:2e:6b:8b:c4:8d:1d:41:
-                    5e:ad:4b:96:3d:48:c2:dc:e5:ff:61:98:95:32:03:
-                    e9:b6:71:5a:68:31:bc:e1:5c:aa:0e:70:a7:bc:51:
-                    b7:13:6a:78:54:ae:a6:d0:44:49:1b:5e:37:5b:59:
-                    20:01:47:a7:ec:41:4c:11:79:8c:25:c1:1b:c0:ed:
-                    85:b2:de:0f:10:9f:e7:b2:a3:c4:f1:fc:85:51:aa:
-                    d6:68:49:51:3e:04:e1:eb:e9:cd:87:1b:d0:9d:97:
-                    7b:4c:e1:1e:b1:6a:be:01:0a:a9:97:9a:50:89:e3:
-                    66:06:4c:07:cb:7e:99:70:13:e8:b4:9c:e7:e6:52:
-                    38:c0:64:90:42:d0:f5:cf:22:46:22:60:e9:34:70:
-                    1d:e3:d1:13:33:3a:31:ba:13:06:a8:c2:34:90:47:
-                    c5:a1:bd:2d:7d:98:21:70:de:22:d0:13:11:e5:08:
-                    dd:a0:77:0b:df:34:a7:07:55:de:5a:71:f6:6c:9e:
-                    ec:f7:45:75:1f:22:a9:84:06:c6:4f:84:3d:4e:05:
-                    d7:e4:e5:98:41:61:7b:8e:c9:3b:a6:ed:31:80:7d:
-                    fd:fa:f0:dc:b7:07:82:b8:ec:27:20:39:5f:78:95:
-                    f1:0d:93:8d:f9:4d:21:08:fd:72:89:01:ff:2c:a0:
-                    71:9d
+                Public-Key: (2048 bit)
+                Modulus:
+                    00:a2:80:fc:c6:ce:7f:60:38:65:f4:38:f9:7a:d9:
+                    87:fd:47:eb:3f:2c:4a:c9:38:77:6a:77:94:92:7f:
+                    83:3d:99:57:2c:5f:37:bb:ba:12:10:17:56:fa:eb:
+                    43:a6:4b:4c:1e:30:32:07:94:2f:5a:d8:65:49:29:
+                    fa:24:d1:f0:0b:45:2d:e5:d5:cb:7d:60:dc:a6:ce:
+                    a4:47:35:30:ee:5e:8d:c2:30:e7:a7:63:32:b0:59:
+                    80:cc:8c:99:64:77:8f:50:8e:88:51:47:36:ea:9a:
+                    f3:b4:c0:8c:a6:ab:c6:42:57:88:b9:5f:9f:61:15:
+                    bb:79:65:93:ca:a9:fd:17:eb:87:26:8b:eb:b7:2b:
+                    7e:33:05:2b:ba:c0:46:f7:08:fd:da:c1:50:9b:3d:
+                    26:83:5c:53:97:89:2c:cc:5f:f2:7b:a8:b7:3d:fb:
+                    f2:b4:89:0d:43:ef:18:5c:21:75:71:cc:f0:c2:a3:
+                    84:69:c0:a7:f3:9b:de:c1:c7:5a:5c:7e:68:da:49:
+                    71:af:58:a8:51:9f:bd:f9:3d:bb:a5:92:fa:7b:1d:
+                    52:f5:fe:90:59:95:27:65:a4:af:97:9a:4f:01:39:
+                    59:7d:08:6f:a1:8f:42:47:49:bf:12:52:53:39:74:
+                    8d:62:3b:bd:4c:4f:05:0f:c4:b9:3e:da:a8:0e:96:
+                    05:2d
                 Exponent: 65537 (0x10001)
         X509v3 extensions:
             X509v3 Subject Key Identifier: 
-            A7:61:FA:31:AF:A8:E2:5E:93:B6:84:9E:74:08:A2:76:50:87:69:7C
+                08:38:E3:88:92:53:6E:F1:56:69:27:44:B5:4C:A0:18:CA:06:97:EB
             X509v3 Authority Key Identifier: 
-            keyid:A7:61:FA:31:AF:A8:E2:5E:93:B6:84:9E:74:08:A2:76:50:87:69:7C
-            DirName:/C=US/ST=California/L=Berkeley/O=Endmail Org/OU=MTA/CN=Claus Assmann CA RSA 2009/emailAddress=ca+ca-rsa2009 at esmtp.org
-            serial:C2:3C:61:67:3B:0A:CC:5E
+                keyid:08:38:E3:88:92:53:6E:F1:56:69:27:44:B5:4C:A0:18:CA:06:97:EB
+                DirName:/C=US/ST=California/L=Berkeley/O=Endmail Org/OU=MTA/CN=Claus Assmann CA RSA 2012/emailAddress=ca+ca-rsa2012 at esmtp.org
+                serial:F1:41:B3:3D:BA:BD:33:49
 
             X509v3 Basic Constraints: 
-            CA:TRUE
+                CA:TRUE
             X509v3 Subject Alternative Name: 
-            email:ca+ca-rsa2009 at esmtp.org
+                email:ca+ca-rsa2012 at esmtp.org
             X509v3 Issuer Alternative Name: 
-            email:ca+ca-rsa2009 at esmtp.org
-    Signature Algorithm: md5WithRSAEncryption
-        b3:38:e0:da:a8:07:d8:cc:b8:4d:8c:20:a6:06:2c:f8:27:db:
-        8e:28:0f:39:bd:d9:24:c7:9f:e0:4d:d6:b6:63:42:36:0f:d8:
-        70:41:e7:9e:a2:24:64:05:ea:85:97:ac:f2:cc:c2:a6:71:bb:
-        30:21:c1:c7:c4:54:34:1d:30:09:f0:9b:74:27:93:59:12:4c:
-        53:0b:8c:3e:d0:39:ed:4a:d0:d9:66:24:d8:e7:e5:9c:a8:6d:
-        5f:56:5d:9a:91:fe:1b:7d:b9:7c:79:9e:1c:b9:71:74:14:f8:
-        0c:30:50:f9:b1:22:56:a8:4d:6f:4b:9b:e5:8a:81:33:1b:77:
-        75:f6:d8:ce:d4:90:34:86:34:d1:86:75:a9:e1:23:e6:af:c1:
-        8e:28:97:47:20:4d:1b:57:09:39:f4:56:01:d2:87:43:3e:29:
-        f6:c4:5b:7d:8f:9e:bd:ad:36:79:cf:09:70:43:30:21:98:23:
-        31:c8:0d:39:ee:77:e1:4a:44:1a:5c:79:2f:6c:ec:8a:3c:db:
-        99:a0:11:bc:1a:46:24:51:e7:75:d6:9a:db:ad:dd:55:d4:dd:
-        ca:81:a0:10:77:96:91:9c:76:30:38:18:f0:82:43:b3:7c:41:
-        64:4c:4e:da:66:22:67:cf:b7:d7:10:ba:ed:f4:6d:43:59:00:
-        d0:82:1e:07
+                email:ca+ca-rsa2012 at esmtp.org
+    Signature Algorithm: sha1WithRSAEncryption
+        9a:8f:4d:23:5b:30:80:e1:94:e4:66:9c:3a:17:8b:79:49:5b:
+        ec:5d:e5:a1:22:2d:71:37:a1:51:e7:1d:b1:0d:a9:9b:aa:a9:
+        0d:c7:cd:d6:24:f9:e0:f0:57:be:4f:74:0c:4b:7a:42:4c:70:
+        19:2e:8e:eb:cb:1b:00:26:27:eb:1c:42:33:d5:ec:32:b4:6c:
+        7d:a3:04:a1:5c:00:49:c9:0d:4c:4d:28:37:06:22:77:ec:40:
+        15:25:3a:23:84:ae:1f:da:90:dd:c9:dc:27:ee:7c:ec:e5:df:
+        b8:ba:1e:3f:ee:c2:91:a2:3f:22:92:1e:f3:06:7e:aa:e9:c3:
+        11:2d:3d:2f:85:f7:fc:d7:e2:f8:6d:70:a6:40:62:69:e7:52:
+        ed:1b:19:38:72:86:08:a1:3d:47:c8:68:82:41:db:db:2a:52:
+        25:d7:49:aa:9e:c5:83:22:7d:2f:0b:df:8c:90:2d:b5:aa:33:
+        c7:9b:e8:39:8f:bb:79:5b:13:2d:4e:a9:69:59:c7:09:26:e2:
+        b5:53:80:86:72:bb:7c:be:e9:46:5b:d8:b2:78:42:d6:5d:c3:
+        bb:3a:3b:5f:0f:e8:c3:60:fb:88:9f:3a:2b:9f:d3:7d:9f:c7:
+        32:aa:4d:34:a7:66:a1:25:16:95:a6:69:e7:86:a3:5c:b9:b9:
+        df:58:05:e3
 -----BEGIN CERTIFICATE-----
-MIIFJzCCBA+gAwIBAgIJAMI8YWc7CsxeMA0GCSqGSIb3DQEBBAUAMIGlMQswCQYD
+MIIFJzCCBA+gAwIBAgIJAPFBsz26vTNJMA0GCSqGSIb3DQEBBQUAMIGlMQswCQYD
 VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMIQmVya2VsZXkx
 FDASBgNVBAoTC0VuZG1haWwgT3JnMQwwCgYDVQQLEwNNVEExIjAgBgNVBAMTGUNs
-Y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9hw
-QeeeoiRkBeqFl6zyzMKmcbswIcHHxFQ0HTAJ8Jt0J5NZEkxTC4w+0DntStDZZiTY
-5+WcqG1fVl2akf4bfbl8eZ4cuXF0FPgMMFD5sSJWqE1vS5vlioEzG3d19tjO1JA0
-hjTRhnWp4SPmr8GOKJdHIE0bVwk59FYB0odDPin2xFt9j569rTZ5zwlwQzAhmCMx
-yA057nfhSkQaXHkvbOyKPNuZoBG8GkYkUed11prbrd1V1N3KgaAQd5aRnHYwOBjw
-gkOzfEFkTE7aZiJnz7fXELrt9G1DWQDQgh4H
+BgNVBAsTA01UQTEiMCAGA1UEAxMZQ2xhdXMgQXNzbWFubiBDQSBSU0EgMjAxMjEm
+MCQGCSqGSIb3DQEJARYXY2ErY2EtcnNhMjAxMkBlc210cC5vcmeCCQDxQbM9ur0z
+STAMBgNVHRMEBTADAQH/MCIGA1UdEQQbMBmBF2NhK2NhLXJzYTIwMTJAZXNtdHAu
+b3JnMCIGA1UdEgQbMBmBF2NhK2NhLXJzYTIwMTJAZXNtdHAub3JnMA0GCSqGSIb3
+DQEBBQUAA4IBAQCaj00jWzCA4ZTkZpw6F4t5SVvsXeWhIi1xN6FR5x2xDambqqkN
+x83WJPng8Fe+T3QMS3pCTHAZLo7ryxsAJifrHEIz1ewytGx9owShXABJyQ1MTSg3
+BiJ37EAVJTojhK4f2pDdydwn7nzs5d+4uh4/7sKRoj8ikh7zBn6q6cMRLT0vhff8
+1+L4bXCmQGJp51LtGxk4coYIoT1HyGiCQdvbKlIl10mqnsWDIn0vC9+MkC21qjPH
+m+g5j7t5WxMtTqlpWccJJuK1U4CGcrt8vulGW9iyeELWXcO7OjtfD+jDYPuInzor
+n9N9n8cyqk00p2ahJRaVpmnnhqNcubnfWAXj
 -----END CERTIFICATE-----

Modified: stable/9/contrib/sendmail/PGPKEYS
==============================================================================
--- stable/9/contrib/sendmail/PGPKEYS	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/PGPKEYS	Thu Apr 25 01:42:54 2013	(r249865)
@@ -142,6 +142,143 @@ gpExpdV7qPrw9k01j5rod5PjZlG8zV0=
 -----END PGP PUBLIC KEY BLOCK-----
 
 Type Bits KeyID      Created    Expires    Algorithm       Use
+pub  2048 5207CAD3   2013-01-02 -------    RSA             Sign & Encrypt
+fingerprint: B87D 4569 86F1 9484 07E5  CCB4 3D68 B25D 5207 CAD3
+uid  Sendmail Signing Key/2013 <sendmail at Sendmail.ORG>
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.13 (Darwin)
+
+mQENBFDkiE4BCAC7jVxyAGrnqq7bW4lAe83CxIUT4YHb+Ai49cecSCeOGqPSdlcg
+NYdNzi7KKpF9r4ShSctw2mHqWkwE7AimgJL3w5Iw026YtFrGfB5KHnBIC3dWKiJu
+ZM20qKx0Y5KqLjZStlajHL/gfhzhHEZXMcgFbYMGQ57Yuug8eEdmBb9ihgQgosdT
+RmdNH5zqch4G3Yf246JqeyESBCi8NHbOHzdfEWze3H2mGRmGeKfcnKRPlZV9OEdG
+E6ZEN6FBMghthZRa0f0AWw34YGxtvIAXOm/as64qpzJ2ebbH4HWvNRAaWetARG/I
+4OwCkvcpqFROXXFOALlFJiAiXkK1RRPcPWyJABEBAAG0MVNlbmRtYWlsIFNpZ25p
+bmcgS2V5LzIwMTMgPHNlbmRtYWlsQFNlbmRtYWlsLk9SRz6JATkEEwECACMFAlDk
+iE4CGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRA9aLJdUgfK02WeB/9r
+tNy5h/ouE9ixuzIDd7q5/n5ApIu0dnjLrieoOIgKPKLUwQMO18cjueKtRcAk1NP/
+BTYodw1rPOuZrtlgIltoAz4EN14SDGqiVVhgNkJVazOQ/4V0/zVAg+AZAngC3IFY
+MXI99/HOnhTTZ+lHwDbvZdNu/yY0LDOl0VO41atRD9A/ujbRbjQL+QCkabi+M0Vr
+Boz/4JKxbidsG41JFGQMTJxXuglZOWagB/T30/pYR5k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GP PUBLIC KEY BLOCK-----
+
+Type Bits KeyID      Created    Expires    Algorithm       Use
 pub  2048 CEEEF43B   2011-12-14 -------    RSA             Sign & Encrypt
 fingerprint: CA7A 8F39 A241 9FFF B0A9  AB27 8E5A E9FB CEEE F43B
 uid  Sendmail Signing Key/2012 <sendmail at Sendmail.ORG>
@@ -2298,4 +2435,4 @@ DnF3FZZEzV7oqPwC2jzv/1dD6GFhtgy0cnyoPGUJ
 =nES8
 -----END PGP PUBLIC KEY BLOCK-----
 
-$Revision: 8.40 $, Last updated $Date: 2012/01/09 04:44:59 $
+$Revision: 8.43 $, Last updated $Date: 2013/01/18 17:40:21 $

Modified: stable/9/contrib/sendmail/RELEASE_NOTES
==============================================================================
--- stable/9/contrib/sendmail/RELEASE_NOTES	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/RELEASE_NOTES	Thu Apr 25 01:42:54 2013	(r249865)
@@ -1,11 +1,40 @@
 			SENDMAIL RELEASE NOTES
-      $Id: RELEASE_NOTES,v 8.2011 2012/12/21 18:42:16 ca Exp $
+      $Id: RELEASE_NOTES,v 8.2024 2013/04/19 15:01:58 ca Exp $
 
 
 This listing shows the version of the sendmail binary, the version
 of the sendmail configuration files, the date of release, and a
 summary of the changes in that release.
 
+8.14.7/8.14.7	2013/04/21
+	Drop support for IPv4-mapped IPv6 addresses to prevent the MTA
+		from using a mapped address over a legitimate IPv6 address
+		and to enforce the proper semantics over the IPv6
+		connection.  Problem noted by Ulrich Sporlein.
+	Fix a regression introduced in 8.14.6: the wrong list of
+		macros was sent to a milter in the EHLO stage.
+		Problem found by Fabrice Bellet, reported via RedHat
+		(Jaroslav Skarvada).
+	Fix handling of ORCPT parameter for DSNs: xtext decoding
+		was not performed and a wrong syntax check was applied
+		to the "addr-type" field.  Problem noted by Dan Lukes
+		of Obludarium.
+	Fix handling of NUL characters in the MIME conversion functions
+		so that message bodies containing them will be sent
+		on properly. Note: this usually also affects mails
+		that are not converted as those functions are used
+		for other purposes too.  Problem noted by Elchonon
+		Edelson of Lockheed Martin.
+	Do not perform "duplicate" elimination of recipients if they
+		resolve to the error mailer using a temporary failure
+		(4xy) via ruleset 0.  Problem noted by Akira Takahashi
+		of IIJ.
+	CONTRIB: Updated version of etrn.pl script from John Beck
+		of Oracle.
+	Portability:
+		Unlike gcc, clang doesn't apply full prototypes to K&R
+		definitions.
+
 8.14.6/8.14.6	2012/12/23
 	Fix a regression introduced in 8.14.5: if a server offers
 		two AUTH lines, the MTA would not read them after

Modified: stable/9/contrib/sendmail/cf/cf/submit.cf
==============================================================================
--- stable/9/contrib/sendmail/cf/cf/submit.cf	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/cf/cf/submit.cf	Thu Apr 25 01:42:54 2013	(r249865)
@@ -16,8 +16,8 @@
 #####
 #####		SENDMAIL CONFIGURATION FILE
 #####
-##### built by ca at wiz.smi.sendmail.com on Fri Dec 21 10:45:15 PST 2012
-##### in /extra/home/ca/sm-8.14.6/OpenSource/sendmail-8.14.6/cf/cf
+##### built by ca at wiz.smi.sendmail.com on Fri Apr 19 08:04:44 PDT 2013
+##### in /extra/home/ca/sm-8.14.7/OpenSource/sendmail-8.14.7/cf/cf
 ##### using ../ as configuration include directory
 #####
 ######################################################################
@@ -114,7 +114,7 @@ D{MTAHost}[127.0.0.1]
 
 
 # Configuration version number
-DZ8.14.6/Submit
+DZ8.14.7/Submit
 
 
 ###############

Modified: stable/9/contrib/sendmail/cf/m4/version.m4
==============================================================================
--- stable/9/contrib/sendmail/cf/m4/version.m4	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/cf/m4/version.m4	Thu Apr 25 01:42:54 2013	(r249865)
@@ -1,6 +1,6 @@
 divert(-1)
 #
-# Copyright (c) 1998-2012 Sendmail, Inc. and its suppliers.
+# Copyright (c) 1998-2013 Sendmail, Inc. and its suppliers.
 #	All rights reserved.
 # Copyright (c) 1983 Eric P. Allman.  All rights reserved.
 # Copyright (c) 1988, 1993
@@ -11,8 +11,8 @@ divert(-1)
 # the sendmail distribution.
 #
 #
-VERSIONID(`$Id: version.m4,v 8.222 2012/12/19 05:11:43 ca Exp $')
+VERSIONID(`$Id: version.m4,v 8.230 2013/04/18 15:07:16 ca Exp $')
 #
 divert(0)
 # Configuration version number
-DZ8.14.6`'ifdef(`confCF_VERSION', `/confCF_VERSION')
+DZ8.14.7`'ifdef(`confCF_VERSION', `/confCF_VERSION')

Modified: stable/9/contrib/sendmail/contrib/etrn.pl
==============================================================================
--- stable/9/contrib/sendmail/contrib/etrn.pl	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/contrib/etrn.pl	Thu Apr 25 01:42:54 2013	(r249865)
@@ -1,22 +1,40 @@
-#!/usr/local/bin/perl -w
+#!/usr/perl5/bin/perl -w
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# 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.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
 #
 # Copyright (c) 1996-2000 by John T. Beck <john at beck.org>
 # All rights reserved.
 #
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
 #
-#ident	"@(#)etrn.pl	1.1	00/09/06 SMI"
 
-require 5.005;				# minimal Perl version required
+require 5.8.4;				# minimal Perl version required
 use strict;
+use warnings;
 use English;
 
-# hardcoded constants, should work fine for BSD-based systems
 use Socket;
 use Getopt::Std;
-use vars qw($opt_v);
-my $sockaddr = 'S n a4 x8';
+our ($opt_v, $opt_b);
 
 # system requirements:
 # 	must have 'hostname' program.
@@ -26,11 +44,12 @@ select(STDERR);
 
 chop(my $name = `hostname || uname -n`);
 
-(my $hostname, my $aliases, my $type, my $len, undef) = gethostbyname($name);
+my ($hostname) = (gethostbyname($name))[0];
 
-my $usage = "Usage: $PROGRAM_NAME [-v] host [args]";
-getopts('v');
+my $usage = "Usage: $PROGRAM_NAME [-bv] host [args]";
+getopts('bv');
 my $verbose = $opt_v;
+my $boot_check = $opt_b;
 my $server = shift(@ARGV);
 my @hosts = @ARGV;
 die $usage unless $server;
@@ -86,24 +105,60 @@ if (!@hosts) {
 			die "open $cwfile: $ERRNO";
 		}
 	}
+	# Do this automatically if no client hosts are specified.
+	$boot_check = "yes";
 }
 
-($name, $aliases, my $proto) = getprotobyname('tcp');
-($name, $aliases, $port) = getservbyname($port, 'tcp')
+my ($proto) = (getprotobyname('tcp'))[2];
+($port) = (getservbyname($port, 'tcp'))[2]
 	unless $port =~ /^\d+/;
 
+if ($boot_check) {
+	# first connect to localhost to verify that we can accept connections
+	print "verifying that localhost is accepting SMTP connections\n"
+		if ($verbose);
+	my $localhost_ok = 0;
+	($name, my $laddr) = (gethostbyname('localhost'))[0, 4];
+	(!defined($name)) && die "gethostbyname failed, unknown host localhost";
+
+	# get a connection
+	my $sinl = sockaddr_in($port, $laddr);
+	my $save_errno = 0;
+	for (my $num_tries = 1; $num_tries < 5; $num_tries++) {
+		socket(S, &PF_INET, &SOCK_STREAM, $proto)
+			|| die "socket: $ERRNO";
+		if (connect(S, $sinl)) {
+			&alarm("sending 'quit' to $server");
+			print S "quit\n";
+			alarm(0);
+			$localhost_ok = 1;
+			close(S);
+			alarm(0);
+			last;
+		}
+		print STDERR "localhost connect failed ($num_tries)\n";
+		$save_errno = $ERRNO;
+		sleep(1 << $num_tries);
+		close(S);
+		alarm(0);
+	}
+	if (! $localhost_ok) {
+		die "could not connect to localhost: $save_errno\n";
+	}
+}
+
 # look it up
 
-($name, $aliases, $type, $len, my $thataddr) = gethostbyname($server);
+($name, my $thataddr) = (gethostbyname($server))[0, 4];
 (!defined($name)) && die "gethostbyname failed, unknown host $server";
-				
+
 # get a connection
-my $that = pack($sockaddr, &AF_INET, $port, $thataddr);
-socket(S, &AF_INET, &SOCK_STREAM, $proto)
+my $sinr = sockaddr_in($port, $thataddr);
+socket(S, &PF_INET, &SOCK_STREAM, $proto)
 	|| die "socket: $ERRNO";
 print "server = $server\n" if (defined($verbose));
 &alarm("connect to $server");
-if (! connect(S, $that)) {
+if (! connect(S, $sinr)) {
 	die "cannot connect to $server: $ERRNO\n";
 }
 alarm(0);

Modified: stable/9/contrib/sendmail/doc/op/op.me
==============================================================================
--- stable/9/contrib/sendmail/doc/op/op.me	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/doc/op/op.me	Thu Apr 25 01:42:54 2013	(r249865)
@@ -9,7 +9,7 @@
 .\" the sendmail distribution.
 .\"
 .\"
-.\"	$Id: op.me,v 8.749 2012/03/02 22:37:11 ca Exp $
+.\"	$Id: op.me,v 8.751 2013/04/08 21:41:25 ca Exp $
 .\"
 .\" eqn op.me | pic | troff -me
 .\"
@@ -90,7 +90,7 @@ Sendmail, Inc.
 .de Ve
 Version \\$2
 ..
-.Ve $Revision: 8.749 $
+.Ve $Revision: 8.751 $
 .rm Ve
 .sp
 For Sendmail Version 8.14
@@ -5547,9 +5547,6 @@ It can have primary types
 or full types
 (such as
 .q text/plain ).
-The class is initialized to have
-.q text/plain
-only.
 .ip $=s
 contains the set of subtypes of message that can be treated recursively.
 By default it contains only
@@ -6609,8 +6606,13 @@ Modifier	Options (flags) for the client
 .)b
 The
 .i Addr ess
-mask may be a numeric address in dot notation
+mask may be a numeric address in IPv4 dot notation or IPv6 colon notation
 or a network name.
+Note that if a network name is specified,
+only the first IP address returned for it will be used.
+This may cause indeterminate behavior for network names
+that resolve to multiple addresses.
+Therefore, use of an address is recommended.
 .i Modifier
 can be the following character:
 .(b
@@ -6778,8 +6780,13 @@ The
 key is used for error messages and logging.
 The
 .i Addr ess
-mask may be a numeric address in dot notation
+mask may be a numeric address in IPv4 dot notation or IPv6 colon notation
 or a network name.
+Note that if a network name is specified,
+only the first IP address returned for it will be used.
+This may cause indeterminate behavior for network names
+that resolve to multiple addresses.
+Therefore, use of an address is recommended.
 The
 .i Family
 key defaults to INET (IPv4).
@@ -11471,7 +11478,7 @@ replace it with a blank sheet for double
 .\".sz 10
 .\"Eric Allman
 .\".sp
-.\"Version $Revision: 8.749 $
+.\"Version $Revision: 8.751 $
 .\".ce 0
 .bp 3
 .ce

Modified: stable/9/contrib/sendmail/include/sm/config.h
==============================================================================
--- stable/9/contrib/sendmail/include/sm/config.h	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/include/sm/config.h	Thu Apr 25 01:42:54 2013	(r249865)
@@ -6,7 +6,7 @@
  * forth in the LICENSE file which can be found at the top level of
  * the sendmail distribution.
  *
- *	$Id: config.h,v 1.47 2004/10/26 21:41:07 gshapiro Exp $
+ *	$Id: config.h,v 1.48 2013/03/22 22:48:57 gshapiro Exp $
  */
 
 /*
@@ -24,14 +24,16 @@
 
 /*
 **  SM_CONF_STDBOOL_H is 1 if <stdbool.h> exists
+**
+**  Note, unlike gcc, clang doesn't apply full prototypes to K&R definitions.
 */
 
 # ifndef SM_CONF_STDBOOL_H
-#  if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+#  if !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
 #   define SM_CONF_STDBOOL_H		1
-#  else /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
+#  else /* !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
 #   define SM_CONF_STDBOOL_H		0
-#  endif /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
+#  endif /* !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
 # endif /* ! SM_CONF_STDBOOL_H */
 
 /*

Modified: stable/9/contrib/sendmail/include/sm/io.h
==============================================================================
--- stable/9/contrib/sendmail/include/sm/io.h	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/include/sm/io.h	Thu Apr 25 01:42:54 2013	(r249865)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2002, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002, 2004, 2013 Sendmail, Inc. and its suppliers.
  *      All rights reserved.
  * Copyright (c) 1990
  * 	 The Regents of the University of California.  All rights reserved.
@@ -11,7 +11,7 @@
  * forth in the LICENSE file which can be found at the top level of
  * the sendmail distribution.
  *
- *	$Id: io.h,v 1.24 2004/03/03 19:14:49 ca Exp $
+ *	$Id: io.h,v 1.25 2013/03/12 15:24:49 ca Exp $
  */
 
 /*-
@@ -269,7 +269,7 @@ int	 sm_io_close __P((SM_FILE_T *, int S
 SM_FILE_T *sm_io_dup __P((SM_FILE_T *));
 int	 sm_io_eof __P((SM_FILE_T *));
 int	 sm_io_error __P((SM_FILE_T *));
-char	*sm_io_fgets __P((SM_FILE_T *, int, char *, int));
+int	 sm_io_fgets __P((SM_FILE_T *, int, char *, int));
 int	 sm_io_flush __P((SM_FILE_T *, int SM_NONVOLATILE));
 
 int PRINTFLIKE(3, 4)

Modified: stable/9/contrib/sendmail/libmilter/Makefile.m4
==============================================================================
--- stable/9/contrib/sendmail/libmilter/Makefile.m4	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/libmilter/Makefile.m4	Thu Apr 25 01:42:54 2013	(r249865)
@@ -1,4 +1,4 @@
-dnl $Id: Makefile.m4,v 8.88 2012/09/25 17:40:32 ca Exp $
+dnl $Id: Makefile.m4,v 8.92 2013/04/16 20:19:54 ca Exp $
 include(confBUILDTOOLSDIR`/M4/switch.m4')
 
 dnl only required for compilation of EXTRAS

Modified: stable/9/contrib/sendmail/libmilter/sm_gethost.c
==============================================================================
--- stable/9/contrib/sendmail/libmilter/sm_gethost.c	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/libmilter/sm_gethost.c	Thu Apr 25 01:42:54 2013	(r249865)
@@ -1,5 +1,5 @@
 /*
- *  Copyright (c) 1999-2001, 2004, 2010 Sendmail, Inc. and its suppliers.
+ *  Copyright (c) 1999-2001, 2004, 2010, 2013 Sendmail, Inc. and its suppliers.
  *	All rights reserved.
  *
  * By using this file, you agree to the terms and conditions set
@@ -9,7 +9,7 @@
  */
 
 #include <sm/gen.h>
-SM_RCSID("@(#)$Id: sm_gethost.c,v 8.29 2010/07/27 01:09:31 ca Exp $")
+SM_RCSID("@(#)$Id: sm_gethost.c,v 8.30 2013/02/22 22:43:33 gshapiro Exp $")
 
 #include <sendmail.h>
 #if NETINET || NETINET6
@@ -101,7 +101,12 @@ mi_gethostbyname(name, family)
 # endif /* SOLARIS == 20300 || SOLARIS == 203 */
 #else /* (SOLARIS > 10000 && SOLARIS < 20400) || (defined(SOLARIS) && SOLARIS < 204) || (defined(sony_news) && defined(__svr4)) */
 # if NETINET6
-	int flags = AI_DEFAULT|AI_ALL;
+#  ifndef SM_IPNODEBYNAME_FLAGS
+    /* For IPv4-mapped addresses, use: AI_DEFAULT|AI_ALL */
+#   define SM_IPNODEBYNAME_FLAGS	AI_ADDRCONFIG
+#  endif /* SM_IPNODEBYNAME_FLAGS */
+
+	int flags = SM_IPNODEBYNAME_FLAGS;
 	int err;
 # endif /* NETINET6 */
 

Modified: stable/9/contrib/sendmail/libsm/Makefile.m4
==============================================================================
--- stable/9/contrib/sendmail/libsm/Makefile.m4	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/libsm/Makefile.m4	Thu Apr 25 01:42:54 2013	(r249865)
@@ -1,4 +1,4 @@
-dnl $Id: Makefile.m4,v 1.72 2006/08/16 21:06:31 ca Exp $
+dnl $Id: Makefile.m4,v 1.73 2013/03/12 15:24:50 ca Exp $
 define(`confREQUIRE_LIBUNIX')
 include(confBUILDTOOLSDIR`/M4/switch.m4')
 
@@ -18,6 +18,7 @@ smcheck(`t-exc', `compile-run')
 smcheck(`t-rpool', `compile-run')
 smcheck(`t-string', `compile-run')
 smcheck(`t-smstdio', `compile-run')
+smcheck(`t-fget', `compile-run')
 smcheck(`t-match', `compile-run')
 smcheck(`t-strio', `compile-run')
 smcheck(`t-heap', `compile-run')

Modified: stable/9/contrib/sendmail/libsm/cf.c
==============================================================================
--- stable/9/contrib/sendmail/libsm/cf.c	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/libsm/cf.c	Thu Apr 25 01:42:54 2013	(r249865)
@@ -9,7 +9,7 @@
  */
 
 #include <sm/gen.h>
-SM_RCSID("@(#)$Id: cf.c,v 1.6 2001/09/11 04:04:47 gshapiro Exp $")
+SM_RCSID("@(#)$Id: cf.c,v 1.7 2013/03/12 15:24:50 ca Exp $")
 
 #include <ctype.h>
 #include <errno.h>
@@ -54,7 +54,7 @@ sm_cf_getopt(path, optc, optv)
 	if (cfp == NULL)
 		return errno;
 
-	while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
+	while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0)
 	{
 		p = strchr(buf, '\n');
 		if (p != NULL)

Modified: stable/9/contrib/sendmail/libsm/fget.c
==============================================================================
--- stable/9/contrib/sendmail/libsm/fget.c	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/libsm/fget.c	Thu Apr 25 01:42:54 2013	(r249865)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2013 Sendmail, Inc. and its suppliers.
  *      All rights reserved.
  * Copyright (c) 1990, 1993
  *	The Regents of the University of California.  All rights reserved.
@@ -13,7 +13,7 @@
  */
 
 #include <sm/gen.h>
-SM_RCSID("@(#)$Id: fget.c,v 1.24 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: fget.c,v 1.25 2013/03/12 15:24:50 ca Exp $")
 #include <stdlib.h>
 #include <string.h>
 #include <sm/io.h>
@@ -33,31 +33,32 @@ SM_RCSID("@(#)$Id: fget.c,v 1.24 2001/09
 **		n -- size of 'buf'
 **
 **	Returns:
-**		success: returns value of 'buf'
-**		failure: NULL (no characters were read)
-**		timeout: NULL and errno set to EAGAIN
+**		success: number of characters
+**		failure: -1
+**		timeout: -1 and errno set to EAGAIN
 **
 **	Side Effects:
 **		may move the file pointer
 */
 
-char *
+int
 sm_io_fgets(fp, timeout, buf, n)
 	register SM_FILE_T *fp;
 	int timeout;
 	char *buf;
 	register int n;
 {
-	register int len;
-	register char *s;
-	register unsigned char *p, *t;
+	int len, r;
+	char *s;
+	unsigned char *p, *t;
 
 	SM_REQUIRE_ISA(fp, SmFileMagic);
 	if (n <= 0)		/* sanity check */
-		return NULL;
+		return -1;
 
 	s = buf;
 	n--;			/* leave space for NUL */
+	r = 0;
 	while (n > 0)
 	{
 		/* If the buffer is empty, refill it. */
@@ -73,7 +74,7 @@ sm_io_fgets(fp, timeout, buf, n)
 			{
 				/* EOF/error: stop with partial or no line */
 				if (s == buf)
-					return NULL;
+					return -1;
 				break;
 			}
 			len = fp->f_r;
@@ -93,18 +94,20 @@ sm_io_fgets(fp, timeout, buf, n)
 		if (t != NULL)
 		{
 			len = ++t - p;
+			r += len;
 			fp->f_r -= len;
 			fp->f_p = t;
 			(void) memcpy((void *) s, (void *) p, len);
 			s[len] = 0;
-			return buf;
+			return r;
 		}
 		fp->f_r -= len;
 		fp->f_p += len;
 		(void) memcpy((void *) s, (void *) p, len);
 		s += len;
+		r += len;
 		n -= len;
 	}
 	*s = 0;
-	return buf;
+	return r;
 }

Copied: stable/9/contrib/sendmail/libsm/t-fget.c (from r249729, head/contrib/sendmail/libsm/t-fget.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/9/contrib/sendmail/libsm/t-fget.c	Thu Apr 25 01:42:54 2013	(r249865, copy of r249729, head/contrib/sendmail/libsm/t-fget.c)
@@ -0,0 +1,86 @@
+/*
+ * Copyright (c) 2013 Sendmail, Inc. and its suppliers.
+ *	All rights reserved.
+ *
+ * By using this file, you agree to the terms and conditions set
+ * forth in the LICENSE file which can be found at the top level of
+ * the sendmail distribution.
+ */
+
+#include <sm/gen.h>
+SM_IDSTR(id, "@(#)$Id: t-fget.c,v 1.1 2013/03/12 15:24:50 ca Exp $")
+
+#include <sm/io.h>
+#include <sm/string.h>
+#include <sm/test.h>
+#include <errno.h>
+
+void
+check(char *msg, int l)
+{
+	SM_FILE_T *wfp, *rfp;
+	char buf[256];
+	size_t n;
+	int r, i;
+	static char fn[] = "tfget";
+
+	wfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, fn,
+			   SM_IO_WRONLY_B, NULL);
+	SM_TEST(wfp != NULL);
+	for (i = 0; i < l; i++)
+	{
+		r = sm_io_putc(wfp, SM_TIME_DEFAULT, msg[i]);
+		SM_TEST(r >= 0);
+	}
+	r = sm_io_close(wfp, SM_TIME_DEFAULT);
+	SM_TEST(r == 0);
+
+	rfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, fn,
+			   SM_IO_RDONLY_B, NULL);
+	SM_TEST(rfp != NULL);
+	n = sizeof(buf);
+	r = sm_io_fgets(rfp, SM_TIME_DEFAULT, buf, n);
+	if (l == 0)
+	{
+		SM_TEST(r == -1);
+		SM_TEST(errno == 0);
+	}
+	else
+	{
+		SM_TEST(r == l);
+		if (r != l)
+			fprintf(stderr, "buf='%s', in='%s', r=%d, l=%d\n",
+				buf, msg, r, l);
+	}
+	SM_TEST(memcmp(buf, msg, l) == 0);
+	r = sm_io_close(rfp, SM_TIME_DEFAULT);
+	SM_TEST(r == 0);
+}
+
+
+int
+main(argc, argv)
+	int argc;
+	char **argv;
+{
+	char res[256];
+	int l;
+
+	sm_test_begin(argc, argv, "test fget");
+
+	check("", strlen(""));
+	check("\n", strlen("\n"));
+	check("test\n", strlen("test\n"));
+
+	l = snprintf(res, sizeof(res), "%c%s\n", '\0', "test ing");
+	check(res, l);
+
+	l = snprintf(res, sizeof(res), "%c%s%c\n", '\0', "test ing", '\0');
+	check(res, l);
+
+	l = snprintf(res, sizeof(res), "%c%s%c%s\n",
+		'\0', "test ing", '\0', "eol");
+	check(res, l);
+
+	return sm_test_end();
+}

Modified: stable/9/contrib/sendmail/mailstats/mailstats.c
==============================================================================
--- stable/9/contrib/sendmail/mailstats/mailstats.c	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/mailstats/mailstats.c	Thu Apr 25 01:42:54 2013	(r249865)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 1998-2002, 2013 Sendmail, Inc. and its suppliers.
  *	All rights reserved.
  * Copyright (c) 1983 Eric P. Allman.  All rights reserved.
  * Copyright (c) 1988, 1993
@@ -20,7 +20,7 @@ SM_IDSTR(copyright,
      Copyright (c) 1988, 1993\n\
 	The Regents of the University of California.  All rights reserved.\n")
 
-SM_IDSTR(id, "@(#)$Id: mailstats.c,v 8.100 2002/06/27 23:24:06 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: mailstats.c,v 8.102 2013/03/12 15:24:50 ca Exp $")
 
 #include <unistd.h>
 #include <stddef.h>
@@ -68,13 +68,14 @@ main(argc, argv)
 	extern char *ctime();
 	extern char *optarg;
 	extern int optind;
+# define MSOPTS "cC:f:opP"
 
 	cfile = getcfname(0, 0, SM_GET_SENDMAIL_CF, NULL);
 	sfile = NULL;
 	mnames = true;
 	progmode = false;
 	trunc = false;
-	while ((ch = getopt(argc, argv, "cC:f:opP")) != -1)
+	while ((ch = getopt(argc, argv, MSOPTS)) != -1)
 	{
 		switch (ch)
 		{
@@ -90,6 +91,7 @@ main(argc, argv)
 			sfile = optarg;
 			break;
 
+
 		  case 'o':
 			mnames = false;
 			break;
@@ -102,6 +104,7 @@ main(argc, argv)
 			progmode = true;
 			break;
 
+
 		  case '?':
 		  default:
   usage:
@@ -131,7 +134,7 @@ main(argc, argv)
 	(void) sm_strlcpy(mtable[mno++], "*file*", MNAMELEN + 1);
 	(void) sm_strlcpy(mtable[mno++], "*include*", MNAMELEN + 1);
 
-	while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
+	while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0)
 	{
 		register char *b;
 		char *s;
@@ -270,6 +273,7 @@ main(argc, argv)
 		}
 	}
 
+
 	if (progmode)
 	{
 		(void) time(&now);

Modified: stable/9/contrib/sendmail/makemap/makemap.c
==============================================================================
--- stable/9/contrib/sendmail/makemap/makemap.c	Thu Apr 25 00:39:43 2013	(r249864)
+++ stable/9/contrib/sendmail/makemap/makemap.c	Thu Apr 25 01:42:54 2013	(r249865)

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***


More information about the svn-src-stable-9 mailing list