Commit graph

55 commits

Author SHA1 Message Date
Bryan Drewery
eea86e0ade Fix patch application in mail/qmail-spamcontrol:
The spamcontrol patch is applied through a script, install_spamcontrol.sh. This
script does not return a non-zero status when patch failures are encountered.
So I missed many failures when updating this port.

To fix this, move the spamcontrol patch application to pre-patch so that the
PATCHFILES->DISTFILES (and manual patch application with PATCH) is not needed
for most patches. This ensures that the spamcontrol patch is always applied
before PATCHFILES. Some PATCHFILES were applying before the spamcontrol patch
causing it to fail to patch properly.

Bump revision as the build had been fine but some files were not being
generated in the package.

Also add my mirror as distcache does not have the updated patches yet.

Reported by:	Oleg Strizhak
MFH:		2014Q3
2014-07-03 02:20:07 +00:00
Bryan Drewery
8c132fa70f Mark broken for now, some patches fail but do not fail the build 2014-07-02 22:38:57 +00:00
Bryan Drewery
92d8ac9962 mail/qmail-spamcontrol: Update to 2.7.31
TLSREMOTE, NEWLINE, and BIGTODO are now mandatory upstream and have been
removed as options.

MOREIPME was removed upstream.

Changes:
  http://www.fehcom.de/qmail/spamcontrol/RELEASE_27.spamcontrol

  CHANGES (2.6 -> 2.7)
  --------------------

  Userland:
  +) ucspi-ssl (> 0.8) mandatory.
  +) Added CRAM-MD5 support for qmail-remote.
  +) Added qmail-smtpam PAM for Recipients extension.
  +) Added sender-domain based TLS settings for qmail-remote.
  :) Changed qmail-remote's 'tlspeerhosts' to' tlsdestinations'.
  -) Removed moreip and notipme feature.
  :) REQUIREAUTH has been collapsed into SMTPAUTH with leading "!",
  :) SMTPAUTH has been enhanced to support: "!" Required; "-" Off.
  :) SMTPAUTH cram-md5 annoucement has to be prefixed with a '+':
     SMTPAUTH='+cram' (to allow future additional AUTH mechanisms).
  :) UCSPITLS has been enhanced to support: "!" Required "-" Off.
  +) Added logging for qmail-popup.
  +) Added CAPA support for qmail-popup/qmail-pop3d.
  :) Unified qmail-smtpd and qmail-popup logging.
  +) SPF and RBLSMTPD hook to display info in Received header.
  +) LOCALMFCHECK='=' requiring 'Mail From:' = 'TCPREMOTEINFO'.

  Internal:
  !) Bigtodo is default now.
  !) Maximum silent concurrency increased to 500.
  #) Aligend with recipients-0.7.2.
  #) Aligned with smtp-authentication 0.7.6.
  %) qmail-smtpd logging and reply messages 'off-shored'.
  ?) qmail-smtpd tls vulnerability VU#555316 fixed.
  ?) qmail-smtpd DNS lookup failures don't result in dropped
     connections anymore.
  %) qmail-remote evalutes in addition Alternative Subject for TLS host verification.
  %) Complete FreeBSD AMD64 support (conf-cc, conf-ld, conf-spamcontrol).
  #) Aligned with mav 0.20.
  +) Added partial clang support.

  ADDITIONAL CHANGES
  ------------------

  +) Added SMTP Authentication based on smtproutes/destination.
  #) Aligned with SMTP Authentication 0.8.0.
  -) Removed obsolete SUBMISSION environment variable and special treatement.
  :) Enhanced badmailfrom with new qualifier '~' for extended addresses
     to filter mismatched domain names.
  +) Added *.3 man pages in setup (dirs were missing before).
  ;) SPF Hook working now.
