The NetBSD Project

CVS log for pkgsrc/mail/qmail/Makefile

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.130 / (download) - annotate - [select for diffs], Thu Nov 16 23:13:16 2023 UTC (4 months, 1 week ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, HEAD
Changes since 1.129: +3 -3 lines
Diff to previous 1.129 (colored) to selected 1.101 (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.129 / (download) - annotate - [select for diffs], Wed Nov 15 16:49:26 2023 UTC (4 months, 1 week ago) by schmonz
Branch: MAIN
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored) to selected 1.101 (colored)

qmail: use notqmail.org's qmail.org mirror.

Revision 1.128 / (download) - annotate - [select for diffs], Tue Oct 24 22:09:49 2023 UTC (5 months ago) by wiz
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored) to selected 1.101 (colored)

*: bump for openssl 3

Revision 1.127 / (download) - annotate - [select for diffs], Thu May 11 16:52:34 2023 UTC (10 months, 2 weeks ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (colored) to selected 1.101 (colored)

Pull the latest tlsonlyremote patch to fix OpenBSD build with native
LibreSSL. No other changes in the patch and NFCI elsewhere. Build-tested
on macOS, Debian, NetBSD.

Revision 1.126 / (download) - annotate - [select for diffs], Mon Apr 24 17:22:59 2023 UTC (11 months ago) by schmonz
Branch: MAIN
Changes since 1.125: +4 -4 lines
Diff to previous 1.125 (colored) to selected 1.101 (colored)

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

Revision 1.125 / (download) - annotate - [select for diffs], Wed Oct 26 10:31:39 2022 UTC (17 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored) to selected 1.101 (colored)

*: bump PKGREVISION for libunistring shlib major bump

Revision 1.124 / (download) - annotate - [select for diffs], Thu Jan 14 15:25:22 2021 UTC (3 years, 2 months ago) by schmonz
Branch: MAIN
CVS Tags: 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.123: +2 -2 lines
Diff to previous 1.123 (colored) to selected 1.101 (colored)

Improve TLS setup instructions. Bump PKGREVISION.

Revision 1.123 / (download) - annotate - [select for diffs], Thu Nov 19 09:35:42 2020 UTC (3 years, 4 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.122: +1 -2 lines
Diff to previous 1.122 (colored) to selected 1.101 (colored)

Remove DJB_RESTRICTED, no longer used.

Revision 1.122 / (download) - annotate - [select for diffs], Mon Aug 24 05:44:33 2020 UTC (3 years, 7 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.121: +2 -1 lines
Diff to previous 1.121 (colored) to selected 1.101 (colored)

qmail: mark as NOT_FOR_UNPRIVILEGED

Although the package itself builds when pkgsrc is bootstrapped in
unprivileged mode, the pkgsrc +INSTALL/+DEINSTALL scripts fail, causing
bulk build noise:

=> Creating binary package /wrk/mail/qmail/work/.packages/qmail-1.03nb49.tgz
fatal: unable to find user alias
===========================================================================

ERROR: instchown exited 111.

Permissions are likely wrong, and/or the queue may be uninitialized.

===========================================================================
pkg_add: install script returned error status
pkg_add: 1 package addition failed

Revision 1.121 / (download) - annotate - [select for diffs], Thu Jun 25 05:42:39 2020 UTC (3 years, 9 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.120: +3 -4 lines
Diff to previous 1.120 (colored) to selected 1.101 (colored)

Retire 'djbware-errno-hack' and associated options.mk cleverness.
Instead:

1. Package makefiles including their own options.mk
2. Packages say "SUBST_CLASSES+=djberrno" to get the hack, if needed
3. Packages adjust SUBST_FILES.djberrno, if needed

Should fix bulk build failures due to multiple inclusions of options.mk
and/or incorrect definitions of DJB_ERRNO_HACK.

Approved during the freeze by wiz@.

Revision 1.120 / (download) - annotate - [select for diffs], Sat May 23 20:50:02 2020 UTC (3 years, 10 months ago) by schmonz
Branch: MAIN
Changes since 1.119: +16 -13 lines
Diff to previous 1.119 (colored) to selected 1.101 (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.119 / (download) - annotate - [select for diffs], Sat May 2 10:47:38 2020 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.118: +2 -1 lines
Diff to previous 1.118 (colored) to selected 1.101 (colored)

mail/qmail: doesn't need the errno hack anymore

notqmail-1.07 correctly includes <errno.h> instead of declaring errno as
a process-global variable.

Revision 1.118 / (download) - annotate - [select for diffs], Wed Mar 18 17:56:09 2020 UTC (4 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.117: +3 -1 lines
Diff to previous 1.117 (colored) to selected 1.101 (colored)

Make sure ${TAR} is present

Revision 1.117 / (download) - annotate - [select for diffs], Mon Feb 3 04:51:27 2020 UTC (4 years, 1 month ago) by schmonz
Branch: MAIN
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored) to selected 1.101 (colored)

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

Revision 1.116 / (download) - annotate - [select for diffs], Sat Jan 18 21:49:53 2020 UTC (4 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored) to selected 1.101 (colored)

*: Recursive revision bump for openssl 1.1.1.

Revision 1.115 / (download) - annotate - [select for diffs], Sat Nov 2 16:25:26 2019 UTC (4 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.114: +21 -21 lines
Diff to previous 1.114 (colored) to selected 1.101 (colored)

mail: align variable assignments

pkglint -Wall -F --only aligned -r

No manual corrections.

Revision 1.114 / (download) - annotate - [select for diffs], Tue Aug 20 02:38:04 2019 UTC (4 years, 7 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.113: +40 -50 lines
Diff to previous 1.113 (colored) to selected 1.101 (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.113 / (download) - annotate - [select for diffs], Mon Jul 1 14:57:31 2019 UTC (4 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.112: +3 -4 lines
Diff to previous 1.112 (colored) to selected 1.101 (colored)

BIGDNS_PATCH has been reliably reachable; remove from MASTER_SITE_LOCAL.
OUTGOINGIP_PATCH needs to come from a qmail.org mirror, as the original
domain has lapsed; get it from mine.

Revision 1.112 / (download) - annotate - [select for diffs], Sun Jun 30 21:51:49 2019 UTC (4 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored) to selected 1.101 (colored)

qmail.org domain lapsed. netqmail.org has not, as yet.

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

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

Revision 1.110 / (download) - annotate - [select for diffs], Wed Apr 10 22:24:57 2019 UTC (4 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.109: +3 -10 lines
Diff to previous 1.109 (colored) to selected 1.101 (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.109 / (download) - annotate - [select for diffs], Thu Jan 17 22:49:12 2019 UTC (5 years, 2 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.108: +2 -31 lines
Diff to previous 1.108 (colored) to selected 1.101 (colored)

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

Revision 1.108 / (download) - annotate - [select for diffs], Wed Jan 9 19:32:07 2019 UTC (5 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.107: +35 -2 lines
Diff to previous 1.107 (colored) to selected 1.101 (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.107 / (download) - annotate - [select for diffs], Mon Dec 17 19:15:33 2018 UTC (5 years, 3 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored) to selected 1.101 (colored)

Bump destdir patch to build on OpenBSD. No functional change elsewhere.

Revision 1.106 / (download) - annotate - [select for diffs], Sun Dec 16 23:46:44 2018 UTC (5 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.105: +6 -3 lines
Diff to previous 1.105 (colored) to selected 1.101 (colored)

Avoid the -O (to stdout) tar option, as it's not sufficiently portable.
While here, append the specific patch file (not just the distribution)
to the qmail-spp QMAILPATCHES entry.

Revision 1.105 / (download) - annotate - [select for diffs], Thu Dec 13 05:05:05 2018 UTC (5 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.104: +3 -1 lines
Diff to previous 1.104 (colored) to selected 1.101 (colored)

Just set CFLAGS.Darwin in Makefile.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Dec 4 17:01:39 2018 UTC (5 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored) to selected 1.101 (colored)

Take responsibility from qmail-run for creating and removing the basic
config files and aliases. Bump PKGREVISION.

Revision 1.103 / (download) - annotate - [select for diffs], Wed Nov 14 16:43:17 2018 UTC (5 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.102: +9 -3 lines
Diff to previous 1.102 (colored) to selected 1.101 (colored)

Build and install config-fast-pkgsrc, which is like config-fast but
installs the generated files elsewhere, so we can simulate
CONF_FILES-like behavior. qmail-run will switch to config-fast-pkgsrc.
We'll take advantage to deinstall these config files (as well as the
three basic .qmail files in ~alias) provided they haven't been changed.

Both of these commands stop leaving leftovers in ${PKG_SYSCONFDIR}:

# pkg_add qmail && pkg_delete qmail
# pkg_add qmail-run && pkg_delete -r qmail

While here, warn if the queue directory is on a case-insensitive
filesystem. Probably not gonna work perfectly.

Bump PKGREVISION.

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

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

Revision 1.101 / (download) - annotate - [selected], Sat Nov 10 15:29:01 2018 UTC (5 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (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.100 / (download) - annotate - [select for diffs], Thu Nov 8 20:58:08 2018 UTC (5 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored) to selected 1.101 (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.99 / (download) - annotate - [select for diffs], Wed Oct 24 13:32:26 2018 UTC (5 years, 5 months ago) by schmonz
Branch: MAIN
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored) to selected 1.101 (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.98 / (download) - annotate - [select for diffs], Fri Sep 14 09:01:53 2018 UTC (5 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored) to selected 1.101 (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.97 / (download) - annotate - [select for diffs], Wed Aug 1 07:10:27 2018 UTC (5 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored) to selected 1.101 (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.96 / (download) - annotate - [select for diffs], Sun Jul 29 23:26:44 2018 UTC (5 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.95: +2 -4 lines
Diff to previous 1.95 (colored) to selected 1.101 (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.95 / (download) - annotate - [select for diffs], Wed Jul 25 16:42:36 2018 UTC (5 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored) to selected 1.101 (colored)

Add dependency on checkpassword-pam, since checkpassword is not yet licensed.
Ride previous PKGREVISION bump.

Revision 1.94 / (download) - annotate - [select for diffs], Wed Jul 25 16:32:34 2018 UTC (5 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored) to selected 1.101 (colored)

s/ucspi-tcp/ucspi-tcp6/g in dependencies. Bump PKGREVISIONs.

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

Extract qmail-rejectutils to standalone package. Bump PKGREVISION.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Aug 13 23:42:55 2017 UTC (6 years, 7 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.91: +2 -3 lines
Diff to previous 1.91 (colored) to selected 1.101 (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.91 / (download) - annotate - [select for diffs], Thu Aug 3 03:20:57 2017 UTC (6 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.90: +13 -15 lines
Diff to previous 1.90 (colored) to selected 1.101 (colored)

Let binary packages built with MANZ install to completion by informing
install-destdir and instcheck about the .gz extensions. While here,
handle INSTALL and SENDMAIL docs on case-insensitive filesystems in a
more straightforward way. Bump PKGREVISION.

Revision 1.90 / (download) - annotate - [select for diffs], Tue Aug 1 02:53:59 2017 UTC (6 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored) to selected 1.101 (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.89 / (download) - annotate - [select for diffs], Thu Jul 27 04:58:31 2017 UTC (6 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.88: +5 -1 lines
Diff to previous 1.88 (colored) to selected 1.101 (colored)

Set PKG_{USER,GROUP}S_VARS.

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

Use SUBST_VARS where applicable.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Jul 21 04:07:01 2017 UTC (6 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.86: +49 -63 lines
Diff to previous 1.86 (colored) to selected 1.101 (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.86 / (download) - annotate - [select for diffs], Mon May 22 17:18:32 2017 UTC (6 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) to selected 1.101 (colored)

Add optional QMAILREMOTE patch. Bump PKGREVISION.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Apr 27 20:35:10 2017 UTC (6 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.84: +3 -1 lines
Diff to previous 1.84 (colored) to selected 1.101 (colored)

Honor custom values of ${QMAIL_DAEMON_USER} and ${QMAIL_QMAIL_GROUP}.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Mon Apr 17 16:08:22 2017 UTC (6 years, 11 months ago) by bsiegert
Branch: pkgsrc-2017Q1
Changes since 1.80: +52 -15 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.101 (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.84 / (download) - annotate - [select for diffs], Sat Apr 8 18:22:51 2017 UTC (6 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.83: +2 -3 lines
Diff to previous 1.83 (colored) to selected 1.101 (colored)

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.83 / (download) - annotate - [select for diffs], Tue Apr 4 14:58:06 2017 UTC (6 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.82: +3 -2 lines
Diff to previous 1.82 (colored) to selected 1.101 (colored)

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

Revision 1.82 / (download) - annotate - [select for diffs], Tue Apr 4 07:50:18 2017 UTC (6 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.81: +47 -11 lines
Diff to previous 1.81 (colored) to selected 1.101 (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.81 / (download) - annotate - [select for diffs], Fri Mar 31 13:52:00 2017 UTC (6 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.80: +5 -4 lines
Diff to previous 1.80 (colored) to selected 1.101 (colored)

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

Revision 1.80 / (download) - annotate - [select for diffs], Wed Mar 29 13:26:05 2017 UTC (7 years ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base
Branch point for: pkgsrc-2017Q1
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored) to selected 1.101 (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.79 / (download) - annotate - [select for diffs], Thu Mar 23 07:24:48 2017 UTC (7 years ago) by schmonz
Branch: MAIN
Changes since 1.78: +4 -3 lines
Diff to previous 1.78 (colored) to selected 1.101 (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.78 / (download) - annotate - [select for diffs], Mon Mar 20 16:23:19 2017 UTC (7 years ago) by schmonz
Branch: MAIN
Changes since 1.77: +9 -30 lines
Diff to previous 1.77 (colored) to selected 1.101 (colored)

When I added basic DESTDIR support, I introduced a regression: the
source package stopped initializing the queue. (DESTDIR makes source
packages generate binary packages, which had never had that feature. See
<http://mail-index.netbsd.org/pkgsrc-changes/2011/06/07/msg056339.html>
for where the regression was introduced.)

Add a dependency on mail/queue-fix and, if no queue is present at
pkg_add time, initialize it.

Defer creating users and groups all the way to pkg_add time, and improve
DESTDIR support to full "user-destdir". Since mail/postfix lets
unprivileged users install it, we do too. (Can't run a server that way,
but so what.)

A typical (privileged) binary package should now:

1. Install on any other system of matching OS and architecture,
2. Not need matching numeric UIDs and GIDs to do so, and
3. Be usable in production.

You know, like any other binary package.

Bump PKGREVISION.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Mar 10 03:13:29 2017 UTC (7 years ago) by schmonz
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored) to selected 1.101 (colored)

Look up user/group IDs at runtime.

This lets us defer USERGROUP_PHASE to "pre-install", and is a step
closer to having the qmail users and groups be created at pkg_add time
(as with binary packages of typical software needing users and groups).

Based on Paul Fox's getpwnam.patch for qmail 0.96.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Apr 10 16:39:28 2016 UTC (7 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.75: +12 -14 lines
Diff to previous 1.75 (colored) to selected 1.101 (colored)

Adjust checks for _USE_DESTDIR != no or incorrect references to
USE_DESTDIR.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Mar 5 11:28:50 2016 UTC (8 years ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored) to selected 1.101 (colored)

Bump PKGREVISION for security/openssl ABI bump.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Feb 25 15:00:51 2016 UTC (8 years, 1 month ago) by jperkin
Branch: MAIN
Changes since 1.73: +4 -6 lines
Diff to previous 1.73 (colored) to selected 1.101 (colored)

Use OPSYSVARS.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Dec 30 15:13:19 2014 UTC (9 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.72: +10 -12 lines
Diff to previous 1.72 (colored) to selected 1.101 (colored)

Remove pkg_views support, second part: infrastructure.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Nov 23 19:08:22 2014 UTC (9 years, 4 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.71: +7 -7 lines
Diff to previous 1.71 (colored) to selected 1.101 (colored)

Quell pkglint, mostly:

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

Revision 1.71 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:40 2014 UTC (9 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.70: +1 -2 lines
Diff to previous 1.70 (colored) to selected 1.101 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Aug 19 22:06:49 2014 UTC (9 years, 7 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.69: +17 -1 lines
Diff to previous 1.69 (colored) to selected 1.101 (colored)

Allow packaging as non-root, prompted by private mail from J. Lewis
Muir.

For the baker's dozen of binaries unreadable (or worse) to non-root,
chmod them 0755 at post-install for pkg_create(1), and chmod them
back with SPECIAL_PERMS at pkg_add(1) time. Permissions on the
installed binaries compare equal before and after this change, so
no PKGREVISION bump.

Revision 1.69 / (download) - annotate - [select for diffs], Fri May 30 21:35:04 2014 UTC (9 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.68: +11 -5 lines
Diff to previous 1.68 (colored) to selected 1.101 (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.68 / (download) - annotate - [select for diffs], Wed Apr 16 04:57:23 2014 UTC (9 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.67: +8 -2 lines
Diff to previous 1.67 (colored) to selected 1.101 (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.67 / (download) - annotate - [select for diffs], Wed Feb 12 23:18:09 2014 UTC (10 years, 1 month ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored) to selected 1.101 (colored)

Recursive PKGREVISION bump for OpenSSL API version bump.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Feb 6 23:22:48 2013 UTC (11 years, 1 month ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored) to selected 1.101 (colored)

PKGREVISION bumps for the security/openssl 1.0.1d update.

Revision 1.65 / (download) - annotate - [select for diffs], Sun May 20 09:04:26 2012 UTC (11 years, 10 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored) to selected 1.101 (colored)

mail/qmail: Rev bump - last commit might change binary

Revision 1.64 / (download) - annotate - [select for diffs], Mon Mar 12 03:53:55 2012 UTC (12 years ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.63: +3 -9 lines
Diff to previous 1.63 (colored) to selected 1.101 (colored)

At joerg@'s suggestion instead of set MANINSTALL to agree with what gets
installed simple don't install the catpages.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Mar 9 04:04:47 2012 UTC (12 years ago) by sbd
Branch: MAIN
Changes since 1.62: +5 -1 lines
Diff to previous 1.62 (colored) to selected 1.101 (colored)

qmail always installs the manpages and catpages so MANINSTALL
must be set so thay are not removed from the PLIST.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Oct 12 17:20:21 2011 UTC (12 years, 5 months ago) by hans
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.61: +3 -1 lines
Diff to previous 1.61 (colored) to selected 1.101 (colored)

There is no need to do the Darwin-specific post-extract stuff on
anything but Darwin.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Sep 28 06:36:57 2011 UTC (12 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored) to selected 1.101 (colored)

Fix PLIST overlap with dependency

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jun 7 02:53:42 2011 UTC (12 years, 9 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.59: +57 -19 lines
Diff to previous 1.59 (colored) to selected 1.101 (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.59 / (download) - annotate - [select for diffs], Tue May 19 09:07:14 2009 UTC (14 years, 10 months ago) by wiz
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
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored) to selected 1.101 (colored)

Uncomment some more LICENSE lines (all "public-domain").

Revision 1.58 / (download) - annotate - [select for diffs], Thu Mar 20 03:30:32 2008 UTC (16 years ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.57: +3 -7 lines
Diff to previous 1.57 (colored) to selected 1.101 (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.57 / (download) - annotate - [select for diffs], Tue Feb 19 21:12:06 2008 UTC (16 years, 1 month ago) by schmonz
Branch: MAIN
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored) to selected 1.101 (colored)

Add commented-out LICENSE=public-domain. Nudged by gdt@.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Feb 19 13:59:05 2008 UTC (16 years, 1 month ago) by schmonz
Branch: MAIN
Changes since 1.55: +2 -3 lines
Diff to previous 1.55 (colored) to selected 1.101 (colored)

DJB has placed certain of his software in the public domain. Excerpted
from <URL:http://cr.yp.to/distributors.html>:

  What are the distribution terms for daemontools?

  2007.12.28: I hereby place the daemontools package (in particular,
  daemontools-0.76.tar.gz, with MD5 checksum
  1871af2453d6e464034968a0fbcb2bfc) into the public domain. The
  package is no longer copyrighted.

  What are the distribution terms for djbdns?

  2007.12.28: I hereby place the djbdns package (in particular,
  djbdns-1.05.tar.gz, with MD5 checksum 3147c5cd56832aa3b41955c7a51cbeb2)
  into the public domain. The package is no longer copyrighted.

  What are the distribution terms for ucspi-tcp?

  2007.12.28: I hereby place the ucspi-tcp package (in particular,
  ucspi-tcp-0.88.tar.gz, with MD5 checksum
  39b619147db54687c4a583a7a94c9163) into the public domain. The
  package is no longer copyrighted.

  Am I free to modify uncopyrighted packages and distribute modified
  versions?

  Yes. But this does not mean that modifications are _encouraged_!

And from <URL:http://cr.yp.to/qmail/dist.html>:

  I hereby place the qmail package (in particular, qmail-1.03.tar.gz,
  with MD5 checksum 622f65f982e380dbe86e6574f3abcb7c) into the
  public domain. You are free to modify the package, distribute
  modified versions, etc.

  This does not mean that modifications are encouraged!

pkgsrc will strive, as it has, to keep modifications to a tasteful
minimum. This addresses PR pkg/37964 by Aleksej Saushev.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jun 15 18:15:19 2007 UTC (16 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored) to selected 1.101 (colored)

* Change some instances of ROOT_USER and ROOT_GROUP to BINOWN and BINGRP
  in SPECIAL_PERMS usage.

* Consistently use 4555 for setuid and 2555 for setgid programs.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Apr 12 03:42:21 2007 UTC (16 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.101 (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.53 / (download) - annotate - [select for diffs], Fri Mar 9 12:34:21 2007 UTC (17 years ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.52: +4 -6 lines
Diff to previous 1.52 (colored) to selected 1.101 (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.52 / (download) - annotate - [select for diffs], Tue Jan 9 21:35:58 2007 UTC (17 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.51: +3 -1 lines
Diff to previous 1.51 (colored) to selected 1.101 (colored)

qmail is not intended to be installed as an unprivileged user.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Dec 29 10:32:05 2006 UTC (17 years, 3 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.50: +7 -5 lines
Diff to previous 1.50 (colored) to selected 1.101 (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.50 / (download) - annotate - [select for diffs], Mon May 1 02:57:03 2006 UTC (17 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.49: +2 -1 lines
Diff to previous 1.49 (colored) to selected 1.101 (colored)

Conflict with courier-mta.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Apr 30 08:03:42 2006 UTC (17 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (colored) to selected 1.101 (colored)

expr is only needed as a tool if QMAIL_QUEUE_EXTRA is defined. No
functional change.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Apr 29 04:53:17 2006 UTC (17 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.47: +13 -4 lines
Diff to previous 1.47 (colored) to selected 1.101 (colored)

Set USERGROUP_PHASE=configure, causing qmail's users and groups to
be created just before its "configure" phase, obviating the need
for the hackish dependency on a qmail-users package. Since the new
functionality in bsd.pkginstall.mk also records and enforces numeric
UIDs and GIDs in binary packages, remove the note on that matter
from MESSAGE.

Bump PKGREVISION.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Mar 14 01:14:30 2006 UTC (18 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.46: +1 -3 lines
Diff to previous 1.46 (colored) to selected 1.101 (colored)

Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Mar 12 14:15:43 2006 UTC (18 years ago) by rillig
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.101 (colored)

Fixed pkglint warnings.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Feb 20 03:39:25 2006 UTC (18 years, 1 month ago) by schmonz
Branch: MAIN
Changes since 1.44: +6 -9 lines
Diff to previous 1.44 (colored) to selected 1.101 (colored)

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

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jan 19 01:18:30 2006 UTC (18 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.43: +9 -5 lines
Diff to previous 1.43 (colored) to selected 1.101 (colored)

Use SUBST framework instead FILES_SUBST_SED.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jan 13 20:53:56 2006 UTC (18 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.42: +2 -3 lines
Diff to previous 1.42 (colored) to selected 1.101 (colored)

Don't add ${DOCDIR} to MAKE_DIRS, as it's under ${PREFIX} and
INSTALLATION_DIRS takes care of it. Found by Krister's bulk build
with CHECK_FILES.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jan 8 17:48:14 2006 UTC (18 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.41: +3 -2 lines
Diff to previous 1.41 (colored) to selected 1.101 (colored)

Add cdb_seek.c and dns.c to the files with djb-errno hack.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jan 5 02:57:11 2006 UTC (18 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.101 (colored)

These packages generate catted manpages. Add USE_TOOLS+=nroff.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Dec 29 06:21:53 2005 UTC (18 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored) to selected 1.101 (colored)

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.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Dec 5 20:50:35 2005 UTC (18 years, 3 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored) to selected 1.101 (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.38 / (download) - annotate - [select for diffs], Fri Aug 19 04:44:09 2005 UTC (18 years, 7 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.37: +1 -3 lines
Diff to previous 1.37 (colored) to selected 1.101 (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.37 / (download) - annotate - [select for diffs], Fri Jul 15 18:27:51 2005 UTC (18 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.101 (colored)

Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.

Revision 1.36 / (download) - annotate - [select for diffs], Mon May 16 04:38:03 2005 UTC (18 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.101 (colored)

Note that expr is used by this package.

Revision 1.35 / (download) - annotate - [select for diffs], Sat May 7 21:37:42 2005 UTC (18 years, 10 months ago) by schmonz
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored) to selected 1.101 (colored)

Since share/examples/qmail/boot is under ${PREFIX}, create it with
INSTALLATION_DIRS rather than MAKE_DIRS. Calculate QUEUE_EXTRALEN
in a more readable fashion.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Apr 30 15:06:58 2005 UTC (18 years, 11 months ago) by jlam
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.101 (colored)

Use :sh instead of != to assign QUEUE_EXTRALEN to defer evalutation of
command until it is referenced within subst.mk's make targets.  This
avoids needing ${EXPR} and ${WC} in the top-level make.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 11 21:46:23 2005 UTC (18 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.32: +1 -2 lines
Diff to previous 1.32 (colored) to selected 1.101 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 23 00:51:09 2005 UTC (19 years ago) by schmonz
Branch: MAIN
Changes since 1.31: +4 -11 lines
Diff to previous 1.31 (colored) to selected 1.101 (colored)

Take advantage of mk/djbware.mk.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Mar 13 03:25:44 2005 UTC (19 years ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored) to selected 1.101 (colored)

In packages with djb-style compile scripts, properly enquote ${CC}
and ${CFLAGS}. This fixes the build of net/djbdns, as well as any
other of these packages passing down PKG_SYSCONFDIR via CFLAGS, as
well as being more generally correct for arbitrary user-defined
CFLAGS. Suggested by jlam.

For consistency across djbware in pkgsrc:

* In math/djbfft's and sysutils/daemontools's do-configure targets,
  remove leading @ from ${ECHO} lines; from the former, also remove
  unneeded single quotes from one such line.

* Rename net/publicfile's pre-build and sysutils/service-config's
  post-patch targets to do-configure.

* In sysutils/checkpassword's do-configure target, reorder creation
  of conf-cc, conf-ld, and conf-home.

All of the affected packages have been verified to compile.

XXX These packages probably have enough build goo in common to
XXX warrant an mk/djbware.mk. I'll investigate this post-freeze.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Tue Dec 28 23:32:35 2004 UTC (19 years, 3 months ago) by salo
Branch: pkgsrc-2004Q4
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.101 (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.30 / (download) - annotate - [select for diffs], Tue Dec 21 05:32:56 2004 UTC (19 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored) to selected 1.101 (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.29 / (download) - annotate - [select for diffs], Fri Dec 3 15:15:02 2004 UTC (19 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base
Branch point for: pkgsrc-2004Q4
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.101 (colored)

Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Aug 25 04:24:04 2004 UTC (19 years, 7 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.101 (colored)

Missed a spot in the netqmail removal: options.mk is in the current
directory, and nothing else is using this Makefile anymore.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Aug 22 12:44:32 2004 UTC (19 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.26: +4 -3 lines
Diff to previous 1.26 (colored) to selected 1.101 (colored)

Put ${WRKSRC} in a more natural location.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 22 00:10:51 2004 UTC (19 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.25: +129 -21 lines
Diff to previous 1.25 (colored) to selected 1.101 (colored)

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.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Aug 2 03:57:17 2004 UTC (19 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.24: +5 -7 lines
Diff to previous 1.24 (colored) to selected 1.101 (colored)

Remove add-on scripts and config files from the qmail and netqmail
packages. They now simply compile and install qmail and its
prerequisites. (The add-on scripts and config files will be revivified
as a separate qmail-run package. Thus, QMAIL_AUTOCONFIG is no longer
needed.)

The user is notified at install time that one popular, well-regarded
way to enable qmail is to follow the directions in "Life with
qmail", and that another way is to install the qmail-run package.

These changes, based on discussion with Charles Cazabon, are intended
to make life easier for the helpful people on the qmail mailing
list by clearly marking custom add-ons as such.

Other changes:

Since netqmail is a tarball containing the qmail tarball plus the
netqmail bits, we can use it for both packages and share more logic
between the two packages: MASTER_SITES, DISTINFO_FILE, WRKSRC, and
the post-extract target.

Now that there's one place to put the distinfo, add Eben Pratt's
simple patch to build and install on Mac OS X 10.3 (the patch is
not applied on other OSes).

Bump PKGREVISION of both packages.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 21 22:35:59 2004 UTC (19 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.23: +10 -47 lines
Diff to previous 1.23 (colored) to selected 1.101 (colored)

Short story:

1) Mostly conform to hier(7) and honor PKG_SYSCONFDIR.
2) Follow more closely Dave Sill's "Life with qmail" (LWQ).
3) Add a bunch of features to the rc.d scripts.
4) Remove some (but not all) obstacles to binary packaging.
5) Introduce QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA.
6) Enable pkgviews installation.
7) Bump PKGREVISION.


Long story:

1) Mostly conform to hier(7) and honor PKG_SYSCONFDIR.

     Based on a January 1997 post by mrg to the qmail list: prior
     to installation, we create symlinks in ${QMAILDIR} that point
     into ${LOCALBASE} or ${PKG_SYSCONFDIR}, causing installation
     to place files in those locations while allowing the canonical
     /var/qmail paths to continue to work. The notable deviation
     from hier(7) is that even though some binaries ought to go in
     sbin, they've all been lumped into bin for simplicity.

     Pleasant effects:
     * We no longer need to set LOCALBASE (a big no-no), and as a
       result also no longer need to set NO_MTREE, RCD_SCRIPTS_EXAMPLEDIR,
       or EVAL_PREFIX. This will also allow a few qmail-related
       packages to do likewise.
     * The commands and manual pages are in easily accessible paths
       by default.
     * Package installation and deinstallation work much better.

     Side effects:
     * There were a few minor conflicts with mail/courier-maildirmake,
       mail/mutt, and mail/pulsar. The latest versions of each are
       fine, so we add CONFLICTS only for older versions. (Thanks
       to those packages' maintainers!) There's also a conflict
       with security/mirrordir, which has a "bin/forward" command
       and corresponding section 1 man page.

     * Some directories under ${PREFIX} get chown'd to group qmail.
       Rather than modify the qmail installer, the affected
       directories are simply chown'd back afterward during
       post-install if PKG_INSTALLATION_TYPE is "overwrite". (If
       it's "pkgviews", then only the package's depot directory is
       affected, so we leave it alone.)

2) Follow more closely Dave Sill's "Life with qmail" (LWQ).

     Similarities:
     * Installs into /var/qmail from source.
     * Installs ucspi-tcp and daemontools.
     * Uses tcpserver(1).
     * Uses tcp.smtp.cdb for relay access control.
     * Uses control/defaultdelivery.
     * Uses control/concurrencyincoming.
     * Requires that control/rcpthosts exist to prevent open relays.
     * Uses similar chains of commands in run scripts.
     * Provides a script much like qmailctl.

     Differences:
     * This package does the following work for you automatically:
       * Creates user accounts.
       * Fetches, extracts, patches, configures, and compiles the source.
       * Installs binaries.
       * Runs ./config-fast.
       * Creates tcp.smtp{,cdb} and tcp.pop3d{,cdb}.
       * Creates control/concurrencyincoming.
       * Creates control/defaultdelivery (defaulting to "./Mailbox").
       * Creates the three required system aliases.
     * LWQ suggests doing some things this package doesn't do:
       * Applying patches.
       * Copying a script from /var/qmail/boot to /var/qmail/rc.
       * Configuring svscan(8) to run at boot.
       * Creating and populating /service.
       * Using supervise(8) and multilog(8).
       * Using the qmailctl script to control qmail.
       * Using the inst_check script to verify the installation.
       * Storing tcp.smtp{,cdb} in /etc.
       * Renaming the system sendmail(8) and marking it non-executable.
     * Instead, this package:
       * Builds from unmodified source. (See also mail/netqmail.)
       * Uses NetBSD-style rc.d scripts (including one similar to qmailctl).
       * Sends log messages to syslog(3).
       * Stores tcp.smtp{,cdb} and tcp.pop3{,cdb} in ${PKG_SYSCONFDIR}.
       * Provides an example mailer.conf(5).

3) Add a bunch of features to the rc.d scripts.

     Rename the qmail script and rcvar to qmailsend. Add "doqueue"
     (synonyms: alrm, flush) and "queue" commands, add "hup" as a
     synonym for "reload", and determine default delivery instruction
     from control/defaultdelivery (LWQ). Add control/defaultdelivery
     to required_files. Rename qmailsend_flags to
     qmailsend_defaultdelivery, which overrides control/defaultdelivery
     if set.

     In the qmailpop3d and qmailsmtpd scripts, enforce resource
     limits with softlimit(8) (LWQ). Add dependency on sysutils/daemontools
     for this. Rename qmailfoo_flags to qmailfoo_tcpflags. Add
     qmailfoo_tcphost (default: 0, meaning "any address") and
     qmailfoo_tcpport (default: 110 and 25, respectively). Add
     qmailfoo_softlimit (default: 2000000). Add qmailfoo_pretcpserver
     and qmailfoo_prefoo (default: empty), useful for inserting
     commands such as rblsmtpd(1) or relay-ctrl into the chain.
     Log to splogger's default syslog facility ("mail"), and use
     the name of the script as the tag.

     In the qmailpop3d, qmailsend, and qmailsmtpd scripts, add
     qmailfoo_postenv (defaults: empty, PATH=${PREFIX}/bin:$PATH,
     and QMAILQUEUE=${PREFIX}/bin/qmail-queue, respectively), useful
     primarily for setting environment variables for each service.
     Add "pause" and "cont" commands (LWQ). They send -STOP and
     -CONT signals, respectively. Add "stat" as a synonym for
     "status" (LWQ).

     In the qmailpop3d script, add -x to qmailpop3d_tcpflags and
     add "cdb" command. Add qmailpop3d_checkpassword (useful for
     authenticating against alternate user databases) and
     qmailpop3d_maildirname (useful if your maildirs are named
     something other than "Maildir"). Add tcp.pop3.cdb to
     required_files.

     In the qmailsmtpd script, add -x and remove -H from
     qmailsmtpd_tcpflags, limit the number of incoming connections
     to control/concurrencyincoming, and add "cdb" command (LWQ).
     Add control/concurrencyincoming and tcp.smtp.cdb to required_files.

     Add qmailqread script and ${PREFIX}/bin/qmail-qread-client,
     based on Steinar Haug's example on www.qmail.org. If enabled,
     this allows local non-root users to see the queue.

     Add qmail script (structure copied from net/samba/files/samba.sh).
     Its interface is very similar to LWQ's qmailctl: it provides
     the commands "start stop restart rcvar pause cont stat status
     cdb doqueue reload queue alrm flush hup help". These commands
     can be run either directly from the appropriate service-specific
     script(s), or from this qmail script (which will call the
     right script(s) for you).

4) Remove some (but not all) obstacles to binary packaging.

     Each of these is better explained elsewhere. Summary:
     * Installs into the normal ${LOCALBASE}.
     * /var/qmail paths still work.
     * No patches are applied. (See also mail/netqmail.)

5) Introduce QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA.

     QMAIL_AUTOCONFIG (default: YES): whether to automatically
     create basic config files.

     QMAIL_QUEUE_DIR (default: ${VARBASE}/spool/qmail): the path
     to the queue.

     QMAIL_QUEUE_EXTRA (default: empty): an additional recipient
     that will be added to every delivery. This is used primarily
     for logging. If this is set to a non-empty value, the necessary
     dot-qmail(5) file is created automatically at install time.

6) Enable pkgviews installation.

7) Bump PKGREVISION.

     Other user-visible changes:

     This package no longer applies patches to qmail. mail/netqmail,
     to be imported shortly, does.

     Restrictions on the redistribution of modified qmail apply
     not only to binaries but also to source. Clarify this in
     RESTRICTED.

     Add "newaliases", "hoststat", and "purgestat" entries to the
     sample mailer.conf. Install it to ${PREFIX}/share/examples/${PKGBASE},
     as other pkgsrc mailers do. ("newaliases" is actually provided
     by the fastforward package, and isn't needed unless you're
     using it.)

     Explain how to enable qmail in MESSAGE (cribbed from the
     postfix package).

Thanks to zuntum, snj, salo, and jlam for ideas, discussion, and review.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 24 05:29:36 2004 UTC (19 years, 11 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.22: +8 -5 lines
Diff to previous 1.22 (colored) to selected 1.101 (colored)

Add revision 1.01 of Ward Vandewege's badrcptto patch. With this
patch, qmail-smtpd will reject mail during the SMTP conversation
if a recipient is listed in control/badrcptto. This complements
control/badmailfrom as found in stock qmail. Requested by Nathan
Arthur.

Add an rc.d script for qmail-pop3d. It needs sysutils/checkpassword,
which is so tiny I've added the dependency even as I don't use
qmail-pop3d myself.

In the rc.d script for qmail-smtpd, require control/rcpthosts to
be present. This prevents accidental open relays.

Now that it's used for the path to checkpassword too, rename
LOCALBASE_UCSPI_TCP to LOCALBASE_NORMAL.

Convert to buildlink3.

Bump PKGREVISION.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 10 14:15:24 2004 UTC (19 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.101 (colored)

Take MAINTAINER at zuntum's suggestion.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Apr 10 05:30:06 2004 UTC (19 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.20: +9 -7 lines
Diff to previous 1.20 (colored) to selected 1.101 (colored)

Russ Nelson, Charles Cazabon, Dave Sill, Peter Samuel, and Henning
Brauer have prepared a distribution of qmail, called "netqmail":

    "We have done this because in our opinion, too many new users
    are confused by the out-of-date INSTALL file, and too much time
    is spent arguing on the mailing list over bugs.  We have tried
    to stick to the barest minimum number of changes.  We have
    fixed only those things which are out-and-out wrong, or which
    have been approved by djb (specifically QMAILQUEUE)."

This package already includes the QMAILQUEUE patch. Add netqmail
1.05's other patches, with the exception that patches to documentation
files which are not installed have been lovingly omitted.

This package also already includes a patch to handle oversized DNS
packets. It's still here, too.

pkgsrc changes:
* Add qmail-smtpd rc.d script (and ensuing dependency on net/ucspi-tcp).
* Update qmail rc.d script: respect $qmail_flags, treating it as the
    default delivery instruction.
* Remove non-working MASTER_SITES.

From the netqmail changelog:

20040121 code: qmail-smtpd is protected from exceedingly long (eg 2GB)
         header lines
20040121 code: qmail_lspawn, qmail-newmrh, qmail-newu, and qmail-rspawn
         are protected from misbehaving on hosts where the size of an
         integer is not the same as the size of a character pointer
         (eg 64 bit hosts with 32 bit ints)
20031027 doc: qmail.7 identifies installation as netqmail and points to
         http://qmail.org/
20031027 doc: qmail-queue.8 adds explanation of $QMAILQUEUE
20031027 doc: qmail-log.5 adds reference to errors from $QMAILQUEUE script
20031027 code: qmail-smtpd identifies itself as netqmail
20031027 code: if $QMAILQUEUE is set, it's invoked instead of qmail-queue
20031024 code: changed errno from int to #include.
20031024 code: fixed .qmail parsing bug.
20031024 code: recognize 0.0.0.0 as a local address.
20031024 code: sendmail's -f flag now overrides environment variables.

And for all this, bump PKGREVISION.

Pre-flight checks by snj@.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 29 05:10:04 2004 UTC (20 years ago) by snj
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.101 (colored)

Supply a default mailq entry in mailer.conf.

Fixes PR pkg/21591.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Aug 30 22:51:22 2003 UTC (20 years, 7 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored) to selected 1.101 (colored)

Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jul 17 21:46:54 2003 UTC (20 years, 8 months ago) by grant
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.101 (colored)

s/netbsd.org/NetBSD.org/

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 28 22:03:38 2003 UTC (21 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.101 (colored)

Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Sep 19 09:04:12 2002 UTC (21 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.15: +1 -6 lines
Diff to previous 1.15 (colored) to selected 1.101 (colored)

Take advantage of the auto-generation and installation of rc.d scripts.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Sep 18 21:15:12 2002 UTC (21 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.14: +1 -3 lines
Diff to previous 1.14 (colored) to selected 1.101 (colored)

When using bsd.pkg.install.mk, if a DEINSTALL or INSTALL file already
exists, then use it as the default value of DEINSTALL_EXTRA_TMPL or
INSTALL_EXTRA_TMPL.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jul 28 01:54:37 2002 UTC (21 years, 8 months ago) by schmonz
Branch: MAIN
CVS Tags: netbsd-1-6-RELEASE-base, netbsd-1-6
Changes since 1.13: +27 -7 lines
Diff to previous 1.13 (colored) to selected 1.101 (colored)

Add rc.d script to control qmail, provided by Lubomir Sedlacik
<salo@Xtrmntr.org> in pkg/15326.

Add example mailer.conf.

Bump PKGREVISION.

Clarify binary package situation: We don't allow binary packages
to be created because they don't currently work. Additionally, if
someone were to make them work, we'd be unable to distribute them
because we apply a few patches to the qmail source.

Thanks to zuntum and jlam for discussion and assistance.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 22 23:30:29 2002 UTC (21 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.101 (colored)

MKDIR -> INSTALL_DATA_DIR
From the [pkgviews] branch.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Mon Jul 22 17:26:37 2002 UTC (21 years, 8 months ago) by agc
Branch: pkgviews
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.101 (colored)

MKDIR -> INSTALL_DATA_DIR

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 3 10:39:00 2002 UTC (21 years, 11 months ago) by zuntum
Branch: MAIN
CVS Tags: pkgviews-base, buildlink2-base, buildlink2
Branch point for: pkgviews
Changes since 1.11: +1 -13 lines
Diff to previous 1.11 (colored) to selected 1.101 (colored)

Store patches locally instead of fetching them from PATCH_SITES - fixes
problem with qmailqueue patch unexpectedly differing over time

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 5 15:22:31 2002 UTC (21 years, 11 months ago) by yyamano
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) to selected 1.101 (colored)

Create conf-ld to make it build on Darwin.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jan 28 20:39:35 2002 UTC (22 years, 2 months ago) by zuntum
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.101 (colored)

Switch second patch site from qmail.obeer.com to www.qmail.org as the latter
works better

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 28 19:39:00 2002 UTC (22 years, 2 months ago) by zuntum
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.101 (colored)

Use += instead of = in second PATCH_SITE

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 28 18:28:09 2002 UTC (22 years, 2 months ago) by zuntum
Branch: MAIN
Changes since 1.7: +8 -3 lines
Diff to previous 1.7 (colored) to selected 1.101 (colored)

Apply QMAILQUEUE patch:

Bruce Guenter has written a patch which causes any program that would
run qmail-queue to look for an environment variable QMAILQUEUE.
If it is present, it is used in place of the string "bin/qmail-queue"
when running qmail-queue. This could be used, for example, to add a program
into the qmail-smtpd->qmail-queue pipeline that could do filtering,
rewrite broken headers, etc.

This does not break anything, and is required by some programs, for instance
qmail-scanner.

Bump PKGREVISION - we are at qmail-1.03nb2 now.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 28 17:57:08 2002 UTC (22 years, 2 months ago) by zuntum
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored) to selected 1.101 (colored)

Remove IS_INTERACTIVE setting as this package should now build just fine in BATCH
builds!

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 21 18:45:03 2002 UTC (22 years, 2 months ago) by zuntum
Branch: MAIN
Changes since 1.5: +7 -8 lines
Diff to previous 1.5 (colored) to selected 1.101 (colored)

Major rewrite of qmail package.

By default (the one set in bsd.pkg.defaults.mk) qmail installs into /var/qmail.
This can be changed by setting QMAILDIR in /etc/mk.conf to another directory,
for example /usr/qmail.

If you want to user non-standard path of installation, make sure to set it in
/etc/mk.conf *before* attempting to install any of qmail packages,
and do not change it in the mean time (if you install qmail with QMAILDIR set to
/var/qmail, change it to another dir and try to install qmail-conf, you will lose).

Slave packages will soon be updated to use this feature.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 21 16:00:52 2002 UTC (22 years, 2 months ago) by zuntum
Branch: MAIN
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored) to selected 1.101 (colored)

Handle ${QMAILDIR} properly in MESSAGE file; first part of pkg/15308
by Lubomir Sedlacik <salo@Xtrmntr.org>

Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 26 22:22:19 2001 UTC (22 years, 4 months ago) by zuntum
Branch: MAIN
Changes since 1.3: +5 -32 lines
Diff to previous 1.3 (colored) to selected 1.101 (colored)

o switched to bsd.pkg.install.mk logic -- now it depends on qmail-users package

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 27 23:18:22 2001 UTC (22 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.101 (colored)

Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 13 14:17:11 2001 UTC (22 years, 7 months ago) by zuntum
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.101 (colored)

Create symlink from /var/qmail to ${PREFIX}/qmail, so we can list files in PLIST.
Yes, it isn't very clear idea, but better than empty PLIST and a bunch
of @unexec rm -rf's in it.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Aug 13 09:10:10 2001 UTC (22 years, 7 months ago) by zuntum
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.101 (colored)

Initial import of qmail-1.03 -- SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems

qmail checks for qmail users' existance at compile time, so this package
must be built as root (it tries to add necessary users and groups),
thus NO_PACKAGE and IS_INTERACTIVE are set. PLIST file is left
empty intentionally, because qmail installs itself to /var/qmail,
outside ${PREFIX}.

The qmail program is a secure, reliable, efficient simple message
transfer agent.  It is meant to be a replacement for the entire
sendmail-binmail system that most UNIX hosts use.

Although qmail holds security and reliability as its top two
priorities, it is also fast.  On a Pentium under BSD/OS, qmail can
easily handle 200000 separate messages per day that are injected
and must then be delivered to local mailboxes!

Security and reliability are qmail's two strengths, however.  The
qmail package ensures a message, once accepted, will never be lost.
An optional new mailbox format, maildir, even lets users safely
read their mail over NFS, while still accepting new mail deliveries.

The following features are supported: host and user masquerading,
full host hiding, virtual domains, null clients, list-owner rewriting,
relay control, double-bounce recording, arbitrary RFC 822 address
lists, cross-host mailing-list loop detection, per-recipient
checkpointing, downed host backoffs, independent message retry
schedules, a drop-in sendmail replacement, and more!

The package is still being worked on.


Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 13 09:10:10 2001 UTC (22 years, 7 months ago) by zuntum
Branch: MAIN
Diff to selected 1.101 (colored)

Initial revision

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>