Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448524 - net-misc/smb4k-1.0.4 - mounting directory without trailing slash fails
Summary: net-misc/smb4k-1.0.4 - mounting directory without trailing slash fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://sourceforge.net/p/smb4k/ticke...
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2012-12-25 14:12 UTC by PhobosK
Modified: 2012-12-26 13:27 UTC (History)
1 user (show)

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


Attachments
smb4k-1.0.4-r1.ebuild.diff (smb4k-1.0.4-r1.ebuild.diff,608 bytes, patch)
2012-12-25 14:12 UTC, PhobosK
Details | Diff
smb4k-1.0.4-parent_permissions.patch (smb4k-1.0.4-parent_permissions.patch,389 bytes, patch)
2012-12-25 14:13 UTC, PhobosK
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PhobosK 2012-12-25 14:12:26 UTC
Created attachment 333278 [details, diff]
smb4k-1.0.4-r1.ebuild.diff

The only version of smb4k in portage 1.0.4 has a major bug that prevents it from mounting shares, thus its functionality is totally broken. It is a problem in the configuration that a user may have - a mount point without a trailing slash.

I have fixed this and notified upstream - https://sourceforge.net/p/smb4k/tickets/28/

While it goes into the new version code, a patch is needed to be applied in the ebuild.

I am uploading the patch and the new ebuild.

Tested and working on x86 and amd64.
Comment 1 PhobosK 2012-12-25 14:13:52 UTC
Created attachment 333280 [details, diff]
smb4k-1.0.4-parent_permissions.patch

The patch needed to fix the trailing slash problem, preventing smb4k to function properly.
Comment 2 PhobosK 2012-12-25 22:18:25 UTC
Patch applied upstream with the SVN rev 1329855 commit.

http://websvn.kde.org/trunk/playground/network/smb4k/core/smb4kmounter_p.cpp?r1=1329855&r2=1329854&pathrev=1329855

It will go in the next release version of smb4k
Comment 3 Michael Palimaka (kensington) gentoo-dev 2012-12-26 13:27:23 UTC
Thank-you for the report and your work with upstream getting this issue fixed.

Upstream is fast with a new version, which is now bumped in CVS.

+  26 Dec 2012; Michael Palimaka <kensington@gentoo.org> +smb4k-1.0.5.ebuild:
+  Version bump. This fixes bug #448524.