Hi, I'm including here clocksd-0.25.ebuild, 2 patchs and a helper startup script. clocksd is a collection of daemontools run-scripts for Dan Bernstein's clockspeed utilities. clockspeed can synchronize your machine clock to subsecond precision with a reference clock via internet. clocksd just make this little magic really happens as most people don't now how to (or are too lazy to, this is me!) effectivelly make clockspeed work. I suggest net-misc/clocksd. Rodrigo Severo
Created attachment 40619 [details] clocksd-0.25.ebuild
Created attachment 40620 [details, diff] Patch for (hopefully) complete gentoonization of this package
Created attachment 40621 [details, diff] A conditional patch used by this ebuild
Created attachment 40622 [details] The helper startup script mentioned in this ebuild
Just in case nobody finds any other bugs in this ebuild, I already now about one: The last einfo on pkg_postinst() asks the user to run ${FILESDIR}/clocksd.startup. I used ${FILESDIR} because 'man 5 ebuild' says: FILESDIR = "${PORTDIR}/${CATEGORY}/${PN}/files". When I run this ebuild I get "/var/tmp/portage-pkg/clocksd-0.25/inf/files/clocksd.startup" and not the expected ""/usr/portage/net-misc/clocksd/files/clocksd.startup". Why? Am I doing something wrong? Rodrigo Severo
Created attachment 40646 [details, diff] A correction and an enhancement I'm sending here a correction and an enhancement for this ebuild: in clocksd-0.25.ebuild I including proper unmerge mesures and in clocksd.startup I made it a little stronger in face of eventual adversities during clock synchronization. Rodrigo Severo
Bump... Well, this is mainly a bump message (has this bug been forgotten? :) but I would like to use it also to inform that this ebuild has been used successfully in 9 machines (servers and workstations) since, well, since the opening of this bug - 2004-09-28 - with no problems so far. Is there anything else I could do to further help deployment of this ebuild? Please let me know.
Created attachment 42868 [details] clocksd-0.25.ebuild (Improved) I made a few improvements to the ebuild (less manual work for the user). Main functionality unchanged.
Created attachment 42869 [details] clocksd.startup (Improved) The improved version of the startup script. It starts the svscan daemon by itself.
hhm, upstream appears dead?! the provided URL is no longer working anyway... so, the clocksd package is basically a bunch of supervise style runscripts for clockspeed... ? looks OK to me.
take a look at the clockspeed-conf package. if i am not mistaken it does the same thing and is already available in portage. with a dead upstream this is unlikely to ever hit portage. closing for now. nevertheless - thanks for your work. i feel ashamed that it "goes to waste" like this. keep it up. kind regards bangert