Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117935 - dnetc-2.9011.497.ebuild (Version bump, fix init.d error)
Summary: dnetc-2.9011.497.ebuild (Version bump, fix init.d error)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-05 13:45 UTC by Michael Hordijk
Modified: 2006-10-04 02:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Pre release dnetc ebuild. (dnetc-2.9011.497_pre1.ebuild,2.20 KB, text/plain)
2006-01-05 13:56 UTC, Michael Hordijk
Details
New init.d with fixed "stop" (dnetc.init-r2,904 bytes, text/plain)
2006-01-05 13:57 UTC, Michael Hordijk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hordijk 2006-01-05 13:45:52 UTC
Here's a bump for the new dnetc pre-release client.  I suppose previous releases (except for 2.9011.496-r1) could be marked stable.

I also attach a new dnetc.init-r2 since the shutdown part of dnetc.init-r1 was broken.

Other big fixes in this ebuild:

* use newconfd and newinitd instead of doexe and doins
* don't delete buffers after flushing them (there was a problem flushing and I lost all my work)
* use diropts and exeopts to set permissions on installing (this avoids having to fiddle with things in post_inst()
Comment 1 Michael Hordijk 2006-01-05 13:56:41 UTC
Created attachment 76273 [details]
Pre release dnetc ebuild.
Comment 2 Michael Hordijk 2006-01-05 13:57:12 UTC
Created attachment 76274 [details]
New init.d with fixed "stop"
Comment 3 Taavi Ilves 2006-01-08 02:05:07 UTC
(In reply to comment #2)
> Created an attachment (id=76274) [edit]
> New init.d with fixed "stop"
> 

This part in the new initfile did not work for me:

	if [ -e ${DNETPATH}/dnetc.ini ]; then
		# use ini file
		start-stop-daemon ${STARTOPTS} -- \
			-quiet -ini ${DNETPATH}/dnetc.ini

Option "-ini" is needed when you want to override default name of INI file. But since "${DNETPATH}/dnetc.ini" leads to default INI file, the option is not needed. I commented unneeded -ini option out and startup went nicely.
Comment 4 Konstantin Arkhipov (RETIRED) gentoo-dev 2006-01-15 08:35:14 UTC
committed as 2.9011.497.
i've removed dnetc's shutdown in pkg_prerm, because user should stop it manually via /etc/init.d/dnetc after package remove.
typo in dnetc.init's stop() fixed.

thank you for your fixes, Michael and Taavi.
Comment 5 Dirk-Lüder Kreie 2006-10-04 02:57:07 UTC
Version 2.9011.497 doesn't emerge anymore, because the fileserver redirects all
fetch attempts to the 2.9011.498 sources.

see bug 150039