Commit graph

56 commits

Author SHA1 Message Date
schmonz
a329152215 Detect the checkpassword program of the installed qmail, so we can refer
to it from config files and rc.d scripts. Bump version.
2018-07-29 23:29:17 +00:00
jperkin
5393242c73 *: 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.
2018-07-04 13:40:07 +00:00
schmonz
34e6ffaa8b Un-mention qmail-qfilter wrapper, no longer here. 2018-05-28 13:06:35 +00:00
schmonz
a47c6dc4d0 procname isn't defined in time for logcmd. Bump PKGREVISION. 2017-08-05 15:21:03 +00:00
schmonz
fe83fea0d3 Fix "reload" and "hup" (broken in 20170729).
For all services where we set procname, prefix "nb". This makes it even
harder for observers to fail to notice that this isn't a Life with qmail
install, and happens to match the log tags already being applied.

Bump version.
2017-08-05 03:03:17 +00:00
schmonz
21d79b4676 If there's more than one qmail-send running (e.g., /var/qmail2 running
from /service), the rc.d script can't tell which is ours. Make and use
a pidfile.

(The other rc.d scripts set argv[0] to names that are unlikely to
collide, but there's no easy way to do that for the qmail-send process
exec'd by qmail-start.)

Bump PKGREVISION.
2017-08-04 06:35:28 +00:00
schmonz
6886667ea8 pkgsrc changes:
- Collapse redundant code for invoking service-specific rc.d scripts.
- Don't try to run a service's rc.d script if it isn't enabled in rc.conf.
- Run "pause" in reverse sequence, like "stop" does.
- Support "stat", "pause", and "cont" in qmailqread.

Bump version.
2017-07-30 03:05:58 +00:00
schmonz
ee0e6444dd Update to 20170720. pkgsrc changes:
- Remove qmail-qfilter-*-queue shell scripts, which would conflict with
  the C programs of the same name included in mail/qmail 1.03nb29 with
  the "qmail-rejectutils" option (enabled by default).

- Bump mail/qmail dependency to 1.03nb29.

- Shorten and improve MESSAGE.
2017-07-21 04:08:15 +00:00
schmonz
b9476e6d20 Remove qmail-qfilter-queue, deprecated in 2017Q2. Use qmail-qfilter-smtpd-queue
or qmail-qfilter-ofmipd-queue instead. Bump version.
2017-07-06 15:46:31 +00:00
schmonz
d48ac0ca10 Catch up to djbdns-run:
- Add "reload" as a synonym for "cdb" in qmail{ofmip,pop3,smtp}d.sh
- Shorten tcprules invocations

Bump version.
2017-06-23 15:49:03 +00:00
schmonz
f717f03986 Increase default {ofmip,pop3,smtp}d softlimits by about 20 percent,
to 180000000 bytes. From Nathan Arthur in private mail.

Allow path to tcpserver to be overridden in rc.conf (e.g., by
sslserver from net/ucspi-ssl). From Thomas Lazar in private mail.

Detach processes and their loggers from the controlling terminal
with pgrphack(8).

Include qmailqread in the services driven by the LWQ-style qmail
rc.d script.

Unconditionally depend on mail/mess822, now that it's correctly
marked public-domain. Remove qmail-run-ofmipd option.

Bump version.
2017-06-17 05:58:39 +00:00
schmonz
44e68bd1ad Add dependency on qmail-qfilter. Deprecate qmail-qfilter-queue in favor
of qmail-qfilter-{ofmipd,smtpd}-queue, and document how to enable
filtering for incoming and submitted messages. Bump version.
2017-05-31 07:08:04 +00:00
schmonz
94dcda9c8f If qmailqread runs on a custom host and port, have qmail-qread-client
find it there. Bump version.
2017-04-11 14:04:37 +00:00
schmonz
c6261ecde4 Wrap (or shorten) long lines. Parameterize some qmailqread config to
match other scripts. Bump version.
2017-04-10 15:04:56 +00:00
schmonz
12a07eec08 Add "qmail-run-ofmipd" option that controls the dependency on
mess822. Turn it off by default. This should let us once again
publish binary packages.

To use another ofmipd, set qmailofmipd_ofmipdcmd in rc.conf. Likewise
for qmail-smtpd and qmail-pop3d.

Bump version.
2017-04-09 12:58:46 +00:00
schmonz
26057ad3ff Substitute configured qmail users in rc.d scripts. Un-hardcode some
paths in qmailofmipd.sh, somehow missed in 20170109. Bump version.
2017-04-04 07:51:03 +00:00
schmonz
dfcfa275ea Document more stuff this package includes nowadays. 2017-04-02 22:27:52 +00:00
schmonz
91d2777a2f Conditionalize spamdyke and stunnel dependencies on "sasl" and "tls"
options, respectively. Bump version.
2017-01-14 23:00:31 +00:00
schmonz
65bd9de274 Include new dependency on spamdyke, missed in previous. 2017-01-09 05:03:51 +00:00
schmonz
82f1368308 Update to 20170109. pkgsrc changes:
- Add qmailofmipd service for outgoing submissions.
- Add dependencies on mess822, spamdyke, and stunnel.
- Add sample spamdyke and stunnel configs for SMTP AUTH over TLS.
- Control ofmipd from the main qmail script.
- Fix broken link to "12 Steps to qmail List Bliss".
2017-01-09 04:58:09 +00:00
jperkin
96dbe33c37 Remove mk/find-prefix.mk usage from the mail category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 12:51:30 +00:00
schmonz
39ded60280 Placate pkglint by abolishing LOCALBASE (no functional change
intended) and adding LICENSE and NO_CHECKSUM. Bump version.
2014-12-06 22:14:27 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
schmonz
e3c1950ff7 Bump default limits for qmail-{pop3d,smtpd} to 140MB, since a process
on NetBSD/amd64 needs 128MB for a stack these days (thanks riastradh@).
Bump version.
2014-09-12 17:07:09 +00:00
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
asau
d70c8e374b Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 12:19:01 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
jlam
a80fd13efc Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 17:57:17 +00:00
schmonz
881ededfa2 Quell pkglint: add QMAIL_QUEUE_EXTRA to BUILD_DEFS. 2007-03-24 07:08:35 +00:00
schmonz
ffbd52e2d7 Cosmetic only:
* SUBST_FILES is already relative to ${WRKSRC}.
* s/@PREFIX@/@LOCALBASE@/ when running programs from other packages.
2007-02-08 09:04:48 +00:00
jlam
06be53fba4 Completely nuke the concept of PKG_PHASE from pkgsrc except for the
purposes of caching MAKEVARS within bsd.pkg.mk and bsd.makevars.mk.
2006-07-10 22:59:26 +00:00
schmonz
c80d0531df Re-add "send-mail" entry, which is used by mail(1). 2006-06-04 15:23:25 +00:00
schmonz
b070ba1252 Remove "send-mail" entry, which (according to perry) is sendmail-specific,
from mailer.conf. Bump version.
2006-06-03 10:51:11 +00:00
jlam
daad0f3d6c 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.
2006-03-14 01:14:26 +00:00
joerg
167f13de0c Use SUBST framework. 2006-01-20 23:47:42 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
b71a1d488b 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
2005-12-05 20:49:47 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
schmonz
86321bf190 Uncontinuate lines that have become short. 2005-07-19 21:18:31 +00:00
schmonz
5a8b3a7f1c Use pkg_info's -B switch, now that we're sure to have it available,
obviating the need for a sed expression.
2005-07-19 21:15:10 +00:00
schmonz
d4e2aa69be s/echo/@ECHO@/g 2005-07-19 21:06:39 +00:00
wiz
4e3b759ce4 Sort. 2005-05-03 15:33:17 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

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

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

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
schmonz
5923432800 Update to 20050415. Changes:
* Add "foo_log" booleans to enable or disable logging (enabled by default).
* Always run loggers as the "qmaill" user. This makes it simpler
    to define alternate loggers.
2005-04-15 05:17:01 +00:00
schmonz
7e4a0332c0 Update to 20050330: default to logging with logger(1) rather than
qmail's splogger(8), as the TAI timestamps included by splogger
are mostly unnecessary with syslog's existing timestamping. If you
need TAI timestamps, or otherwise need to customize logging, you
can always change qmailfoo_logcmd in rc.conf.

This had mildly annoyed me, but I wouldn't have bothered if not
for zuntum's comment about it. Good call.
2005-03-30 20:06:20 +00:00
schmonz
f526a89c55 Move "User-settable rc.conf variables and their default values"
section above the inclusion of rc.subr, and express the default
assignments more succinctly (from Todd Vierling). Bump version.
2004-12-29 16:18:41 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
schmonz
c7158a492b Update my email address. 2004-12-21 05:37:11 +00:00
schmonz
0c087ab9d6 s/${PREFIX}/@PREFIX@/ 2004-08-23 04:18:04 +00:00