diff options
Diffstat (limited to 'mail/postfix21/files')
-rw-r--r-- | mail/postfix21/files/extra_ipv6.patch | 132 | ||||
-rw-r--r-- | mail/postfix21/files/patch-ec | 53 | ||||
-rw-r--r-- | mail/postfix21/files/patch-main.cf | 108 | ||||
-rw-r--r-- | mail/postfix21/files/patch-makedefs | 15 | ||||
-rw-r--r-- | mail/postfix21/files/patch-post-install | 11 | ||||
-rw-r--r-- | mail/postfix21/files/patch-src::util::sys_defs.h | 11 | ||||
-rw-r--r-- | mail/postfix21/files/postfix.sh.in | 45 |
7 files changed, 0 insertions, 375 deletions
diff --git a/mail/postfix21/files/extra_ipv6.patch b/mail/postfix21/files/extra_ipv6.patch deleted file mode 100644 index 3549880b76f2..000000000000 --- a/mail/postfix21/files/extra_ipv6.patch +++ /dev/null @@ -1,132 +0,0 @@ ---- src/util/inet_addr_list.c.old Thu Aug 18 11:09:16 2005 -+++ src/util/inet_addr_list.c Thu Aug 18 11:09:53 2005 -@@ -133,7 +133,11 @@ - #ifdef INET6 - char ha[NI_MAXHOST], hb[NI_MAXHOST]; - int nierr; -+#ifdef NI_WITHSCOPEID - int niflags = NI_NUMERICHOST | NI_WITHSCOPEID; -+#else -+ int niflags = NI_NUMERICHOST; -+#endif - struct sockaddr *sa, *sb; - - sa = (struct sockaddr *)a, sb = (struct sockaddr *)b; ---- src/global/wildcard_inet_addr.c.old Thu Aug 18 11:10:42 2005 -+++ src/global/wildcard_inet_addr.c Thu Aug 18 11:11:05 2005 -@@ -38,7 +38,11 @@ - struct addrinfo hints, *res, *res0; - char hbuf[NI_MAXHOST]; - int error; -+#ifdef NI_WITHSCOPEID - const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID; -+#else -+ const int niflags = NI_NUMERICHOST; -+#endif - - inet_addr_list_init(addr_list); - ---- src/smtpd/smtpd_peer.c.old Thu Aug 18 11:11:44 2005 -+++ src/smtpd/smtpd_peer.c Thu Aug 18 11:13:37 2005 -@@ -163,7 +163,11 @@ - - #ifdef INET6 - error = getnameinfo(sa, len, abuf, sizeof(abuf), NULL, 0, -+#ifdef NI_WITHSCOPEID - NI_NUMERICHOST | NI_WITHSCOPEID); -+#else -+ NI_NUMERICHOST); -+#endif - if (error) - msg_fatal("%s: numeric getnameinfo lookup for peer: error %s", - myname, GAI_STRERROR(error)); -@@ -277,7 +281,11 @@ - continue; - error = getnameinfo(res->ai_addr, res->ai_addrlen, - rabuf, sizeof(rabuf), NULL, 0, -+#ifdef NI_WITHSCOPEID - NI_NUMERICHOST | NI_WITHSCOPEID); -+#else -+ NI_NUMERICHOST); -+#endif - if (error) { - msg_warn("%s: %s: hostname %s verification failed: %s", - myname, state->addr, state->name, ---- src/lmtp/lmtp_connect.c.old Thu Aug 18 11:14:16 2005 -+++ src/lmtp/lmtp_connect.c Thu Aug 18 11:15:07 2005 -@@ -202,7 +202,11 @@ - return; - } - aierr = getnameinfo(res->ai_addr, res->ai_addrlen, hbuf, sizeof(hbuf), -+#ifdef NI_WITHSCOPEID - NULL, 0, NI_NUMERICHOST | NI_WITHSCOPEID); -+#else -+ NULL, 0, NI_NUMERICHOST); -+#endif - if (aierr != 0) { - msg_warn("%s: getnameinfo(): %s", - myname, GAI_STRERROR(aierr)); -@@ -276,7 +280,11 @@ - - sa = (struct sockaddr *)&addr_list->addrs[i - 1]; - aierr = getnameinfo(sa, SA_LEN(sa), hbuf, sizeof(hbuf), -+#ifdef NI_WITHSCOPEID - NULL, 0, NI_NUMERICHOST | NI_WITHSCOPEID); -+#else -+ NULL, 0, NI_NUMERICHOST); -+#endif - if (aierr != 0) - msg_fatal("%s: getnameinfo() (AF=%d): %s", - myname, af, GAI_STRERROR(aierr)); ---- src/smtp/smtp_connect.c.old Thu Aug 18 11:15:43 2005 -+++ src/smtp/smtp_connect.c Thu Aug 18 11:16:28 2005 -@@ -135,7 +135,11 @@ - return; - } - aierr = getnameinfo(res->ai_addr, res->ai_addrlen, hbuf, sizeof(hbuf), -+#ifdef NI_WITHSCOPEID - NULL, 0, NI_NUMERICHOST | NI_WITHSCOPEID); -+#else -+ NULL, 0, NI_NUMERICHOST); -+#endif - if (aierr != 0) { - msg_warn("%s: getnameinfo(): %s", - myname, GAI_STRERROR(aierr)); -@@ -210,7 +214,11 @@ - - sa = (struct sockaddr *)&addr_list->addrs[pos]; - aierr = getnameinfo(sa, SA_LEN(sa), hbuf, sizeof(hbuf), -+#ifdef NI_WITHSCOPEID - NULL, 0, NI_NUMERICHOST | NI_WITHSCOPEID); -+#else -+ NULL, 0, NI_NUMERICHOST); -+#endif - if (aierr != 0) - msg_fatal("%s: getnameinfo() (AF=%d): %s", - myname, af, GAI_STRERROR(aierr)); ---- src/qmqpd/qmqpd_peer.c.old Thu Aug 18 11:17:03 2005 -+++ src/qmqpd/qmqpd_peer.c Thu Aug 18 11:17:49 2005 -@@ -146,7 +146,11 @@ - - #ifdef INET6 - error = getnameinfo(sa, len, abuf, sizeof(abuf), NULL, 0, -+#ifdef NI_WITHSCOPEID - NI_NUMERICHOST | NI_WITHSCOPEID); -+#else -+ NI_NUMERICHOST); -+#endif - if (error) - msg_fatal("%s: numeric getnameinfo lookup for peer: error %s", - myname, GAI_STRERROR(error)); -@@ -216,7 +220,11 @@ - continue; - error = getnameinfo(res->ai_addr, res->ai_addrlen, - rabuf, sizeof(rabuf), NULL, 0, -+#ifdef NI_WITHSCOPEID - NI_NUMERICHOST | NI_WITHSCOPEID); -+#else -+ NI_NUMERICHOST); -+#endif - if (error) { - msg_warn("%s: %s: hostname %s verification failed: %s", - myname, state->addr, state->name, diff --git a/mail/postfix21/files/patch-ec b/mail/postfix21/files/patch-ec deleted file mode 100644 index a3f617235fba..000000000000 --- a/mail/postfix21/files/patch-ec +++ /dev/null @@ -1,53 +0,0 @@ -*** ./src/global/mail_params.h.orig Sat Jan 17 10:04:00 2004 ---- ./src/global/mail_params.h Fri Jan 30 14:48:23 2004 -*************** -*** 64,70 **** - extern gid_t var_owner_gid; - - #define VAR_SGID_GROUP "setgid_group" -! #define DEF_SGID_GROUP "postdrop" - extern char *var_sgid_group; - extern gid_t var_sgid_gid; - ---- 64,70 ---- - extern gid_t var_owner_gid; - - #define VAR_SGID_GROUP "setgid_group" -! #define DEF_SGID_GROUP "maildrop" - extern char *var_sgid_group; - extern gid_t var_sgid_gid; - -*************** -*** 202,208 **** - */ - #define VAR_DAEMON_DIR "daemon_directory" - #ifndef DEF_DAEMON_DIR -! #define DEF_DAEMON_DIR "/usr/libexec/postfix" - #endif - extern char *var_daemon_dir; - ---- 202,208 ---- - */ - #define VAR_DAEMON_DIR "daemon_directory" - #ifndef DEF_DAEMON_DIR -! #define DEF_DAEMON_DIR "!!PREFIX!!/libexec/postfix" - #endif - extern char *var_daemon_dir; - -*************** -*** 231,237 **** - */ - #define VAR_CONFIG_DIR "config_directory" - #ifndef DEF_CONFIG_DIR -! #define DEF_CONFIG_DIR "/etc/postfix" - #endif - extern char *var_config_dir; - ---- 231,237 ---- - */ - #define VAR_CONFIG_DIR "config_directory" - #ifndef DEF_CONFIG_DIR -! #define DEF_CONFIG_DIR "!!PREFIX!!/etc/postfix" - #endif - extern char *var_config_dir; - diff --git a/mail/postfix21/files/patch-main.cf b/mail/postfix21/files/patch-main.cf deleted file mode 100644 index 7775cd80efb2..000000000000 --- a/mail/postfix21/files/patch-main.cf +++ /dev/null @@ -1,108 +0,0 @@ -*** ./conf/main.cf~ Mon Apr 26 16:54:42 2004 ---- ./conf/main.cf Mon Apr 26 16:54:42 2004 -*************** -*** 32,44 **** - # The command_directory parameter specifies the location of all - # postXXX commands. - # -! command_directory = /usr/sbin - - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # -! daemon_directory = /usr/libexec/postfix - - # QUEUE AND PROCESS OWNERSHIP - # ---- 32,44 ---- - # The command_directory parameter specifies the location of all - # postXXX commands. - # -! command_directory = !!PREFIX!!/sbin - - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # -! daemon_directory = !!PREFIX!!/libexec/postfix - - # QUEUE AND PROCESS OWNERSHIP - # -*************** -*** 595,631 **** - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - # -! sendmail_path = - - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # -! newaliases_path = - - # mailq_path: The full pathname of the Postfix mailq command. This - # is the Sendmail-compatible mail queue listing command. - # -! mailq_path = - - # setgid_group: The group for mail submission and queue management - # commands. This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # -! setgid_group = - - # html_directory: The location of the Postfix HTML documentation. - # -! html_directory = - - # manpage_directory: The location of the Postfix on-line manual pages. - # -! manpage_directory = - - # sample_directory: The location of the Postfix sample configuration files. - # This parameter is obsolete as of Postfix 2.1. - # -! sample_directory = - - # readme_directory: The location of the Postfix README files. - # -! readme_directory = ---- 595,631 ---- - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - # -! sendmail_path = !!PREFIX!!/sbin/sendmail - - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # -! newaliases_path = !!PREFIX!!/bin/newaliases - - # mailq_path: The full pathname of the Postfix mailq command. This - # is the Sendmail-compatible mail queue listing command. - # -! mailq_path = !!PREFIX!!/bin/mailq - - # setgid_group: The group for mail submission and queue management - # commands. This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # -! setgid_group = maildrop - - # html_directory: The location of the Postfix HTML documentation. - # -! html_directory = no - - # manpage_directory: The location of the Postfix on-line manual pages. - # -! manpage_directory = !!PREFIX!!/man - - # sample_directory: The location of the Postfix sample configuration files. - # This parameter is obsolete as of Postfix 2.1. - # -! sample_directory = !!PREFIX!!/etc/postfix - - # readme_directory: The location of the Postfix README files. - # -! readme_directory = no diff --git a/mail/postfix21/files/patch-makedefs b/mail/postfix21/files/patch-makedefs deleted file mode 100644 index 36ecc70c3a58..000000000000 --- a/mail/postfix21/files/patch-makedefs +++ /dev/null @@ -1,15 +0,0 @@ ---- makedefs.orig 2007-12-13 14:29:44.000000000 -0200 -+++ makedefs 2007-12-13 14:30:13.000000000 -0200 -@@ -93,6 +93,12 @@ - ;; - FreeBSD.5*) SYSTYPE=FREEBSD5 - ;; -+ FreeBSD.6*) SYSTYPE=FREEBSD5 -+ ;; -+ FreeBSD.7*) SYSTYPE=FREEBSD5 -+ ;; -+ FreeBSD.8*) SYSTYPE=FREEBSD5 -+ ;; - OpenBSD.2*) SYSTYPE=OPENBSD2 - ;; - OpenBSD.3*) SYSTYPE=OPENBSD3 diff --git a/mail/postfix21/files/patch-post-install b/mail/postfix21/files/patch-post-install deleted file mode 100644 index 92b2d4c2c6eb..000000000000 --- a/mail/postfix21/files/patch-post-install +++ /dev/null @@ -1,11 +0,0 @@ ---- ./conf/#post-install~ Fri Jan 18 12:32:54 2002 -+++ ./conf/post-install Fri Jan 18 12:32:54 2002 -@@ -183,7 +183,7 @@ - - umask 022 - --PATH=/bin:/usr/bin:/usr/sbin:/usr/etc:/sbin:/etc:/usr/contrib/bin:/usr/gnu/bin:/usr/ucb:/usr/bsd -+PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin - SHELL=/bin/sh - IFS=" - " diff --git a/mail/postfix21/files/patch-src::util::sys_defs.h b/mail/postfix21/files/patch-src::util::sys_defs.h deleted file mode 100644 index 4323acbde64a..000000000000 --- a/mail/postfix21/files/patch-src::util::sys_defs.h +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/util/sys_defs.h.orig Wed Aug 25 06:15:02 2004 -+++ ./src/util/sys_defs.h Wed Aug 25 06:15:18 2004 -@@ -24,7 +24,7 @@ - * 4.4BSD and close derivatives. - */ - #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ -- || defined(FREEBSD5) \ -+ || defined(FREEBSD5) || defined(FREEBSD6) \ - || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ - || defined(OPENBSD2) || defined(OPENBSD3) \ - || defined(NETBSD1) || defined(NETBSD2) \ diff --git a/mail/postfix21/files/postfix.sh.in b/mail/postfix21/files/postfix.sh.in deleted file mode 100644 index a65057423de3..000000000000 --- a/mail/postfix21/files/postfix.sh.in +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: postfix mail -# REQUIRE: %%REQUIRE%% -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable postfix: -# postfix_enable (bool): Set it to "YES" to enable postfix. -# Default is "NO". -# postfix_pidfile (path): Set full path to master.pid. -# Default is "/var/spool/postfix/pid/master.pid". -# postfix_procname (command): Set command that start master. Used to verify if -# postfix is running. -# Default is "%%PREFIX%%/libexec/postfix/master". -# - -. %%RC_SUBR%% - -name="postfix" -rcvar=`set_rcvar` - -load_rc_config $name - -: ${postfix_enable="NO"} -: ${postfix_pidfile="/var/spool/postfix/pid/master.pid"} -: ${postfix_procname="%%PREFIX%%/libexec/postfix/master"} - -start_cmd=${name}_start -stop_cmd=${name}_stop -extra_commands="reload" - -pidfile=${postfix_pidfile} -procname=${postfix_procname} - -postfix_start() { - %%PREFIX%%/sbin/postfix start -} - -postfix_stop() { - %%PREFIX%%/sbin/postfix stop -} - -run_rc_command "$1" |