Ticket #1446: postfix.diff

File postfix.diff, 3.2 KB (added by pguyot (Paul Guyot), 21 years ago)

Diff for portfile & patch that needs to be updated

  • Portfile

    ? postfix.diff
    ? files/patch-src-dns-dns.h
    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/mail/postfix/Portfile,v
    retrieving revision 1.16
    diff -u -r1.16 Portfile
     
    22
    33PortSystem      1.0
    44name            postfix
    5 version         2.0.14
     5version         2.0.17
    66categories      mail
    77maintainers     charlie@rubberduck.com 
    88description     Fast and robust mail transfer agent
     
    1313                        Postfix act as delivery daemon for ezmlm-idx.
    1414homepage        http://www.postfix.org/
    1515platforms       darwin
    16 checksums       md5 d0f1d1382958f3ce918d4d690be22229
     16checksums       md5 482e3912e4e910bd62f1a2d74bfa3b77
    1717master_sites    ftp://ftp.tau.ac.il/pub/unix/mail/postfix/official/ \
    1818                http://postfix.problemlos.ch/release/official/ \
    1919                ftp://ftp.matrix.com.br/pub/postfix/official/ \
     
    3333variant pcre    {
    3434        depends_lib-append      lib:libpcre:pcre
    3535        build.env-delete        CCARGS=-DNO_PCRE
     36}
     37
     38platform darwin 7 {
     39        patchfiles-append patch-src-dns-dns.h
    3640}
    3741
    3842configure {
  • files/patch-sys_defs.h

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/mail/postfix/files/patch-sys_defs.h,v
    retrieving revision 1.2
    diff -u -r1.2 patch-sys_defs.h
     
    1 --- src/util/sys_defs.h Tue Jun 10 02:11:56 2003
    2 +++ src/util/sys_defs.h.new     Sat Jun 21 13:16:27 2003
    3 @@ -88,10 +88,10 @@
    4  #define HAS_FSYNC
    5  #define HAS_DB
    6  #define HAS_SA_LEN
    7 -#define DEF_DB_TYPE    "hash"
    8 -#define ALIAS_DB_MAP   "hash:/etc/aliases"
    9 +#define DEF_DB_TYPE    "netinfo"
    10 +#define ALIAS_DB_MAP   "netinfo:/aliases"
    11  #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
    12 -#define ROOT_PATH      "/bin:/usr/bin:/sbin:/usr/sbin"
    13 +#define ROOT_PATH      "/bin:/usr/bin:/sbin:/usr/sbin:__PREFIX/bin:__PREFIX/sbin"
    14  #define USE_STATFS
     1--- src/util/sys_defs.h.orig    Wed Nov  5 21:17:37 2003
     2+++ src/util/sys_defs.h Wed Jan 21 20:31:50 2004
     3@@ -52,11 +52,11 @@
    154 #define STATFS_IN_SYS_MOUNT_H
    165 #define HAS_POSIX_REGEXP
    17 @@ -99,11 +99,11 @@
    18  #define PRINTFLIKE(x,y)
    19  #define SCANFLIKE(x,y)
    20  #define HAS_NETINFO
     6 #define HAS_ST_GEN     /* struct stat contains inode generation number */
    217-#define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
    228-#define NATIVE_MAILQ_PATH "/usr/bin/mailq"
    239-#define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
     
    3016+#define NATIVE_DAEMON_DIR "__PREFIX/libexec/postfix"
    3117 #endif
    3218 
    33   /*
     19 #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4)
     20@@ -88,10 +88,10 @@
     21 #define HAS_FSYNC
     22 #define HAS_DB
     23 #define HAS_SA_LEN
     24-#define DEF_DB_TYPE    "hash"
     25-#define ALIAS_DB_MAP   "hash:/etc/aliases"
     26+#define DEF_DB_TYPE    "netinfo"
     27+#define ALIAS_DB_MAP   "netinfo:/aliases"
     28 #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
     29-#define ROOT_PATH      "/bin:/usr/bin:/sbin:/usr/sbin"
     30+#define ROOT_PATH      "/bin:/usr/bin:/sbin:/usr/sbin:__PREFIX/bin:__PREFIX/sbin"
     31 #define USE_STATFS
     32 #define STATFS_IN_SYS_MOUNT_H
     33 #define HAS_POSIX_REGEXP