Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 292969 Details for
Bug 390901
net-analyzer/wireshark: update fcaps() error message for recent kernel versions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch with updated error message
wireshark-1.6.2.ebuild.patch (text/plain), 1.40 KB, created by
Alexandre Rostovtsev (RETIRED)
on 2011-11-18 09:05:03 UTC
(
hide
)
Description:
patch with updated error message
Filename:
MIME Type:
Creator:
Alexandre Rostovtsev (RETIRED)
Created:
2011-11-18 09:05:03 UTC
Size:
1.40 KB
patch
obsolete
>--- a/wireshark-1.6.2.ebuild >+++ b/wireshark-1.6.2.ebuild >@@ -4,7 +4,7 @@ > > EAPI="3" > PYTHON_DEPEND="python? 2" >-inherit libtool flag-o-matic eutils toolchain-funcs python >+inherit libtool flag-o-matic eutils toolchain-funcs python versionator > > [[ -n ${PV#*_rc} && ${PV#*_rc} != ${PV} ]] && MY_P=${PN}-${PV/_} || MY_P=${P} > DESCRIPTION="A network protocol analyzer formerly known as ethereal" >@@ -58,6 +58,7 @@ > # @DESCRIPTION: > # fcaps sets the specified capabilities in the effective and permitted set of > # the given file. In case of failure fcaps sets the given file-mode. >+# Requires versionator.eclass > fcaps() { > local uid_gid=$1 > local perms=$2 >@@ -78,10 +79,13 @@ > res=$? > > if [ $res -ne 0 ]; then >- ewarn "Failed to set capabilities. Probable reason is missed kernel support." >- ewarn "Kernel must have SECURITY_FILE_CAPABILITIES, and <FS>_FS_SECURITY" >- ewarn "enabled (e.g. EXT3_FS_SECURITY) where <FS> is the filesystem to store" >- ewarn "${path}" >+ ewarn "Failed to set capabilities. Probable reason is missing kernel support." >+ ewarn "Your kernel must have <FS>_FS_SECURITY enabled (e.g. EXT4_FS_SECURITY)" >+ ewarn "where <FS> is the filesystem to store ${path}" >+ if ! version_is_at_least 2.6.33 "$(uname -r)"; then >+ ewarn "For kernel 2.6.32 or older, you will also need to enable" >+ ewarn "SECURITY_FILE_CAPABILITIES." >+ fi > ewarn > ewarn "Falling back to suid now..." > chmod u+s ${path}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 390901
: 292969