Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420797 - man rc.conf disinforms
Summary: man rc.conf disinforms
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal trivial (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-12 09:10 UTC by Dmitri Bogomolov
Modified: 2012-06-16 00:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2012-06-12 09:10:31 UTC
man rc.conf says

  The file rc.conf contains descriptive information about the local host name,
  configuration details for any potential network interfaces and which services
  should be started up at system initial boot time.

I expected to get openrc's rc.conf manual not FreeBSD's. Maybe /usr/share/man/man5/rc.conf.5.bz2 should not being installed?

Reproducible: Always




# equery belongs /usr/share/man/man5/rc.conf.5.bz2 
sys-freebsd/freebsd-share-9.0 (/usr/share/man/man5/rc.conf.5.bz2)
Comment 1 Naohiro Aota gentoo-dev 2012-06-14 13:53:03 UTC
Let's remove rc.conf man page from freebsd-share.
Comment 2 Dmitri Bogomolov 2012-06-15 14:00:43 UTC
(In reply to comment #1)
> Let's remove rc.conf man page from freebsd-share.

I cannot find correct expression: there is also src.conf.5 and src.conf.local.5 in ${S}/man/man5/Makefile.

sed -i -e 's:rc.conf.5::' -e 's:rc.conf.local.5::' "${S}/man/man5/Makefile"

is almost what is needed, but leaves the line with a single `s' in MAN string.
Comment 3 Naohiro Aota gentoo-dev 2012-06-16 00:13:01 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Let's remove rc.conf man page from freebsd-share.
> 
> I cannot find correct expression: there is also src.conf.5 and
> src.conf.local.5 in ${S}/man/man5/Makefile.
> 
> sed -i -e 's:rc.conf.5::' -e 's:rc.conf.local.5::' "${S}/man/man5/Makefile"
> 
> is almost what is needed, but leaves the line with a single `s' in MAN
> string.

Just use \b to match word boundary. 

Anyway, I've added the fix.