2014-06-27 02:33:04 +00:00
Bryan Drewery
ae44dfc7b8 Fix CONFLICTS with netqmail-tls after PKGNAME rename in r359176 2014-06-25 14:19:25 +00:00
Bryan Drewery
d659d91fb5 Fix CONFLICTS after qmail->netqmail rename 2014-06-24 18:27:28 +00:00
Bryan Drewery
c0ec093f32 - Don't try removing /var/qmail/queue at all
- Remove /var/qmail/queue from STAGEDIR so it's not an orphan
2014-04-19 06:24:14 +00:00
Bryan Drewery
9c859f6f6e mail/qmail, mail/qmail-tls, mail/qmail-mysql, mail/qmail-spamcontrol:
- Support stagedir
- Fix all leftovers
  Note that this depends on new Mk/Scripts/check_leftovers.sh added in r351446.
- Bump PORTREVISION in all ports due to plist being fixed.
- Support man.d on FreeBSD 9+
- Convert NOPORTDOCS
- Fix bad perl shebang for scripts/mkaliasdir
- Remove pkg-install and move all to pkg-plist
- Fix /var/qmail modified warning in poudriere by doing nothing in
  install-mtree
- Fix /var/qmail getting unpredictable/wrong permissions due to
  USERS/GROUPS changing for every user with HOME=/var/qmail
- Use more OPTIONS helpers
- Fix ccache support for spamcontrol patch building
- Fix build of SMTPEXTFORK in mail/qmail-spamcontrol with recent clang

Tested with:	pkg and pkg_install
2014-04-17 05:16:47 +00:00
Bryan Drewery
2324655f20 - Add NO_STAGE until validated to be safe for upcoming staging support 2013-09-20 15:58:09 +00:00
Bryan Drewery
1ffe5a449c - Fix build with clang and on head
Reported by:	bapt
2013-08-26 23:30:41 +00:00
Bryan Drewery
678eff9c21 - Cleanup example rc file
- Support SHUTDOWN
 - Check for needed files/dependencies in precmd
 - Respect LOCALBASE
 - Make rclint happy
- Rename symlink from qmail.sh to qmailsmtpd
- Rename installed example rc file from qmail-smtpd.rcNG to qmailsmtpd
2013-02-23 18:49:29 +00:00
Bryan Drewery
7b01d09ebb - Fix runtime crash when using SMTPEXTFORK option due to
calling strtok(3) without string.h included.
  Not reported "upstream" as the last update was 2009
  and the site is dead.

Reported by:	Christopher Weimann <christopher@weimann.us>
2013-02-06 04:49:01 +00:00
Bryan Drewery
d227915d81 - Fix build on CURRENT by using gcc for now 2013-01-31 23:39:55 +00:00
Bryan Drewery
ce4c929e46 - Add working mirror 2013-01-10 03:18:46 +00:00
Renato Botelho
566e1b7f4e Change headers of all ports maintained by me to new format 2012-10-05 12:41:45 +00:00
Renato Botelho
19760f48f0 - Make qmail use USERS and GROUPS [1]
- Add my local_distfiles as a MASTER_SITES to ucspi-ssl

PR:		ports/157622 [1]
Submitted by:	crees [1]
2011-07-18 20:55:29 +00:00
Renato Botelho
6dff9d42fb - Update spamcontrol patch to 2.6.24
- Remove MD5

Feature safe:	yes
2011-02-07 16:25:13 +00:00
Renato Botelho
8d9c1f0443 When server announce auth as "PLAIN LOGIN" instead of the common inverse order
"LOGIN PLAIN" make sure qmail-remote can authenticate.
2010-09-20 13:35:44 +00:00
Renato Botelho
adc1d2316a Update spamcontrol patch to 2.6.23 2010-09-16 13:58:41 +00:00
Renato Botelho
3d5a5bc862 - Really fix qmail-spamcontrol build now, i was building ucspi-ssl after
install_spamcontrol.sh and it must run before since this script need to copy
  ssl.a to correct place
- Bump PORTREVISION
2010-08-11 00:23:31 +00:00
Renato Botelho
eb9e6caa4d - Add perl build dependency, missed on last commit
- Bump PORTREVISION

