summaryrefslogtreecommitdiff
path: root/mail/postfix-current/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2011-11-17 19:35:14 +0000
committerPav Lucistnik <pav@FreeBSD.org>2011-11-17 19:35:14 +0000
commit82ad506b8dcf98f08ae085d25dda31a825f9e039 (patch)
tree0c266f2ae07cb1d175aade2a27d81ecc18fde8aa /mail/postfix-current/files
parentAdd LATEST_LINK line to avoid conflict with idnkit (diff)
- Unmark BROKEN on amd64, the build failure observed on pointyhat is largely
unknown in real world. Increase verbosity in postconf tool error messaging to aid diagnose on pointyhat Submitted by: Jase Thew Feature safe: yes
Diffstat (limited to 'mail/postfix-current/files')
-rw-r--r--mail/postfix-current/files/patch-debug_pointhat.diff58
1 files changed, 58 insertions, 0 deletions
diff --git a/mail/postfix-current/files/patch-debug_pointhat.diff b/mail/postfix-current/files/patch-debug_pointhat.diff
new file mode 100644
index 000000000000..010d763774db
--- /dev/null
+++ b/mail/postfix-current/files/patch-debug_pointhat.diff
@@ -0,0 +1,58 @@
+--- src/util/inet_addr_local.c.orig 2011-11-17 19:04:23.142782923 +0000
++++ src/util/inet_addr_local.c 2011-11-17 19:17:50.594364384 +0000
+@@ -136,11 +136,11 @@
+ #ifdef HAS_IPV6
+ if (af == AF_INET6) {
+ if (msg_verbose)
+- msg_warn("%s: socket: %m", myname);
++ msg_warn("%s: socket:%s:%d: %m", myname, __FILE__, __LINE__);
+ return (-1);
+ }
+ #endif
+- msg_fatal("%s: socket: %m", myname);
++ msg_fatal("%s: socket:%s:%d: %m", myname, __FILE__, __LINE__);
+ }
+ return (sock);
+ }
+--- src/util/inet_listen.c.orig 2011-11-17 19:10:39.314027903 +0000
++++ src/util/inet_listen.c 2011-11-17 19:17:15.604064556 +0000
+@@ -138,7 +138,7 @@
+ * Create a listener socket.
+ */
+ if ((sock = socket(res->ai_family, res->ai_socktype, 0)) < 0)
+- msg_fatal("socket: %m");
++ msg_fatal("socket:%s:%d: %m", __FILE__, __LINE__);
+ #ifdef HAS_IPV6
+ # if defined(IPV6_V6ONLY) && !defined(BROKEN_AI_PASSIVE_NULL_HOST)
+ if (res->ai_family == AF_INET6
+--- src/util/inet_proto.c.orig 2011-11-17 19:18:55.196583996 +0000
++++ src/util/inet_proto.c 2011-11-17 19:19:46.123043260 +0000
+@@ -208,7 +208,7 @@
+ } else if (errno == EAFNOSUPPORT) {
+ msg_fatal("%s: IPv6 support is disabled: %m", context);
+ } else {
+- msg_fatal("socket: %m");
++ msg_fatal("socket:%s:%d: %m", __FILE__, __LINE__);
+ }
+ case (INET_PROTO_MASK_IPV6 | INET_PROTO_MASK_IPV4):
+ if ((sock = socket(PF_INET6, SOCK_STREAM, 0)) >= 0) {
+@@ -224,7 +224,7 @@
+ msg_warn("%s: configuring for IPv4 support only", context);
+ /* FALLTHROUGH */
+ } else {
+- msg_fatal("socket: %m");
++ msg_fatal("socket:%s:%d: %m", __FILE__, __LINE__);
+ }
+ #endif
+ case INET_PROTO_MASK_IPV4:
+--- src/util/unix_listen.c.orig 2011-11-17 19:19:58.468290942 +0000
++++ src/util/unix_listen.c 2011-11-17 19:20:17.264262807 +0000
+@@ -87,7 +87,7 @@
+ * trouble when this process is restarted after crash.
+ */
+ if ((sock = socket(AF_UNIX, SOCK_STREAM, 0)) < 0)
+- msg_fatal("socket: %m");
++ msg_fatal("socket:%s:%d: %m", __FILE__, __LINE__);
+ if (unlink(addr) < 0 && errno != ENOENT)
+ msg_fatal("remove %s: %m", addr);
+ if (bind(sock, (struct sockaddr *) & sun, sizeof(sun)) < 0)