Codebase list citadel / upstream/7.63
Imported Upstream version 7.63 Michael Meskes 14 years ago
12 changed file(s) with 52 addition(s) and 44 deletion(s). Raw diff Collapse all Expand all
00 @%:@! /bin/sh
11 @%:@ From configure.ac Revision: 5108 .
22 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.59 for Citadel 7.61.
3 @%:@ Generated by GNU Autoconf 2.59 for Citadel 7.63.
44 @%:@
55 @%:@ Report bugs to <http://www.citadel.org/>.
66 @%:@
269269 # Identity of this package.
270270 PACKAGE_NAME='Citadel'
271271 PACKAGE_TARNAME='citadel'
272 PACKAGE_VERSION='7.61'
273 PACKAGE_STRING='Citadel 7.61'
272 PACKAGE_VERSION='7.63'
273 PACKAGE_STRING='Citadel 7.63'
274274 PACKAGE_BUGREPORT='http://www.citadel.org/'
275275
276276 ac_unique_file="citserver.c"
781781 # Omit some internal or obsolete options to make the list less imposing.
782782 # This message is too long to be a string in the A/UX 3.1 sh.
783783 cat <<_ACEOF
784 \`configure' configures Citadel 7.61 to adapt to many kinds of systems.
784 \`configure' configures Citadel 7.63 to adapt to many kinds of systems.
785785
786786 Usage: $0 [OPTION]... [VAR=VALUE]...
787787
842842
843843 if test -n "$ac_init_help"; then
844844 case $ac_init_help in
845 short | recursive ) echo "Configuration of Citadel 7.61:";;
845 short | recursive ) echo "Configuration of Citadel 7.63:";;
846846 esac
847847 cat <<\_ACEOF
848848
987987 test -n "$ac_init_help" && exit 0
988988 if $ac_init_version; then
989989 cat <<\_ACEOF
990 Citadel configure 7.61
990 Citadel configure 7.63
991991 generated by GNU Autoconf 2.59
992992
993993 Copyright (C) 2003 Free Software Foundation, Inc.
10011001 This file contains any messages produced by compilers while
10021002 running configure, to aid debugging if configure makes a mistake.
10031003
1004 It was created by Citadel $as_me 7.61, which was
1004 It was created by Citadel $as_me 7.63, which was
10051005 generated by GNU Autoconf 2.59. Invocation command line was
10061006
10071007 $ $0 $@
1348313483 } >&5
1348413484 cat >&5 <<_CSEOF
1348513485
13486 This file was extended by Citadel $as_me 7.61, which was
13486 This file was extended by Citadel $as_me 7.63, which was
1348713487 generated by GNU Autoconf 2.59. Invocation command line was
1348813488
1348913489 CONFIG_FILES = $CONFIG_FILES
1354313543
1354413544 cat >>$CONFIG_STATUS <<_ACEOF
1354513545 ac_cs_version="\\
13546 Citadel config.status 7.61
13546 Citadel config.status 7.63
1354713547 configured by $0, generated by GNU Autoconf 2.59,
1354813548 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1354913549
00 m4trace:aclocal.m4:102: -1- m4_include([m4/ucread.m4])
11 m4trace:aclocal.m4:103: -1- m4_include([acinclude.m4])
2 m4trace:configure.ac:4: -1- AC_INIT([Citadel], [7.61], [http://www.citadel.org/])
2 m4trace:configure.ac:4: -1- AC_INIT([Citadel], [7.63], [http://www.citadel.org/])
33 m4trace:configure.ac:4: -1- m4_pattern_forbid([^_?A[CHUM]_])
44 m4trace:configure.ac:4: -1- m4_pattern_forbid([_AC_])
55 m4trace:configure.ac:4: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
00 /*
1 * $Id: citadel.h 7725 2009-08-06 05:50:43Z ajc $
1 * $Id: citadel.h 7756 2009-09-01 02:17:55Z ajc $
22 *
33 * Main Citadel header file
44 * See COPYING for copyright information.
3737 * usually more strict because you're not really supposed to dump/load and
3838 * upgrade at the same time.
3939 */
40 #define REV_LEVEL 761 /* This version */
40 #define REV_LEVEL 763 /* This version */
4141 #define REV_MIN 591 /* Oldest compatible database */
4242 #define EXPORT_REV_MIN 760 /* Oldest compatible export files */
43 #define LIBCITADEL_MIN 761 /* Minimum required version of libcitadel */
43 #define LIBCITADEL_MIN 763 /* Minimum required version of libcitadel */
4444
4545 #define SERVER_TYPE 0 /* zero for stock Citadel; other developers please
4646 obtain SERVER_TYPE codes for your implementations */
0 ; $Id: citadel.nsi 7725 2009-08-06 05:50:43Z ajc $
0 ; $Id: citadel.nsi 7756 2009-09-01 02:17:55Z ajc $
11 ; NOTE: this .NSI script is designed for NSIS v2.0b0+
22 ; Get NSIS at http://www.nullsoft.com/
33
44 !include "${NSISDIR}\Contrib\Modern UI\System.nsh"
55 !define MUI_PRODUCT "Citadel"
6 !define MUI_VERSION "7.61"
6 !define MUI_VERSION "7.63"
77 !define MUI_WELCOMEPAGE
88 !define MUI_LICENSEPAGE
99 !define MUI_COMPONENTSPAGE
1717 ;!define MUI_ICON "${NSISDIR}\Contrib\Icons\modern-install.ico"
1818 ;!define MUI_UNICON "${NSISDIR}\Contrib\Icons\modern-uninstall.ico"
1919
20 OutFile "citadel-7.61.exe"
20 OutFile "citadel-7.63.exe"
2121 BGGradient off
2222
2323 LangString DESC_Citadel ${LANG_ENGLISH} "Citadel client and core libraries (required)"
00 #! /bin/sh
11 # From configure.ac Revision: 5108 .
22 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Citadel 7.61.
3 # Generated by GNU Autoconf 2.59 for Citadel 7.63.
44 #
55 # Report bugs to <http://www.citadel.org/>.
66 #
269269 # Identity of this package.
270270 PACKAGE_NAME='Citadel'
271271 PACKAGE_TARNAME='citadel'
272 PACKAGE_VERSION='7.61'
273 PACKAGE_STRING='Citadel 7.61'
272 PACKAGE_VERSION='7.63'
273 PACKAGE_STRING='Citadel 7.63'
274274 PACKAGE_BUGREPORT='http://www.citadel.org/'
275275
276276 ac_unique_file="citserver.c"
781781 # Omit some internal or obsolete options to make the list less imposing.
782782 # This message is too long to be a string in the A/UX 3.1 sh.
783783 cat <<_ACEOF
784 \`configure' configures Citadel 7.61 to adapt to many kinds of systems.
784 \`configure' configures Citadel 7.63 to adapt to many kinds of systems.
785785
786786 Usage: $0 [OPTION]... [VAR=VALUE]...
787787
842842
843843 if test -n "$ac_init_help"; then
844844 case $ac_init_help in
845 short | recursive ) echo "Configuration of Citadel 7.61:";;
845 short | recursive ) echo "Configuration of Citadel 7.63:";;
846846 esac
847847 cat <<\_ACEOF
848848
987987 test -n "$ac_init_help" && exit 0
988988 if $ac_init_version; then
989989 cat <<\_ACEOF
990 Citadel configure 7.61
990 Citadel configure 7.63
991991 generated by GNU Autoconf 2.59
992992
993993 Copyright (C) 2003 Free Software Foundation, Inc.
10011001 This file contains any messages produced by compilers while
10021002 running configure, to aid debugging if configure makes a mistake.
10031003
1004 It was created by Citadel $as_me 7.61, which was
1004 It was created by Citadel $as_me 7.63, which was
10051005 generated by GNU Autoconf 2.59. Invocation command line was
10061006
10071007 $ $0 $@
1348313483 } >&5
1348413484 cat >&5 <<_CSEOF
1348513485
13486 This file was extended by Citadel $as_me 7.61, which was
13486 This file was extended by Citadel $as_me 7.63, which was
1348713487 generated by GNU Autoconf 2.59. Invocation command line was
1348813488
1348913489 CONFIG_FILES = $CONFIG_FILES
1354313543
1354413544 cat >>$CONFIG_STATUS <<_ACEOF
1354513545 ac_cs_version="\\
13546 Citadel config.status 7.61
13546 Citadel config.status 7.63
1354713547 configured by $0, generated by GNU Autoconf 2.59,
1354813548 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1354913549
00 dnl Process this file with autoconf to produce a configure script.
1 dnl $Id: configure.ac 7725 2009-08-06 05:50:43Z ajc $
1 dnl $Id: configure.ac 7756 2009-09-01 02:17:55Z ajc $
22 AC_PREREQ(2.52)
3 AC_INIT([Citadel], [7.61], [http://www.citadel.org/])
3 AC_INIT([Citadel], [7.63], [http://www.citadel.org/])
44 AC_REVISION([$Revision: 5108 $])
55 AC_CONFIG_SRCDIR([citserver.c])
66 AC_CONFIG_HEADER(sysdep.h)
00 /*
1 * $Id: serv_imap.c 7533 2009-06-04 19:01:24Z ajc $
1 * $Id: serv_imap.c 7731 2009-08-14 16:08:13Z dothebart $
22 *
33 * IMAP server for the Citadel system
44 * Copyright (C) 2000-2007 by Art Cancro and others.
601601 char pass[256];
602602 int result;
603603
604 memset(pass, 0, sizeof(pass));
604605 CtdlDecodeBase64(decoded_authstring, cmd, strlen(cmd));
605606 safestrncpy(ident, decoded_authstring, sizeof ident);
606607 safestrncpy(user, &decoded_authstring[strlen(ident) + 1], sizeof user);
640641 {
641642 char buf[SIZ];
642643
644 memset(buf, 0, sizeof(buf));
643645 CtdlDecodeBase64(buf, cmd, SIZ);
644646 if (CtdlTryPassword(buf) == pass_ok) {
645647 cprintf("%s OK authentication succeeded\r\n", IMAP->authseq);
16721674 }
16731675
16741676 /* return our Subversion id for the Log */
1675 return "$Id: serv_imap.c 7533 2009-06-04 19:01:24Z ajc $";
1676 }
1677 return "$Id: serv_imap.c 7731 2009-08-14 16:08:13Z dothebart $";
1678 }
00 /*
1 * $Id: xmpp_sasl_service.c 7094 2009-02-11 01:46:19Z ajc $
1 * $Id: xmpp_sasl_service.c 7731 2009-08-14 16:08:13Z dothebart $
22 *
33 * Barebones SASL authentication service for XMPP (Jabber) clients.
44 *
6161
6262
6363 /* Take apart the authentication string */
64 memset(pass, 0, sizeof(pass));
6465
6566 CtdlDecodeBase64(decoded_authstring, authstring, strlen(authstring));
6667 safestrncpy(ident, decoded_authstring, sizeof ident);
00 /*
1 * $Id: serv_smtp.c 7623 2009-06-21 21:14:56Z dothebart $
1 * $Id: serv_smtp.c 7731 2009-08-14 16:08:13Z dothebart $
22 *
33 * This module is an SMTP and ESMTP implementation for the Citadel system.
44 * It is compliant with all of the following:
315315 void smtp_get_pass(char *argbuf) {
316316 char password[SIZ];
317317
318 memset(password, 0, sizeof(password));
318319 CtdlDecodeBase64(password, argbuf, SIZ);
319320 /* CtdlLogPrintf(CTDL_DEBUG, "Trying <%s>\n", password); */
320321 if (CtdlTryPassword(password) == pass_ok) {
18741875 }
18751876
18761877 /* return our Subversion id for the Log */
1877 return "$Id: serv_smtp.c 7623 2009-06-21 21:14:56Z dothebart $";
1878 }
1878 return "$Id: serv_smtp.c 7731 2009-08-14 16:08:13Z dothebart $";
1879 }
00 /*
1 * $Id: room_ops.c 7565 2009-06-12 08:30:20Z dothebart $
1 * $Id: room_ops.c 7737 2009-08-20 16:50:50Z ajc $
22 *
33 * Server functions which perform operations on room objects.
44 *
5656
5757 /* for internal programs, always do everything */
5858 if (((CC->internal_pgm)) && (roombuf->QRflags & QR_INUSE)) {
59 retval = (UA_KNOWN | UA_GOTOALLOWED | UA_POSTALLOWED);
59 retval = (UA_KNOWN | UA_GOTOALLOWED | UA_POSTALLOWED | UA_DELETEALLOWED);
6060 vbuf.v_view = 0;
6161 goto SKIP_EVERYTHING;
6262 }
11711171 stat(buf, &statbuf); /* stat the file */
11721172 if (!(statbuf.st_mode & S_IFREG))
11731173 {
1174 snprintf(buf2, sizeof buf2, "Command RDIR found something that is not a useable file. It should be cleaned up.\n RDIR found this non regular file:\n%s\n", buf);
1175 aide_message(buf2, "RDIR found bad file");
1174 snprintf(buf2, sizeof buf2,
1175 "\"%s\" appears in the file directory for room \"%s\" but is not a regular file. Directories, named pipes, sockets, etc. are not usable in Citadel room directories.\n",
1176 buf, CC->room.QRname
1177 );
1178 aide_message(buf2, "Unusable data found in room directory");
11761179 continue; /* not a useable file type so don't show it */
11771180 }
11781181 safestrncpy(comment, "", sizeof comment);
21912194 CtdlRegisterProtoHook(cmd_kflr, "KFLR", "Autoconverted. TODO: document me.");
21922195 CtdlRegisterProtoHook(cmd_eflr, "EFLR", "Autoconverted. TODO: document me.");
21932196 /* return our Subversion id for the Log */
2194 return "$Id: room_ops.c 7565 2009-06-12 08:30:20Z dothebart $";
2195 }
2197 return "$Id: room_ops.c 7737 2009-08-20 16:50:50Z ajc $";
2198 }
88
99 const char *svn_revision (void)
1010 {
11 const char *SVN_Version = "7725";
11 const char *SVN_Version = "7758";
1212 return SVN_Version;
1313 }
00 /*
1 * $Id: user_ops.c 7647 2009-07-03 05:27:48Z ajc $
1 * $Id: user_ops.c 7731 2009-08-14 16:08:13Z dothebart $
22 *
33 * Server functions which perform operations on user objects.
44 *
935935 char password[256];
936936 int a;
937937
938 memset(password, 0, sizeof(password));
938939 extract_token(password, buf, 0, '|', sizeof password);
939940 a = CtdlTryPassword(password);
940941
20372038 CtdlRegisterProtoHook(cmd_renu, "RENU", "Autoconverted. TODO: document me.");
20382039 CtdlRegisterProtoHook(cmd_newu, "NEWU", "Autoconverted. TODO: document me.");
20392040 /* return our Subversion id for the Log */
2040 return "$Id: user_ops.c 7647 2009-07-03 05:27:48Z ajc $";
2041 }
2041 return "$Id: user_ops.c 7731 2009-08-14 16:08:13Z dothebart $";
2042 }