Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611998 - =net-analyzer/nfdump-1.6.15 installs broken symlink to /usr/share/doc
Summary: =net-analyzer/nfdump-1.6.15 installs broken symlink to /usr/share/doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-07 20:26 UTC by Hanno Böck
Modified: 2017-12-12 15:36 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 Hanno Böck gentoo-dev 2017-03-07 20:26:50 UTC
nfdump installs a broken symlink README to README.md into /usr/share/doc/nfdump-1.6.15/.

It seems that this file was previously named README and is now called README.md in upstream's distribution and upstream has a symlink. As the ebuild doesn't install README.md it creates a broken symlink.

I think we don't need to install the symlink and should change it to README.md. Also there's a symlink from NEWS to Changelog which gets installed, I'd suggest removing that.

So the ebuild would change like this:
--- nfdump-1.6.15.ebuild	2017-03-07 20:41:58.101920809 +0100
+++ nfdump-1.6.15-r1.ebuild	2017-03-07 20:42:21.661919045 +0100
@@ -33,7 +33,7 @@
 	dev-lang/perl
 "
 
-DOCS=( AUTHORS ChangeLog NEWS README )
+DOCS=( AUTHORS ChangeLog README.md )
 
 src_prepare() {
 	eapply \
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-12 15:36:30 UTC
Fixed in -r1.