Reported by:	QAT
2010-08-10 21:09:18 +00:00
Renato Botelho
c34fd65773 Update spamcontrol to 2.6.22 2010-08-10 20:07:05 +00:00
Renato Botelho
19c5907d88 Update spamcontrol patch to 2527 2009-12-23 17:29:38 +00:00
Renato Botelho
cc97a5cc60 - Update qmail-spamcontrol to 2525a 2009-06-16 16:38:27 +00:00
Renato Botelho
b9974ad42c - Update to 2523 2009-05-06 21:13:30 +00:00
Renato Botelho
977be399ce - Update spamcontrol to 2522
Submitted by:	Erwin Hoffman (author)
2009-03-04 11:56:38 +00:00
Renato Botelho
92f6d356a3 - Update spamcontrol to 2521 to fix recipients problem included by last version
- Remove spamcontrol spf patch MD% from distinfo, forgot un 2.5 upgrade

PR:		ports/131889
Submitted by:	howard goldstein <hg@queue.to>
2009-02-24 12:42:12 +00:00
Renato Botelho
beaa34148f - Update spamcontrol patch to 2.5.20 version to fix some problems with
recupients
- Update README.smtpdextfork distinfo entry, file was updated by author
2009-02-18 20:17:18 +00:00
Renato Botelho
8513f119a8 - Spamcontrol patch 2.5.19 was rerolled, it's documented on errata section at
website:

[2.5.19] Rebuild: Updated README_spamcontrol, fixed fatal typo in qmail-queue.scan.

- Bump PORTREVISION
2009-02-18 11:07:07 +00:00
Renato Botelho
209f586611 - Update spamcontrol patch collection to 2519
For more information about this version, please check:

http://fehcom.de/qmail/spamcontrol/README_spamcontrol.html

Tested by:	Sirko Zidlewitz <sz@bytecamp.net>
Thanks to:	Erwin Hoffmann <feh@fehcom.de>
2009-02-17 16:12:00 +00:00
Renato Botelho
b1263ba741 - Fix a bug detected on spamcontrol patch. This but is in qmail-smtpd.c, when
qmail_close return a reason that starts with char 'D', smtpd rejects the
  message using a QHPSI virus_found message.
- Bump qmail-spamcontrol's PORTREVISION

Reported by:	Wendell Martins Borges <wendellmartins@mac.com>
Tested by:	Wendell Martins Borges <wendellmartins@mac.com>
2008-10-01 19:18:10 +00:00
Renato Botelho
63f3b93b3d - Fix pkg-install to create initial aliases correctly, broken when was rewritten
from csh to sh
- Bump PORTREVISION from all slave ports
2008-03-31 01:07:19 +00:00
Renato Botelho
e959d2c1c8 - Fix segfault on 64-bit platforms on qmail-spamcontrol like was made on
another slave ports.
2008-01-15 13:32:21 +00:00
Renato Botelho
e1ab2d0519 - Fix a segfault on amd64 (except on qmail-spamcontrol and qmail-ldap) [1]
- Add an rcNG startup example file to QMAIL_PREFIX/boot [2]
- Bump PORTREVISION due to rcNG add (except for qmail-ldap)
- Fix make certificate to add ciphers file to QMAIL_PREFIX/control [3]

PR:		ports/118117 [1], ports/117422 [2], ports/118198 [3]
Submitted by:	Andrew Reilly <areilly@bigpond.net.au> [1] [3]
		Nick@van-laarhoven.org [2]
2007-12-26 16:43:55 +00:00
Renato Botelho
abbc2fbbbd - Update spamcontrol to 2.4.18
- Some cosmetic changes
2007-05-25 11:52:33 +00:00
Renato Botelho
80eca2f197 Update spamcontrol to 2417 2007-02-01 17:14:18 +00:00
Renato Botelho
8136c101ce - RBL2SMTPD patch was not logging URL reference
Reported by:	Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
2007-01-31 17:09:02 +00:00
Renato Botelho
39408623e5 - Add a copy of spamcontrol patch on MASTER_SITE_LOCAL and make it fetchable
again

