Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 428588

Summary: net-dns/djbdns: replace setup scripts with documentation
Product: Gentoo Linux Reporter: Michael Orlitzky <mjo>
Component: Current packagesAssignee: Michael Orlitzky <mjo>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Low Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to improve docs and remove setup scripts

Description Michael Orlitzky gentoo-dev 2012-07-30 03:46:51 UTC
The tinydns-setup, dnscache-setup, and djbdns-setup scripts are all more trouble than they're worth. They basically just run {tinydns,dnscache}-conf and stick a few lines (supplied by the user) into text files according to e.g.,

* http://cr.yp.to/djbdns/run-server.html
* http://cr.yp.to/djbdns/run-cache-x-home.html
* http://cr.yp.to/djbdns/axfrdns-conf.html

but they do it in a non-portable way, with no error checking nor cleanup in the event that one of the scripts fails halfway through.

I think they should just be dropped, and we can point the user to the setup docs. The only thing gentoo-specific about this would be the user/group names that we use in pkg_preinst().
Comment 1 Michael Orlitzky gentoo-dev 2012-07-30 19:51:50 UTC
Created attachment 319774 [details, diff]
Patch to improve docs and remove setup scripts

This patches -r26 to not install the foo-setup scripts. Instead, it points the user at the relevant docs and provides him with the foo-conf commands that the setup scripts used to use.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2013-07-08 23:49:35 UTC
+*djbdns-1.05-r28 (08 Jul 2013)
+
+  08 Jul 2013; Michael Weber <xmw@gentoo.org> +djbdns-1.05-r28.ebuild,
+  metadata.xml:
+  replace setup scripts with documentation (bug 428588, thanks Michael
+  Orlitzky), inherit readme.gentoo.
+
Comment 3 Michael Orlitzky gentoo-dev 2013-07-08 23:53:17 UTC
Thank you, this also fixes #428582.