From 8f771bf3bd2c7227295cbdd1b783475ae76cff91 Mon Sep 17 00:00:00 2001 From: jakob Date: Sun, 4 Jun 2006 18:11:28 +0000 Subject: [PATCH] use /etc/mail/aliases as default alias file --- mail/postfix/snapshot/Makefile | 3 ++- .../snapshot/patches/patch-src_util_sys_defs_h | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 mail/postfix/snapshot/patches/patch-src_util_sys_defs_h diff --git a/mail/postfix/snapshot/Makefile b/mail/postfix/snapshot/Makefile index f0edd2359eb..5bef5e18e36 100644 --- a/mail/postfix/snapshot/Makefile +++ b/mail/postfix/snapshot/Makefile @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile,v 1.132 2006/06/03 19:53:38 brad Exp $ +# $OpenBSD: Makefile,v 1.133 2006/06/04 18:11:28 jakob Exp $ VERSION= 2.3-20060601 +PKGNAME= postfix-${VERSION:S/-/./}p0 MASTER_SITES= ${MASTER_SITE_POSTFIX:=experimental/} diff --git a/mail/postfix/snapshot/patches/patch-src_util_sys_defs_h b/mail/postfix/snapshot/patches/patch-src_util_sys_defs_h new file mode 100644 index 00000000000..8f4ea55e1d8 --- /dev/null +++ b/mail/postfix/snapshot/patches/patch-src_util_sys_defs_h @@ -0,0 +1,13 @@ +$OpenBSD: patch-src_util_sys_defs_h,v 1.1 2006/06/04 18:11:28 jakob Exp $ +--- src/util/sys_defs.h.orig Tue May 16 22:19:45 2006 ++++ src/util/sys_defs.h Tue May 30 22:49:17 2006 +@@ -47,6 +47,9 @@ + #if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000) + #define ALIAS_DB_MAP "hash:/etc/mail/aliases" /* sendmail 8.10 */ + #endif ++#if defined(OPENBSD3) ++#define ALIAS_DB_MAP "hash:/etc/mail/aliases" ++#endif + #ifndef ALIAS_DB_MAP + #define ALIAS_DB_MAP "hash:/etc/aliases" + #endif