Imported Upstream version 7.63
Michael Meskes
14 years ago
0 | 0 | @%:@! /bin/sh |
1 | 1 | @%:@ From configure.ac Revision: 5108 . |
2 | 2 | @%:@ 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. | |
4 | 4 | @%:@ |
5 | 5 | @%:@ Report bugs to <http://www.citadel.org/>. |
6 | 6 | @%:@ |
269 | 269 | # Identity of this package. |
270 | 270 | PACKAGE_NAME='Citadel' |
271 | 271 | 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' | |
274 | 274 | PACKAGE_BUGREPORT='http://www.citadel.org/' |
275 | 275 | |
276 | 276 | ac_unique_file="citserver.c" |
781 | 781 | # Omit some internal or obsolete options to make the list less imposing. |
782 | 782 | # This message is too long to be a string in the A/UX 3.1 sh. |
783 | 783 | 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. | |
785 | 785 | |
786 | 786 | Usage: $0 [OPTION]... [VAR=VALUE]... |
787 | 787 | |
842 | 842 | |
843 | 843 | if test -n "$ac_init_help"; then |
844 | 844 | case $ac_init_help in |
845 | short | recursive ) echo "Configuration of Citadel 7.61:";; | |
845 | short | recursive ) echo "Configuration of Citadel 7.63:";; | |
846 | 846 | esac |
847 | 847 | cat <<\_ACEOF |
848 | 848 | |
987 | 987 | test -n "$ac_init_help" && exit 0 |
988 | 988 | if $ac_init_version; then |
989 | 989 | cat <<\_ACEOF |
990 | Citadel configure 7.61 | |
990 | Citadel configure 7.63 | |
991 | 991 | generated by GNU Autoconf 2.59 |
992 | 992 | |
993 | 993 | Copyright (C) 2003 Free Software Foundation, Inc. |
1001 | 1001 | This file contains any messages produced by compilers while |
1002 | 1002 | running configure, to aid debugging if configure makes a mistake. |
1003 | 1003 | |
1004 | It was created by Citadel $as_me 7.61, which was | |
1004 | It was created by Citadel $as_me 7.63, which was | |
1005 | 1005 | generated by GNU Autoconf 2.59. Invocation command line was |
1006 | 1006 | |
1007 | 1007 | $ $0 $@ |
13483 | 13483 | } >&5 |
13484 | 13484 | cat >&5 <<_CSEOF |
13485 | 13485 | |
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 | |
13487 | 13487 | generated by GNU Autoconf 2.59. Invocation command line was |
13488 | 13488 | |
13489 | 13489 | CONFIG_FILES = $CONFIG_FILES |
13543 | 13543 | |
13544 | 13544 | cat >>$CONFIG_STATUS <<_ACEOF |
13545 | 13545 | ac_cs_version="\\ |
13546 | Citadel config.status 7.61 | |
13546 | Citadel config.status 7.63 | |
13547 | 13547 | configured by $0, generated by GNU Autoconf 2.59, |
13548 | 13548 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
13549 | 13549 |
0 | 0 | m4trace:aclocal.m4:102: -1- m4_include([m4/ucread.m4]) |
1 | 1 | 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/]) | |
3 | 3 | m4trace:configure.ac:4: -1- m4_pattern_forbid([^_?A[CHUM]_]) |
4 | 4 | m4trace:configure.ac:4: -1- m4_pattern_forbid([_AC_]) |
5 | 5 | m4trace:configure.ac:4: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) |
0 | 0 | /* |
1 | * $Id: citadel.h 7725 2009-08-06 05:50:43Z ajc $ | |
1 | * $Id: citadel.h 7756 2009-09-01 02:17:55Z ajc $ | |
2 | 2 | * |
3 | 3 | * Main Citadel header file |
4 | 4 | * See COPYING for copyright information. |
37 | 37 | * usually more strict because you're not really supposed to dump/load and |
38 | 38 | * upgrade at the same time. |
39 | 39 | */ |
40 | #define REV_LEVEL 761 /* This version */ | |
40 | #define REV_LEVEL 763 /* This version */ | |
41 | 41 | #define REV_MIN 591 /* Oldest compatible database */ |
42 | 42 | #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 */ | |
44 | 44 | |
45 | 45 | #define SERVER_TYPE 0 /* zero for stock Citadel; other developers please |
46 | 46 | 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 $ | |
1 | 1 | ; NOTE: this .NSI script is designed for NSIS v2.0b0+ |
2 | 2 | ; Get NSIS at http://www.nullsoft.com/ |
3 | 3 | |
4 | 4 | !include "${NSISDIR}\Contrib\Modern UI\System.nsh" |
5 | 5 | !define MUI_PRODUCT "Citadel" |
6 | !define MUI_VERSION "7.61" | |
6 | !define MUI_VERSION "7.63" | |
7 | 7 | !define MUI_WELCOMEPAGE |
8 | 8 | !define MUI_LICENSEPAGE |
9 | 9 | !define MUI_COMPONENTSPAGE |
17 | 17 | ;!define MUI_ICON "${NSISDIR}\Contrib\Icons\modern-install.ico" |
18 | 18 | ;!define MUI_UNICON "${NSISDIR}\Contrib\Icons\modern-uninstall.ico" |
19 | 19 | |
20 | OutFile "citadel-7.61.exe" | |
20 | OutFile "citadel-7.63.exe" | |
21 | 21 | BGGradient off |
22 | 22 | |
23 | 23 | LangString DESC_Citadel ${LANG_ENGLISH} "Citadel client and core libraries (required)" |
0 | 0 | #! /bin/sh |
1 | 1 | # From configure.ac Revision: 5108 . |
2 | 2 | # 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. | |
4 | 4 | # |
5 | 5 | # Report bugs to <http://www.citadel.org/>. |
6 | 6 | # |
269 | 269 | # Identity of this package. |
270 | 270 | PACKAGE_NAME='Citadel' |
271 | 271 | 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' | |
274 | 274 | PACKAGE_BUGREPORT='http://www.citadel.org/' |
275 | 275 | |
276 | 276 | ac_unique_file="citserver.c" |
781 | 781 | # Omit some internal or obsolete options to make the list less imposing. |
782 | 782 | # This message is too long to be a string in the A/UX 3.1 sh. |
783 | 783 | 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. | |
785 | 785 | |
786 | 786 | Usage: $0 [OPTION]... [VAR=VALUE]... |
787 | 787 | |
842 | 842 | |
843 | 843 | if test -n "$ac_init_help"; then |
844 | 844 | case $ac_init_help in |
845 | short | recursive ) echo "Configuration of Citadel 7.61:";; | |
845 | short | recursive ) echo "Configuration of Citadel 7.63:";; | |
846 | 846 | esac |
847 | 847 | cat <<\_ACEOF |
848 | 848 | |
987 | 987 | test -n "$ac_init_help" && exit 0 |
988 | 988 | if $ac_init_version; then |
989 | 989 | cat <<\_ACEOF |
990 | Citadel configure 7.61 | |
990 | Citadel configure 7.63 | |
991 | 991 | generated by GNU Autoconf 2.59 |
992 | 992 | |
993 | 993 | Copyright (C) 2003 Free Software Foundation, Inc. |
1001 | 1001 | This file contains any messages produced by compilers while |
1002 | 1002 | running configure, to aid debugging if configure makes a mistake. |
1003 | 1003 | |
1004 | It was created by Citadel $as_me 7.61, which was | |
1004 | It was created by Citadel $as_me 7.63, which was | |
1005 | 1005 | generated by GNU Autoconf 2.59. Invocation command line was |
1006 | 1006 | |
1007 | 1007 | $ $0 $@ |
13483 | 13483 | } >&5 |
13484 | 13484 | cat >&5 <<_CSEOF |
13485 | 13485 | |
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 | |
13487 | 13487 | generated by GNU Autoconf 2.59. Invocation command line was |
13488 | 13488 | |
13489 | 13489 | CONFIG_FILES = $CONFIG_FILES |
13543 | 13543 | |
13544 | 13544 | cat >>$CONFIG_STATUS <<_ACEOF |
13545 | 13545 | ac_cs_version="\\ |
13546 | Citadel config.status 7.61 | |
13546 | Citadel config.status 7.63 | |
13547 | 13547 | configured by $0, generated by GNU Autoconf 2.59, |
13548 | 13548 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
13549 | 13549 |
0 | 0 | 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 $ | |
2 | 2 | AC_PREREQ(2.52) |
3 | AC_INIT([Citadel], [7.61], [http://www.citadel.org/]) | |
3 | AC_INIT([Citadel], [7.63], [http://www.citadel.org/]) | |
4 | 4 | AC_REVISION([$Revision: 5108 $]) |
5 | 5 | AC_CONFIG_SRCDIR([citserver.c]) |
6 | 6 | AC_CONFIG_HEADER(sysdep.h) |
0 | 0 | /* |
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 $ | |
2 | 2 | * |
3 | 3 | * IMAP server for the Citadel system |
4 | 4 | * Copyright (C) 2000-2007 by Art Cancro and others. |
601 | 601 | char pass[256]; |
602 | 602 | int result; |
603 | 603 | |
604 | memset(pass, 0, sizeof(pass)); | |
604 | 605 | CtdlDecodeBase64(decoded_authstring, cmd, strlen(cmd)); |
605 | 606 | safestrncpy(ident, decoded_authstring, sizeof ident); |
606 | 607 | safestrncpy(user, &decoded_authstring[strlen(ident) + 1], sizeof user); |
640 | 641 | { |
641 | 642 | char buf[SIZ]; |
642 | 643 | |
644 | memset(buf, 0, sizeof(buf)); | |
643 | 645 | CtdlDecodeBase64(buf, cmd, SIZ); |
644 | 646 | if (CtdlTryPassword(buf) == pass_ok) { |
645 | 647 | cprintf("%s OK authentication succeeded\r\n", IMAP->authseq); |
1672 | 1674 | } |
1673 | 1675 | |
1674 | 1676 | /* 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 | } |
0 | 0 | /* |
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 $ | |
2 | 2 | * |
3 | 3 | * Barebones SASL authentication service for XMPP (Jabber) clients. |
4 | 4 | * |
61 | 61 | |
62 | 62 | |
63 | 63 | /* Take apart the authentication string */ |
64 | memset(pass, 0, sizeof(pass)); | |
64 | 65 | |
65 | 66 | CtdlDecodeBase64(decoded_authstring, authstring, strlen(authstring)); |
66 | 67 | safestrncpy(ident, decoded_authstring, sizeof ident); |
0 | 0 | /* |
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 $ | |
2 | 2 | * |
3 | 3 | * This module is an SMTP and ESMTP implementation for the Citadel system. |
4 | 4 | * It is compliant with all of the following: |
315 | 315 | void smtp_get_pass(char *argbuf) { |
316 | 316 | char password[SIZ]; |
317 | 317 | |
318 | memset(password, 0, sizeof(password)); | |
318 | 319 | CtdlDecodeBase64(password, argbuf, SIZ); |
319 | 320 | /* CtdlLogPrintf(CTDL_DEBUG, "Trying <%s>\n", password); */ |
320 | 321 | if (CtdlTryPassword(password) == pass_ok) { |
1874 | 1875 | } |
1875 | 1876 | |
1876 | 1877 | /* 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 | } |
0 | 0 | /* |
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 $ | |
2 | 2 | * |
3 | 3 | * Server functions which perform operations on room objects. |
4 | 4 | * |
56 | 56 | |
57 | 57 | /* for internal programs, always do everything */ |
58 | 58 | 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); | |
60 | 60 | vbuf.v_view = 0; |
61 | 61 | goto SKIP_EVERYTHING; |
62 | 62 | } |
1171 | 1171 | stat(buf, &statbuf); /* stat the file */ |
1172 | 1172 | if (!(statbuf.st_mode & S_IFREG)) |
1173 | 1173 | { |
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"); | |
1176 | 1179 | continue; /* not a useable file type so don't show it */ |
1177 | 1180 | } |
1178 | 1181 | safestrncpy(comment, "", sizeof comment); |
2191 | 2194 | CtdlRegisterProtoHook(cmd_kflr, "KFLR", "Autoconverted. TODO: document me."); |
2192 | 2195 | CtdlRegisterProtoHook(cmd_eflr, "EFLR", "Autoconverted. TODO: document me."); |
2193 | 2196 | /* 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 | } |
8 | 8 | |
9 | 9 | const char *svn_revision (void) |
10 | 10 | { |
11 | const char *SVN_Version = "7725"; | |
11 | const char *SVN_Version = "7758"; | |
12 | 12 | return SVN_Version; |
13 | 13 | } |
0 | 0 | /* |
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 $ | |
2 | 2 | * |
3 | 3 | * Server functions which perform operations on user objects. |
4 | 4 | * |
935 | 935 | char password[256]; |
936 | 936 | int a; |
937 | 937 | |
938 | memset(password, 0, sizeof(password)); | |
938 | 939 | extract_token(password, buf, 0, '|', sizeof password); |
939 | 940 | a = CtdlTryPassword(password); |
940 | 941 | |
2037 | 2038 | CtdlRegisterProtoHook(cmd_renu, "RENU", "Autoconverted. TODO: document me."); |
2038 | 2039 | CtdlRegisterProtoHook(cmd_newu, "NEWU", "Autoconverted. TODO: document me."); |
2039 | 2040 | /* 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 | } |