diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | doc/gsc.texi | 449 | ||||
-rw-r--r-- | jabberd/Makefile.am | 22 | ||||
-rw-r--r-- | jabberd/jabberd.h | 62 | ||||
-rw-r--r-- | jabberd/main.c | 910 | ||||
-rw-r--r-- | jabberd/progman.c | 647 | ||||
-rw-r--r-- | mc/trurl.mc | 15 |
9 files changed, 15 insertions, 2102 deletions
@@ -1,12 +1,18 @@ | |||
1 | 2010-01-29 Sergey Poznyakoff <gray@gnu.org.ua> | ||
2 | |||
3 | * jabberd: Removed. Use GNU pies instead. | ||
4 | * Makefile.am, configure.ac: Update. | ||
5 | * doc/gsc.texi: Update. | ||
6 | |||
1 | 2009-08-03 Sergey Poznyakoff <gray@gnu.org.ua> | 7 | 2009-08-03 Sergey Poznyakoff <gray@gnu.org.ua> |
2 | 8 | ||
3 | * vpn/svpnsh: Fix concurrent login recognition. | 9 | * vpn/svpnsh: Fix concurrent login recognition. |
4 | 10 | ||
5 | 2009-03-19 Sergey Poznyakoff <gray@gnu.org.ua> | 11 | 2009-03-19 Sergey Poznyakoff <gray@gnu.org.ua> |
6 | 12 | ||
7 | Bugfix in sv_sync_www | 13 | Bugfix in sv_sync_www |
8 | 14 | ||
9 | * cvs/sv_sync_www.c (do_sync): Do not sort the array. This causes | 15 | * cvs/sv_sync_www.c (do_sync): Do not sort the array. This causes |
10 | malfunction on newly committed hierarchies. | 16 | malfunction on newly committed hierarchies. |
11 | 17 | ||
12 | 2009-02-13 Sergey Poznyakoff <gray@gnu.org.ua> | 18 | 2009-02-13 Sergey Poznyakoff <gray@gnu.org.ua> |
diff --git a/Makefile.am b/Makefile.am index 6215e1f..fcba8a0 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -25,14 +25,13 @@ SUBDIRS=\ | |||
25 | ckaliases\ | 25 | ckaliases\ |
26 | consoleconf\ | 26 | consoleconf\ |
27 | cvs\ | 27 | cvs\ |
28 | doc\ | 28 | doc\ |
29 | etc\ | 29 | etc\ |
30 | elisp\ | 30 | elisp\ |
31 | firewall\ | 31 | firewall\ |
32 | fixnamespace\ | 32 | fixnamespace\ |
33 | fsf-move\ | 33 | fsf-move\ |
34 | maint\ | 34 | maint\ |
35 | mc\ | 35 | mc\ |
36 | ppp\ | 36 | ppp\ |
37 | rc.d\ | 37 | rc.d |
38 | jabberd | ||
diff --git a/configure.ac b/configure.ac index 97a928d..d9dabeb 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -107,26 +107,25 @@ bind | |||
107 | ckaliases | 107 | ckaliases |
108 | consoleconf | 108 | consoleconf |
109 | cvs | 109 | cvs |
110 | doc | 110 | doc |
111 | etc | 111 | etc |
112 | elisp | 112 | elisp |
113 | firewall | 113 | firewall |
114 | fixnamespace | 114 | fixnamespace |
115 | fsf-move | 115 | fsf-move |
116 | maint | 116 | maint |
117 | mc | 117 | mc |
118 | ppp | 118 | ppp |
119 | rc.d | 119 | rc.d' |
120 | jabberd' | ||
121 | 120 | ||
122 | AC_ARG_VAR([XMODLIST], | 121 | AC_ARG_VAR([XMODLIST], |
123 | [Comma-delimited list of modules to exclude from building (see also --enable-modules)]) | 122 | [Comma-delimited list of modules to exclude from building (see also --enable-modules)]) |
124 | SENSE= | 123 | SENSE= |
125 | 124 | ||
126 | AC_ARG_ENABLE([module], | 125 | AC_ARG_ENABLE([module], |
127 | [AC_HELP_STRING([--enable-modules], | 126 | [AC_HELP_STRING([--enable-modules], |
128 | [Enable only modules from XMODLIST])], | 127 | [Enable only modules from XMODLIST])], |
129 | [case $enableval in | 128 | [case $enableval in |
130 | yes) SENSE=include;; | 129 | yes) SENSE=include;; |
131 | no) SENSE=exclude;; | 130 | no) SENSE=exclude;; |
132 | *) AC_MSG_FAILURE([Invalid argument for --enable-modules]) | 131 | *) AC_MSG_FAILURE([Invalid argument for --enable-modules]) |
diff --git a/doc/gsc.texi b/doc/gsc.texi index 29e5e1b..87e1ce5 100644 --- a/doc/gsc.texi +++ b/doc/gsc.texi | |||
@@ -110,41 +110,29 @@ sv_sync_www | |||
110 | Source Tree Utilities | 110 | Source Tree Utilities |
111 | 111 | ||
112 | * fixnamespace:: Fix Global Namespace of a Project. | 112 | * fixnamespace:: Fix Global Namespace of a Project. |
113 | * fsf-move:: Update FSF Postal Mail Address in (L)GPL | 113 | * fsf-move:: Update FSF Postal Mail Address in (L)GPL |
114 | Copyright Statements. | 114 | Copyright Statements. |
115 | 115 | ||
116 | Root Utilities | 116 | Root Utilities |
117 | 117 | ||
118 | * ckaliases:: Check MTA alias files. | 118 | * ckaliases:: Check MTA alias files. |
119 | * bind replication:: A Framework for Replicating Master @command{bind} Server. | 119 | * bind replication:: A Framework for Replicating Master @command{bind} Server. |
120 | * firewall:: M4 Wrappers For Setting Firewalls. | 120 | * firewall:: M4 Wrappers For Setting Firewalls. |
121 | * session-cleanup:: Manage PHP Sessions. | 121 | * session-cleanup:: Manage PHP Sessions. |
122 | * jabberd:: Jabberd dispatcher daemon. | ||
123 | 122 | ||
124 | firewall | 123 | firewall |
125 | 124 | ||
126 | * Primitives:: A set of primitives defined in @file{firewall.m4} | 125 | * Primitives:: A set of primitives defined in @file{firewall.m4} |
127 | 126 | ||
128 | Jabberd | ||
129 | |||
130 | * jabintro:: Jabberd Operation Overview | ||
131 | * jabopts:: Command Line Options. | ||
132 | * jabberd.cfg:: Main Jabberd Configuration File. | ||
133 | |||
134 | Jabberd Configuration File | ||
135 | |||
136 | * cfgstat:: Configuration File Statements | ||
137 | * example:: An Example of the Configuration file | ||
138 | |||
139 | Startup Scripts | 127 | Startup Scripts |
140 | 128 | ||
141 | * rc.inet1:: A Replacement for Slackware @command{rc.inet1}. | 129 | * rc.inet1:: A Replacement for Slackware @command{rc.inet1}. |
142 | * rc.autofs:: Automounter Setup. | 130 | * rc.autofs:: Automounter Setup. |
143 | * rc.ntpd:: @command{Ntpd} Setup. | 131 | * rc.ntpd:: @command{Ntpd} Setup. |
144 | * rc.local:: Local Startup. | 132 | * rc.local:: Local Startup. |
145 | * rc.firewall:: Firewall Setup. | 133 | * rc.firewall:: Firewall Setup. |
146 | * rc.ipacct:: @command{ipacct} setup. | 134 | * rc.ipacct:: @command{ipacct} setup. |
147 | * rc.ppp:: Set up a @acronym{PPP} connection. | 135 | * rc.ppp:: Set up a @acronym{PPP} connection. |
148 | * rc.tagr:: @command{tagr} setup. | 136 | * rc.tagr:: @command{tagr} setup. |
149 | 137 | ||
150 | User Tools | 138 | User Tools |
@@ -832,25 +820,24 @@ cases, though not always. Such files should probably be inspected after | |||
832 | @command{fsf-move} finishes its work. | 820 | @command{fsf-move} finishes its work. |
833 | 821 | ||
834 | @node Root Utilities, Sendmail mc Files, Source Tree Utilities, Top | 822 | @node Root Utilities, Sendmail mc Files, Source Tree Utilities, Top |
835 | @chapter Root Utilities | 823 | @chapter Root Utilities |
836 | 824 | ||
837 | This chapter describes a set of utilities useful in system administration. | 825 | This chapter describes a set of utilities useful in system administration. |
838 | 826 | ||
839 | @menu | 827 | @menu |
840 | * ckaliases:: Check MTA alias files. | 828 | * ckaliases:: Check MTA alias files. |
841 | * bind replication:: A Framework for Replicating Master @command{bind} Server. | 829 | * bind replication:: A Framework for Replicating Master @command{bind} Server. |
842 | * firewall:: M4 Wrappers For Setting Firewalls. | 830 | * firewall:: M4 Wrappers For Setting Firewalls. |
843 | * session-cleanup:: Manage PHP Sessions. | 831 | * session-cleanup:: Manage PHP Sessions. |
844 | * jabberd:: Jabberd dispatcher daemon. | ||
845 | @end menu | 832 | @end menu |
846 | 833 | ||
847 | @node ckaliases | 834 | @node ckaliases |
848 | @section ckaliases | 835 | @section ckaliases |
849 | 836 | ||
850 | @pindex ckaliases | 837 | @pindex ckaliases |
851 | @command{Ckaliases} checks one or several | 838 | @command{Ckaliases} checks one or several |
852 | @command{sendmail}-style alias files for consistency. Following | 839 | @command{sendmail}-style alias files for consistency. Following |
853 | checks are performed: | 840 | checks are performed: |
854 | 841 | ||
855 | @enumerate 1 | 842 | @enumerate 1 |
856 | @item Transitivity check | 843 | @item Transitivity check |
@@ -1158,460 +1145,24 @@ session-cleanup @var{options} [@var{config-file}] | |||
1158 | Dry run. Only display which files will be removed, do not | 1145 | Dry run. Only display which files will be removed, do not |
1159 | actually remove them. | 1146 | actually remove them. |
1160 | 1147 | ||
1161 | @item -t @var{ttl} | 1148 | @item -t @var{ttl} |
1162 | Set default session time to live. @var{ttl} is measured in days. | 1149 | Set default session time to live. @var{ttl} is measured in days. |
1163 | 1150 | ||
1164 | @item -v | 1151 | @item -v |
1165 | @cindex @option{-v} command line option, @command{session-cleanup} | 1152 | @cindex @option{-v} command line option, @command{session-cleanup} |
1166 | Verbose mode. Useful for debugging in conjunction with | 1153 | Verbose mode. Useful for debugging in conjunction with |
1167 | @option{-n}. | 1154 | @option{-n}. |
1168 | @end table | 1155 | @end table |
1169 | 1156 | ||
1170 | @node jabberd | ||
1171 | @section Jabberd | ||
1172 | @cindex jabberd | ||
1173 | The @command{jabberd} utility is a dispatcher daemon for | ||
1174 | @samp{Jabberd 2.x} | ||
1175 | (@uref{http://www.jabber.org/software/jabberd2x.shtml}). It is | ||
1176 | intended as a replacement for the similar utility shipped with the | ||
1177 | @samp{jabberd 2.x} package. There were two reasons that urged for the | ||
1178 | replacement: first, the original @command{jabberd} is written in Perl | ||
1179 | and consumes way too many resources because of that. Secondly, it is | ||
1180 | not flexible enough. In particular, it is only able to control jabber | ||
1181 | daemons, but cannot control external transports (such as @acronym{GG} | ||
1182 | or @acronym{GIT}. | ||
1183 | |||
1184 | @menu | ||
1185 | * jabintro:: Jabberd Operation Overview | ||
1186 | * jabopts:: Command Line Options. | ||
1187 | * jabberd.cfg:: Main Jabberd Configuration File. | ||
1188 | @end menu | ||
1189 | |||
1190 | @node jabintro | ||
1191 | @subsection Jabberd Operation Overview | ||
1192 | |||
1193 | The @acronym{GSC} @command{jabberd} is a supervisor daemon that | ||
1194 | starts a number of @dfn{components} and controls their execution. | ||
1195 | A component is either a jabberd core component (as, | ||
1196 | e.g. @command{c2s}) or some external program (e.g. a transport). The | ||
1197 | daemon reads the list of components from its configuration file upon | ||
1198 | startup. By default, the configuration file is named | ||
1199 | @file{jabberd.cfg} and is located in @code{$sysconfdir} directory, but | ||
1200 | its exact location can be overridden at startup (see @option{-c} | ||
1201 | option, below). If run with the root privileges, @command{jabberd} | ||
1202 | switches to the privileges of a selected user (by default | ||
1203 | @samp{jabber}) right after startup. Then, the program changes file |