Commit graph

25 commits

Author SHA1 Message Date
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
schmonz
b6332852d3 Really conflict with qmail-qfilter-1.5nb1. 2004-08-23 04:10:26 +00:00
schmonz
474b85f97f Conflict with qmail-qfilter=1.5nb1 for its qmail-qfilter-queue script. 2004-08-23 03:52:52 +00:00
schmonz
4e81dcb39c Replace dependency on "qmail or netqmail" with dependency on qmail.
Remove dependency on mailwrapper. If you're on a Linux with
/etc/alternatives, for instance, you don't need it. For platforms
where mailwrapper builds and provides functionality not otherwise
available, it's still a good idea.

Remove dependency on rc.subr. Teach the rc.d scripts to start
services even in the absence of rc.subr. For full rc.d-style
functionality, rc.subr is still required.

Create control/concurrencypop3 at install time, and use it in the
qmailpop3d rc.d script. From Dave Sill's book.

Add comments to the qmail rc.d script to satisfy Linux's chkconfig
utility. From the qmailctl script in "Life with qmail".

Add qmail-procmail wrapper script to map procmail's exit codes to
qmail's. To use procmail, install it and call this script. From
Dave Sill's book.

Add qmail-qfilter-queue wrapper script. Previously part of the
qmail-qfilter package, it's moving here for the same reasons that
all my other custom scripts moved here.

Insert a blank comment line in pkgsrc-generated config files.

Bump version.
2004-08-23 03:47:48 +00:00
schmonz
5ea0e36da4 Note ${PKGNAME} in installed scripts for support purposes. Add a
missing RCS Id. Add qmailsmtpd_postsmtpd, useful for SMTP AUTH.
Bump version.
2004-08-03 08:59:24 +00:00
schmonz
094154737f Clarify the "README.pkgsrc" document a bit, and refer to it in MESSAGE. 2004-08-02 17:28:30 +00:00
schmonz
fab61096d2 This package creates all the needed basic config files to run qmail,
and provides NetBSD-style rc.d scripts and an example mailer.conf.

The rc.d scripts used to belong directly to the qmail package. Changes
made during the move here:

* Rename qmailfoo_softlimit to the more accurate qmailfoo_datalimit.
* Parameterize logging as qmailfoo_logcmd (default: splogger).
* Run all sploggers (not just qmail-send's) as user qmaill, rather than root.
* Replace "@CAT@" with "@HEAD@ -1" for files expected to contain one line.
2004-08-02 03:59:21 +00:00