SPECS: fbterm.spec - set the cap_sys_tty_config capability after install to...

witekfl witekfl at pld-linux.org
Sun Dec 21 12:31:49 CET 2008


Author: witekfl                      Date: Sun Dec 21 11:31:49 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- set the cap_sys_tty_config capability after install to allow plain
  users use Shift-PageUp, etc. This will work if the kernel is built with
  the CONFIG_SECURITY_FILE_CAPABILITIES enabled.
- rel 0.2

---- Files affected:
SPECS:
   fbterm.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/fbterm.spec
diff -u SPECS/fbterm.spec:1.6 SPECS/fbterm.spec:1.7
--- SPECS/fbterm.spec:1.6	Sat Dec 20 11:32:20 2008
+++ SPECS/fbterm.spec	Sun Dec 21 12:31:44 2008
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Emulator terminala dla framebuffera
 Name:		fbterm
 Version:	1.3
-Release:	0.1
+Release:	0.2
 License:	GPL v2
 Group:		Applications/Graphics
 Source0:	http://fbterm.googlecode.com/files/%{name}-%{version}.tar.gz
@@ -46,6 +46,9 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -p /sbin/postshell
+-/sbin/setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README 
@@ -58,6 +61,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008/12/21 11:31:44  witekfl
+- set the cap_sys_tty_config capability after install to allow plain
+  users use Shift-PageUp, etc. This will work if the kernel is built with
+  the CONFIG_SECURITY_FILE_CAPABILITIES enabled.
+- rel 0.2
+
 Revision 1.6  2008/12/20 10:32:20  witekfl
 - up to 1.3
 - no 256 colors support
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fbterm.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list