Commit graph

37 commits

Author SHA1 Message Date
gdt
c7c4d6f66d Memory allocation hygiene fix from PR pkg/44704.
spamass-milter forks, allocates memory and then execs, violating
locking rules.  This commit adds a patch from Juergen Hannken-Illjes
that moves the allocation above the fork.

TODO: upstream is recently alive again, after 5 years with no
releases.  Push these fixes upstream.
2011-03-18 15:26:30 +00:00
gdt
103a051ba5 Add patch to not scan authenticated users. Originally from FreeBSD
bug report, adapted for pkgsrc by Louis Guillaume.  (spamass-milter
really needs an active upstream.)
2010-09-10 23:33:42 +00:00
gdt
fcc1650f1a Add comment about patch. 2010-06-10 12:30:21 +00:00
gdt
8c555eeaf3 Store malformed received patch on netbsd.org.
Regenerate patch for malformed received lines from upstream CVS via:
  cvs diff -r RELEASE_0_3_1

Store the patch on ftp.netbsd.org, rather than wrongly trying to put
it in files.

PKGREVISION++.
2010-06-05 13:45:12 +00:00
gdt
6f15e6a80f add patch file missing from last commit 2010-06-04 21:23:02 +00:00
gdt
94835e2ff5 Add patch from upstream to fix formatting of synthetic Received: line.
Take maintainership.
2010-06-03 23:46:54 +00:00
tez
8574203991 Added CVE-2010-1132 patch from:
https://bugzilla.redhat.com/attachment.cgi?id=401011
2010-04-17 21:11:18 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
obache
67f6d3c6be Update spamass-milter to 0.3.1, based on patch provided by Jaap Boender
via PR 33206.

0.3.1: (2006-03-23)
 * Ensure wrapped headers always use LF (fix for spamassassin 3.1.1)
 * Mimic sendmail's Received header even better.  Logs a warning
   to syslog if it can't fetch a sendmail macro that would help.
2006-10-12 12:19:09 +00:00
rillig
144a1ee175 Added "c" to USE_LANGUAGES for packages that use GNU configure scripts,
since they always need a C compiler, even when the source code is
completely in C++.

For some other packages, stated in the comment that a C compiler is
really not needed.
2006-07-22 04:46:13 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
tv
a82c8f9108 Add "BEFORE: mail" to rc.d script. Sendmail is not very happy starting up
with a unix-socket connected milter, if that socket doesn't yet exist.
2005-08-24 16:08:13 +00:00
tv
6639c4ce72 Do the same for the rc.subr case via a backflip hack to munge command_args.
Noted in private e-mail.
2005-08-23 13:46:37 +00:00
tv
6eff28a5ce Put ${command_args} BEFORE ${spamass_milter_flags} on command line in rc.d
script, so that ${spamass_milter_flags} can contain "-- [spamc flags]"
per the manpage.
2005-08-23 13:40:02 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
5671838e7a Update to 0.3.0nb1:
Add a patch from Yoshitaka Tokugawa provided in PR 26806, which
has also been added to the spamass CVS repository:

   Always use macro_b, so SA can do future/past validation.
   It is not a bug, but it makes SA happier.

   SA 2.x requires "($v/$Z)$?r with $r" part of Received: header.
   I don't think SA 3.x need this, but keep it for SA 2.x users.

   There is a bug in cmp_nocase_partial() function. Without my hack,
   cmp_nocase_partial("X-Spam-", "X-Spam") returns 0 which is
   incorrect behavior for this function.
2005-04-07 11:27:48 +00:00
wiz
8659152af2 Update to 0.3.0:
0.3.0: (2005-02-03)
 * -M option which disables all message modifications
 * Fixed crash on spam with no body at all
 * -e option to pass full recipient email address to spamc
 * -x option to expand recipient list with sendmail -bv
 * -f truly daemonizes now, instead of simply forking
 * -P option to create a pidfile
 * Supports both Spamassassin 2.x and 3.0 X-Spam-Status: headers
 * Fixed possible crash when a fork() call fails

Might fix PR 26806, and does fix PR 29320.
2005-03-19 14:32:47 +00:00
wiz
1a084b16a2 Revert maintainer to tech-pkg. 2005-03-14 14:21:06 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
wiz
14ddcfe49b Update to 0.2.0:
0.2.0: (2003-06-26)
 * -b/-B options to redirect tagged messages to another email address.
 * -i option to not run spamassassin on messages coming from specified
   networks.
 * All arguments after -- wil get passed to spamc (deprecate -D at the
   same time).
 * Envelope, remote IP, HELO, and date get sent to spamc, so the
   results more closely match what spamc via procmail sees.  A lot of
   SA rules could never fire because this data was missing. You will
   need to add a line to your sendmail config file to enable date
   passing (see README).
 * A compatible manpage is generated on systems without mdoc macros.
 * Incoming messages with absolutely no headers at all now get checked
   correctly
2004-12-03 12:31:09 +00:00
wiz
770779a9cf USE_LANGUAGES= c++ 2004-11-22 21:22:11 +00:00
snj
50fca7f8c5 Convert to buildlink3. 2004-04-24 23:05:46 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
tv
2331bb58d9 Quickly revert previous. I didn't see that libmilter had already been
changed in a CVS merge somewhere.
2004-04-06 14:01:51 +00:00
tv
c746c0152b Make libmilter a build-time dependency only (it's a static library); bump
PKGREVISION of its dependencies.
2004-04-06 13:50:57 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
gavan
d50b33ce66 Set USE_GCC_SHLIB. Fixes linking on Solaris. 2003-11-07 14:59:42 +00:00
jmmv
cd9da49d8e Add startup script, as requested in PR pkg/22724 by Chris Jones.
Bump PKGREVISION to 2.
2003-09-11 18:22:40 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
wiz
54dc905b6f Add version wildcard to DEPENDS line. 2003-04-03 14:49:38 +00:00
manu
6c16c0d590 A little plugin for the Sendmail Milter (Mail Filter) library that pipes
all incoming mail (including things received by rmail/UUCP) through the
SpamAssassin, a highly customizable SpamFilter.
2003-04-03 14:46:02 +00:00