Looking for a portfile review before submitting (rbldnsd)

Blair Zajac blair at orcaware.com
Wed Jun 10 19:32:39 PDT 2009


Scott Haneda wrote:
> Hello, I have made a portfile, looking for a quick review, and any 
> suggestions for cleanup.
> 
> 1) How do I decide the category, can someone show me a list, and suggest 
> the correct one for this?  I see bind9 is in "net", perhaps this should 
> also be in "net"?
> 
> 2) Do I really need the extract.suffix?  I lean on simpler being better.
> 
> 3) How do the permissions I chose look in the destroot phase?
> 
> 4) I want ahead and installed some notes and other misc files that were 
> in the download, should I even bother?  Is this the correct location to 
> put them?

Yes, do install them into ${prefix}/share/doc/${name}

> 5) should I call this rbldnsd-server?  It is a server, it does not 
> include a launchd item due to the nature of how it is started being so 
> custom.
> 
> 6) If I wanted to include a sample zone file for this, where would the 
> best place be to store that, and what is the correct suggested naming 
> convention for the name of that sample file?  rbldnsd.zone.sample?

The bind9 port installs base files you can use as *.dist.  But it would be a 
real file and not a sample one that contains a lot of local examples.

I suggest installing the bind9 port and seeing how it's done there.

Regards,
Blair


More information about the macports-dev mailing list