OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   22-Feb-2006 20:04:01
  Branch: HEAD                             Handle: 2006022219040100

  Modified files:
    openpkg-src/postfix     postfix.patch

  Log:
    add NetBSD 3.x/4.x support. Submitted by: anonymous

  Summary:
    Revision    Changes     Path
    1.10        +25 -12     openpkg-src/postfix/postfix.patch
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/postfix/postfix.patch
  ============================================================================
  $ cvs diff -u -r1.9 -r1.10 postfix.patch
  --- openpkg-src/postfix/postfix.patch 4 Jan 2006 08:41:21 -0000       1.9
  +++ openpkg-src/postfix/postfix.patch 22 Feb 2006 19:04:01 -0000      1.10
  @@ -1,20 +1,29 @@
   Index: makedefs
  ---- makedefs.orig    2005-02-22 13:35:52 +0100
  -+++ makedefs 2005-09-23 14:27:15 +0200
  -@@ -116,6 +116,10 @@
  +--- makedefs.orig    2006-01-03 22:50:25 +0100
  ++++ makedefs 2006-02-22 20:00:04 +0100
  +@@ -118,6 +118,8 @@
                ;;
  -   FreeBSD.5*)       SYSTYPE=FREEBSD5
  +   FreeBSD.6*)       SYSTYPE=FREEBSD6
                ;;
  -+  FreeBSD.6*)       SYSTYPE=FREEBSD6
  -+            ;;
   +  FreeBSD.7*)       SYSTYPE=FREEBSD7
   +            ;;
      OpenBSD.2*)       SYSTYPE=OPENBSD2
                ;;
      OpenBSD.3*)       SYSTYPE=OPENBSD3
  +@@ -128,6 +130,10 @@
  +             ;;
  +    NetBSD.2*)       SYSTYPE=NETBSD2
  +             ;;
  ++   NetBSD.3*)       SYSTYPE=NETBSD3
  ++            ;;
  ++   NetBSD.4*)       SYSTYPE=NETBSD4
  ++            ;;
  +    BSD/OS.2*)       SYSTYPE=BSDI2
  +             ;;
  +    BSD/OS.3*)       SYSTYPE=BSDI3
   Index: src/util/file_limit.c
   --- src/util/file_limit.c.orig       2003-10-22 20:48:36 +0200
  -+++ src/util/file_limit.c    2005-03-11 10:30:43 +0100
  ++++ src/util/file_limit.c    2006-02-22 19:58:39 +0100
   @@ -80,12 +80,21 @@
    void    set_file_limit(off_t limit)
    {
  @@ -39,7 +48,7 @@
    #ifdef SIGXFSZ
   Index: src/util/msg_syslog.c
   --- src/util/msg_syslog.c.orig       2005-01-19 02:22:19 +0100
  -+++ src/util/msg_syslog.c    2005-03-11 10:30:43 +0100
  ++++ src/util/msg_syslog.c    2006-02-22 19:58:39 +0100
   @@ -50,6 +50,11 @@
    #include <syslog.h>
    #include <string.h>
  @@ -89,9 +98,9 @@
    
    /* msg_syslog_init - initialize */
   Index: src/util/sys_defs.h
  ---- src/util/sys_defs.h.orig 2005-02-04 01:07:44 +0100
  -+++ src/util/sys_defs.h      2005-03-11 10:30:49 +0100
  -@@ -24,7 +24,7 @@
  +--- src/util/sys_defs.h.orig 2006-01-03 22:52:17 +0100
  ++++ src/util/sys_defs.h      2006-02-22 19:59:21 +0100
  +@@ -24,10 +24,10 @@
      * 4.4BSD and close derivatives.
      */
    #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
  @@ -99,4 +108,8 @@
   +    || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
        || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
        || defined(OPENBSD2) || defined(OPENBSD3) \
  -     || defined(NETBSD1) || defined(NETBSD2) \
  +-    || defined(NETBSD1) || defined(NETBSD2) \
  ++    || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) || 
defined(NETBSD4) \
  +     || defined(EKKOBSD1)
  + #define SUPPORTED
  + #include <sys/types.h>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to