[Mimedefang] FreeBSD port

Graham Dunn gdunn at inscriber.com
Mon May 27 10:38:59 EDT 2002


On Fri, May 24, 2002 at 02:23:30AM +0400, Andrey V. Pevnev wrote:
> Hi!
> 
>  A FreeBSD port of MIMEDefang just commited and will be updated to
>  2.12 soon ;-)

Hi,

I've got sendmail 8.12.3 installed out of ports, so things were
installed into /usr/local. I had to adjust the Makefile to read

31c31
< .if !exists( /usr/include/libmilter/mfapi.h )
---
> .if !exists( /usr/include/libmilter/mfapi.h ) && !exists( /usr/local/include/libmilter/mfapi.h )

however, the make results in

ureshii# make
>> mimedefang-2.12.tar.gz doesn't seem to exist in
>> /usr/ports/distfiles/.
>> Attempting to fetch from http://www.roaringpenguin.com/mimedefang/.
Receiving mimedefang-2.12.tar.gz (137748 bytes): 100%
137748 bytes transferred in 2.0 seconds (66.11 kBps)
===>  Extracting for mimedefang-2.12
>> Checksum OK for mimedefang-2.12.tar.gz.
===>   mimedefang-2.12 depends on file: /usr/local/lib/perl5/site_perl/5.005/IO/Stringy.pm - found
===>   mimedefang-2.12 depends on file: /usr/local/lib/perl5/site_perl/5.005/MIME/Tools.pm - found
===>   mimedefang-2.12 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/MIME/Base64.pm - found
===>   mimedefang-2.12 depends on file: /usr/local/lib/perl5/site_perl/5.005/Mail/Address.pm - found
===>   mimedefang-2.12 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Digest/SHA1.pm - found
===>   mimedefang-2.12 depends on file: /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin.pm - found
===>  Patching for mimedefang-2.12
===>  Applying FreeBSD patches for mimedefang-2.12
1 out of 1 hunks failed--saving rejects to configure.rej
>> Patch patch-aa failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/mail/mimedefang.

configure.rej is

***************
*** 1920,1926 ****
          echo "$ac_t""no" 1>&6
      else
          echo "$ac_t""yes" 1>&6
-         LIBS="$LIBS -lsm"
                    if test "$LIBSM" = "NOTFOUND" ; then
              echo "Oops.. I couldn't find libsm.a.  Please install
Sendmail 8.12"
              echo "and its libraries."
--- 1920,1926 ----
          echo "$ac_t""no" 1>&6
      else
          echo "$ac_t""yes" 1>&6
+         LIBS="$LIBS -L/usr/local/lib -lsm"
          if test "$LIBSM" = "NOTFOUND" ; then
              echo "Oops.. I couldn't find libsm.a.  Please install
Sendmail 8.12"
              echo "and its libraries."


Any ideas?

Graham



More information about the MIMEDefang mailing list