PR:		ports/104796
Submitted by:	Stefan Witzel<stefan.witzel@zvw.uni-goettingen.de>
Approved by:	portmgr (erwin)
2006-10-30 13:57:02 +00:00
Renato Botelho
40ea794f8f Register CONFLICTS between qmail master and all slave ports 2006-08-10 15:34:59 +00:00
Renato Botelho
384b33ec77 Bump qmail-spamcontrol PORTREVISION because of add DNS_PATCH on
ports/mail/qmail/Makefile rev. 0.103
2006-07-18 12:25:24 +00:00
Renato Botelho
195dc22fa1 - Update to spamcontrol 2.4.15:
2.4.15  FIXED missing IP information in Received header.
        ADDED ucspi-ssl-0.70_ucspitls-0.4.patch_.
        CHNGD order of qmail-smtpd reject conditions.
2006-06-30 19:13:21 +00:00
Renato Botelho
32447622f7 Adapt qmail-smtpd to work fine with new rblsmtpd functionality, checking envvar
set by rblsmtpd when IP matched on a RBL list and deny email is user is not
authenticated.
2006-06-08 23:47:10 +00:00
Renato Botelho
5e5767703e - Update qmail-spamcontrol to 2.4.14, finally with STARTTLS support
Full ChangeLog at:
	http://www.fehcom.de/qmail/spamcontrol.html
2006-05-29 13:32:06 +00:00
Kirill Ponomarev
01c588a635 - Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
  [1]

- Fix FAM support.  Make gamin the default FAM system. [2]

- Introduce new 'quicksearch' target to show only port, path and
  info section of the matching ports. [3]

- Introduce new category - rubygems. [4]

- Fix stale dependencies while installing qmail slaveport and
  another port that depends on qmail. [5]

- Add commentary for describes target in bsd.port.mk. [6]

- Fix warning issued during make index on archs !368. [7]

- Add USE_DOS2UNIX variable.  If set to "YES", remove the ^M from
  all files under ${WRKSRC}. If set to a string, remove in all files
  under ${WRKSRC} with one of these names the ^Ms. [8]

- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
  checking the existance of the Perl modules with the "perl -e 'use
  module;'" command. [9]

- Fix bsd.port.mk variable quoting issues.  No quoting is necessary
  anymore either in the Makefile or on the command line.  Affected
  variables include:

  BROKEN
  FORBIDDEN
  IGNORE
  MANUAL_PACKAGE_BUILD
  NO_CDROM
  NO_PACKAGE
  RESTRICTED

  [10]

- Add NOFETCHFILES variable.  If set, don't download these files
  from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
  ${MASTER_SITE_OVERRIDE}). [11]

- Improve 'search' target output. [12]

- Add a new virtual category for Amateur Radio - hamradio. [13]

- Cleanup some old/unused pathes in bsd.port.mk. [14]

- Add @dirrmtry for plists which does the same as:
  "@unexec rmdir %D/foo 2>/dev/null || true" [15]

- Remove virtual category - offix. [16]

- Use portsnap instead of cvsup or cvs on "make update" in
  /usr/ports. [17]

- Move location of bsd.autotools.mk within bsd.port.mk [18]

- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]

- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]

- Replace the string "FreeBSD" by "The FreeBSD Project" in the
  security warning [21]

- Add bsd.local.mk for local modification to ports framework. [22]

- Replace rcNG spelling by rc.d [23]

- Remove superfluous USE_REINPLACE. [24]

Special thanks to:      linimon for spending hours with all these patches
                        clement for fixes
                        kris for help with pointyhat
