[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 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256955

            Bug ID: 256955
           Summary: dns/mDNSResponder_nss: convert port as a slave to
                    net/mDNSResponder
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs_at_FreeBSD.org
          Reporter: mazhe_at_alkumuna.eu
                CC: sunpoet_at_FreeBSD.org
                CC: sunpoet_at_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

Hi,

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.

--------
Overview
--------
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
through TARGET_ORDER_OVERRIDE.


--
QA
--

# 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.
Received on Sat Jul 03 2021 - 12:37:56 UTC

Original text of this message