aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac3
-rw-r--r--doc/gsc.texi449
-rw-r--r--jabberd/Makefile.am22
-rw-r--r--jabberd/jabberd.h62
-rw-r--r--jabberd/main.c910
-rw-r--r--jabberd/progman.c647
-rw-r--r--mc/trurl.mc15
9 files changed, 15 insertions, 2102 deletions
diff --git a/ChangeLog b/ChangeLog
index 6894c0e..b855c2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,18 @@
12010-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
12009-08-03 Sergey Poznyakoff <gray@gnu.org.ua> 72009-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
52009-03-19 Sergey Poznyakoff <gray@gnu.org.ua> 112009-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
122009-02-13 Sergey Poznyakoff <gray@gnu.org.ua> 182009-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
107ckaliases 107ckaliases
108consoleconf 108consoleconf
109cvs 109cvs
110doc 110doc
111etc 111etc
112elisp 112elisp
113firewall 113firewall
114fixnamespace 114fixnamespace
115fsf-move 115fsf-move
116maint 116maint
117mc 117mc
118ppp 118ppp
119rc.d 119rc.d'
120jabberd'
121 120
122AC_ARG_VAR([XMODLIST], 121AC_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)])
124SENSE= 123SENSE=
125 124
126AC_ARG_ENABLE([module], 125AC_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
110Source Tree Utilities 110Source 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
116Root Utilities 116Root 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
124firewall 123firewall
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
128Jabberd
129
130* jabintro:: Jabberd Operation Overview
131* jabopts:: Command Line Options.
132* jabberd.cfg:: Main Jabberd Configuration File.
133
134Jabberd Configuration File
135
136* cfgstat:: Configuration File Statements
137* example:: An Example of the Configuration file
138
139Startup Scripts 127Startup 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
150User Tools 138User 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
853checks are performed: 840checks 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
1159actually remove them. 1146actually 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
1176intended as a replacement for the similar utility shipped with the
1177@samp{jabberd 2.x} package. There were two reasons that urged for the
1178replacement: first, the original @command{jabberd} is written in Perl
1179and consumes way too many resources because of that. Secondly, it is
1180not flexible enough. In particular, it is only able to control jabber
1181daemons, but cannot control external transports (such as @acronym{GG}
1182or @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
1194starts a number of @dfn{components} and controls their execution.
1195A component is either a jabberd core component (as,
1196e.g. @command{c2s}) or some external program (e.g. a transport). The
1197daemon reads the list of components from its configuration file upon
1198startup. By default, the configuration file is named
1199@file{jabberd.cfg} and is located in @code{$sysconfdir} directory, but
1200its exact location can be overridden at startup (see @option{-c}
1201option, below). If run with the root privileges, @command{jabberd}
1202switches to the privileges of a selected user (by default
1203@samp{jabber}) right after startup. Then, the program changes file</