Commit graph

86 commits

Author SHA1 Message Date
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
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
schmonz
e5cfe6f475 Distinguish package-specific options as such, supporting the old names
via PKG_OPTIONS_LEGACY_OPTS until after the next branch.
2005-07-19 19:41:19 +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
schmonz
a8a562f3b6 Author updated the description of "panther.patch" to mention it
works on Tiger as well. No change to the patch itself.
2005-07-14 19:09:15 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
schmonz
36e5704005 The patch for the "nullenvsender" option is no longer available: its
author considers it no longer relevant. Remove the option.
2005-05-19 22:08:55 +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
wiz
8a7b7f03d3 Remove duplicate netqmail lines.
Reported by Robert Elz in PR 29973.
2005-04-14 22:00:11 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
schmonz
2d9007ff10 Add RMD160 sums for all the optional patches. 2005-04-10 04:53:36 +00:00
schmonz
56f373d22b If the "tls" option is enabled, append the additional targets to
INSTALL_TARGET, rather than replacing them. This had been broken
with the introduction of djbware.mk.
2005-04-10 02:59:23 +00:00
schmonz
26c5083e8f Update URL to the patch for "nullenvsender" option, and correctly
define the variable containing the patch URL for the "qregex"
option. Problems noted by zuntum.
2005-03-29 12:34:16 +00:00
schmonz
9f8e7d9843 Remove package-specific workarounds for the glibc-vs-errno conflict.
The "netqmail" PKG_OPTION to qmail is no longer enabled on Linux
by default; if you were relying on that, set it explicitly.
2005-03-23 01:48:06 +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
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
schmonz
36c3ad2299 Update URL to Paul Jarc's realrcptto patch. 2005-01-26 03:48:21 +00:00
schmonz
c7158a492b Update my email address. 2004-12-21 05:37:11 +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
schmonz
3f1c4333b9 The value of QUEUE_EXTRA can be a local user instead of an alias.
Clarify admonishment to the reader accordingly.
2004-12-20 04:22:37 +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
jlam
40377c791f Remove pre-buildlink and post-buildlink as part of getting pkgsrc ready
for pkgsrc-2004Q4.  The "buildlink" phase was removed for the last branch,
and this is the final cleanup.  "post-buildlink" is now "post-wrapper".
2004-11-28 19:19:51 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +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
2b37a0fefe Rename the "smtpauth" option to "sasl" to be consistent with other
MTAs' options, since it causes qmail-smtpd to offer several SASL
mechanisms. No need to preserve the meaning of the old option, as
it was introduced less than a day ago.
2004-08-23 23:22:29 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
schmonz
adf48e84a3 Put ${WRKSRC} in a more natural location. 2004-08-22 12:44:32 +00:00
schmonz
63bf0e3cd6 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.
2004-08-22 00:10:51 +00:00
schmonz
1f5f23cb87 Cosmetic only: tab out the first few lines to the same indentation
level as the rest of the file.
2004-08-02 20:05:42 +00:00
schmonz
58c763f8c3 Add a "README.pkgsrc" document and refer to it in MESSAGE. Ride
the PKGREVISION bump from 12 hours ago.
2004-08-02 17:28:10 +00:00