[Bug 256955] dns/mDNSResponder_nss: convert port as a slave to net/mDNSResponder

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Jul 2021 12:37:56 UTC

            Bug ID: 256955
           Summary: dns/mDNSResponder_nss: convert port as a slave to
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mazhe@alkumuna.eu
                CC: sunpoet@FreeBSD.org
                CC: sunpoet@FreeBSD.org

Created attachment 226191
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226191&action=edit
convert dns/mDNSResponder_nss as a slave port to net/mDNSResponder


For a few years, I have been maintaining dns/mDNSResponder_nss, which is
enabling the nsswitch plugin of net/mDNSResponder which is not available for
FreeBSD builds in upstream.

This has been fine and working well, but it means tracking versions when this
could be made a slave port. Until now, it was not, to avoid disruption in the
net/mDNSResponder port, but I think I managed to do it and would like to submit
it  if it seems reasonable.

Modify only dns/mDNSResponder_nss (the one I am maintaining). Rewrite it as a
slave port as porter handbook present.

Both port only collide on the post-install target, and the master port install
a rc script. Both post-install and install-rc-script targets are disabled


# portlint .
FATAL: Makefile: extra item "MASTERDIR" placed in the PORTNAME section.
FATAL: Makefile: extra item "LIB_DEPENDS" placed in the LICENSE section.
2 fatal errors and 0 warnings found.

I am not sure portlint has a place for MASTERDIR? I did try a few slave ports,
all with this issue. Should I also add a LICENSE section, even if it is the
same as the master port?

# make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)

# make package
===>  Building package for mDNSResponder_nss-1310.100.10

Any feedback is welcome, thanks

-- Mazhe

You are receiving this mail because:
You are the assignee for the bug.