Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 361270 Details for
Bug 488530
x11-misc/slock could use capabilities instead of SUID root
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for x11-misc/slock-1.1.ebuild introducing capability usage
patch (text/plain), 694 bytes, created by
Mira Ressel
on 2013-10-18 21:49:05 UTC
(
hide
)
Description:
Patch for x11-misc/slock-1.1.ebuild introducing capability usage
Filename:
MIME Type:
Creator:
Mira Ressel
Created:
2013-10-18 21:49:05 UTC
Size:
694 bytes
patch
obsolete
>--- /usr/portage/x11-misc/slock/slock-1.1.ebuild 2012-12-06 05:31:33.000000000 +0100 >+++ slock-1.1.ebuild 2013-10-18 23:41:54.132196711 +0200 >@@ -3,7 +3,7 @@ > # $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/slock-1.1.ebuild,v 1.5 2012/12/06 04:09:30 phajdan.jr Exp $ > > EAPI=4 >-inherit savedconfig toolchain-funcs >+inherit fcaps savedconfig toolchain-funcs > > DESCRIPTION="simple X screen locker" > HOMEPAGE="http://tools.suckless.org/slock" >@@ -38,6 +38,12 @@ > src_compile() { emake slock; } > > src_install() { >- emake DESTDIR="${D}" PREFIX="/usr" install >+ dobin slock > save_config config.mk > } >+ >+pkg_postinst() { >+ fcaps cap_dac_read_search /usr/bin/slock >+ >+ savedconfig_pkg_postinst >+}
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 488530
: 361270