Commit graph

119 commits

Author SHA1 Message Date
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
schmonz
4884aed0f3 Quell pkglint, mostly:
- Pluralize QMAIL_ROOT_ONLY_{READABLE,EVERYTHING}S
- Declare the viruscan targets .PHONY
2014-11-23 19:08:22 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
schmonz
9629b0f78f 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.
2014-08-19 22:06:49 +00:00
schmonz
4d4045cf16 The qmail-bigdns patch currently redirects to https. Put a copy on
MASTER_SITE_LOCAL.
2014-07-04 03:34:43 +00:00
schmonz
1f1a81b5d6 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.
2014-05-30 21:35:04 +00:00
schmonz
af51669ae9 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.
2014-04-16 04:57:23 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
schmonz
288964eb45 Rename and comment pkgsrc patches. No functional change. 2013-08-15 15:43:48 +00:00
schmonz
c47ff4c4f2 qmail-smtpd-viruscan-logging.patch disappeared (reported by Nathan
Arthur). Put a copy up on ${MASTER_SITE_LOCAL}.
2013-03-24 20:10:31 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
marino
ecb1a633e2 mail/qmail: Rev bump - last commit might change binary 2012-05-20 09:04:26 +00:00
marino
9d024ea0ea PR#46333 mail/qmail: Fix qmail-*spawn segfaults on DragonFly
Fix implemented per PR.
2012-05-20 08:48:56 +00:00
sbd
470c1181eb At joerg@'s suggestion instead of set MANINSTALL to agree with what gets
installed simple don't install the catpages.
2012-03-12 03:53:55 +00:00
sbd
41d78f206e qmail always installs the manpages and catpages so MANINSTALL
must be set so thay are not removed from the PLIST.
2012-03-09 04:04:47 +00:00
hans
d0953670bd There is no need to do the Darwin-specific post-extract stuff on
anything but Darwin.
2011-10-12 17:20:21 +00:00
joerg
9340115756 Fix PLIST overlap with dependency 2011-09-28 06:36:57 +00:00
schmonz
fadd3f4ce3 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).
2011-06-07 02:53:42 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
wiz
c8c77a65f1 Uncomment some more LICENSE lines (all "public-domain"). 2009-05-19 09:07:13 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
schmonz
99c1212a7d 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"
2008-03-20 03:30:32 +00:00
schmonz
1e750b6014 Add commented-out LICENSE=public-domain. Nudged by gdt@. 2008-02-19 21:12:06 +00:00
schmonz
d49c575364 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.
2008-02-19 13:59:04 +00:00
jlam
12351d2476 * 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.
2007-06-15 18:15:06 +00:00
schmonz
63d8283ff0 Move recipient-checking options into a PKG_OPTIONS_GROUP, as no two
of them apply together cleanly (and thus no PKGREVISION bump). Idea
from wiz.
2007-05-27 18:42:54 +00:00
schmonz
7c32a810e3 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.
2007-04-12 03:42:21 +00:00
schmonz
c258cda48b 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".
2007-03-09 12:34:21 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
schmonz
ad8b286470 Make the viruscan logging patch's output more consistent with the
rest of the SMTP logs by stripping off its unnecessary leading
'qmail-smtpd: '. Cosmetic only, no PKGREVISION bump.
2007-02-03 03:02:36 +00:00
schmonz
f35fbb3d17 The badrcptto patch needs -p1 (not -p2) on Darwin, though it applied
on NetBSD before (and still does).
2007-01-15 03:40:15 +00:00
rillig
d6b74863d7 qmail is not intended to be installed as an unprivileged user. 2007-01-09 21:35:58 +00:00
schmonz
502faaf2a0 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@).
2006-12-29 10:32:05 +00:00
schmonz
9d880bfb2d The descriptive text at the beginning of panther.patch has been changed;
update checksums.
2006-05-11 20:10:10 +00:00
jlam
6d3e25ffb4 Conflict with courier-mta. 2006-05-01 02:57:03 +00:00
schmonz
9d5c1f1fe2 expr is only needed as a tool if QMAIL_QUEUE_EXTRA is defined. No
functional change.
2006-04-30 08:03:42 +00:00
schmonz
b24923176c 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.
2006-04-29 04:53:17 +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
rillig
55b4fef041 Fixed pkglint warnings. 2006-03-12 14:15:43 +00:00
schmonz
82b281b51f Extract more sanely, from jlam and joerg. Should fix DragonFly bulk build. 2006-02-20 03:39:25 +00:00
joerg
2d238121fa Use SUBST framework instead FILES_SUBST_SED. 2006-01-19 01:18:30 +00:00
schmonz
6c45454280 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.
2006-01-13 20:53:56 +00:00
schmonz
8f0f046d46 Since we're allowing qmail to be packaged, add a note to the effect
that qmail hard-codes numeric UIDs and GIDs into several binaries.
When installing a binary qmail package, you'll need to ensure that
the qmail users and groups on your system match those with which
the package was compiled.

The binary package is not (yet) redistributable. The only way you'd
get one is by making it yourself. But this allows bulk builds to
finally test all the packages that depend on qmail.

Thanks to joerg for forcing the issue (in a good way).
2006-01-09 17:49:47 +00:00
joerg
ea96b794fb Add cdb_seek.c and dns.c to the files with djb-errno hack. 2006-01-08 17:48:14 +00:00
schmonz
85efcd26b1 These packages generate catted manpages. Add USE_TOOLS+=nroff. 2006-01-05 02:57:10 +00:00
schmonz
9038d7156c This already had a hack to fix building on OS X with BIND9 system
resolver. Convert it to the less hacky one used elsewhere, mainly
so that I won't miss it when implementing a more general solution
to this common problem.
2006-01-02 21:13:43 +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
schmonz
ba7a2ddf66 Remove legacy DJB_ERRNO_HACK (replaced with djbware-errno-hack option). 2005-10-05 05:46:54 +00:00
schmonz
5c4a2be554 Now that a branch has been cut, remove PKG_OPTIONS_LEGACY_{OPTS,VARS}. 2005-10-05 04:28:00 +00:00