Bug 253799 - dns/bind916: master/slave -> primary/secondary
Summary: dns/bind916: master/slave -> primary/secondary
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-23 16:05 UTC by Rob LA LAU
Modified: 2021-03-15 16:09 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mat)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob LA LAU 2021-02-23 16:05:12 UTC
Bind has switched terminology from master/slave to primary/secondary.
https://bind9.readthedocs.io/en/v9_16_12/introduction.html?highlight=primary#the-primary-server

When using this more modern terminology it makes sense to also change the names of the directories 'master' and 'slave' to 'primary' and 'secondary', which I did.
I would appreciate it if the make options for the port could include options like

(*) Use primary/secondary terminology
( ) User master/slave terminology

This would avoid the creation of new directories named 'master' and 'slave' when updating, as well as the installation of new 'empty.db' and 'localhost-*.db' files in unused directories. On the other hand, it would still allow existing installations to continue using the old terminology, if desired.

Since Bind now prefers the use of primary/secondary, it would probably also make sense to use these terms as the default for new installs.

Thanks,
  Rob
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2021-03-08 12:47:48 UTC
BIND9 already has way too many options, adding a new option for this seems like a bad idea.

I am going to have a look on how to make the change transparent for the users, it will probably only happen in bind9-devel for now, and it will probably only happen in the new versions of BIND9 ports, starting with the next 9.18 version.
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2021-03-15 14:49:24 UTC
Migrated to primary/secondary in the latest bind9-devel port.
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-03-15 16:09:21 UTC
A commit references this bug:

Author: mat
Date: Mon Mar 15 16:09:08 UTC 2021
New revision: 568467
URL: https://svnweb.freebsd.org/changeset/ports/568467

Log:
  Update to latest commit.

  While there, transition from master/slave to primary/secondary in the
  default configuration files.

  PR:		253799

Changes:
  head/dns/bind9-devel/Makefile
  head/dns/bind9-devel/distinfo
  head/dns/bind9-devel/files/BIND.chroot.local.dist
  head/dns/bind9-devel/files/named.conf.in
  head/dns/bind9-devel/files/pkg-message.in
  head/dns/bind9-devel/pkg-plist