The NetBSD Project

CVS log for pkgsrc/mail/qmail/options.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / mail / qmail

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.72 / (download) - annotate - [select for diffs], Thu Nov 16 23:13:16 2023 UTC (2 weeks, 5 days ago) by schmonz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.71: +2 -7 lines
Diff to previous 1.71 (colored)

qmail: bump PKGREVISION. Changes:

- Remove inet6 option; simply depend on dual-stack ucspi-tcp6 (or
  v4-only original DJB ucspi-tcp, if that's already installed)

Revision 1.71 / (download) - annotate - [select for diffs], Mon Apr 24 17:22:59 2023 UTC (7 months, 1 week ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Follow URL redirects. Quote paths in config script. Update COMMENT and
DESCR. Bump PKGREVISION.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jan 14 15:25:22 2021 UTC (2 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

Improve TLS setup instructions. Bump PKGREVISION.

Revision 1.69 / (download) - annotate - [select for diffs], Sat May 23 20:50:02 2020 UTC (3 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.68: +5 -1 lines
Diff to previous 1.68 (colored)

Update to notqmail 1.08 (as qmail-1.03nb49). From the changelog:

## Fix bugs

- Vulnerabilities we've inherited from qmail 1.03, reported by Qualys.
    - CVE-2005-1515: fix signedness wraparound in `substdio_{put,bput}()`.
    - CVE-2005-1514: fix possible signed integer overflow in `commands()`.
    - CVE-2005-1513: fix integer overflow in `stralloc_readyplus()`.
    - Fix several other places where variables could overflow.
- `qmail-pop3d`: instead of running as root if root authenticates (and
  being a vector for a dictionary attack on the root password), exit 1
  to look just like a failed `checkpassword` login.
- `qmail-inject`: do not parse header recipients if `-a` is given.
- Correctly detect multiple IP addresses on the same interface.
- Remove workaround for ancient DNS servers that do not properly
  support CNAME.
- Fix possible integer overflow in `alloc()`.

## Reduce bug likelihood

- Remove `dnscname` and `dnsmxip` programs that were being built but not
  installed.
- Remove `systype` and related platform detection.
- Remove unused variable in `maildir.c`.
- Reduce variable scope in `tcpto.c`.
- Avoid local variables shadowing same-named globals.
- Avoid needing `exit.h` in named-pipe bug check.
- Add a `test` target and some unit tests, using Check.
- Add missing function declarations in `cdbmss.h`, `scan.h`.
- Add missing return types to `main()`.
- Add `hier.h` for inclusion in `instcheck.c`, `instchown.c`, `instpackage.c`.
- Use system headers and types instead of the `HASSHORTSETGROUPS` check.
- Use system headers instead of redeclaring `exit()`, `read()`,
  `write()`, `malloc()`, `free()`, `fork()`, `uint32_t`.
- Use C89 function signatures for code we've touched so far.
- Automated builds:
    - TravisCI: move setting `MAKEFLAGS` out of the script and into
      the matrix.
    - Add FreeBSD builds with CirrusCI.
    - Add a GitHub Actions build.

## Other changes

- Remove DJB's TODO.
- Replace many `pobox.com` URLs.
- Acknowledge Erik Sjölund's `qmail-local.c` bugfix that we've
  inherited from netqmail.
- Avoid generating catted manpages by building with `NROFF=true`.
- Optionally create a `systemd` service file.
- Run an alternate `qmail-remote` by setting `QMAILREMOTE` in
  `qmail-send`'s environment.

## Intent to remove

In the course of developing this release, we found programs that we
intend to remove in the next release. We believe none of these remains
necessary or useful enough to be worth the cost of maintaining. If you
disagree, please let us know!

- Remove `qsmhook`, long since replaced by `preline`.
- Remove inefficient `maildirwatch`.
- Remove obsolete mail client wrappers.
- Remove `qmail-pop3d`, since Maildir is well supported by actively
  maintained POP3 servers.

Revision 1.68 / (download) - annotate - [select for diffs], Mon Feb 3 04:51:27 2020 UTC (3 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

Update to tlsonlyremote 20200202 from upstream TLS patch 20200107. Adds
client cert authentication with TLS v1.3. Bump PKGREVISION.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Nov 2 16:25:26 2019 UTC (4 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.66: +17 -17 lines
Diff to previous 1.66 (colored)

mail: align variable assignments

pkglint -Wall -F --only aligned -r

No manual corrections.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Aug 20 02:38:04 2019 UTC (4 years, 3 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.65: +12 -24 lines
Diff to previous 1.65 (colored)

Update from netqmail 1.06 (2007) to notqmail 1.07 (just released). From
the changelog:

- code: remove incorrect usage of vfork()
- code: detect and prefer utmpx where available
- code: removed idedit, install-big. var-qmail packages are no more
- portability problem: explicitly initialize strerr_sys and
  define BIND_8_COMPAT to work around Mac OS X
- code: add instchown to set ownership and mode on installed files
- code: add instpackage to install without root access
- doc: rename INSTALL, SENDMAIL to INSTALL.md, SENDMAIL.md to
  support building on case-insensitive filesystems
- code: lookup uid/gid at runtime
- code: use DESTDIR environment variable as root directory in install

pkgsrc changes:

- If hostname isn't FQDN, config-fast-pkgsrc wouldn't produce a working
  config, so don't run it; tell user what to do instead
- Stage QMAIL_QUEUE_DIR into DESTDIR/tmp, to be more obvious that it's
  not being packaged up (and is not how a queue gets created at
  pkg_add time)
- Drop custom destdir, qbiffutmpx, and Darwin patches
- Rebase TLS-onlyremote, QMAILREMOTE, and SRS patches
- Require latest ucspi-ssl and ucspi-tcp6 for IPv4 fixes
- Move MESSAGE.tls to README.tls, and remove other MESSAGE*
- Set PKG_HOME even for non-default values of QMAIL_ALIAS_USER
- Check whether alias/.qmail-foo exist before trying to remove

Bump PKGREVISION.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jun 28 19:18:25 2019 UTC (4 years, 5 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Use CPPFLAGS, not CFLAGS, for consistency with ucspi-tcp6 and djbdns.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jun 19 17:46:39 2019 UTC (4 years, 5 months ago) by schmonz
Branch: MAIN
Changes since 1.63: +2 -12 lines
Diff to previous 1.63 (colored)

Keep it simple: libtai does not futz with PKG_SYSCONFSUBDIR.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Apr 10 22:24:57 2019 UTC (4 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.62: +2 -4 lines
Diff to previous 1.62 (colored)

Update to tlsonlyremote 20190408, cut from upstream TLS patch with the
same date. Fixes build with OpenSSL 1.1 and includes pkgsrc's #ifdef
guards for non-TLS builds. Bump PKGREVISION.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jan 17 22:49:12 2019 UTC (4 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.61: +31 -5 lines
Diff to previous 1.61 (colored)

Apply the "tai-leapsecs" patch iff the 'tai-system-clock' option is set
(off by default). Bump PKGREVISION.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Jan 9 19:32:07 2019 UTC (4 years, 10 months ago) by schmonz
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Add Toby Betts' "tai-leapsecs" patch to handle leap seconds correctly
when the system clock is set to TAI (and a libtai dependency to get
leapsecs.dat). While here, catch up to his latest maildiruniq patch.

Let an installed ucspi-tcp6 satisfy the ucspi-tcp dependency for
non-'inet6' builds.

Bump PKGREVISION.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Dec 13 05:01:55 2018 UTC (4 years, 11 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.59: +3 -1 lines
Diff to previous 1.59 (colored)

Explicitly buildlink-depend on openssl<1.1. Fixes build on
NetBSD-current (by adding dependency on security/openssl to get a
sufficiently old version). NFCI elsewhere.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Nov 10 16:42:52 2018 UTC (5 years ago) by schmonz
Branch: MAIN
Changes since 1.58: +1 -51 lines
Diff to previous 1.58 (colored)

Move patches long since non-optional out of options.mk.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Nov 10 16:27:18 2018 UTC (5 years ago) by schmonz
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Make PATCH_DIST_CAT.${SPP_PATCH} more portable. Fixes at least NetBSD.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Nov 10 15:29:01 2018 UTC (5 years ago) by schmonz
Branch: MAIN
Changes since 1.56: +11 -8 lines
Diff to previous 1.56 (colored)

Add a new non-optional patch: qmail-spp, a generic plugin interface for
qmail-smtpd (tweaked to tolerate the absence of a config file).

The RCPTCHECK patch is a logical subset of SPP with a slightly different
interface, and conflicts with SPP. Remove RCPTCHECK.

Bump PKGREVISION.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Nov 8 20:58:08 2018 UTC (5 years ago) by schmonz
Branch: MAIN
Changes since 1.55: +9 -9 lines
Diff to previous 1.55 (colored)

Provide a TLS patch without the qmail-smtpd portion, as acceptutils
20181108 implements STARTTLS in fixsmtpio(8). Rebase EAI patch onto
TLS-onlyremote. Switch back to upstream for RCPTCHECK, which applies
cleanly again. Bump PKGREVISION.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Oct 25 14:02:37 2018 UTC (5 years, 1 month ago) by schmonz
Branch: MAIN
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

Fix build with "eai -tls" option combination.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 24 13:32:26 2018 UTC (5 years, 1 month ago) by schmonz
Branch: MAIN
Changes since 1.53: +15 -41 lines
Diff to previous 1.53 (colored)

We've been stuck on a TLS implementation from 2007 because the TLS
patch and the AUTH patch conflict, nobody else has published a newer
hand-merged combo patch, and as it happens, I'd apparently rather
write a pile of new DJB-style C than make myself responsible for
hand-merging other people's security-sensitive code every time there's
a new TLS patch.

Now that we have AUTH without patching (see mail/qmail-acceptutils), the
"sasl" option goes away, we're finally on the most recent TLS patch
available, and when it's updated it'll be easy for us to keep up.

Rebase RCPTCHECK and EAI patches onto netqmail-with-TLS-and-no-AUTH.

Bump PKGREVISION.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Sep 14 16:44:09 2018 UTC (5 years, 2 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.52: +3 -1 lines
Diff to previous 1.52 (colored)

Actually generate the promised key sizes. Ride previous bump.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Sep 14 09:01:53 2018 UTC (5 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.51: +18 -2 lines
Diff to previous 1.51 (colored)

The latest upstream TLS patch (netqmail-1.06-tls-20160918.patch, not yet
in pkgsrc) has bumped key sizes to 2048 bits. Do likewise. Bump PKGREVISION.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Aug 1 07:10:27 2018 UTC (5 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.50: +5 -9 lines
Diff to previous 1.50 (colored)

Depend on new enough sysutils/checkpassword{,-pam} such that qmail-run
can (by itself depending on pkgtools/pkg_alternatives) expect to find
"nbcheckpassword".

Remove 'qmail-rejectutils' option, which will become an unconditional
dependency in qmail-run.

Bump PKGREVISION.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jul 29 23:26:44 2018 UTC (5 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.49: +15 -2 lines
Diff to previous 1.49 (colored)

Add 'inet6' and 'pam' options to control dependencies on ucspi-tcp{6,}
and checkpassword{-pam,}. Add dependency on ucspi-ssl to 'tls' option.
Bump PKGREVISION.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jul 4 13:40:24 2018 UTC (5 years, 5 months ago) by jperkin
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 28 12:57:36 2018 UTC (5 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.47: +2 -15 lines
Diff to previous 1.47 (colored)

Extract qmail-rejectutils to standalone package. Bump PKGREVISION.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Oct 29 00:46:14 2017 UTC (6 years, 1 month ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.46: +1 -24 lines
Diff to previous 1.46 (colored)

Remove compatibility mappings for options retired in 2017Q2.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Aug 19 22:11:43 2017 UTC (6 years, 3 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Update to netqmail-1.06-qbiffutmpx-20170820.patch. Should fix EL7 bulk
build. No functional change elsewhere.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Aug 13 23:42:55 2017 UTC (6 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.44: +24 -3 lines
Diff to previous 1.44 (colored)

Update to 1.03nb32. pkgsrc changes:

- Apply the qbiff-utmpx patch to (probably) fix build on FreeBSD
- Enable "qmail-srs" by default
- Add "qmail-customerror", enabled by default
- Move TLS config steps from INSTALL to MESSAGE.tls

Revision 1.44 / (download) - annotate - [select for diffs], Tue Aug 1 02:53:59 2017 UTC (6 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored)

With the enabled-by-default "eai" option, outbound message headers were
being terminated with bare LFs, getting tempfailed by some SMTP servers
(such as qmail!), and getting stuck in the local queue. Tweak the EAI
patch to terminate header lines with CRLF, as unpatched qmail-remote
would have done. Submitted upstream. Bump PKGREVISION.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jul 27 02:18:05 2017 UTC (6 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Use SUBST_VARS where applicable.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jul 21 04:07:01 2017 UTC (6 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.41: +140 -158 lines
Diff to previous 1.41 (colored)

Update to 1.03nb29. pkgsrc changes:


Remove unneeded options:

- Unconditionally apply netqmail (which includes a local patch; remove it)

- Unconditionally apply bigdns, maildiruniq, outgoingip, rcptcheck, remote

- Unconditionally apply the TLS + SMTP AUTH _patch_ (not the options)

- Record all applied patches (mandatory and optional) in QMAILPATCHES

- Remove badrcptto, qregex, realrcptto, viruscan (moved to rejectutils)



Simplify packaging:

- Extract a standalone patch <https://schmonz.com/qmail/rejectutils> to
  repackage the mutually conflicting recipient- and content-checking
  patches as separate programs, along with wrappers for running checks
  in sequence

- Extract a standalone patch <https://schmonz.com/qmail/destdir> to
  build to a staging area, as non-root, without hardcoded IDs

- Run the destdir patch's `install-destdir` to make or repair the queue
  and set special file permissions, obviating the need for a dependency
  on mail/queue-fix and handcrafted SPECIAL_PERMS

- While here, run `instcheck` to ensure we've installed just like `make
  setup check` as root would have

- Install INSTALL and SENDMAIL docs under their original names,
  even on Darwin

- Avoid building catpages, since we don't install them, and remove nroff
  from USE_TOOLS


Default-enable more useful options:

- "eai" (new) permits UTF-8 almost everywhere in email

- "qmail-rejectutils" (new) adds several tools for selectively
  rejecting messages

- "syncdir" forces synchronous link() and related syscalls

- "tls" and "sasl", instead of causing patch conflicts, cause the TLS
  and SMTP AUTH code to be included (!)

Revision 1.41 / (download) - annotate - [select for diffs], Mon May 22 17:18:32 2017 UTC (6 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.40: +8 -2 lines
Diff to previous 1.40 (colored)

Add optional QMAILREMOTE patch. Bump PKGREVISION.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Apr 17 16:08:22 2017 UTC (6 years, 7 months ago) by bsiegert
Branch: pkgsrc-2017Q1
Changes since 1.38: +45 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pullup ticket #5254 - requested by schmonz
mail/qmail: build fix

Revisions pulled up:
- mail/qmail/MESSAGE.srs                                        1.1
- mail/qmail/Makefile                                           1.81-1.84
- mail/qmail/PLIST                                              1.17
- mail/qmail/distinfo                                           1.32-1.33
- mail/qmail/files/README.srs                                   1.1-1.2
- mail/qmail/options.mk                                         1.39-1.40
- mail/qmail/patches/patch-auto__uids.c                         1.2
- mail/qmail/patches/patch-auto__uids.h                         1.2

---
   Module Name:	pkgsrc
   Committed By:	schmonz
   Date:		Fri Mar 31 13:52:00 UTC 2017

   Modified Files:
   	pkgsrc/mail/qmail: Makefile PLIST distinfo options.mk
   Added Files:
   	pkgsrc/mail/qmail: MESSAGE.srs
   	pkgsrc/mail/qmail/files: README.srs

   Log Message:
   Add "qmail-srs" option to apply the Sender Rewriting Scheme patch,
   requested by Nathan Arthur. Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	schmonz
   Date:		Tue Apr  4 07:50:18 UTC 2017

   Modified Files:
   	pkgsrc/mail/qmail: Makefile distinfo options.mk
   	pkgsrc/mail/qmail/patches: patch-auto__uids.c patch-auto__uids.h

   Log Message:
   Substitute configured qmail users and groups (defaults haven't changed).
   Bump dependency on queue-fix to a version that does likewise.
   Bump PKGREVISION.

---
   Module Name:	pkgsrc
   Committed By:	schmonz
   Date:		Tue Apr  4 14:58:06 UTC 2017

   Modified Files:
   	pkgsrc/mail/qmail: Makefile
   	pkgsrc/mail/qmail/files: README.srs

   Log Message:
   Give absolute path to srsfilter. From Nathan Arthur in private mail.

---
   Module Name:	pkgsrc
   Committed By:	schmonz
   Date:		Sat Apr  8 18:22:51 UTC 2017

   Modified Files:
   	pkgsrc/mail/qmail: Makefile

   Log Message:
   Remove dependency on sysutils/checkpassword. In the default install it's
   used only for qmail-pop3d, which is likely not being used much anymore.
   Other installs might need a different implementation of checkpassword
   anyhow. And this implementation is not (yet?) in the public domain, so
   it's blocking us from publishing binary packages of qmail.

   Unless (until?) sysutils/checkpassword becomes "public-domain", it
   remains under "djb-nonlicense". If you continue to need it, since you've
   already accepted the nonlicense, simply install it directly.

   I believe this package and all its remaining dependencies are now in
   DEFAULT_ACCEPTABLE_LICENSES. Bump PKGREVISION.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Apr 4 07:50:18 2017 UTC (6 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Substitute configured qmail users and groups (defaults haven't changed).
Bump dependency on queue-fix to a version that does likewise.
Bump PKGREVISION.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Mar 31 13:52:00 2017 UTC (6 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.38: +45 -2 lines
Diff to previous 1.38 (colored)

Add "qmail-srs" option to apply the Sender Rewriting Scheme patch,
requested by Nathan Arthur. Bump PKGREVISION.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Mar 29 13:26:05 2017 UTC (6 years, 8 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base
Branch point for: pkgsrc-2017Q1
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

To make the newly useful binary package a bit more useful, enable
qmail-{bigdns,realrcptto} (in addition to qmail-netqmail) by default.
These are conservative choices: small patches that make qmail behave
more like it probably wanted to without breaking existing systems,
adding attack surface, or failing on some platforms we support.

Bump PKGREVISION.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Mar 23 07:24:48 2017 UTC (6 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.36: +19 -4 lines
Diff to previous 1.36 (colored)

Add qmail-maildiruniq and qmail-rcptcheck options, off by default. Since
we no longer stage-install as root, instcheck is noise; skip it. Mollify
pkglint. Bump PKGREVISION.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Nov 23 19:08:22 2014 UTC (9 years ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Quell pkglint, mostly:

- Pluralize QMAIL_ROOT_ONLY_{READABLE,EVERYTHING}S
- Declare the viruscan targets .PHONY

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jul 4 03:34:43 2014 UTC (9 years, 5 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

The qmail-bigdns patch currently redirects to https. Put a copy on
MASTER_SITE_LOCAL.

Revision 1.34 / (download) - annotate - [select for diffs], Fri May 30 21:35:04 2014 UTC (9 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.33: +26 -6 lines
Diff to previous 1.33 (colored)

Improve binary package:

* Reduce potential patch conflicts by switching more DESTDIR support to sed
* Enable `qmail-netqmail` by default
* Install `qmail-viruscan` signatures via CONF_FILES
* With `tls` option, don't generate cert, instruct the user at INSTALL time

That last change also fixes the source build with `tls` enabled on
systems that don't already have a /var/qmail/control, as reported
by Thomas Lazar on pkgsrc-users@.

While here, add a comment with the new location of the qregex patch.
Since it's named strangely, I've also placed a traditionally-named
copy on ftp.n.o.

Bump PKGREVISION.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Apr 16 04:57:23 2014 UTC (9 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored)

The TLS/SASL patch no longer applies over our patch to hier.c
(reported by Thomas Lazar), so instead express our local changes
with SUBST_SED at do-configure. Update to the latest TLS/SASL patch.
Bump PKGREVISION.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Mar 24 20:10:31 2013 UTC (10 years, 8 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

qmail-smtpd-viruscan-logging.patch disappeared (reported by Nathan
Arthur). Put a copy up on ${MASTER_SITE_LOCAL}.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jun 7 02:53:42 2011 UTC (12 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.30: +2 -15 lines
Diff to previous 1.30 (colored)

DESTDIR support, PKGMANDIR support, OS X fixes, general cleanups.
For ${OPSYS}/${USE_DESTDIR}/${PKGMANDIR} combinations that already
worked, no functional change (hence no PKGREVISION bump).

Revision 1.30 / (download) - annotate - [select for diffs], Sat Apr 12 22:43:04 2008 UTC (15 years, 7 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Mar 20 03:30:32 2008 UTC (15 years, 8 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1
Changes since 1.28: +2 -6 lines
Diff to previous 1.28 (colored)

Upgrade netqmail to 1.06, which is identical to 1.05 except that
instead of consisting of a pristine qmail tarball and netqmail
patch, 1.06 has the patch already applied. No user-visible changes
to pkgsrc, either; this just simplifies a weird build and will make
future upgrades (don't laugh!) easier.

jlam@ "looks fine"

Revision 1.28 / (download) - annotate - [select for diffs], Sun May 27 18:42:54 2007 UTC (16 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.27: +5 -4 lines
Diff to previous 1.27 (colored)

Move recipient-checking options into a PKG_OPTIONS_GROUP, as no two
of them apply together cleanly (and thus no PKGREVISION bump). Idea
from wiz.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Apr 12 03:42:21 2007 UTC (16 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Update tls-smtpauth combined patch to 20070321. SMTP AUTH changes:

* Includes a generic 'MAIL FROM:' parameter parser supporting 'AUTH'
    and 'SIZE' advertisements; complies to RFC 3848
* Fixes a gcc (3.4.6) -O2 optimization problem in base64.c

Bump PKGREVISION.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 9 12:34:22 2007 UTC (16 years, 9 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.25: +7 -7 lines
Diff to previous 1.25 (colored)

Use PLIST_SUBST rather than appending one-line PLIST.foo to PLIST_SRC,
and remove one-line PLIST.foo files. Quote some paths to appease
pkglint. Update URL to "12 Steps to qmail List Bliss".

Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 22 19:26:42 2007 UTC (16 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Feb 3 03:02:36 2007 UTC (16 years, 10 months ago) by schmonz
Branch: MAIN
Changes since 1.23: +5 -1 lines
Diff to previous 1.23 (colored)

Make the viruscan logging patch's output more consistent with the
rest of the SMTP logs by stripping off its unnecessary leading
'qmail-smtpd: '. Cosmetic only, no PKGREVISION bump.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jan 15 03:40:15 2007 UTC (16 years, 10 months ago) by schmonz
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

The badrcptto patch needs -p1 (not -p2) on Darwin, though it applied
on NetBSD before (and still does).

Revision 1.22 / (download) - annotate - [select for diffs], Fri Dec 29 10:32:05 2006 UTC (16 years, 11 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

Update to nb12 (is this a record?). From the respective patch changelogs:

* Update qregex patch (PR pkg/34760) to 20060423:

  - qregex adds the matched regex pattern to its log entries if the
    LOGREGEX environment variable is set.

* Update realrcptto patch to 20061210:

  - Logging uses substdio_puts() and substdio_flush() instead of
    substdio_putsflush(). This makes log entries less likely to be
    interleaved. Thanks to Matthew Dempsky for finding this.

  - For QMAILRRTENYALL, use error code 554 after DATA, not 550.
    Thanks to ... sorry, I lost track of who found this.

  - Log stat() errors for .qmail files. Thanks to Chris Bensend for
    suggesting this.

* Update tls-smtpauth combined patch to 20060105. TLS changes:

  - bug: qmail-remote loops on malformed server response (B. Shupp,
    A. Meltzer)

  - no STARTTLS advertised when control/servercert.pem absent (Jason
    Haar)

  - control/notlshosts (Albert Weichselbraun)

  - control/tlshosts/exhaustivelist

  - scripts honor conf-users (Sven Verdoolaege)

  - strerror declaration in tls.c compile problem (Renato Botelho,
    Bill Shupp)

  - chown uid.gid deprecated, should be uid:gid (Bill Shupp)

  SMTP AUTH changes:

  - includes the evaluation of the 'Auth' and the 'Size' parameter
    in the 'Mail From:' command.

  - uses DJB functions to copy FDs.

  - corrects some minor mistakes displaying the 'Auth' userid.

  - uses keyword "ESMTPA" in Received header in case of authentication
    to comply with RFC 3848.

pkgsrc changes:

* Note SPECIAL_PERMS on qmail-queue binary (from dsainty@).

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 12 14:15:43 2006 UTC (17 years, 8 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.20: +11 -11 lines
Diff to previous 1.20 (colored)

Fixed pkglint warnings.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 20 03:39:25 2006 UTC (17 years, 9 months ago) by schmonz
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

Extract more sanely, from jlam and joerg. Should fix DragonFly bulk build.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 2 21:13:43 2006 UTC (17 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.18: +1 -7 lines
Diff to previous 1.18 (colored)

This already had a hack to fix building on OS X with BIND9 system
resolver. Convert it to the less hacky one used elsewhere, mainly
so that I won't miss it when implementing a more general solution
to this common problem.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Dec 5 20:50:35 2005 UTC (18 years ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 5 05:46:54 2005 UTC (18 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Remove legacy DJB_ERRNO_HACK (replaced with djbware-errno-hack option).

Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 5 04:28:00 2005 UTC (18 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.15: +1 -8 lines
Diff to previous 1.15 (colored)

Now that a branch has been cut, remove PKG_OPTIONS_LEGACY_{OPTS,VARS}.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 19 04:44:10 2005 UTC (18 years, 3 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Convert DJB_ERRNO_HACK to a "djbware-errno-hack" option available
in all packages using djbware.mk. For now, keep the same default,
avoiding PKGREVISION bumps.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jul 19 19:41:19 2005 UTC (18 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.13: +18 -40 lines
Diff to previous 1.13 (colored)

Distinguish package-specific options as such, supporting the old names
via PKG_OPTIONS_LEGACY_OPTS until after the next branch.

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 31 10:01:38 2005 UTC (18 years, 6 months ago) by dillo
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.12: +6 -5 lines
Diff to previous 1.12 (colored)

Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.

Revision 1.12 / (download) - annotate - [select for diffs], Sun May 22 20:08:12 2005 UTC (18 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison

Revision 1.11 / (download) - annotate - [select for diffs], Thu May 19 22:08:55 2005 UTC (18 years, 6 months ago) by schmonz
Branch: MAIN
Changes since 1.10: +3 -13 lines
Diff to previous 1.10 (colored)

The patch for the "nullenvsender" option is no longer available: its
author considers it no longer relevant. Remove the option.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 10 02:59:23 2005 UTC (18 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

If the "tls" option is enabled, append the additional targets to
INSTALL_TARGET, rather than replacing them. This had been broken
with the introduction of djbware.mk.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 29 12:34:16 2005 UTC (18 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Update URL to the patch for "nullenvsender" option, and correctly
define the variable containing the patch URL for the "qregex"
option. Problems noted by zuntum.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 23 01:48:06 2005 UTC (18 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.7: +1 -5 lines
Diff to previous 1.7 (colored)

Remove package-specific workarounds for the glibc-vs-errno conflict.
The "netqmail" PKG_OPTION to qmail is no longer enabled on Linux
by default; if you were relying on that, set it explicitly.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 26 03:48:21 2005 UTC (18 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Update URL to Paul Jarc's realrcptto patch.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Dec 28 23:32:35 2004 UTC (18 years, 11 months ago) by salo
Branch: pkgsrc-2004Q4
Changes since 1.5: +18 -2 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Pullup ticket 190 - requested by Amitai Schlair
viruscan addition for qmail

        Module Name:   pkgsrc
        Committed By:  schmonz
        Date:          Tue Dec 21 05:32:56 UTC 2004

        Modified Files:
               pkgsrc/mail/qmail: INSTALL Makefile distinfo options.mk

        Log Message:
        With the "viruscan" option, enable Russ Nelson's patch to SMTP-reject
        messages with MIME attachments that match certain signatures, as
        well as Jeremy Kitchen's patch that causes such rejections to be
        logged.

        Bump PKGREVISION.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 21 05:32:56 2004 UTC (18 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.5: +18 -2 lines
Diff to previous 1.5 (colored)

With the "viruscan" option, enable Russ Nelson's patch to SMTP-reject
messages with MIME attachments that match certain signatures, as
well as Jeremy Kitchen's patch that causes such rejections to be
logged.

Bump PKGREVISION.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Nov 28 19:19:52 2004 UTC (19 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base
Branch point for: pkgsrc-2004Q4
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Remove pre-buildlink and post-buildlink as part of getting pkgsrc ready
for pkgsrc-2004Q4.  The "buildlink" phase was removed for the last branch,
and this is the final cleanup.  "post-buildlink" is now "post-wrapper".

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 27 06:29:08 2004 UTC (19 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 23 23:22:29 2004 UTC (19 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.2: +8 -8 lines
Diff to previous 1.2 (colored)

Rename the "smtpauth" option to "sasl" to be consistent with other
MTAs' options, since it causes qmail-smtpd to offer several SASL
mechanisms. No need to preserve the meaning of the old option, as
it was introduced less than a day ago.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 22 19:32:52 2004 UTC (19 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 22 00:10:52 2004 UTC (19 years, 3 months ago) by schmonz
Branch: MAIN

Using bsd.options.mk, add several common build-time options. The
complete list:

        badrcptto bigdns darwin netqmail nullenvsender
        outgoingip qregex realrcptto smtpauth syncdir
        tls

This obviates the need for a separate netqmail package. As a result,
reintegrate Makefile.common into Makefile, and simplify a handful
of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail
to "netqmail bigdns" to build with the same patches as before.

Note that most of these options result in patches being applied,
and that any given combination of patches may not apply cleanly.
If there's a combination you need that doesn't work, or build
options you need that aren't available, let me know.

On Darwin, the "darwin" option is set by default, as it's needed
in order to build. The patch includes <nameser8_compat.h>, which
is present on Panther, but not on older systems. We provide a
buildlink stand-in where needed.

On Linux, the "netqmail" option is set by default, as with recent
glibc it's necessary to #include <errno.h> in order to build.

On other platforms, no options are set by default.

Bump PKGREVISION.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>