Commit graph

76 commits

Author SHA1 Message Date
joerg
aea50c92b8 Adjust checks for _USE_DESTDIR != no or incorrect references to
USE_DESTDIR.
2016-04-10 16:39:27 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
jperkin
16bfc92aac Use OPSYSVARS. 2016-02-25 15:00:50 +00:00
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
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
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
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
wiz
c8c77a65f1 Uncomment some more LICENSE lines (all "public-domain"). 2009-05-19 09:07:13 +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
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
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
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
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
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
07fa8b9536 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.
2005-08-19 04:44:09 +00:00
jlam
bf9129c41e 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.
2005-07-15 18:27:48 +00:00
jlam
c269d73f49 Note that expr is used by this package. 2005-05-16 04:38:03 +00:00
schmonz
c2634d1003 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.
2005-05-07 21:37:42 +00:00
jlam
797d2663a0 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.
2005-04-30 15:06:58 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
schmonz
0f55d7d583 Take advantage of mk/djbware.mk. 2005-03-23 00:51:09 +00:00
schmonz
21af779684 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.
2005-03-13 03:25:43 +00:00
schmonz
2cdc1d129b 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.
2004-12-21 05:32:56 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
schmonz
9186e5831b Missed a spot in the netqmail removal: options.mk is in the current
directory, and nothing else is using this Makefile anymore.
2004-08-25 04:24:04 +00:00
schmonz
adf48e84a3 Put ${WRKSRC} in a more natural location. 2004-08-22 12:44:32 +00:00