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:   13-Feb-2007 22:41:51
  Branch: HEAD                             Handle: 2007021321415100

  Modified files:
    openpkg-src/milter      milter.patch milter.spec

  Log:
    fix location of milter C headers

  Summary:
    Revision    Changes     Path
    1.2         +25 -1      openpkg-src/milter/milter.patch
    1.6         +4  -1      openpkg-src/milter/milter.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/milter/milter.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 milter.patch
  --- openpkg-src/milter/milter.patch   29 Dec 2006 17:19:31 -0000      1.1
  +++ openpkg-src/milter/milter.patch   13 Feb 2007 21:41:51 -0000      1.2
  @@ -1,6 +1,6 @@
   Index: Sendmail-PMilter-0.95/lib/Sendmail/PMilter/Context.pm
   --- Sendmail-PMilter-0.95/lib/Sendmail/PMilter/Context.pm.orig       
2004-08-04 19:07:51 +0200
  -+++ Sendmail-PMilter-0.95/lib/Sendmail/PMilter/Context.pm    2006-12-29 
18:09:48 +0100
  ++++ Sendmail-PMilter-0.95/lib/Sendmail/PMilter/Context.pm    2007-02-13 
22:36:55 +0100
   @@ -245,6 +245,12 @@
                                        $this->{symbols}{$code}{$name} = $value;
                                }
  @@ -14,3 +14,27 @@
                                $this->call_hooks('eom');
                        } elsif ($cmd eq SMFIC_HELO) {
                                my $helo = &$split_buf;
  +Index: sendmail-8.14.0/include/libmilter/mfapi.h
  +--- sendmail-8.14.0/include/libmilter/mfapi.h.orig   2006-11-02 03:44:07 
+0100
  ++++ sendmail-8.14.0/include/libmilter/mfapi.h        2007-02-13 22:37:32 
+0100
  +@@ -28,7 +28,7 @@
  + # include <sys/types.h>
  + # include <sys/socket.h>
  + 
  +-#include "libmilter/mfdef.h"
  ++#include "milter/mfdef.h"
  + 
  + # define LIBMILTER_API              extern
  + 
  +Index: sendmail-8.14.0/include/libmilter/milter.h
  +--- sendmail-8.14.0/include/libmilter/milter.h.orig  2006-05-23 01:23:55 
+0200
  ++++ sendmail-8.14.0/include/libmilter/milter.h       2007-02-13 22:37:42 
+0100
  +@@ -18,7 +18,7 @@
  + # define _LIBMILTER_MILTER_H        1
  + 
  + #include "sendmail.h"
  +-#include "libmilter/mfapi.h"
  ++#include "milter/mfapi.h"
  + 
  + /* socket and thread portability */
  + # include <pthread.h>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/milter/milter.spec
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 milter.spec
  --- openpkg-src/milter/milter.spec    1 Feb 2007 17:32:03 -0000       1.5
  +++ openpkg-src/milter/milter.spec    13 Feb 2007 21:41:51 -0000      1.6
  @@ -38,7 +38,7 @@
   Group:        Mail
   License:      BSD/Artistic
   Version:      %{V_libmilter}
  -Release:      20070201
  +Release:      20070213
   
   #   package options
   %option       with_perl  no
  @@ -107,6 +107,9 @@
             echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DMILTER=1')dnl"
             echo "APPENDDEF(\`conf_libmilter_ENVDEF', 
\`-D_FFR_MILTER_ROOT_UNSAFE')dnl"
         ) >devtools/Site/site.config.m4
  +      ( cd include
  +        ln -s libmilter milter
  +      ) || exit $?
         ( cd libmilter
           ./Build
         ) || exit $?
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to