The NetBSD Project

CVS log for pkgsrc/net/djbdns-run/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / net / djbdns-run

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34 / (download) - annotate - [select for diffs], Wed Jun 19 17:50:30 2019 UTC (8 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, HEAD
Changes since 1.33: +2 -17 lines
Diff to previous 1.33 (colored)

Keep it simple: set PKG_SYSCONFSUBDIR to match net/djbdns's. Bump version just in case.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jan 8 18:19:27 2019 UTC (13 months, 2 weeks ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Bump default dnscache datalimit, and version.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jan 7 19:45:48 2019 UTC (13 months, 2 weeks ago) by schmonz
Branch: MAIN
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

Get a copy of dnsroots.global from djbdns and use the copy as
CONF_FILES. Fixes build on NetBSD that somehow wasn't broken on OS X.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jan 7 14:01:55 2019 UTC (13 months, 2 weeks ago) by schmonz
Branch: MAIN
Changes since 1.30: +12 -6 lines
Diff to previous 1.30 (colored)

With the 'inet6' option, depend on djbdnscurve6 instead of djbdns.

Extract most of MESSAGE to README.pkgsrc.

Remove vestigial Red Hat chkconfig stanza from main control script (we
have pkgtools/rc.d-boot now).

Use CONF_FILES where applicable.

rc.d script defaults:
- Tag log entries like qmail-run's; for instance, "nbtinydns" and
  "nbdnscache" become "nbdjbdns/tiny" and "nbdjbdns/cache".
- Have tinydns listen on the network.
- Auto-rebuild CDBs as needed on service start.

Bump version.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jul 29 23:59:26 2018 UTC (18 months, 3 weeks ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored)

Add 'inet6' option to control dependency on ucspi-tcp{6,}, even
though net/djbdns itself still doesn't support the 'inet6' option.
Bump version.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jul 25 16:32:34 2018 UTC (18 months, 4 weeks ago) by schmonz
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

s/ucspi-tcp/ucspi-tcp6/g in dependencies. Bump PKGREVISIONs.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Aug 5 15:16:05 2017 UTC (2 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Catch up to qmail-run:

- 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.
- Prefix "nb" to procnames.

Bump version.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 23 15:39:44 2017 UTC (2 years, 8 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.26: +17 -9 lines
Diff to previous 1.26 (colored)

Catch up to qmail-run:

- Wrap long command lines for readability
- Document where we set procname=${name} for rc.d
- Detach long-running processes from controlling terminal
- Configurable path to tcpserver
- Configurable user and group names:

DJBDNS_AXFR_USER?=	axfrdns
DJBDNS_CACHE_USER?=	dnscache
DJBDNS_RBL_USER?=	rbldns
DJBDNS_TINY_USER?=	tinydns
DJBDNS_DJBDNS_GROUP?=	djbdns

Bump version.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Nov 25 12:52:11 2015 UTC (4 years, 2 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.25: +1 -9 lines
Diff to previous 1.25 (colored)

Remove mk/find-prefix.mk usage from the net 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.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 7 04:33:30 2014 UTC (5 years, 2 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.24: +10 -2 lines
Diff to previous 1.24 (colored)

Based on feedback from joerg@ and riastradh@, don't save a persistent
seed file on first startup after all. Primary rationale: it is not
desirable that the predictability of the first boot (whatever that
may happen to be) force an upper bound on the unpredictability of
random seeds for all future dnscache instances. Instead, as before,
let dnscache read 128 new bytes on every startup. Just give it
/dev/urandom instead of /dev/random.

While here, abolish references to LOCALBASE. Bump version.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 6 09:41:04 2014 UTC (5 years, 2 months ago) by schmonz
Branch: MAIN
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

On rebooting a Xen VPS, dnscache said it started, but failed to
respond to queries and wrote nothing to the logs. This would have
been more fun to debug if my production system hadn't been relying
on it for name resolution. The problem was a blocking read from
/dev/random.

I'm the one who put that there, over 10 years ago. Do we need it?

From my reading of <http://cr.yp.to/djbdns/dnscache-conf.html> and
dnscache-conf.c, the seed needn't consist of top-notch randomness.
A sysadmin following DJB to the letter (rather than using this
djbdns-run package) would run dnscache-conf once to configure a
dnscache instance. dnscache-conf would cook 128 bytes of randomness
-- without direct assistance from any kernel device -- and write
it to a file. dnscache would read the same file on every startup.

Therefore, we...

1. Generate a random seed iff it doesn't exist (not on every startup)
2. Generate it from /dev/urandom instead of /dev/random

...so that the configuration we generate more nearly matches that of
DJB's documented procedure, and the kind of problem I encountered
is much more difficult to trigger.

While here, add LICENSE (2-clause-bsd) and otherwise placate pkglint.

Bump version.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:44 2014 UTC (5 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.22: +1 -3 lines
Diff to previous 1.22 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 15 23:07:21 2014 UTC (5 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Fix the boot-time error (which also resulted in ntpdate failing):

rcorder: Circular dependency on provision `named' in file `/etc/rc.d/ntpdate'.

Fix it by aping -r1.22 of src/etc/rc.d/named, which had replaced
"SERVERS" with "NETWORKING mountcritremote syslogd". Problem and
fix reported by Nathan Arthur.

Bump version by exactly nine years.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Oct 23 17:18:17 2012 UTC (7 years, 4 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.20: +1 -2 lines
Diff to previous 1.20 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 9 00:48:10 2009 UTC (10 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 16 14:48:42 2008 UTC (11 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Fix DESTDIR. Don't create bin.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 12 02:14:39 2008 UTC (11 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Add DESTDIR support.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 10 22:59:26 2006 UTC (13 years, 7 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.16: +9 -7 lines
Diff to previous 1.16 (colored)

Completely nuke the concept of PKG_PHASE from pkgsrc except for the
purposes of caching MAKEVARS within bsd.pkg.mk and bsd.makevars.mk.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 27 22:46:10 2006 UTC (13 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.15: +1 -5 lines
Diff to previous 1.15 (colored)

We don't need to set PKG_GECOS.<user> since the new defaults in
pkgsrc/mk/install/usergroupfuncs:1.7 already handle this case.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 23 00:12:39 2006 UTC (13 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.14: +10 -6 lines
Diff to previous 1.14 (colored)

Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 14 01:14:31 2006 UTC (13 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

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.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 8 14:08:58 2006 UTC (14 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.12: +3 -6 lines
Diff to previous 1.12 (colored)

Remove build phase: nothing to substitute.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 29 06:21:58 2005 UTC (14 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

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.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 5 20:50:45 2005 UTC (14 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 28 20:52:24 2005 UTC (14 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 19 21:18:31 2005 UTC (14 years, 7 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Uncontinuate lines that have become short.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 19 21:15:10 2005 UTC (14 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

Use pkg_info's -B switch, now that we're sure to have it available,
obviating the need for a sed expression.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 15 05:15:55 2005 UTC (14 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Update to 20050415. Changes:

* Add "djbdns" rc.d script to control all enabled djbdns services,
    modeled after the "qmail" rc.d script from mail/qmail-run.
* Set rc.conf defaults more succinctly, modeled after mail/qmail-run.
* Add "reload" as a synonym for "cdb" in axfrdns, rbldns, and tinydns.
* Add "foo_postenv" for additional environment customization, for
    instance to run dnscache as a pure forwarder.
* Add "foo_log" booleans to enable or disable logging (enabled by default).
* Always run loggers as the "dnslog" user. This makes it simpler
    to define alternate loggers.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 26 07:01:10 2005 UTC (15 years ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored)

Add rc.d script, user account, and instructions for rbldns. Bump version.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 29 16:35:41 2004 UTC (15 years, 1 month ago) by schmonz
Branch: MAIN
Changes since 1.4: +2 -9 lines
Diff to previous 1.4 (colored)

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). Remove Jonathan
de Boyne Pollard's dnscache-showctl and tinydns-showctl, since they
don't apply to services run with these rc.d scripts. Bump version.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 28 02:47:46 2004 UTC (15 years, 1 month ago) by reed
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

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).

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 2 08:23:02 2004 UTC (15 years, 5 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

Note in DESCR and in README.pkgsrc that {dnscache,tinydns}-showctl
are useful only for services configured in the standard way (with
{dnscache,tinydns}-conf(8)).

On second thought, don't use the G prefix for the account names.
It makes the dnscache account longer than 8 characters, which in
turn makes noise in the nightly report. (Also, it looks a little
funny.) Since this is already a heavily customized way of running
djbdns services, it's just a little more customized now.

Bump version.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 1 20:15:56 2004 UTC (15 years, 5 months ago) by schmonz
Branch: MAIN
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

I was going to do something that would've resulted in a CONFLICT,
but I didn't, so there isn't one! This does not imply world peace.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Sep 1 20:13:04 2004 UTC (15 years, 5 months ago) by schmonz
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of djbdns-run, a package that provides NetBSD-style
rc.d scripts (inspired by Bennett Todd's Linux init.d scripts) to
run djbdns services. It also includes Jonathan de Boyne Pollard's
dnscache-showctl and tinydns-showctl scripts.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 1 20:13:04 2004 UTC (15 years, 5 months ago) by schmonz
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>