On Mon, 7 May 2007, Jack L. Stone wrote:

At 04:51 PM 5.7.2007 +0000, you wrote:
On Sat, 5 May 2007, Michael Scheidell wrote:

[SNIP]
There are a LOT of subtle changes... But for the brave, here is a
tarball.
cd /usr/ports/mail/p5-Mail-SpamAssassin
rm -rf

Untar this there: http://www.secnap.com/downloads/sa320.tgz

Just an FYI followup. I have upgraded without any errors. I did notice
sa-compile is not checked in the config by default. I know it is
apparently broken.

After I untar'd the file, I did a 'pkg_info | grep SpamAssassin' to locate
the name of the currently installed port and followed that up with a
'portupgrade p5-Mail-SpamAssassin-3.1.8_1'. The port was successfully
upgraded to 3.2.0. 'SpamAssassin --lint' does not show any errors. Nor are
there any errors reported in either the messages or maillog log files.

Now I have to run some mail through to test it out. This is not a
production server and I want to make sure of no errors before going live.


Didn't work here:
===>  Found saved configuration for p5-Mail-SpamAssassin-3.2.0
===>  Extracting for p5-Mail-SpamAssassin-3.2.0
=> MD5 Checksum OK for Mail-SpamAssassin-3.2.0.tar.gz.
=> SHA256 Checksum OK for Mail-SpamAssassin-3.2.0.tar.gz.
===>   p5-Mail-SpamAssassin-3.2.0 depends on file: /usr/local/bin/perl5.8.8
- found
===>  Patching for p5-Mail-SpamAssassin-3.2.0
===>   p5-Mail-SpamAssassin-3.2.0 depends on file: /usr/local/bin/perl5.8.8
- found
===>  Applying FreeBSD patches for p5-Mail-SpamAssassin-3.2.0
1 out of 1 hunks failed--saving rejects to sa-learn.raw.rej
=> Patch patch-sa-learn-raw failed to apply cleanly.
=> Patch(es) patch-ImageInfo.pm patch-sa-compile.raw applied cleanly.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
*** Error code 1

I do not have a patch-sa-learn.raw in /usr/ports/mail/p5-Mail-SpamAssassin/files after following instructions that Michael Scheidell had given. Your error shows it is doing a patch with patch-sa-learn-raw. My guess is you did not get everything removed from /usr/ports/mail/p5-Mail-SpamAssassin.

You need to make sure you delete EVERYTHING in /usr/ports/mail/p5-Mail-SpamAssassin.

  cd /usr/ports/mail/p5-Mail-SpamAssassin
  rm -fr *
  fetch http://www.secnap.com/downloads/sa320.tgz
  tar zxf sa320.tgz
  rm sa320.tgz

And then in my case:

  portupgrade p5-Mail-SpamAssassin-3.1.8_1

Reply via email to