Commit graph

11 commits

Author SHA1 Message Date
jperkin
95e53e45c9 Make bdb a suggested option. The package doesn't actually build without
a bdb present.  Not bumping PKGREVISION as the only way the package would
have built previously is by using a builtin version anyway.
2014-09-25 14:24:07 +00:00
wiz
c26f5ca940 libungif is not relevant any longer since the GIF relevant patents
expired (about 10 years ago).

Unconditionally switch to libgif.

As discussed on tech-pkg without dissent.

Bump PKGREVISION.
2014-05-31 15:56:26 +00:00
hubertf
eedfdfad06 Fix build by using giflib.buildlink3.mk 2011-03-27 00:59:53 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
adam
99a09c94f0 Fix building with db5; revision bump for db4 update 2010-06-02 13:14:47 +00:00
ghen
84cf6490a4 Fix typo, spotted by Chris Ross. 2007-10-25 21:45:42 +00:00
ghen
3f6e22dc4b Update to 1.4d (previous 1.4.2 was 1.4b). Take MAINTAINERship.
2006-11-16  Brian Burton  <brian@burton-computer.com>

* Released as 1.4d

* configure.ac: Added ability to selectively disable image
  processing using --without-gif, --without-jpeg, and/or
  --without-png.

* src/spamprobe/spamprobe.cc (set_headers): Added ability to
  selectively ignore individual headers using -H-headername.

* src/includes/Ptr,Ref,Array.h: Restored missing <cassert> include.

* src/parser/PngParser.cc (tokenizeImage): added basic tokens from
  PNG images.

2006-11-16  Brian Burton  <brian@localhost.localdomain>

* src/parser/PngParser.cc (PngParser): Stub for PNG parsing using
  libpng.

* src/parser/JpegParser.cc (tokenizeMarker): Preliminary
  implementation of jpeg parsing using jpeglib.

* configure.ac: Auto detect of either libungig or libgif depending
  on which one is available.

2007-01-04  Brian Burton  <brian@burton-computer.com>

* Released as 1.4c

* spamprobe.1: Modified man page to remove unnecessary informaton
  and make it more conformant with man page conventions.

* src/spamprobe/spamprobe.cc (process_extended_options): added
  ignore-body option.

* src/parser/HeaderPrefixList.cc (HeaderPrefixList::addHeaderPrefix):
  Forced header prefixes and names to lower case instead of
  relying on an assert to enforce the restriction.

* src/database/FrequencyDBImpl_hash.cc (hash::FrequencyDBImpl_hash):
  Disabled experimental hash database auto-cleaning.

* src/includes/Ref.h: Removed cassert include.

* src/spamprobe/spamprobe.cc (process_extended_options): Added
  whitelist option to allow use of SP as a bayesian white list in
  conjunction with other filters.
2007-10-25 16:00:05 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
hubertf
7c494d79ed Update spamprobe to version 1.4.
Submitted by Ossi 'ohub' Herrala <oherrala@ee.oulu.fi> in private mail
as discussed on IRCnet #NetBSD.

Changes to software:
 * Spamprobe has a config file!
 * Added comprehensive command line option help.
 * Added support for maildir directories to all file based commands.
 * Added support for auto-purge (-P command line option).
 * Commands create-db and create-config to greate database and config
   file.
 * Added gif parser support using libungif to analyzes image
   attachments and derive useful information from them.

Changes to package:
 * bdb is not in SUGGESTED_OPTIONS anymore.
 * added depency to graphics/libungif and gif is in SUGGESTED_OPTIONS.
2006-01-07 10:27:51 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
hubertf
bb0410fd2a Update spamprobe to 1.2a.
SpamProbe changes:
 - New email parsing implementation
 - New hash database, in addition to Berkeley DB (bdb/db4)
   (=> Hopefully no more "caught runtime exception: get: DB_PAGE_NOTFOUND:
       Requested page not found" on Linux every other day!)
 - And much more, check the ChangeLog for accurate information

pkgsrc changes:
 - Added db4 database backend to be optional (not requirement anymore)

Patches sent by the maintainer Ossi Herrala <oherrala@ee.oulu.fi>
in private mail.
2005-06-29 00:06:51 +00:00