PR:     ports/86310 [1], ports/89498 [2], ports/83530 [3],
        ports/83789 [4], ports/84053 [5], ports/86281 [6],
        ports/87214 [7], ports/87234 [8], ports/87318 [9],
        ports/87396 [10], ports/87605 [11], ports/87840 [12],
        ports/88230 [13], ports/88493 [14], ports/88711 [15],
        ports/88751 [16], ports/89281 [17], ports/89999 [18],
        ports/90031 [19], ports/90150 [20], ports/90668 [21],
        ports/91433 [23], ports/88754 [24]
Submitted by:   mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
                pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
                edwin [8, 9, 11, 15, 21],
                fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
                Carl Makin <carl@stagecraft.cx> [13], arved [14],
                NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
                jylefort [19], linimon [22], dougb [23]
2006-01-21 17:37:14 +00:00
Renato Botelho
3d1bc825a6 - Update to spamcontrol-2317
Changes:
 o Removes multiple-Nullsender check;
 o fixes a bug in LOCALMFCHECK.
2005-10-13 11:41:27 +00:00
Renato Botelho
1541d04673 Update spamcontrol patch to 2316
Approved by:	flz (mentor)
2005-07-13 19:28:45 +00:00
Renato Botelho
d5a8ad9d47 Change MAINTAINER to my @FreeBSD.org account
Approved by:	flz (mentor)
2005-07-11 16:47:16 +00:00
Sergey Matveychuk
6bd5cd3a7c - Update to spamcontrol-2314
Changes since 2313:
- FIXED bug in badhelo's wildmat filter.
- CHANGED qmail-smtpd error logging order.
- REMOVED remnants from SPAMCONTROL 2.3 in man page for qmail-send(9).
- UPDATED qmail-alias2recipients.

PR:		ports/81466
Submitted by:	maintainer
2005-05-26 14:44:11 +00:00
Sergey Matveychuk
2aa88641dc - Transfer all work to MASTER port and make slave ports easier
- Use only one pkg-plist and use PLIST_SUB
- Use DOCSDIR intead of DOCDIR
- OPTIONS'ify
- Remove WITH_PRESERVE_CONFIG_FILES knob and detect automatically when is need
  to create it.
- Add $FreeBSD$ tag to pkg-plist and pkg-install
- Fix error on enable-qmail script
- Remove MASTER_SITE_QMAIL definition from Makefile since it's defined on
  bsd.sites.mk
- Add a new option to don't create rc.d/qmail.sh
- Add rc.d/qmail.sh to pkg-plist when necessary

PR:		ports/80833
Submitted by:	maintainer
Thanks to:	novel, Joao Ricardo P. Mendes <joao@redepegasus.com.br>
2005-05-10 14:31:29 +00:00
Sergey Matveychuk
f49371e1f6 o Pacify a lot of portlint WARN and FATAL messages
o Change ${PERL} to ${SED} or ${REINPLACE_CMD}
o Added patch patch-qmail-1.03-rfc2821.diff to search other MX servers
  when the first return a code > 500 and < 599
o Install mkaliasdir script on ${PREFIX}/scripts directory
o Remove targets to disable-qmail and enable-sendmail and put it on a
  shell script that is installed on /var/qmail/scripts. Change messages
  reflect this.
o Organize better pkg-plist
o Remove thereal-post-patch target and put all on post-post-patch target
o Add [0-9] to CONFLICTS on qmail-ldap port
o Change LIB_DEPENDS to USE_MYSQL=yes on qmail-mysql port
o Change qmail-spamcontrol to don't need more to apply patches mannualy

PR:		ports/79094
Submitted by:	maintainer
2005-05-05 20:03:10 +00:00
Sergei Kolobov
897511dbd4 - Update to spamcontrol-2.3.13
Changes from 2.3.12:
  o Fixed (potential) false positives using 'badloadertype' recognition
  o Fixes for Exim's 'Mail From:' reverse address check employing SMTP Reset

PR:		ports/79523
Submitted by:	Renato Botelho (maintainer)
2005-04-18 15:24:39 +00:00