From: | "Markus Ullmann (jokey)" <jokey@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/g15daemon/files: g15daemon.conf g15daemon-1.9.5.3-forgotten-open-mode.patch |
Date: | Sun, 01 Feb 2009 16:18:42 |
Message-Id: | E1LTf1s-0008Gb-0U@stork.gentoo.org |
1 | jokey 09/02/01 16:18:40 |
2 | |
3 | Added: g15daemon.conf |
4 | g15daemon-1.9.5.3-forgotten-open-mode.patch |
5 | Log: |
6 | Add a missing open() permission and install default configuration file |
7 | (Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-misc/g15daemon/files/g15daemon.conf |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/g15daemon/files/g15daemon.conf?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/g15daemon/files/g15daemon.conf?rev=1.1&content-type=text/plain |
14 | |
15 | Index: g15daemon.conf |
16 | =================================================================== |
17 | # G15Daemon Configuration File |
18 | # any items entered before a [section] header |
19 | # will be in the Global config space |
20 | # comments you wish to keep should start with a semicolon';' |
21 | |
22 | [Global] |
23 | Use MR as Cycle Key: Off |
24 | |
25 | [PLUGIN_LOAD_ORDER] |
26 | 0: g15plugin_uinput.so |
27 | 1: g15plugin_clock.so |
28 | 2: g15plugin_tcpserver.so |
29 | TotalPlugins: 3 |
30 | |
31 | [PLUGINS] |
32 | Linux UINPUT Keyboard Output: Load |
33 | Clock: Load |
34 | LCDServer: Load |
35 | |
36 | [Keyboard OS Mapping (uinput)] |
37 | device: /dev/input/uinput |
38 | Lkeys.mapped: 0 |
39 | |
40 | [Clock] |
41 | 24hrFormat: On |
42 | ShowDate: Off |
43 | Digital: On |
44 | |
45 | |
46 | |
47 | 1.1 app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch |
48 | |
49 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch?rev=1.1&view=markup |
50 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch?rev=1.1&content-type=text/plain |
51 | |
52 | Index: g15daemon-1.9.5.3-forgotten-open-mode.patch |
53 | =================================================================== |
54 | --- ./g15daemon-1.9.5.3/g15daemon/utility_funcs.c 2008-01-26 06:02:07.000000000 +0100 |
55 | +++ ./g15daemon-1.9.5.3/g15daemon/utility_funcs.c 2009-02-01 17:00:55.203009264 +0100 |
56 | @@ -356,7 +356,7 @@ |
57 | config_items_t * item=NULL; |
58 | char line[1024]; |
59 | |
60 | - config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC); |
61 | + config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC,0664); |
62 | if(config_fd){ |
63 | snprintf(line,1024,"# G15Daemon Configuration File\n# any items entered before a [section] header\n# will be in the Global config space\n# comments you wish to keep should start with a semicolon';'\n"); |
64 | write(config_fd,line,strlen(line)); |