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: 29-Dec-2006 18:19:32
Branch: HEAD Handle: 2006122917193100
Added files:
openpkg-src/milter milter.patch
Modified files:
openpkg-src/milter milter.spec
Log:
God, is it me? Is it really me?? Why is God always refusing me to act
as a _user_ and always seem to insist that I acts as a _developer_?
Everytime I evaluate an arbitrary technology I just have to discover
that I seem to be the first one on earth who has to determine that it
is just broken and cannot be used as is. Independent how old and
mature the technology actually is -- according to others. As a result,
before I can evaluate something (as a user) I first have to fix it (as
a developer). F%&k, I really would like I can start working on my
_solutions_ and not always having to fix the underlying technologies
first...
Summary:
Revision Changes Path
1.1 +16 -0 openpkg-src/milter/milter.patch
1.3 +3 -3 openpkg-src/milter/milter.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/milter/milter.patch
============================================================================
$ cvs diff -u -r0 -r1.1 milter.patch
--- /dev/null 2006-12-29 18:18:53 +0100
+++ milter.patch 2006-12-29 18:19:32 +0100
@@ -0,0 +1,16 @@
+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
+@@ -245,6 +245,12 @@
+ $this->{symbols}{$code}{$name} = $value;
+ }
+ } elsif ($cmd eq SMFIC_BODYEOB) {
++ # SMFIC_BODYEOB is a single MILTER protocol
++ # command, but is carries two MILTER API
++ # semantics and hence (also closely following
++ # Sendmail's libmilter) we have to call both
++ # the MILTER API 'body' and 'eom' callbacks!
++ $this->call_hooks('body', $buf, length($buf))
if (length($buf) > 0);
+ $this->call_hooks('eom');
+ } elsif ($cmd eq SMFIC_HELO) {
+ my $helo = &$split_buf;
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/milter/milter.spec
============================================================================
$ cvs diff -u -r1.2 -r1.3 milter.spec
--- openpkg-src/milter/milter.spec 28 Dec 2006 20:22:44 -0000 1.2
+++ openpkg-src/milter/milter.spec 29 Dec 2006 17:19:31 -0000 1.3
@@ -38,7 +38,7 @@
Group: Mail
License: BSD/Artistic
Version: %{V_libmilter}
-Release: 20061228
+Release: 20061229
# package options
%option with_perl no
@@ -48,6 +48,7 @@
Source1:
http://switch.dl.sourceforge.net/sourceforge/pmilter/Sendmail-PMilter-%{V_sendmail_pmilter}.tar.gz
Source2:
http://switch.dl.sourceforge.net/sourceforge/pmilter/Mail-Milter-%{V_mail_milter}.tar.gz
Source3: milter.pc
+Patch0: milter.patch
# build information
Prefix: %{l_prefix}
@@ -87,10 +88,9 @@
%prep
%setup -q -c
-%if "%{with_perl}" == "yes"
%setup -q -T -D -a 1
%setup -q -T -D -a 2
-%endif
+ %patch -p0
%build
# build C API
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]