Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118942 - freenet6 gentoo template update
Summary: freenet6 gentoo template update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 137543
  Show dependency tree
 
Reported: 2006-01-13 20:01 UTC by Steve Egbert
Modified: 2006-06-28 09:37 UTC (History)
1 user (show)

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


Attachments
proposed patch - using /etc/radvd.conf method (freenet6-template-gentoo.diff,453 bytes, patch)
2006-01-13 20:05 UTC, Steve Egbert
Details | Diff
proposed patch #2 - using /etc/radvd/radvd.conf method (patch-sysconf-etc-radvd,274 bytes, patch)
2006-01-13 20:45 UTC, Steve Egbert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Egbert 2006-01-13 20:01:23 UTC
When emerging 'freenet6-1.0.0', the gentoo template incorrectly reference the radvd configuration file:

freenet6-1.0.0 references 

   /etc/radvd/radvd.conf

Whereas the latest radvd-0.9 init.d script expects the script to be in

  /etc/radvd.conf


Not sure what prevailing Gentoo convention is with regard to '/etc' convention.

Both patches enclosed in case one method prevails over the other.
Comment 1 Steve Egbert 2006-01-13 20:05:31 UTC
Created attachment 77043 [details, diff]
proposed patch - using /etc/radvd.conf method

if prevailing winds whispers 'use /etc/radvd.conf', use this patch (and NOT the other patch) enclosed within this bug report.

Steps to patch

# cd /etc/freenet6
# patch -p1 < freenet-template-gentoo.diff
Comment 2 Steve Egbert 2006-01-13 20:45:28 UTC
Created attachment 77044 [details, diff]
proposed patch #2 - using /etc/radvd/radvd.conf method

This patch changes it from '/etc/radvd.conf' to '/etc/radvd/radvd.conf'

Again... I'm not sure what the prevailing wind is with regard to /etc/ subdirectories....  Use the other patch if '/etc/radvd.conf' (without subdirectory) is desired.

Otherwise, I've enclosed a new patch for radvd-0.9-r1.ebuild candidate.

Again, I'm new to this portage package management... so I hope someone will go easy on me...

# cd /usr/portage/net-misc/radvd/
# mv radvd-0.9.ebuild  radvd-0.9.ebuild.orig
# cp radvd-0.9.ebuild.orig radvd-0.9.ebuild
# patch -p1 < patch-sysconf-etc-radvd
# mv radvd-0.9.ebuild radvd-0.9-r1.ebuild
# mv radvd-0.9.ebuild.orig radvd-0.9.ebuild

I'm sure there are better ways to do this, but this is a newbie's perspective here.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-22 08:32:07 UTC
I'm taking over this package, so I'll be looking into these bugs.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-28 09:37:06 UTC
Fixed using the first patch...