]> git.pld-linux.org Git - packages/incron.git/blame - configdir.patch
few path changes in manual pages
[packages/incron.git] / configdir.patch
CommitLineData
ab2e9ca9
ER
1--- incron-0.5.10/incroncfg.cpp~ 2012-04-07 01:19:27.000000000 +0300
2+++ incron-0.5.10/incroncfg.cpp 2012-10-21 17:28:00.359046585 +0300
3@@ -39,8 +39,8 @@
4 {
5 m_defaults.insert(CFG_MAP::value_type("system_table_dir", "/etc/incron.d"));
6 m_defaults.insert(CFG_MAP::value_type("user_table_dir", "/var/spool/incron"));
7- m_defaults.insert(CFG_MAP::value_type("allowed_users", "/etc/incron.allow"));
8- m_defaults.insert(CFG_MAP::value_type("denied_users", "/etc/incron.deny"));
9+ m_defaults.insert(CFG_MAP::value_type("allowed_users", "/etc/incron/incron.allow"));
10+ m_defaults.insert(CFG_MAP::value_type("denied_users", "/etc/incron/incron.deny"));
11 m_defaults.insert(CFG_MAP::value_type("lockfile_dir", "/var/run"));
12 m_defaults.insert(CFG_MAP::value_type("lockfile_name", "incrond"));
13 m_defaults.insert(CFG_MAP::value_type("editor", ""));
14--- incron-0.5.10/incrond.8~ 2012-04-07 01:19:27.000000000 +0300
15+++ incron-0.5.10/incrond.8 2012-10-21 17:32:18.844200777 +0300
16@@ -9,13 +9,13 @@
17
18 \fIincrond\fR can be started from /etc/rc, /etc/rc.local and so on. It daemonizes itself (returns immediately) and doesn't need to be started with & and through \fInohup\fR(1). It can be run on foreground too.
19
20-\fIincrond\fR uses two categories of tables \fIincrontab\fR(5). System tables are usually located in /etc/incron.d and are maintained outside of incron (e.g. by various applications). These tables work on root rights level and thus any file may be watched and commands are executed with root privileges.
21+\fIincrond\fR uses two categories of tables \fIincrontab\fR(5). System tables are usually located in /etc/incron/incron.d and are maintained outside of incron (e.g. by various applications). These tables work on root rights level and thus any file may be watched and commands are executed with root privileges.
22
23 User tables are located in /var/spool/incron by default and have names based on user accounts. These tables use users' access rights, thus only files which the user may access are watched. Commands are executed with users' privileges.
24
25 If a table (incrontab) is changed \fIincrond\fR reacts immediately and reloads the table. Currently running child processes (commands) are not affected.
26
27-There are two files determining whether an user is allowed to use incron. These files have very simple syntax \- one user name per line. If /etc/incron.allow exists the user must be noted there to be allowed to use incron. Otherwise if /etc/incron.deny exists the user must not be noted there to use incron. If none of these files exists there is no other restriction whether anybody may use incron. Location of these files can be changed in the configuration.
28+There are two files determining whether an user is allowed to use incron. These files have very simple syntax \- one user name per line. If /etc/incron/incron.allow exists the user must be noted there to be allowed to use incron. Otherwise if /etc/incron/incron.deny exists the user must not be noted there to use incron. If none of these files exists there is no other restriction whether anybody may use incron. Location of these files can be changed in the configuration.
29
30 The daemon itself is currently not protected against looping. If a command executed due to an event causes the same event it leads to an infinite loop unless a flag mask containing IN_NO_LOOP is specified. Please beware of this and do not allow permission for use incron to unreliable users.
31
32@@ -24,7 +24,7 @@
33
34 \fB\-k\fR (or \fB\-\-kill\fR) option terminates a running instance of \fBincrond\fR.
35
36-\fB\-f <FILE>\fR (or \fB\-\-config=<FILE>\fR) option specifies another location for the configuration file (/etc/incron.conf is used by default).
37+\fB\-f <FILE>\fR (or \fB\-\-config=<FILE>\fR) option specifies another location for the configuration file (/etc/incron/incron.conf is used by default).
38
39 \fBEnvironment variables:\fR For system tables, the default (the same as for incrond itself) environment variable set is used. The same applies to root's table. For non\-root user tables, the whole environment is cleared and then only these variables are set: LOGNAME, USER, USERNAME, SHELL, HOME and PATH. The variables (except PATH) take values from the user database (e.g. /etc/passwd). The PATH variable is set to /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin.
40 .SH "SEE ALSO"
41--- incron-0.5.10/incron.conf.example~ 2012-04-07 01:19:27.000000000 +0300
42+++ incron-0.5.10/incron.conf.example 2012-10-21 17:32:44.912059560 +0300
43@@ -26,19 +26,19 @@
44 # Parameter: allowed_users
45 # Meaning: allowed users list file
46 # Description: This file contains users allowed to use incron.
47-# Default: /etc/incron.allow
48+# Default: /etc/incron/incron.allow
49 #
50 # Example:
51-# allowed_users = /etc/incron/allow
52+# allowed_users = /etc/incron/incron.allow
53
54
55 # Parameter: denied_users
56 # Meaning: denied users list file
57 # Description: This file contains users denied to use incron.
58-# Default: /etc/incron.deny
59+# Default: /etc/incron/incron.deny
60 #
61 # Example:
62-# denied_users = /etc/incron/deny
63+# denied_users = /etc/incron/incron.deny
64
65
66 # Parameter: lockfile_dir
33c0d653
ER
67--- incron-0.5.10/./incron.conf.5 2012-10-21 18:26:32.645980593 +0300
68+++ incron-0.5.10/./incron.conf.5 2012-10-21 18:43:53.853688470 +0300
ab2e9ca9
ER
69@@ -1,8 +1,8 @@
70 .TH "incron.conf" "5" "0.5.10" "Lukas Jelinek" "incron documentation"
71 .SH "NAME"
72-/etc/incron.conf \- main config file for inotify cron (incron)
73+/etc/incron/incron.conf \- main config file for inotify cron (incron)
74 .SH "DESCRIPTION"
75-The file \fI/etc/incron.conf\fR contains default settings for the program
76+The file \fI/etc/incron.d/incron.conf\fR contains default settings for the program
77 .BR incrond.
78 Each line holds a single value pair in the form \fIoption\fR = \fIvalue\fR.
79 Comment lines must have a hash sign (#) in the first line.
33c0d653
ER
80@@ -19,11 +19,11 @@
81 .TP
82 \fBallowed_users\fP
83 This file contains users allowed to use incron.
84-.BR Default : \fI/etc/incron.allow\fR
85+.BR Default : \fI/etc/incron/incron.allow\fR
86 .TP
87 \fBdenied_users\fP
88 This file contains users denied to use incron.
89-.BR Default : \fI/etc/incron.deny\fR
90+.BR Default : \fI/etc/incron/incron.deny\fR
91 .TP
92 \fBlockfile_dir\fP
93 This directory is used for creating a lock avoiding to run multiple instances
94--- incron-0.5.10/./incrontab.1 2012-10-21 18:27:00.410583705 +0300
95+++ incron-0.5.10/./incrontab.1 2012-10-21 18:44:03.474128473 +0300
96@@ -12,7 +12,7 @@
97
98 All informational messages of this program are printed to the standard error output (stderr).
99
100-If \fI/etc/incron.allow\fR exists only users listed here may use incron. Otherwise if \fI/etc/incron.deny\fR exists only users NOT listed here may use incron. If none of these files exists everyone is allowed to use incron. (\fBImportant note:\fR This behavior is insecure and will be probably changed to be compatible with the style used by ISC Cron.) Location of these files can be changed in the configuration.
101+If \fI/etc/incron/incron.allow\fR exists only users listed here may use incron. Otherwise if \fI/etc/incron.deny\fR exists only users NOT listed here may use incron. If none of these files exists everyone is allowed to use incron. (\fBImportant note:\fR This behavior is insecure and will be probably changed to be compatible with the style used by ISC Cron.) Location of these files can be changed in the configuration.
102
103 The first form of this command imports a file, validates it and stores to the table. "\-" can be used for loading from the standard input.
104
ab2e9ca9
ER
105@@ -30,7 +30,7 @@
106
107 \fB\-d\fR (or \fB\-\-reload\fR) option causes reloading the current table by \fIincrond\fR(8). It is done through "touching" the table (writing into it without modifying it). This feature is intended e.g. for creating watches on newly created files (with already existing rules) or for rearming IN_ONESHOT watches.
108
109-\fB\-f <FILE>\fR (or \fB\-\-config=<FILE>\fR) option specifies another location for the configuration file (/etc/incron.conf is used by default). This feature requires root privileges.
110+\fB\-f <FILE>\fR (or \fB\-\-config=<FILE>\fR) option specifies another location for the configuration file (/etc/incron/incron.conf is used by default). This feature requires root privileges.
111
112 There is a few complex algorithm how to determine which editor will be user for editing. If any of the following rule succeeds the appropriate editor is used:
113
114--- incron-0.5.10/./incroncfg.cpp~ 2012-10-21 18:26:19.000000000 +0300
115+++ incron-0.5.10/./incroncfg.cpp 2012-10-21 18:27:35.458853260 +0300
116@@ -24,7 +24,7 @@
117 #include "incroncfg.h"
118
119
120-#define INCRON_CFG_DEFAULT "/etc/incron.conf"
121+#define INCRON_CFG_DEFAULT "/etc/incron/incron.conf"
122
123
124 typedef std::map<std::string, std::string> CFG_MAP;
125--- incron-0.5.10/./incron.h~ 2012-04-07 01:19:27.000000000 +0300
126+++ incron-0.5.10/./incron.h 2012-10-21 18:27:51.552922634 +0300
127@@ -33,7 +33,7 @@
128 #define INCRON_BUG_ADDRESS "<bugs@aiken.cz>"
129
130 /// Default configuration file
131-#define INCRON_CONFIG "/etc/incron.conf"
132+#define INCRON_CONFIG "/etc/incron/incron.conf"
133
134
135 #endif //_INCRON_H_
This page took 0.101513 seconds and 4 git commands to generate.