130 Commits

Author SHA1 Message Date
ajacoutot
f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00
naddy
348a3e29c5 drop RCS Ids 2022-03-11 19:34:31 +00:00
giovanni
240ba84f34 bugfix update to 3.4.6 2021-04-30 14:43:48 +00:00
giovanni
f765fa3dcd Update to 3.4.5
security fix for CVE-2020-1946
bug fixes and improvements on OLEMacro detection, Bayes and rbl checks
2021-03-25 07:42:07 +00:00
giovanni
04883f11d2 Update to 3.4.4
fixes CVE-2020-1930 and CVE-2020-1931
2020-01-30 07:54:00 +00:00
giovanni
6bbd6ceb6f Update to 3.4.3
fixes for:
CVE-2018-11805 and CVE-2019-12420

Upgrade notice available at https://svn.apache.org/repos/asf/spamassassin/branches/3.4/UPGRADE
2019-12-12 16:10:34 +00:00
sthen
3318ced016 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:46:54 +00:00
giovanni
78f886c43b add GeoIP2 support and make it the default
remove optional Geo::IP support from dependencies,
databases are not updated anymore
with input from sthen@
2019-03-07 07:41:07 +00:00
giovanni
750fd8b79e Fix a possible use after free 2018-09-25 09:05:09 +00:00
giovanni
8078c1c835 Major update to 3.4.2,
lot of fixes and new features, four CVE security bug fixed for PDFInfo.pm and
the SA core:
CVE-2017-15705, CVE-2016-1238, CVE-2018-11780 & CVE-2018-11781
ok pea@
2018-09-18 06:42:57 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
giovanni
133dd8cc99 More security fixes from upstream 2018-03-13 07:51:59 +00:00
giovanni
177eadf996 More security fixes from upstream 2018-03-08 07:30:00 +00:00
giovanni
bcea48ec2d restore old patches and bump 2018-02-23 17:07:35 +00:00
giovanni
4440dac113 Security fix for spamassassin
if the root user starts spamd with the --username
flag, the supplemental group list of the spamd worker processes is never
changed. The worker processes execute with root's original supplemental
group list.
2018-02-23 16:39:39 +00:00
giovanni
aecf31b3f9 Add compatibility patches for perl 5.23+ 2018-02-06 07:58:03 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
giovanni
2f9fb73071 Add p5-Net-LibIDN as a run-dependency to let spamassassin work on idn tld
fix some regression tests
ok bluhm@
2017-11-07 07:39:07 +00:00
giovanni
18163183db backport a couple of bug fixes from trunk 2017-10-31 07:41:51 +00:00
giovanni
297c9408ba Install ldap docs and take maintainership
ok sthen@
2017-05-06 14:56:08 +00:00
sthen
df6c3ba25c Drop maintainer, I'm moving away from this (rspamd is better). 2017-04-27 17:10:28 +00:00
sthen
608b159fcd pull back more patches from spamassassin 3.4 branch, again mostly coping
with Net::DNS API changes not documented in their changelog
2016-03-04 00:05:35 +00:00
sthen
cf72e1871e Set RD properly on DNS queries. Broken by Net::DNS 1.01+ 2016-03-03 23:27:50 +00:00
sthen
cb2b6fcd3a explicitly search ${LOCALBASE}/bin and sbin when looking for gpg etc.,
fixing a problem seen by wesley at e-solutions.re where /usr/local is not
in the path for cronjobs running sa-update
2015-08-26 13:28:54 +00:00
bluhm
d35706ef6d Make the regression tests of p5-Mail-SpamAssassin pass.
- Replace SSLv3_client_method() with  SSLv23_client_method() in spamc.
- Do not choose a specific SSL version, let IO::Socket::SSL decide.
- Print SSL error messages to make debugging easier.
- Fix search path in test.
input and OK sthen@
2015-05-23 14:18:55 +00:00
sthen
c6cd2c48d5 update to p5-Mail-SpamAssassin 3.4.1
http://svn.apache.org/repos/asf/spamassassin/branches/3.4/build/announcements/3.4.1.txt
2015-04-30 14:41:53 +00:00
sthen
8335a9e1a6 switch SpamAssassin's forced p5-libwww dependency for one which can accept
either p5-libwww or curl (possible now that libwww is updated and HTTP::Date
is split off).
2015-01-19 20:20:59 +00:00
bluhm
bbfab972a6 Do not depend on net/p5-IO-Socket-IP. The module IO::Socket::IP
0.29 is included in Perl 5.20.1 and installed in base.  The port
will be removed soon.
OK giovanni@ nigel@
2014-12-17 00:15:24 +00:00
okan
50ffadbd60 Backport r1603518 from upstream to fix issues with recent Net::DNS
updates (>= 0.76).

