Changeset 30008


Ignore:
Timestamp:
Oct 18, 2007, 5:34:44 AM (12 years ago)
Author:
markd@…
Message:

Update to 2.4.5; convert man page patches to post-patch reinplaces.

Location:
trunk/dports/mail/postfix
Files:
1 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/postfix/Portfile

    r28505 r30008  
    22
    33PortSystem  1.0
     4
    45name            postfix
    5 version         2.3.8
     6version         2.4.5
    67categories      mail
    78maintainers     nomaintainer@macports.org
     
    1415homepage        http://www.postfix.org/
    1516platforms       darwin
    16 checksums       sha1 c40ebae5cdcd53e13ae8ba5cac1a70167576859b
     17checksums       sha1 dc3616ffd441c23748273527b6693835f3502ad2
    1718master_sites    http://postfix.problemlos.ch/release/official/ \
    1819    http://www.swissrave.ch/mirror/postfix-source/official/ \
     
    2223    ftp://ftp.doc.cs.univ-paris8.fr/mirrors/ftp.porcupine.org/postfix-release/official/
    2324
    24 patchfiles      patch-access.5 patch-flush.8 patch-master.8 \
    25         patch-regexp_table.5 patch-sys_defs.h patch-canonical.5 \
    26         patch-mail_params.h patch-pcre_table.5 patch-postdrop.1 \
    27         patch-postqueue.1 patch-relocated.5 patch-transport.5 \
    28         patch-cleanup.8 patch-main.cf patch-postfix-install \
    29         patch-proxymap.8 patch-sendmail.1 \
    30         patch-virtual.5
    31 #patch-sample-misc.cf
     25patchfiles     patch-sys_defs.h patch-main.cf patch-mail_params.h patch-postfix-install
     26
     27post-patch {
     28     eval reinplace "s|/etc/|${prefix}/etc/|g" \
     29          [glob ${worksrcpath}/man/man1/*] \
     30          [glob ${worksrcpath}/man/man5/*] \
     31          [glob ${worksrcpath}/man/man8/*]
     32}
    3233
    3334set CCARGS  -DNO_PCRE
    34 set AUXLIBS -L${prefix}/lib
     35set AUXLIBS "-L${prefix}/lib -R${prefix}/lib -L${prefix}/lib"
    3536
    3637configure {
     
    4041    reinplace "s|__PREFIX|${prefix}|g" conf/main.cf
    4142    reinplace "s|__PREFIX|${prefix}|g" src/global/mail_params.h
    42     reinplace "s|__PREFIX|${prefix}|g" man/man1/postdrop.1
    43 #   reinplace "s|__PREFIX|${prefix}|g" conf/sample-misc.cf
    44     reinplace "s|__PREFIX|${prefix}|g" man/man1/postqueue.1
    45     reinplace "s|__PREFIX|${prefix}|g" man/man1/sendmail.1
    46     reinplace "s|__PREFIX|${prefix}|g" man/man5/access.5
    47     reinplace "s|__PREFIX|${prefix}|g" man/man5/canonical.5
    48     reinplace "s|__PREFIX|${prefix}|g" man/man5/pcre_table.5
    49     reinplace "s|__PREFIX|${prefix}|g" man/man5/regexp_table.5
    50     reinplace "s|__PREFIX|${prefix}|g" man/man5/relocated.5
    51     reinplace "s|__PREFIX|${prefix}|g" man/man5/transport.5
    52     reinplace "s|__PREFIX|${prefix}|g" man/man5/virtual.5
    53     reinplace "s|__PREFIX|${prefix}|g" man/man8/cleanup.8
    54     reinplace "s|__PREFIX|${prefix}|g" man/man8/flush.8
    55     reinplace "s|__PREFIX|${prefix}|g" man/man8/master.8
    56     reinplace "s|__PREFIX|${prefix}|g" man/man8/proxymap.8
    5743}
    5844
     
    6854    cd ${worksrcpath}
    6955    file mkdir ${destroot}${prefix}/etc/postfix
    70     file mkdir ${destroot}${prefix}/etc/rc.d
    7156    file mkdir ${destroot}${prefix}/share/postfix
    72     xinstall -d -m 755 ${destroot}${prefix}/etc/rc.d
    7357    xinstall -d -o postfix -g postdrop -m \
    7458        710 ${destroot}${prefix}/var/spool/postfix/public
     
    8973        sample_directory=${prefix}/share/postfix/sample \
    9074        readme_directory=${prefix}/share/postfix/readme"
    91     xinstall -m 755 -c ${portpath}/files/postfix.sh ${destroot}${prefix}/etc/rc.d
    92     reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/etc/rc.d/postfix.sh
    9375}
    9476# This makes sure we don't overwrite user /etc files. This now breaks postfix
     
    152134    set AUXLIBS     [concat ${AUXLIBS} -L${prefix}/lib/mysql5/mysql -lmysqlclient -lz -lm]
    153135}
    154 
    155 
  • trunk/dports/mail/postfix/files/patch-access.5

    r21488 r30008  
    1 --- man/man5/access.5   Sat Feb  5 10:50:56 2005
    2 +++ man/man5/access.5.new       Thu Jul  7 11:08:04 2005
     1--- man/man5/access.5.org       2007-03-26 17:06:04.000000000 -0700
     2+++ man/man5/access.5   2007-10-17 21:15:08.000000000 -0700
    33@@ -8,11 +8,11 @@
    44 .SH "SYNOPSIS"
     
    1616 .ad
    1717 .fi
    18 @@ -28,7 +28,7 @@
     18@@ -27,7 +27,7 @@
    1919 that serves as input to the \fBpostmap\fR(1) command.
    2020 The result, an indexed file in \fBdbm\fR or \fBdb\fR format,
    21  is used for fast searching by the mail system. Execute the command
    22 -"\fBpostmap /etc/postfix/access\fR" in order to rebuild the indexed
    23 +"\fBpostmap __PREFIX/etc/postfix/access\fR" in order to rebuild the indexed
    24  file after changing the access table.
     21 is used for fast searching by the mail system. Execute the
     22-command "\fBpostmap /etc/postfix/access\fR" to rebuild an
     23+command "\fBpostmap __PREFIX/etc/postfix/access\fR" to rebuild an
     24 indexed file after changing the corresponding text file.
    2525 
    2626 When the table is provided via other means such as NIS, LDAP
    27 @@ -318,20 +318,20 @@
     27@@ -367,17 +367,17 @@
    2828 
     29 .nf
    2930 .na
    30  .nf
    3131-/etc/postfix/main.cf:
    3232+__PREFIX/etc/postfix/main.cf:
    33  .in +4
    34  smtpd_client_restrictions =
    35  .in +4
    36 -check_client_access hash:/etc/postfix/access
    37 +check_client_access hash:__PREFIX/etc/postfix/access
     33     smtpd_client_restrictions =
     34-        check_client_access hash:/etc/postfix/access
     35+        check_client_access hash:__PREFIX/etc/postfix/access
    3836 
    39  .in -8
    4037-/etc/postfix/access:
    4138+__PREFIX/etc/postfix/access:
    42  .in +4
    43  1.2.3   REJECT
    44  1.2.3.4 OK
    45  .in -4
     39     1.2.3   REJECT
     40     1.2.3.4 OK
     41 .fi
     42 .ad
    4643 
    4744-Execute the command "\fBpostmap /etc/postfix/access\fR" after
  • trunk/dports/mail/postfix/files/patch-canonical.5

    r21488 r30008  
    1 --- man/man5/canonical.5        Thu Mar 10 07:05:01 2005
    2 +++ man/man5/canonical.5.new    Thu Jul  7 11:09:55 2005
     1--- man/man5/canonical.5.org    2007-10-17 21:36:26.000000000 -0700
     2+++ man/man5/canonical.5        2007-10-17 21:37:40.000000000 -0700
    33@@ -8,11 +8,11 @@
    44 .SH "SYNOPSIS"
     
    2020 The result, an indexed file in \fBdbm\fR or \fBdb\fR format,
    2121 is used for fast searching by the mail system. Execute the command
    22 -"\fBpostmap /etc/postfix/canonical\fR" in order to rebuild the indexed
    23 +"\fBpostmap __PREFIX/etc/postfix/canonical\fR" in order to rebuild the indexed
    24  file after changing the text file.
     22-"\fBpostmap /etc/postfix/canonical\fR" to rebuild an indexed
     23+"\fBpostmap __PREFIX/etc/postfix/canonical\fR" to rebuild an indexed
     24 file after changing the corresponding text file.
    2525 
    2626 When the table is provided via other means such as NIS, LDAP
  • trunk/dports/mail/postfix/files/patch-pcre_table.5

    r21488 r30008  
    1 --- man/man5/pcre_table.5       Sat Feb  5 10:50:56 2005
    2 +++ man/man5/pcre_table.5.new   Thu Jul  7 11:08:46 2005
     1--- man/man5/pcre_table.5.org   2007-10-17 21:40:59.000000000 -0700
     2+++ man/man5/pcre_table.5       2007-10-17 21:42:29.000000000 -0700
    33@@ -8,9 +8,9 @@
    44 .SH "SYNOPSIS"
    55 .na
    66 .nf
    7 -\fBpostmap -fq "\fIstring\fB" pcre:/etc/postfix/\fIfilename\fR
    8 +\fBpostmap -fq "\fIstring\fB" pcre:__PREFIX/etc/postfix/\fIfilename\fR
     7-\fBpostmap -q "\fIstring\fB" pcre:/etc/postfix/\fIfilename\fR
     8+\fBpostmap -q "\fIstring\fB" pcre:__PREFIX/etc/postfix/\fIfilename\fR
    99 
    10 -\fBpostmap -fq - pcre:/etc/postfix/\fIfilename\fR <\fIinputfile\fR
    11 +\fBpostmap -fq - pcre:__PREFIX/etc/postfix/\fIfilename\fR <\fIinputfile\fR
     10-\fBpostmap -q - pcre:/etc/postfix/\fIfilename\fR <\fIinputfile\fR
     11+\fBpostmap -q - pcre:__PREFIX/etc/postfix/\fIfilename\fR <\fIinputfile\fR
    1212 .SH DESCRIPTION
    1313 .ad
  • trunk/dports/mail/postfix/files/patch-proxymap.8

    r21488 r30008  
    1 --- man/man8/proxymap.8 Sun Feb  6 10:28:39 2005
    2 +++ man/man8/proxymap.8.new     Thu Jul  7 11:26:25 2005
    3 @@ -33,7 +33,7 @@
    4  .sp
    5  virtual_alias_maps =
    6  .ti +4
    7 -proxy:mysql:/etc/postfix/virtual_alias.cf
    8 +proxy:mysql:__PREFIX/etc/postfix/virtual_alias.cf
    9  .sp
    10  The total number of connections is limited by the number of
    11  proxymap server processes.
  • trunk/dports/mail/postfix/files/patch-regexp_table.5

    r21488 r30008  
    1 --- man/man5/regexp_table.5     Sat Feb  5 11:22:26 2005
    2 +++ man/man5/regexp_table.5.new Thu Jul  7 11:09:30 2005
     1--- man/man5/regexp_table.5.org 2007-10-17 21:20:20.000000000 -0700
     2+++ man/man5/regexp_table.5     2007-10-17 21:22:48.000000000 -0700
    33@@ -8,9 +8,9 @@
    44 .SH "SYNOPSIS"
    55 .na
    66 .nf
    7 -\fBpostmap -fq "\fIstring\fB" regexp:/etc/postfix/\fIfilename\fR
    8 +\fBpostmap -fq "\fIstring\fB" regexp:__PREFIX/etc/postfix/\fIfilename\fR
     7-\fBpostmap -q "\fIstring\fB" regexp:/etc/postfix/\fIfilename\fR
     8+\fBpostmap -q "\fIstring\fB" regexp:__PREFIX/etc/postfix/\fIfilename\fR
    99 
    10 -\fBpostmap -fq - regexp:/etc/postfix/\fIfilename\fR <\fIinputfile\fR
    11 +\fBpostmap -fq - regexp:__PREFIX/etc/postfix/\fIfilename\fR <\fIinputfile\fR
     10-\fBpostmap -q - regexp:/etc/postfix/\fIfilename\fR <\fIinputfile\fR
     11+\fBpostmap -q - regexp:__PREFIX/etc/postfix/\fIfilename\fR <\fIinputfile\fR
    1212 .SH DESCRIPTION
    1313 .ad
  • trunk/dports/mail/postfix/files/patch-relocated.5

    r21488 r30008  
    1 --- man/man5/relocated.5        Tue Feb 22 23:46:38 2005
    2 +++ man/man5/relocated.5.new    Thu Jul  7 11:24:34 2005
     1--- man/man5/relocated.5.org    2007-10-17 21:47:02.000000000 -0700
     2+++ man/man5/relocated.5        2007-10-17 21:48:14.000000000 -0700
    33@@ -8,7 +8,7 @@
    44 .SH "SYNOPSIS"
     
    1414 The result, an indexed file in \fBdbm\fR or \fBdb\fR format,
    1515 is used for fast searching by the mail system. Execute the command
    16 -"\fBpostmap /etc/postfix/relocated\fR" in order to rebuild the indexed
    17 +"\fBpostmap __PREFIX/etc/postfix/relocated\fR" in order to rebuild the indexed
    18  file after changing the relocated table.
     16-"\fBpostmap /etc/postfix/relocated\fR" to rebuild an indexed
     17+"\fBpostmap __PREFIX/etc/postfix/relocated\fR" to rebuild an indexed
     18 file after changing the corresponding relocated table.
    1919 
    2020 When the table is provided via other means such as NIS, LDAP
  • trunk/dports/mail/postfix/files/patch-sys_defs.h

    r21488 r30008  
    1 --- src/util/sys_defs.h.orig    2006-07-03 22:37:32.000000000 +1000
    2 +++ src/util/sys_defs.h 2006-08-11 02:11:36.000000000 +1000
    3 @@ -161,10 +161,10 @@
     1--- src/util/sys_defs.h.org     2007-10-17 21:27:59.000000000 -0700
     2+++ src/util/sys_defs.h 2007-10-17 21:32:35.000000000 -0700
     3@@ -185,10 +185,10 @@
    44 #define HAS_DB
    55 #define HAS_SA_LEN
     
    1414 #define STATFS_IN_SYS_MOUNT_H
    1515 #define HAS_POSIX_REGEXP
    16 @@ -178,11 +178,11 @@
    17  # define HAS_IPV6
     16@@ -203,11 +203,11 @@
    1817 # define HAVE_GETIFADDRS
    1918 #endif
     19 #define HAS_FUTIMES                    /* XXX Guessing */
    2020-#define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
    2121-#define NATIVE_MAILQ_PATH "/usr/bin/mailq"
     
    2828+#define NATIVE_COMMAND_DIR "__PREFIX/sbin"
    2929+#define NATIVE_DAEMON_DIR "__PREFIX/libexec/postfix"
     30 #define SOCKADDR_SIZE  socklen_t
     31 #define SOCKOPT_SIZE   socklen_t
    3032 #endif
    31  
    32   /*
  • trunk/dports/mail/postfix/files/patch-transport.5

    r21488 r30008  
    1 --- man/man5/transport.5        Tue Feb  8 04:48:14 2005
    2 +++ man/man5/transport.5.new    Thu Jul  7 11:17:58 2005
     1--- man/man5/transport.5.org    2007-10-17 21:51:38.000000000 -0700
     2+++ man/man5/transport.5        2007-10-17 21:53:52.000000000 -0700
    33@@ -8,11 +8,11 @@
    44 .SH "SYNOPSIS"
     
    1616 .ad
    1717 .fi
    18 @@ -40,7 +40,7 @@
     18@@ -52,7 +52,7 @@
    1919 that serves as input to the \fBpostmap\fR(1) command.
    2020 The result, an indexed file in \fBdbm\fR or \fBdb\fR format, is used
    2121 for fast searching by the mail system. Execute the command
    22 -"\fBpostmap /etc/postfix/transport\fR" in order to rebuild the indexed
    23 +"\fBpostmap __PREFIX/etc/postfix/transport\fR" in order to rebuild the indexed
    24  file after changing the transport table.
     22-"\fBpostmap /etc/postfix/transport\fR" to rebuild an indexed
     23+"\fBpostmap __PREFIX/etc/postfix/transport\fR" to rebuild an indexed
     24 file after changing the corresponding transport table.
    2525 
    2626 When the table is provided via other means such as NIS, LDAP
  • trunk/dports/mail/postfix/files/patch-virtual.5

    r21488 r30008  
    1 --- man/man5/virtual.5  Thu Mar 31 01:51:33 2005
    2 +++ man/man5/virtual.5.new      Thu Jul  7 11:17:30 2005
     1--- man/man5/virtual.5.org      2007-10-17 22:02:22.000000000 -0700
     2+++ man/man5/virtual.5  2007-10-17 22:05:13.000000000 -0700
    33@@ -8,11 +8,11 @@
    44 .SH "SYNOPSIS"
     
    1616 .ad
    1717 .fi
    18 @@ -44,7 +44,7 @@
     18@@ -45,7 +45,7 @@
    1919 that serves as input to the \fBpostmap\fR(1) command.
    2020 The result, an indexed file in \fBdbm\fR or \fBdb\fR format,
    2121 is used for fast searching by the mail system. Execute the command
    22 -"\fBpostmap /etc/postfix/virtual\fR" in order to rebuild the indexed
    23 +"\fBpostmap __PREFIX/etc/postfix/virtual\fR" in order to rebuild the indexed
    24  file after changing the text file.
     22-"\fBpostmap /etc/postfix/virtual\fR" to rebuild an indexed
     23+"\fBpostmap __PREFIX/etc/postfix/virtual\fR" to rebuild an indexed
     24 file after changing the corresponding text file.
    2525 
    2626 When the table is provided via other means such as NIS, LDAP
    27 @@ -145,15 +145,15 @@
    28  
     27@@ -164,15 +164,15 @@
    2928 Support for a virtual alias domain looks like:
    3029 
     30 .nf
    3131-/etc/postfix/main.cf:
     32-    virtual_alias_maps = hash:/etc/postfix/virtual
    3233+__PREFIX/etc/postfix/main.cf:
    33  .in +4
    34 -virtual_alias_maps = hash:/etc/postfix/virtual
    35 +virtual_alias_maps = hash:__PREFIX/etc/postfix/virtual
     34+    virtual_alias_maps = hash:__PREFIX/etc/postfix/virtual
     35 .fi
    3636 
    3737 Note: some systems use \fBdbm\fR databases instead of \fBhash\fR.
    3838 See the output from "\fBpostconf -m\fR" for available database types.
    3939 
    40  .ti -4
     40 .nf
    4141-/etc/postfix/virtual:
    4242+__PREFIX/etc/postfix/virtual:
    43  .nf
    44  .na
    45  \fIvirtual-alias.domain anything\fR (right-hand content does not matter)
     43     \fIvirtual-alias.domain     anything\fR (right-hand content does not matter)
     44     \fIpostmaster@virtual-alias.domain  postmaster\fR
     45     \fIuser1@virtual-alias.domain       address1\fR
Note: See TracChangeset for help on using the changeset viewer.