Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 417566 Details for
Bug 566458
app-i18n/fbterm: fix /usr/bin/fbterm file-caps loss
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use fcaps.eclass(5) instead of running setcap(8) directly
fbterm-1.7-r1.ebuild.patch (text/plain), 1.17 KB, created by
Casper Ti. Vector
on 2015-11-22 11:37:09 UTC
(
hide
)
Description:
Use fcaps.eclass(5) instead of running setcap(8) directly
Filename:
MIME Type:
Creator:
Casper Ti. Vector
Created:
2015-11-22 11:37:09 UTC
Size:
1.17 KB
patch
obsolete
>--- /usr/portage/app-i18n/fbterm/fbterm-1.7-r1.ebuild 2015-08-24 22:01:02.000000000 +0800 >+++ fbterm-1.7-r1.ebuild 2015-11-22 19:29:21.936480769 +0800 >@@ -3,7 +3,7 @@ > # $Id$ > > EAPI="5" >-inherit autotools-utils >+inherit autotools-utils fcaps > > DESCRIPTION="Fast terminal emulator for the Linux framebuffer" > HOMEPAGE="https://fbterm.googlecode.com/" >@@ -12,10 +12,9 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="~amd64 ~x86" >-IUSE="caps gpm video_cards_vesa" >+IUSE="gpm video_cards_vesa" > >-RDEPEND="caps? ( sys-libs/libcap ) >- gpm? ( sys-libs/gpm ) >+RDEPEND="gpm? ( sys-libs/gpm ) > video_cards_vesa? ( dev-libs/libx86 ) > media-libs/fontconfig > media-libs/freetype:2" >@@ -39,14 +38,11 @@ > autotools-utils_src_install > $(type -P tic) -o "${ED}/usr/share/terminfo/" \ > "${S}"/terminfo/fbterm || die "Failed to generate terminfo database" >- if use caps; then >- setcap "cap_sys_tty_config+ep" "${ED}"/usr/bin/fbterm >- else >- fperms u+s /usr/bin/fbterm >- fi >+ use filecaps || fperms u+s /usr/bin/fbterm > } > > pkg_postinst() { >+ fcaps "cap_sys_tty_config+ep" usr/bin/fbterm > einfo > einfo " ${PN} won't work with vga16fb. You have to use other native" > einfo " framebuffer drivers or vesa driver."
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 566458
: 417566