OK sthen
2014-09-30 13:06:24 +00:00
sthen
828b33cd1a fix FAKE_AS_ROOT 2014-09-16 16:24:02 +00:00
espie
963975501d explicitly mark the few ports that don't build with FAKE_AS_ROOT=No 2014-09-16 09:07:03 +00:00
sthen
4badb3163a don't use "echo 'pkg_scripts="${pkg_scripts} icinga' >> /etc/rc.conf.local"
examples
2014-07-12 11:25:00 +00:00
naddy
42e81a81b4 drop workarounds for missing AI_ADDRCONFIG 2014-04-30 14:01:29 +00:00
bluhm
0f658cd30c The regression tests of p5-Mail-SpamAssassin failed if devel/re2c
is installed.  If the package is not installed, the sa_compile
subtest is skipped.
- Set the TEST_DEPENDS to RUN_DEPENDS to make the test results reliable.
- Create the test config directory before putting the config file
  into it.
OK sthen@
2014-04-26 21:10:39 +00:00
bluhm
e8e0fa3bc1 OpenBSD does not support AI_ADDRCONFIG so SpamAssassin did not use
getaddrinfo.  This caused a lot of warnings and the regression tests
failed.  Remove the check for AI_ADDRCONFIG from the eval that
imports Socket.pm.
OK sthen@
2014-04-25 09:20:27 +00:00
ajacoutot
cfe4be35c5 No need to explicitely SUBST_VARS LOCALSTATEDIR anymore. 2014-04-15 08:53:04 +00:00
sthen
ffad37a4fd missed cvs rm's, pointed out by brad@ (not a problem, but no need to keep
them any more).
2014-03-25 21:05:26 +00:00
sthen
90f16a3abc update to SpamAssassin 3.4.0, with input from brad@ 2014-03-16 12:39:22 +00:00
bluhm
44be9bd7a5 Remove test for obsolete SSL version 2 or 3 from p5-Mail-SpamAssassin.
It always fails as SSLv2 support has been removed from OpenSSL and
Net::SSLeay.
OK sthen@
2013-10-16 22:29:50 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
sthen
fa42d5bc4d let SpamAssassin work if sslv2 is disabled, from Brad 2012-06-25 22:12:30 +00:00
ajacoutot
0691c69586 Use RCDIR instead of /etc/rc.d when refering to packages rc scripts.
discussed with espie and sthen
ok sthen@
2012-04-22 11:41:55 +00:00
sthen
b4bb4a3614 add dep on p5-IP-Country 2012-04-16 21:41:07 +00:00
sthen
faab4cff6a don't use groff 2012-01-05 17:25:24 +00:00
sthen
91faa22c52 Where a program with an rc script _requires_ a certain command line
parameter to daemonize, move the parameter from daemon to daemon_flags,
so that the user cannot inadvertently prevent it from daemonizing by
adjusting the flags.

Discussed with ajacoutot and schwarze, this method was suggested
by schwarze@ as a simpler alternative to my diff. ok aja@
2011-12-17 22:01:12 +00:00
bluhm
d73670b0a9 Remove the SSLv2 regression test from Mail::SpamAssassin. It is
known to fail as Net::SSLeay has removed SSLv2 support.
ok sthen@
2011-12-13 08:52:54 +00:00
sthen
50c90d0c04 - add p5-Mail-SPF-*|p5-Mail-SPF-Query-* as a run dep for SpamAssassin (two
options; either can be used but they conflict, so allow both as suggested
by giovanni@).

- install a few more doc files.

- move html mini-howto to a README.
2011-09-21 08:02:07 +00:00
giovanni
2555b16282 Install sql files
ok sthen@ (Maintainer)
2011-07-01 06:39:17 +00:00
sthen
fb77f03a80 update SpamAssassin to 3.3.2, thanks Brad and pea@ for testing. ok pea@ 2011-06-23 17:32:46 +00:00
sthen
f89bcb29b4 fix a spamassassin --lint warning, from upstream, suggested by Armin Wolfermann 2011-05-04 10:17:53 +00:00