csync2-1.34/0000755000000000000000000000000010651464531011345 5ustar rootrootcsync2-1.34/urlencode.c0000644000000000000000000000477210651464522013503 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #define RINGBUFF_LEN 10 static char *ringbuff[RINGBUFF_LEN]; int ringbuff_counter = 0; // perl -e 'printf("\\%03o", $_) for(1..040)' | fold -64; echo static char badchars[] = "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020" "\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\040" "\177\"'%$:|"; const char *url_encode(const char *in) { char *out; int i, j, k, len; for (i=len=0; in[i]; i++, len++) for (j=0; badchars[j]; j++) if ( in[i] == badchars[j] ) { len+=2; break; } out = malloc(len + 1); for (i=k=0; in[i]; i++) { for (j=0; badchars[j]; j++) if ( in[i] == badchars[j] ) break; if ( badchars[j] ) { snprintf(out+k, 4, "%%%02X", in[i]); k += 3; } else out[k++] = in[i]; } assert(k==len); out[k] = 0; if ( ringbuff[ringbuff_counter] ) free(ringbuff[ringbuff_counter]); ringbuff[ringbuff_counter++] = out; if ( ringbuff_counter == RINGBUFF_LEN ) ringbuff_counter=0; return out; } const char *url_decode(const char *in) { char *out, num[3]="XX"; int i, k, len; for (i=len=0; in[i]; i++, len++) if ( in[i] == '%' && in[i+1] && in[i+2] ) i+=2; out = malloc(len + 1); for (i=k=0; in[i]; i++) if ( in[i] == '%' && in[i+1] && in[i+2] ) { num[0] = in[++i]; num[1] = in[++i]; out[k++] = strtol(num, 0, 16); } else out[k++] = in[i]; assert(k==len); out[k] = 0; if ( ringbuff[ringbuff_counter] ) free(ringbuff[ringbuff_counter]); ringbuff[ringbuff_counter++] = out; if ( ringbuff_counter == RINGBUFF_LEN ) ringbuff_counter=0; return out; } csync2-1.34/csync2.xinetd0000644000000000000000000000041110651464522013757 0ustar rootroot# default: on # description: csync2 service csync2 { flags = REUSE socket_type = stream wait = no user = root group = root server = /usr/sbin/csync2 server_args = -i #log_on_failure += USERID disable = no # only_from = 192.168.199.3 192.168.199.4 } csync2-1.34/csync2.h0000644000000000000000000002157410651464522012730 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef CSYNC2_H #define CSYNC2_H 1 #define _GNU_SOURCE #include "config.h" #include #include #include #include #include /* action.c */ extern void csync_schedule_commands(const char *filename, int islocal); extern int csync_check_pure(const char *filename); extern void csync_run_commands(); /* groups.c */ struct peer { const char *myname; const char *peername; }; extern const struct csync_group *csync_find_next(const struct csync_group *g, const char *file); extern int csync_match_file(const char *file); extern void csync_check_usefullness(const char *file, int recursive); extern int csync_match_file_host(const char *file, const char *myname, const char *peername, const char **keys); extern struct peer *csync_find_peers(const char *file, const char *thispeer); extern const char *csync_key(const char *hostname, const char *filename); extern int csync_perm(const char *filename, const char *key, const char *hostname); /* error.c */ extern void csync_printtime(); extern void csync_printtotaltime(); extern void csync_fatal(const char *fmt, ...); extern void csync_debug(int lv, const char *fmt, ...); #define csync_debug_ping(N) \ csync_debug(N, "--> %s %d\n", __FILE__, __LINE__) /* conn.c */ extern int conn_open(const char *peername); extern int conn_set(int infd, int outfd); extern int conn_activate_ssl(int server_role); extern int conn_check_peer_cert(const char *peername, int callfatal); extern int conn_close(); extern int conn_read(void *buf, size_t count); extern int conn_write(const void *buf, size_t count); extern void conn_printf(const char *fmt, ...); extern int conn_fgets(char *s, int size); extern int conn_gets(char *s, int size); /* db.c */ extern void csync_db_open(const char *file); extern void csync_db_close(); extern void csync_db_sql(const char *err, const char *fmt, ...); extern void* csync_db_begin(const char *err, const char *fmt, ...); extern int csync_db_next(void *vmx, const char *err, int *pN, const char ***pazValue, const char ***pazColName); extern void csync_db_fin(void *vmx, const char *err); #define SQL(e, s, ...) csync_db_sql(e, s, ##__VA_ARGS__) #define SQL_BEGIN(e, s, ...) \ { \ char *SQL_ERR = e; \ void *SQL_VM = csync_db_begin(SQL_ERR, s, ##__VA_ARGS__); \ int SQL_COUNT = 0; \ while (1) { \ const char **SQL_V, **SQL_N; \ int SQL_C; \ if ( !csync_db_next(SQL_VM, SQL_ERR, \ &SQL_C, &SQL_V, &SQL_N) ) break; \ SQL_COUNT++; #define SQL_FIN }{ #define SQL_END \ } \ csync_db_fin(SQL_VM, SQL_ERR); \ } extern int db_blocking_mode; extern int db_sync_mode; /* rsync.c */ extern int csync_rs_check(const char *filename, int isreg); extern void csync_rs_sig(const char *filename); extern int csync_rs_delta(const char *filename); extern int csync_rs_patch(const char *filename); /* checktxt.c */ extern const char *csync_genchecktxt(const struct stat *st, const char *filename, int ign_mtime); extern int csync_cmpchecktxt(const char *a, const char *b); /* check.c */ extern void csync_hint(const char *file, int recursive); extern void csync_check(const char *filename, int recursive, int init_run); extern void csync_mark(const char *file, const char *thispeer, const char *peerfilter); /* update.c */ extern void csync_update(const char **patlist, int patnum, int recursive, int dry_run); extern int csync_diff(const char *myname, const char *peername, const char *filename); extern int csync_insynctest(const char *myname, const char *peername, int init_run, int auto_diff, const char *filename); extern int csync_insynctest_all(int init_run, int auto_diff, const char *filename); extern void csync_remove_old(); /* daemon.c */ extern void csync_daemon_session(); /* getrealfn.c */ extern char *getrealfn(const char *filename); /* urlencode.c */ /* only use this functions if you understood the sideeffects of the ringbuffer * used to allocate the return values. */ const char *url_encode(const char *in); const char *url_decode(const char *in); /* prefixsubst.c */ /* another ringbuffer here. so use it with care!! */ const char *prefixsubst(const char *in); /* textlist implementation */ struct textlist; struct textlist { struct textlist *next; int intvalue; char *value; char *value2; }; static inline void textlist_add(struct textlist **listhandle, const char *item, int intitem) { struct textlist *tmp = *listhandle; *listhandle = malloc(sizeof(struct textlist)); (*listhandle)->intvalue = intitem; (*listhandle)->value = strdup(item); (*listhandle)->value2 = 0; (*listhandle)->next = tmp; } static inline void textlist_add2(struct textlist **listhandle, const char *item, const char *item2, int intitem) { struct textlist *tmp = *listhandle; *listhandle = malloc(sizeof(struct textlist)); (*listhandle)->intvalue = intitem; (*listhandle)->value = strdup(item); (*listhandle)->value2 = strdup(item2); (*listhandle)->next = tmp; } static inline void textlist_free(struct textlist *listhandle) { struct textlist *next; while (listhandle != 0) { next = listhandle->next; free(listhandle->value); if ( listhandle->value2 ) free(listhandle->value2); free(listhandle); listhandle = next; } } /* config structures */ struct csync_nossl; struct csync_group; struct csync_group_host; struct csync_group_pattern; struct csync_group_host { struct csync_group_host *next; const char *hostname; int on_left_side; int slave; }; struct csync_group_pattern { struct csync_group_pattern *next; int isinclude, iscompare; const char *pattern; }; struct csync_group_action_pattern { struct csync_group_action_pattern *next; const char *pattern; }; struct csync_group_action_command { struct csync_group_action_command *next; const char *command; }; struct csync_group_action { struct csync_group_action *next; struct csync_group_action_pattern *pattern; struct csync_group_action_command *command; const char *logfile; int do_local; }; struct csync_group { struct csync_group *next; struct csync_group_host *host; struct csync_group_pattern *pattern; struct csync_group_action *action; const char *key, *myname, *gname; int auto_method, local_slave; const char *backup_directory; int backup_generations; int hasactivepeers; }; struct csync_prefix { const char *name, *path; struct csync_prefix *next; }; struct csync_nossl { struct csync_nossl *next; const char *pattern_from; const char *pattern_to; }; enum CSYNC_AUTO_METHOD { CSYNC_AUTO_METHOD_NONE, CSYNC_AUTO_METHOD_FIRST, CSYNC_AUTO_METHOD_YOUNGER, CSYNC_AUTO_METHOD_OLDER, CSYNC_AUTO_METHOD_BIGGER, CSYNC_AUTO_METHOD_SMALLER, CSYNC_AUTO_METHOD_LEFT, CSYNC_AUTO_METHOD_RIGHT, CSYNC_AUTO_METHOD_LEFT_RIGHT_LOST }; /* global variables */ extern struct csync_group *csync_group; extern struct csync_prefix *csync_prefix; extern struct csync_nossl *csync_nossl; extern int csync_error_count; extern int csync_debug_level; extern FILE *csync_debug_out; extern long csync_last_printtime; extern FILE *csync_timestamp_out; extern int csync_messages_printed; extern int csync_server_child_pid; extern int csync_timestamps; extern int csync_new_force; extern int csync_port; extern char myhostname[]; extern char *active_grouplist; extern char *active_peerlist; extern char *cfgname; extern int csync_ignore_uid; extern int csync_ignore_gid; extern int csync_ignore_mod; extern int csync_dump_dir_fd; extern int csync_compare_mode; #ifdef HAVE_LIBGNUTLS_OPENSSL extern int csync_conn_usessl; #endif #ifdef __CYGWIN__ extern int csync_lowercyg_disable; extern int csync_lowercyg_used; extern int csync_cygwin_case_check(const char *filename); #endif static inline int lstat_strict(const char *filename, struct stat *buf) { #ifdef __CYGWIN__ if (csync_lowercyg_disable && !csync_cygwin_case_check(filename)) { errno = ENOENT; return -1; } #endif return lstat(filename, buf); } static inline char *on_cygwin_lowercase(char *s) { #ifdef __CYGWIN__ if (!csync_lowercyg_disable) { int i; for (i=0; s[i]; i++) s[i] = tolower(s[i]); } csync_lowercyg_used = 1; #endif return s; } #endif /* CSYNC2_H */ csync2-1.34/cygwin/0000755000000000000000000000000010651464531012645 5ustar rootrootcsync2-1.34/cygwin/cs2hintd.c0000644000000000000000000000607510651464522014537 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2005 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #include #include #include #include #include static sqlite *db = 0; extern const char *url_encode(const char * in); void sql(const char *fmt, ...) { char *sql; va_list ap; int rc, busyc = 0; va_start(ap, fmt); vasprintf(&sql, fmt, ap); va_end(ap); while (1) { rc = sqlite_exec(db, sql, 0, 0, 0); if ( rc != SQLITE_BUSY ) break; if (busyc++ > 60) { fprintf(stderr, "** Database busy for long time [%d secs]: %s\n", busyc, sql); } sleep(1); } if ( rc != SQLITE_OK ) { fprintf(stderr, "** Database Error %d in '%s'!\n", rc, sql); sqlite_exec(db, "COMMIT TRANSACTION", 0, 0, 0); exit(1); } free(sql); } int main(int argc, char **argv) { FILE *fseh; char line[4096], *c; int in_transaction = 0; if (argc < 3) { fprintf(stderr, "Usage: %s dbfile directory [ directory [ ... ] ]\n", argv[0]); exit(1); } db = sqlite_open(argv[1], 0, 0); if (!db) { fprintf(stderr, "** Can't open database file: %s\n", argv[1]); exit(1); } { int i, pos = 0; int command_len = 100; char *command; for (i=2; i # Copyright (C) 2004, 2005 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA TRGDIR=/cygdrive/c/csync2 if ! [ -f sqlite-2.8.16.tar.gz ]; then wget http://www.sqlite.org/sqlite-2.8.16.tar.gz -O sqlite-2.8.16.tar.gz fi if ! [ -f librsync-0.9.7.tar.gz ]; then wget http://mesh.dl.sourceforge.net/sourceforge/librsync/librsync-0.9.7.tar.gz -O librsync-0.9.7.tar.gz fi cd .. mkdir -p $TRGDIR rm -f $TRGDIR/*.exe $TRGDIR/*.dll if ! [ -f config.h ]; then ./configure \ --with-librsync-source=cygwin/librsync-0.9.7.tar.gz \ --with-libsqlite-source=cygwin/sqlite-2.8.16.tar.gz \ --disable-gnutls --sysconfdir=$TRGDIR fi make private_librsync make private_libsqlite make CFLAGS='-DREAL_DBDIR=\".\"' ignore_dlls="KERNEL32.dll|USER32.dll|GDI32.dll|mscoree.dll" copy_dlls() { for dll in $( strings "$@" | egrep '^[^ ]+\.dll$' | sort -u; ) do if echo "$dll" | egrep -qv "^($ignore_dlls)\$" then cp -v /bin/$dll $TRGDIR/$dll ignore_dlls="$ignore_dlls|$dll" copy_dlls $TRGDIR/$dll fi done } cp -v csync2.exe $TRGDIR/csync2.exe cp -v sqlite-2.8.16/sqlite.exe $TRGDIR/sqlite.exe cp -v /bin/killall.exe /bin/cp.exe /bin/ls.exe /bin/wc.exe $TRGDIR/ cp -v /bin/find.exe /bin/xargs.exe /bin/rsync.exe $TRGDIR/ cp -v /bin/grep.exe /bin/gawk.exe /bin/wget.exe $TRGDIR/ cp -v /bin/rxvt.exe /bin/unzip.exe /bin/libW11.dll $TRGDIR/ cp -v /bin/diff.exe /bin/date.exe /bin/tail.exe $TRGDIR/ cp -v /bin/head.exe /bin/sleep.exe /bin/rm.exe $TRGDIR/ cp -v /bin/bash.exe $TRGDIR/sh.exe copy_dlls $TRGDIR/*.exe $TRGDIR/*.dll cd cygwin PATH="$PATH:/cygdrive/c/WINNT/Microsoft.NET/Framework/v1.0.3705" csc /nologo cs2hintd_fseh.cs gcc -Wall cs2monitor.c -o cs2monitor.exe -DTRGDIR="\"$TRGDIR"\" -{I,L}../sqlite-2.8.16 -lprivatesqlite gcc -Wall ../urlencode.o cs2hintd.c -o cs2hintd.exe -{I,L}../sqlite-2.8.16 -lprivatesqlite cp -v readme_pkg.txt $TRGDIR/README.txt cp -v ../README $TRGDIR/README-csync2.txt cp -v cs2hintd_fseh.exe cs2hintd.exe cs2monitor.exe $TRGDIR/ cd $( dirname $TRGDIR/ ) rm -f $( basename $TRGDIR ).zip zip -r $( basename $TRGDIR ).zip $( basename $TRGDIR ) \ -i '*.txt' '*.dll' '*.exe' echo "DONE." csync2-1.34/cygwin/readme_pkg.txt0000644000000000000000000000344510651464522015512 0ustar rootroot Csync2 for Win32 (cygwin) ========================= The Csync2 homepage can be reached at . LINBIT Information Technologies GmbH Copyright (C) 2004, 2005 Clifford Wolf This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The "Csync2 hint daemon for win32" needs a .NET runtime. It can be downloaded from the microsoft webpage: http://www.microsoft.com/downloads/details.aspx?FamilyID=d7158dee-a83f-4e21-b05a-009d06457787&displaylang=en "Csync2 for Win32 (cygwin)" is based on the free software libraries Librsync, SQLite, SQLite.NET wrapper, OpenSSL and Cygwin. Setup: ====== 1. Extract the contents of this .ZIP archive to c:\csync2. 2. Create a c:\tmp directory. 3. Create a c:\csync2\csync2.cfg (or copy it from existing nodes). 4. Add entries to c:\winnt\system32\drivers\etc\hosts (optional). 5. Run c:\csync2\monitor.exe in a command window. Pass the directory names which should be monitored by the hint deamon(s) as parameters to "monitor.exe". Read the csync2 documentation (bundled with the csync2 source tar) for more information about writing csync2 configuration files. Additional Tools ================ Some basic programs from the cygwin toolchain which might be of great help for bootstrapping large csync2 setups (such as a unix-like 'cp' programm) are also included in this "Csync2 for Win32 (cygwin)" binary distribution. An SQLite command line shell is included as well. This is especially useful for administratice tasks such as running the SQL VACUUM command. csync2-1.34/cygwin/perftest.pl0000755000000000000000000000104510651464522015041 0ustar rootroot#!/usr/bin/perl # # Simple performance testing utility for csync2 on cygwin.. $| = 1; my $basedir = "/cygdrive/f/sharedata"; my $filenumber = 100000; if ($ARGV[0] eq "create") { for my $i (0..$filenumber) { my $f = crypt($i, "00"); $f =~ s:[^a-zA-Z0-9]:_:g; $f =~ s:^..:$basedir/:; open(F, ">$f") or die $!; print F "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 $f\n" x 100; close F; if ( $i < $filenumber ) { printf("%s%5d ", $i ? "\n" : "", $i) if $i % 10000 == 0; print "." if $i % 200 == 0; } else { print "\n"; } } } csync2-1.34/cygwin/cs2monitor.c0000644000000000000000000003036710651464522015121 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #include #include #include #include #include #include #include #include #include static sqlite *db = 0; static int db_busyc = 0; static int last_busyc_warn = 0; static int non_blocking_mode = 0; static char myhostname[256]; static char *dbname; static char *dirname0 = 0; static char *dirname1 = 0; static char *dirname2 = 0; static char *dirname3 = 0; static char *dirname4 = 0; static char *dirname5 = 0; static char *dirname6 = 0; static char *dirname7 = 0; static time_t restart_time; static int wheel_counter; struct service { char *name; void (*exec_func)(); time_t timestamp; int do_restart; int do_panic; int pid; }; static void exec_tcp_listener() { if (non_blocking_mode) execl("./csync2.exe", "csync2.exe", "-Biiv", NULL); else execl("./csync2.exe", "csync2.exe", "-iiv", NULL); } static void exec_init_checker() { if (non_blocking_mode) execl("./csync2.exe", "csync2.exe", "-Bcrv", "/", NULL); else execl("./csync2.exe", "csync2.exe", "-crv", "/", NULL); } static void exec_hint_checker() { if (non_blocking_mode) execl("./csync2.exe", "csync2.exe", "-Bcv", NULL); else execl("./csync2.exe", "csync2.exe", "-Bcv", NULL); } static void exec_checker() { if (non_blocking_mode) execl("./csync2.exe", "csync2.exe", "-Bcvr", "/", NULL); else execl("./csync2.exe", "csync2.exe", "-Bcvr", "/", NULL); } static void exec_updater() { if (non_blocking_mode) execl("./csync2.exe", "csync2.exe", "-Buv", NULL); else execl("./csync2.exe", "csync2.exe", "-uv", NULL); } static void exec_hintd() { execl("./cs2hintd.exe", "cs2hintd.exe", dbname, dirname0, dirname1, dirname2, dirname3, dirname4, dirname5, dirname6, dirname7, NULL); } static struct service service_tcp_listener = { "TCP Listener", exec_tcp_listener, 0, 1, 0, 0 }; static struct service service_init_checker = { "Initial Full Checker", exec_init_checker, 0, 0, 0, 0 }; static struct service service_hint_checker = { "Incremenmtal Checker", exec_hint_checker, 0, 5, 0, 0 }; static struct service service_checker = { "Full Checker", exec_checker, 0, 300, 0, 0 }; static struct service service_updater = { "Incremenmtal Updater", exec_updater, 0, 5, 0, 0 }; static struct service service_hintd = { "Filesystem Watcher", exec_hintd, 0, 0, 1, 0 }; static struct service *services_with_hintd[] = { &service_tcp_listener, &service_init_checker, &service_hint_checker, &service_updater, &service_hintd, NULL }; static struct service *services_without_hintd[] = { &service_tcp_listener, &service_checker, &service_updater, NULL }; static struct service **services; static int got_ctrl_c = 0; static void ctrl_c_handler(int signum) { got_ctrl_c = 1; } static int my_system(const char *command) { int pid, status; if ((pid = fork()) == 0) { execl("sh", "sh", "-c", command, NULL); _exit(100); } waitpid(pid, &status, 0); if (!WIFEXITED(status)) fprintf(stderr, "CS2MONITOT: Error while executing '%s': " "Anormal exit.\n", command); else if (WEXITSTATUS(status) && WEXITSTATUS(status) != 1) fprintf(stderr, "CS2MONITOT: Error while executing '%s': " "Returncode is %d.\n", command, WEXITSTATUS(status)); return WIFEXITED(status) ? WEXITSTATUS(status) : -1; } int main(int argc, char **argv) { signal(SIGINT, ctrl_c_handler); signal(SIGTERM, ctrl_c_handler); gethostname(myhostname, 256); myhostname[255] = 0; asprintf(&dbname, "%s.db", myhostname); if (argc >= 3 && !strcmp(argv[1], "-B")) { non_blocking_mode = 1; if (strcmp(argv[2], "-")) { dirname0 = argc >= 3 ? argv[2] : 0; dirname1 = argc >= 4 ? argv[3] : 0; dirname2 = argc >= 5 ? argv[4] : 0; dirname3 = argc >= 6 ? argv[5] : 0; dirname4 = argc >= 7 ? argv[6] : 0; dirname5 = argc >= 8 ? argv[7] : 0; dirname6 = argc >= 9 ? argv[8] : 0; dirname7 = argc >= 10 ? argv[9] : 0; } } else if (argc >= 2) { if (strcmp(argv[1], "-")) { dirname0 = argc >= 2 ? argv[1] : 0; dirname1 = argc >= 3 ? argv[2] : 0; dirname2 = argc >= 4 ? argv[3] : 0; dirname3 = argc >= 5 ? argv[4] : 0; dirname4 = argc >= 6 ? argv[5] : 0; dirname5 = argc >= 7 ? argv[6] : 0; dirname6 = argc >= 8 ? argv[7] : 0; dirname7 = argc >= 9 ? argv[8] : 0; } } else { fprintf(stderr, "Usage: %s [-B] [datadir [..] | -]\n", argv[0]); return 1; } services = dirname0 ? services_with_hintd : services_without_hintd; { int p[2]; pipe(p); if (!fork()) { char *buffer[100], *timer, ch; int i, pos=0, epos=0; time_t last_update = 0; dup2(p[0], 0); close(p[0]); close(p[1]); for (i=0; i<100; i++) buffer[i] = 0; buffer[99] = malloc(256); buffer[99][0] = 0; timer = strdup(""); while (read(0, &ch, 1) == 1) { write(1, &ch, 1); switch (ch) { case '\n': if (buffer[0]) free(buffer[0]); for (i=1; i<100; i++) buffer[i-1] = buffer[i]; buffer[99] = malloc(256); strcpy(buffer[99], timer); epos = strlen(timer); write(1, timer, epos); write(1, "\r", 1); pos = 0; break; case '\r': if (buffer[99][0] == '[') { free(timer); timer = strdup(buffer[99]); } pos = 0; break; default: if (pos < 255) { if (++pos > epos) epos = pos; buffer[99][pos-1] = ch; buffer[99][epos] = 0; } } if (last_update+2 < time(0) && (ch == '\n' || ch == '\r')) { FILE *f = fopen("cs2monitor.log", "w"); if (f) { for (i=0; i<100; i++) { if (buffer[i]) fprintf(f, "%s\r\n", buffer[i]); } if (strcmp(buffer[99], timer)) fprintf(f, "%s\r\n", timer); fclose(f); } else fprintf(stderr, "CS2MONITOR: Can't update cs2monitor.log!\n"); last_update = time(0); } } return 0; } dup2(p[1], 1); dup2(p[1], 2); close(p[0]); close(p[1]); printf("CS2MONITOR: Writing log to cs2monitor.log.\n"); } printf("\n"); printf("**********************************************************\n"); printf("\n"); printf("Csync2 Monitor\n"); printf("\n"); printf("Basedir: %s\n", TRGDIR); printf("Hostname: %s\n", myhostname); printf("Database: %s\n", dbname); printf("\n"); if (!dirname0) printf("No Windows FS-Watcher Helper.\n"); if (dirname0) printf("Datadir #0: %s\n", dirname0); if (dirname1) printf("Datadir #1: %s\n", dirname1); if (dirname2) printf("Datadir #2: %s\n", dirname2); if (dirname3) printf("Datadir #3: %s\n", dirname3); if (dirname4) printf("Datadir #4: %s\n", dirname4); if (dirname5) printf("Datadir #5: %s\n", dirname5); if (dirname6) printf("Datadir #6: %s\n", dirname6); if (dirname7) printf("Datadir #7: %s\n", dirname7); printf("\n"); printf("**********************************************************\n"); printf("\n"); fflush(stdout); if (chdir(TRGDIR) < 0) goto io_error; printf("CS2MONITOR: Killing all running 'csync2' processes...\n"); my_system("./killall.exe csync2"); printf("CS2MONITOR: Killing all running 'cs2hintd' processes...\n"); my_system("./killall.exe cs2hintd"); printf("CS2MONITOR: Killing all running 'cs2hintd_fseh' processes...\n"); my_system("./killall.exe cs2hintd_fseh"); if (0) { struct service **s; restart_entry_point: for (s = services; *s; s++) (*s)->pid = 0; } fflush(stdout); sleep(1); { char vacuum_command[strlen(dbname) + 100]; sprintf(vacuum_command, "./sqlite.exe %s vacuum", dbname); printf("CS2MONITOR: Running database VACUUM command...\n"); my_system(vacuum_command); printf("CS2MONITOR: Cleaning up old out-of-config DB records...\n"); my_system("./csync2.exe -Rv"); } { unsigned char random_number = 0; int rand = open("/dev/urandom", O_RDONLY); read(rand, &random_number, sizeof(unsigned char)); close(rand); restart_time = 60 + random_number%30; printf("CS2MONITOR: Automatic restart in %d minutes.\n", (int)restart_time); restart_time = time(0) + restart_time * 60; } while (1) { time_t remaining_restart_time; struct service **s; int rc; for (s = services; *s; s++) { /* never has been started before */ if ((*s)->pid == 0) { printf("CS2MONITOR: [%ld] Running job '%s' ...\n", (long)time(0), (*s)->name); fflush(stdout); if (((*s)->pid = fork()) == 0) { (*s)->exec_func(); goto io_error; } } else /* has been terminated */ if ((*s)->pid == -1) { if ((*s)->do_restart && time(0) > ((*s)->timestamp + (*s)->do_restart)) { printf("CS2MONITOR: [%ld] Running job '%s' ...\n", (long)time(0), (*s)->name); fflush(stdout); if (((*s)->pid = fork()) == 0) { (*s)->exec_func(); goto io_error; } } } else /* is running or a zombie */ { int waitpid_status, waitpid_rc; waitpid_rc = waitpid((*s)->pid, &waitpid_status, WNOHANG); if (waitpid_rc != 0) { (*s)->pid = -1; (*s)->timestamp = time(0); if ((*s)->do_panic) { printf("CS2MONITOR: Job '%s' terminated! Restarting CS2MONITOR..\n", (*s)->name); goto panic_restart_everything; } } } } { time_t t1 = time(0), t2; int i = 0; do { i++; sleep(1); t2 = time(0); } while (t1 == t2); wheel_counter = (wheel_counter+1) % 16; remaining_restart_time = restart_time - time(0); printf("[%02d:%02d] (%c) %.*s\r", (int)(remaining_restart_time / 60), (int)(remaining_restart_time % 60), "/-\\|/-\\|:.,.:`:|"[wheel_counter], i, i > 1 ? ".........." : ""); fflush(stdout); } if (remaining_restart_time <= 0) { printf("CS2MONITOR: Restarting CS2MONITOR now...\n"); goto panic_restart_everything; } if (got_ctrl_c) { printf("CS2MONITOR: Got Ctrl-C signal. Terminating...\n"); goto panic_restart_everything; } db = sqlite_open(dbname, 0, 0); if (!db) { printf("CS2MONITOR: Can't open database file! Restarting CS2MONITOR..\n"); goto panic_restart_everything; } rc = sqlite_exec(db, "BEGIN TRANSACTION", 0, 0, 0); if ( rc != SQLITE_BUSY && rc != SQLITE_OK ) { printf("CS2MONITOR: Got database error %d on DB check! Restarting CS2MONITOR..\n", rc); sqlite_close(db); goto panic_restart_everything; } if ( rc == SQLITE_BUSY ) { db_busyc++; if (db_busyc > 600) { printf("CS2MONITOR: Database is busy for 600 seconds! Restarting CS2MONITOR..\n"); sqlite_close(db); goto panic_restart_everything; } if (db_busyc > 300 || db_busyc > last_busyc_warn + 10) { printf("CS2MONITOR: DB is busy for %d seconds now (Monitor restart at 600 seconds).\n", db_busyc); sqlite_close(db); last_busyc_warn = db_busyc; } } else { sqlite_exec(db, "COMMIT TRANSACTION", 0, 0, 0); db_busyc = last_busyc_warn = 0; } sqlite_close(db); } panic_restart_everything: fflush(stdout); sleep(1); printf("CS2MONITOR: Killing all running 'csync2' processes...\n"); my_system("./killall.exe csync2"); printf("CS2MONITOR: Killing all running 'cs2hintd' processes...\n"); my_system("./killall.exe cs2hintd"); printf("CS2MONITOR: Killing all running 'cs2hintd_fseh' processes...\n"); my_system("./killall.exe cs2hintd_fseh"); fflush(stdout); sleep(5); while (waitpid(-1, 0, WNOHANG) > 0) {}; if (got_ctrl_c) { printf("CS2MONITOR: Bye.\n"); fflush(stdout); sleep(1); return 0; } printf("CS2MONITOR: Restarting...\n"); fflush(stdout); sleep(1); goto restart_entry_point; io_error: fprintf(stderr, "CS2MONITOR I/O Error: %s\n", strerror(errno)); return 1; } csync2-1.34/cygwin/cs2hintd_fseh.cs0000644000000000000000000000635710651464522015732 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2005 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ using System; using System.IO; using System.Text.RegularExpressions; using System.Threading; using System.Collections; public class Csync2HintDaemonFSEH { private static Queue changed_files = new Queue(); public static void Main() { string[] args = System.Environment.GetCommandLineArgs(); if(args.Length < 2) { Console.Error.WriteLine("Usage: {0} directory [ directory [ ... ] ]", args[0]); return; } for (int i=1; i 0) WriteFilename(); } } } private static void WriteFilename() { Hashtable donethat = new Hashtable(); while (changed_files.Count > 0) { string filename = (string)changed_files.Dequeue(); if (donethat.ContainsKey(filename)) continue; donethat.Add(filename, 1); filename = Regex.Replace(filename, "^([a-zA-Z]):\\\\", "/cygdrive/$1/" ); filename = Regex.Replace(filename, "\\\\", "/" ); Console.WriteLine("+ {0}", filename); } Console.WriteLine("- COMMIT"); } private static void ScheduleWriteFilename(string filename) { changed_files.Enqueue(filename); } private static void OnChanged(object source, FileSystemEventArgs e) { Console.Error.WriteLine("** FS Event: '{0}' {1}.", e.FullPath, e.ChangeType); ScheduleWriteFilename(e.FullPath); } private static void OnRenamed(object source, RenamedEventArgs e) { Console.Error.WriteLine("** FS Event: '{0}' renamed to '{1}'.", e.OldFullPath, e.FullPath); ScheduleWriteFilename(e.OldFullPath); ScheduleWriteFilename(e.FullPath); } } csync2-1.34/ChangeLog0000644000000000000000000000015610651464522013121 0ustar rootrootPlease fetch the ChangeLog directly from the subversion repository: svn log -v http://svn.clifford.at/csync2/ csync2-1.34/config.h.in0000644000000000000000000000166510651464530013377 0ustar rootroot/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the `gnutls-openssl' library (-lgnutls-openssl). */ #undef HAVE_LIBGNUTLS_OPENSSL /* Define to 1 if you have the `rsync' library (-lrsync). */ #undef HAVE_LIBRSYNC /* Define to 1 if you have the `sqlite' library (-lsqlite). */ #undef HAVE_LIBSQLITE /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Version number of package */ #undef VERSION /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a `char[]'. */ #undef YYTEXT_POINTER csync2-1.34/README0000644000000000000000000000460010651464522012225 0ustar rootroot About csync2 ============ Csync2 is a cluster synchronization tool. It can be used to keep files on multiple hosts in a cluster in sync. Csync2 can handle complex setups with much more than just 2 hosts, handle file deletions and can detect conflicts. It is expedient for HA-clusters, HPC-clusters, COWs and server farms. If you are looking for a tool to sync your laptop with your workstation, you better have a look at Unison (http://www.cis.upenn.edu/~bcpierce/unison/) too. See http://oss.linbit.com/ for more information on csync2. The csync2 subversion tree can be found at http://svn.clifford.at/csync2/. Copyright ========= csync2 - cluster synchronization tool, 2nd generation LINBIT Information Technologies GmbH Copyright (C) 2004, 2005 Clifford Wolf This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Documentation ============= The latest version of the csync2 documentation can be found online at http://www.clifford.at/papers/2005/csync2/paper.pdf and is mirrored at http://oss.linbit.com/csync2/paper.pdf You should definitely read the documentation before trying to setup csync2. The TeX source of the paper (as well as some slides for csync2 presentations) can be found at . The csync2 releases also have a copy of the 'paper.pdf' file bundled in the csync2 source tarball. More Documentation ================== Eric Liang wrote a nice step-by-step introductions for using csync2 on redhat machines: http://zhenhuiliang.blogspot.com/2006/04/csync2-is-so-cool.html Mailing List ============ There is a csync2 mailing list: http://lists.linbit.com/mailman/listinfo/csync2 It is recommended to subscribe to this list if you are using csync2 in production environments. csync2-1.34/depcomp0000755000000000000000000003305210651464531012725 0ustar rootroot#! /bin/sh # depcomp - compile a program generating dependencies as side-effects # Copyright 1999, 2000, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # `libtool' can also be set to `yes' or `no'. if test -z "$depfile"; then base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` dir=`echo "$object" | sed 's,/.*$,/,'` if test "$dir" = "$object"; then dir= fi # FIXME: should be _deps on DOS. depfile="$dir.deps/$base" fi tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1="$dir.libs/$base.lo.d" tmpdepfile2="$dir.libs/$base.d" "$@" -Wc,-MD else tmpdepfile1="$dir$base.o.d" tmpdepfile2="$dir$base.d" "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi if test -f "$tmpdepfile1"; then tmpdepfile="$tmpdepfile1" else tmpdepfile="$tmpdepfile2" fi if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 csync2-1.34/csync2.c0000644000000000000000000005050510651464522012717 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef REAL_DBDIR # undef DBDIR # define DBDIR REAL_DBDIR #endif static char *file_database = 0; static char *file_config = 0; static char *dbdir = DBDIR; char *cfgname = ""; char myhostname[256] = ""; char *active_grouplist = 0; char *active_peerlist = 0; extern int yyparse(); extern FILE *yyin; int csync_error_count = 0; int csync_debug_level = 0; FILE *csync_debug_out = 0; int csync_server_child_pid = 0; int csync_timestamps = 0; int csync_new_force = 0; int csync_port = 30865; int csync_dump_dir_fd = -1; enum { MODE_NONE, MODE_HINT, MODE_CHECK, MODE_CHECK_AND_UPDATE, MODE_UPDATE, MODE_INETD, MODE_SERVER, MODE_SINGLE, MODE_MARK, MODE_FORCE, MODE_LIST_HINT, MODE_LIST_FILE, MODE_LIST_SYNC, MODE_TEST_SYNC, MODE_LIST_DIRTY, MODE_REMOVE_OLD, MODE_COMPARE, MODE_SIMPLE }; void help(char *cmd) { printf( "\n" PACKAGE_STRING " - cluster synchronization tool, 2nd generation\n" "LINBIT Information Technologies GmbH \n" "Copyright (C) 2004, 2005 Clifford Wolf \n" "This program is free software under the terms of the GNU GPL.\n" "\n" "Usage: %s [-v..] [-C config-name] \\\n" " [-D database-dir] [-N hostname] [-p port] ..\n" "\n" "With file parameters:\n" " -h [-r] file.. Add (recursive) hints for check to db\n" " -c [-r] file.. Check files and maybe add to dirty db\n" " -u [-d] [-r] file.. Updates files if listed in dirty db\n" " -o [-r] file.. Create list of files in compare-mode\n" " -f [-r] file.. Force this file in sync (resolve conflict)\n" " -m file.. Mark files in database as dirty\n" "\n" "Simple mode:\n" " -x [-d] [[-r] file..] Run checks for all given files and update\n" " remote hosts.\n" "\n" "Without file parameters:\n" " -c Check all hints in db and eventually mark files as dirty\n" " -u [-d] Update (transfer dirty files to peers and mark as clear)\n" "\n" " -H List all pending hints from status db\n" " -L List all file-entries from status db\n" " -M List all dirty files from status db\n" "\n" " -S myname peername List file-entries from status db for this\n" " synchronization pair.\n" "\n" " -T Test if everything is in sync with all peers.\n" "\n" " -T filename Test if this file is in sync with all peers.\n" "\n" " -T myname peername Test if this synchronization pair is in sync.\n" "\n" " -T myname peer file Test only this file in this sync pair.\n" "\n" " -TT As -T, but print the unified diffs.\n" "\n" " The modes -H, -L, -M and -S return 2 if the requested db is empty.\n" " The mode -T returns 2 if both hosts are in sync.\n" "\n" " -i Run in inetd server mode.\n" " -ii Run in stand-alone server mode.\n" " -iii Run in stand-alone server mode (one connect only).\n" "\n" " -R Remove files from database which do not match config entries.\n" "\n" "Modifiers:\n" " -r Recursive operation over subdirectories\n" " -d Dry-run on all remote update operations\n" "\n" " -B Do not block everything into big SQL transactions. This\n" " slows down csync2 but allows multiple csync2 processes to\n" " access the database at the same time. Use e.g. when slow\n" " lines are used or huge files are transferred.\n" "\n" " -A Open database in asynchronous mode. This will cause data\n" " corruption if the operating system crashes or the computer\n" " loses power.\n" "\n" " -I Init-run. Use with care and read the documentation first!\n" " You usually do not need this option unless you are\n" " initializing groups with really large file lists.\n" "\n" " -X Also add removals to dirty db when doing a -TI run.\n" " -U Don't mark all other peers as dirty when doing a -TI run.\n" "\n" " -G Group1,Group2,Group3,...\n" " Only use this groups from config-file.\n" "\n" " -P peer1,peer1,...\n" " Only update this peers (still mark all as dirty).\n" " Only show files for this peers in -o (compare) mode.\n" "\n" " -F Add new entries to dirty database with force flag set.\n" "\n" " -t Print timestamps to debug output (e.g. for profiling).\n" "\n" " -s filename\n" " Print timestamps also to this file.\n" "\n" " -W fd Write a list of directories in which relevant files can be\n" " found to the specified file descriptor (when doing a -c run).\n" " The directory names in this output are zero-terminated.\n" "\n" "Creating key file:\n" " %s -k filename\n" "\n" "Csync2 will refuse to do anything when a " ETCDIR "/csync2.lock file is found.\n" "\n", cmd, cmd); exit(1); } int create_keyfile(const char *filename) { int fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, 0600); int rand = open("/dev/random", O_RDONLY); char matrix[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._"; unsigned char n; int i; assert(sizeof(matrix) == 65); if ( fd == -1 ) { fprintf(stderr, "Can't create key file: %s\n", strerror(errno)); return 1; } if ( rand == -1 ) { fprintf(stderr, "Can't open /dev/random: %s\n", strerror(errno)); return 1; } for (i=0; i<64; i++) { read(rand, &n, 1); write(fd, matrix+(n&63), 1); } write(fd, "\n", 1); close(rand); close(fd); return 0; } static int csync_server_loop(int single_connect) { struct linger sl = { 1, 5 }; struct sockaddr_in addr; int on = 1; int listenfd = socket(AF_INET, SOCK_STREAM, 0); if (listenfd < 0) goto error; bzero(&addr, sizeof(addr)); addr.sin_family = AF_INET; addr.sin_addr.s_addr = htonl(INADDR_ANY); addr.sin_port = htons(csync_port); if ( setsockopt(listenfd, SOL_SOCKET, SO_REUSEADDR, &on, (socklen_t) sizeof(on)) < 0 ) goto error; if ( setsockopt(listenfd, SOL_SOCKET, SO_LINGER, &sl, (socklen_t) sizeof(sl)) < 0 ) goto error; if ( setsockopt(listenfd, IPPROTO_TCP, TCP_NODELAY, &on, (socklen_t) sizeof(on)) < 0 ) goto error; if ( bind(listenfd, (struct sockaddr *) &addr, sizeof(addr)) < 0 ) goto error; if ( listen(listenfd, 5) < 0 ) goto error; signal(SIGPIPE, SIG_IGN); signal(SIGCHLD, SIG_IGN); printf("Csync2 daemon running. Waiting for connections.\n"); while (1) { int addrlen = sizeof(addr); int conn = accept(listenfd, (struct sockaddr *) &addr, &addrlen); if (conn < 0) goto error; fflush(stdout); fflush(stderr); if (single_connect || !fork()) { csync_server_child_pid = getpid(); fprintf(stderr, "<%d> New connection from %s:%u.\n", csync_server_child_pid, inet_ntoa(addr.sin_addr), ntohs(addr.sin_port)); fflush(stderr); dup2(conn, 0); dup2(conn, 1); close(conn); return 0; } close(conn); } error: fprintf(stderr, "Server error: %s\n", strerror(errno)); return 1; } int main(int argc, char ** argv) { struct textlist *tl = 0, *t; int mode = MODE_NONE; int mode_test_auto_diff = 0; int init_run = 0; int init_run_with_removals = 0; int init_run_straight = 0; int recursive = 0; int retval = -1; int dry_run = 0; int opt, i; csync_debug_out = stderr; if ( argc==3 && !strcmp(argv[1], "-k") ) { return create_keyfile(argv[2]); } if (!access(ETCDIR "/csync2.lock", F_OK)) { printf("Found " ETCDIR "/csync2.lock.\n"); return 1; } while ( (opt = getopt(argc, argv, "W:s:Ftp:G:P:C:D:N:HBAIXULSTMRvhcuoimfxrd")) != -1 ) { switch (opt) { case 'W': csync_dump_dir_fd = atoi(optarg); if (write(csync_dump_dir_fd, 0, 0) < 0) csync_fatal("Invalid dump_dir_fd %d: %s\n", csync_dump_dir_fd, strerror(errno)); break; case 's': csync_timestamp_out = fopen(optarg, "a"); if (!csync_timestamp_out) csync_fatal("Can't open timestanp file `%s': %s\n", optarg, strerror(errno)); break; case 'F': csync_new_force = 1; break; case 't': csync_timestamps = 1; break; case 'p': csync_port = atoi(optarg); break; case 'G': active_grouplist = optarg; break; case 'P': active_peerlist = optarg; break; case 'B': db_blocking_mode = 0; break; case 'A': db_sync_mode = 0; break; case 'I': init_run = 1; break; case 'X': init_run_with_removals = 1; break; case 'U': init_run_straight = 1; break; case 'C': cfgname = optarg; break; case 'D': dbdir = optarg; break; case 'N': snprintf(myhostname, 256, "%s", optarg); break; case 'v': csync_debug_level++; break; case 'h': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_HINT; break; case 'x': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_SIMPLE; break; case 'c': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_CHECK; break; case 'u': if ( mode == MODE_CHECK ) mode = MODE_CHECK_AND_UPDATE; else { if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_UPDATE; } break; case 'o': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_COMPARE; break; case 'i': if ( mode == MODE_INETD ) mode = MODE_SERVER; else if ( mode == MODE_SERVER ) mode = MODE_SINGLE; else { if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_INETD; } break; case 'm': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_MARK; break; case 'f': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_FORCE; break; case 'H': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_LIST_HINT; break; case 'L': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_LIST_FILE; break; case 'S': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_LIST_SYNC; break; case 'T': if ( mode == MODE_TEST_SYNC ) { mode_test_auto_diff = 1; } else { if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_TEST_SYNC; } break; case 'M': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_LIST_DIRTY; break; case 'R': if ( mode != MODE_NONE ) help(argv[0]); mode = MODE_REMOVE_OLD; break; case 'r': recursive = 1; break; case 'd': dry_run = 1; break; default: help(argv[0]); } } if ( optind < argc && mode != MODE_HINT && mode != MODE_MARK && mode != MODE_FORCE && mode != MODE_SIMPLE && mode != MODE_UPDATE && mode != MODE_CHECK && mode != MODE_COMPARE && mode != MODE_CHECK_AND_UPDATE && mode != MODE_LIST_SYNC && mode != MODE_TEST_SYNC) help(argv[0]); if ( mode == MODE_TEST_SYNC && optind != argc && optind+1 != argc && optind+2 != argc && optind+3 != argc) help(argv[0]); if ( mode == MODE_LIST_SYNC && optind+2 != argc ) help(argv[0]); if ( mode == MODE_NONE ) help(argv[0]); if ( *myhostname == 0 ) { gethostname(myhostname, 256); myhostname[255] = 0; } for (i=0; myhostname[i]; i++) myhostname[i] = tolower(myhostname[i]); /* Stand-alone server mode. This is a hack.. */ if ( mode == MODE_SERVER || mode == MODE_SINGLE ) { if (csync_server_loop(mode == MODE_SINGLE)) return 1; mode = MODE_INETD; } // print time (if -t is set) csync_printtime(); /* In inetd mode we need to read the module name from the peer * before we open the config file and database */ if ( mode == MODE_INETD ) { char line[4096], *cmd, *para; /* configure conn.c for inetd mode */ conn_set(0, 1); if ( !conn_gets(line, 4096) ) return 0; cmd = strtok(line, "\t \r\n"); para = cmd ? strtok(0, "\t \r\n") : 0; if (cmd && !strcasecmp(cmd, "ssl")) { #ifdef HAVE_LIBGNUTLS_OPENSSL conn_printf("OK (activating_ssl).\n"); conn_activate_ssl(1); if ( !conn_gets(line, 4096) ) return 0; cmd = strtok(line, "\t \r\n"); para = cmd ? strtok(0, "\t \r\n") : 0; #else conn_printf("This csync2 server is built without SSL support.\n"); return 0; #endif } if (!cmd || strcasecmp(cmd, "config")) { conn_printf("Expecting SSL (optional) and CONFIG as first commands.\n"); return 0; } if (para) cfgname = strdup(url_decode(para)); } if ( !*cfgname ) { asprintf(&file_database, "%s/%s.db", dbdir, myhostname); asprintf(&file_config, ETCDIR "/csync2.cfg"); } else { int i; for (i=0; cfgname[i]; i++) if ( !(cfgname[i] >= '0' && cfgname[i] <= '9') && !(cfgname[i] >= 'a' && cfgname[i] <= 'z') ) { (mode == MODE_INETD ? conn_printf : csync_fatal) ("Config names are limited to [a-z0-9]+.\n"); return mode != MODE_INETD; } asprintf(&file_database, "%s/%s_%s.db", dbdir, myhostname, cfgname); asprintf(&file_config, ETCDIR "/csync2_%s.cfg", cfgname); } csync_debug(2, "My hostname is %s.\n", myhostname); csync_debug(2, "Database-File: %s\n", file_database); csync_debug(2, "Config-File: %s\n", file_config); yyin = fopen(file_config, "r"); if ( !yyin ) csync_fatal("Can not open config file `%s': %s\n", file_config, strerror(errno)); yyparse(); fclose(yyin); { const struct csync_group *g; for (g=csync_group; g; g=g->next) if ( g->myname ) goto found_a_group; csync_fatal("This host (%s) is not a member of any configured group.\n", myhostname); found_a_group:; } csync_db_open(file_database); for (i=optind; i < argc; i++) on_cygwin_lowercase(argv[i]); switch (mode) { case MODE_SIMPLE: if ( argc == optind ) { csync_check("/", 1, init_run); csync_update(0, 0, 0, dry_run); } else { char *realnames[argc-optind]; for (i=optind; i < argc; i++) { realnames[i-optind] = strdup(getrealfn(argv[i])); csync_check_usefullness(realnames[i-optind], recursive); csync_check(realnames[i-optind], recursive, init_run); } csync_update((const char**)realnames, argc-optind, recursive, dry_run); for (i=optind; i < argc; i++) free(realnames[i-optind]); } break; case MODE_HINT: for (i=optind; i < argc; i++) { char *realname = getrealfn(argv[i]); csync_check_usefullness(realname, recursive); csync_hint(realname, recursive); } break; case MODE_CHECK: case MODE_CHECK_AND_UPDATE: if ( argc == optind ) { SQL_BEGIN("Check all hints", "SELECT filename, recursive FROM hint") { textlist_add(&tl, url_decode(SQL_V[0]), atoi(SQL_V[1])); } SQL_END; for (t = tl; t != 0; t = t->next) { csync_check(t->value, t->intvalue, init_run); SQL("Remove processed hint.", "DELETE FROM hint WHERE filename = '%s' " "and recursive = %d", url_encode(t->value), t->intvalue); } textlist_free(tl); } else { for (i=optind; i < argc; i++) { char *realname = getrealfn(argv[i]); csync_check_usefullness(realname, recursive); csync_check(realname, recursive, init_run); } } if (mode != MODE_CHECK_AND_UPDATE) break; case MODE_UPDATE: if ( argc == optind ) { csync_update(0, 0, 0, dry_run); } else { char *realnames[argc-optind]; for (i=optind; i < argc; i++) { realnames[i-optind] = strdup(getrealfn(argv[i])); csync_check_usefullness(realnames[i-optind], recursive); } csync_update((const char**)realnames, argc-optind, recursive, dry_run); for (i=optind; i < argc; i++) free(realnames[i-optind]); } break; case MODE_COMPARE: csync_compare_mode = 1; for (i=optind; i < argc; i++) { char *realname = getrealfn(argv[i]); csync_check_usefullness(realname, recursive); csync_check(realname, recursive, init_run); } break; case MODE_INETD: conn_printf("OK (cmd_finished).\n"); csync_daemon_session(); break; case MODE_MARK: for (i=optind; i < argc; i++) { char *realname = getrealfn(argv[i]); csync_check_usefullness(realname, recursive); csync_mark(realname, 0, 0); if ( recursive ) { char *where_rec = ""; if ( !strcmp(realname, "/") ) asprintf(&where_rec, "or 1"); else asprintf(&where_rec, "or (filename > '%s/' " "and filename < '%s0')", url_encode(realname), url_encode(realname)); SQL_BEGIN("Adding dirty entries recursively", "SELECT filename FROM file WHERE filename = '%s' %s", url_encode(realname), where_rec) { char *filename = strdup(url_encode(SQL_V[0])); csync_mark(filename, 0, 0); free(filename); } SQL_END; } } break; case MODE_FORCE: for (i=optind; i < argc; i++) { char *realname = getrealfn(argv[i]); char *where_rec = ""; if ( recursive ) { if ( !strcmp(realname, "/") ) asprintf(&where_rec, "or 1"); else asprintf(&where_rec, "or (filename > '%s/' " "and filename < '%s0')", url_encode(realname), url_encode(realname)); } SQL("Mark file as to be forced", "UPDATE dirty SET force = 1 WHERE filename = '%s' %s", url_encode(realname), where_rec); if ( recursive ) free(where_rec); } break; case MODE_LIST_HINT: retval = 2; SQL_BEGIN("DB Dump - Hint", "SELECT recursive, filename FROM hint ORDER BY filename") { printf("%s\t%s\n", SQL_V[0], url_decode(SQL_V[1])); retval = -1; } SQL_END; break; case MODE_LIST_FILE: retval = 2; SQL_BEGIN("DB Dump - File", "SELECT checktxt, filename FROM file ORDER BY filename") { if (csync_find_next(0, url_decode(SQL_V[1]))) { printf("%s\t%s\n", url_decode(SQL_V[0]), url_decode(SQL_V[1])); retval = -1; } } SQL_END; break; case MODE_LIST_SYNC: retval = 2; SQL_BEGIN("DB Dump - File", "SELECT checktxt, filename FROM file ORDER BY filename") { if ( csync_match_file_host(url_decode(SQL_V[1]), argv[optind], argv[optind+1], 0) ) { printf("%s\t%s\n", url_decode(SQL_V[0]), url_decode(SQL_V[1])); retval = -1; } } SQL_END; break; case MODE_TEST_SYNC: { char *realname; if (init_run && init_run_with_removals) init_run |= 2; if (init_run && init_run_straight) init_run |= 4; switch (argc-optind) { case 3: realname = getrealfn(argv[optind+2]); csync_check_usefullness(realname, 0); if ( mode_test_auto_diff ) { csync_compare_mode = 1; retval = csync_diff(argv[optind], argv[optind+1], realname); } else if ( csync_insynctest(argv[optind], argv[optind+1], init_run, 0, realname) ) retval = 2; break; case 2: if ( csync_insynctest(argv[optind], argv[optind+1], init_run, mode_test_auto_diff, 0) ) retval = 2; break; case 1: realname = getrealfn(argv[optind]); csync_check_usefullness(realname, 0); if ( mode_test_auto_diff ) csync_compare_mode = 1; if ( csync_insynctest_all(init_run, mode_test_auto_diff, realname) ) retval = 2; break; case 0: if ( csync_insynctest_all(init_run, mode_test_auto_diff, 0) ) retval = 2; break; } break; } case MODE_LIST_DIRTY: retval = 2; SQL_BEGIN("DB Dump - Dirty", "SELECT force, myname, peername, filename FROM dirty ORDER BY filename") { if (csync_find_next(0, url_decode(SQL_V[3]))) { printf("%s\t%s\t%s\t%s\n", atoi(SQL_V[0]) ? "force" : "chary", url_decode(SQL_V[1]), url_decode(SQL_V[2]), url_decode(SQL_V[3])); retval = -1; } } SQL_END; break; case MODE_REMOVE_OLD: if ( active_grouplist ) csync_fatal("Never run -R with -G!\n"); csync_remove_old(); break; } csync_run_commands(); csync_db_close(); if ( csync_server_child_pid ) { fprintf(stderr, "<%d> Connection closed.\n", csync_server_child_pid); fflush(stderr); } if ( csync_error_count != 0 || (csync_messages_printed && csync_debug_level) ) csync_debug(0, "Finished with %d errors.\n", csync_error_count); csync_printtotaltime(); if ( retval >= 0 && csync_error_count == 0 ) return retval; return csync_error_count != 0; } csync2-1.34/action.c0000644000000000000000000000764310651464522013000 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include #include #include #include #include void csync_schedule_commands(const char *filename, int islocal) { const struct csync_group *g = NULL; const struct csync_group_action *a = NULL; const struct csync_group_action_pattern *p = NULL; const struct csync_group_action_command *c = NULL; while ( (g=csync_find_next(g, filename)) ) { for (a=g->action; a; a=a->next) { if ( islocal && !a->do_local ) continue; if (!a->pattern) goto found_matching_pattern; for (p=a->pattern; p; p=p->next) if ( !fnmatch(p->pattern, filename, FNM_LEADING_DIR|FNM_PATHNAME) ) goto found_matching_pattern; continue; found_matching_pattern: for (c=a->command; c; c=c->next) SQL("Add action to database", "INSERT INTO action (filename, command, logfile) " "VALUES ('%s', '%s', '%s')", url_encode(filename), url_encode(c->command), url_encode(a->logfile)); } } } void csync_run_single_command(const char *command, const char *logfile) { char *command_clr = strdup(url_decode(command)); char *logfile_clr = strdup(url_decode(logfile)); char *real_command, *mark; struct textlist *tl = 0, *t; pid_t pid; SQL_BEGIN("Checking for removed files", "SELECT filename from action WHERE command = '%s' " "and logfile = '%s'", command, logfile) { textlist_add(&tl, SQL_V[0], 0); } SQL_END; mark = strstr(command_clr, "%%"); if ( !mark ) { real_command = strdup(command_clr); } else { int len = strlen(command_clr) + 10; char *pos; for (t = tl; t != 0; t = t->next) len += strlen(t->value) + 1; pos = real_command = malloc(len); memcpy(real_command, command_clr, mark-command_clr); real_command[mark-command_clr] = 0; for (t = tl; t != 0; t = t->next) { pos += strlen(pos); if ( t != tl ) *(pos++) = ' '; strcpy(pos, t->value); } pos += strlen(pos); strcpy(pos, mark+2); assert(strlen(real_command)+1 < len); } csync_debug(1, "Running '%s' ...\n", real_command); pid = fork(); if ( !pid ) { close(0); close(1); close(2); /* 0 */ open("/dev/null", O_RDONLY); /* 1 */ open(logfile_clr, O_WRONLY|O_CREAT|O_APPEND, 0666); /* 2 */ open(logfile_clr, O_WRONLY|O_CREAT|O_APPEND, 0666); execl("/bin/sh", "sh", "-c", real_command, 0); _exit(127); } if ( waitpid(pid, 0, 0) < 0 ) csync_fatal("ERROR: Waitpid returned error %s.\n", strerror(errno)); for (t = tl; t != 0; t = t->next) SQL("Remove action entry", "DELETE FROM action WHERE command = '%s' " "and logfile = '%s' and filename = '%s'", command, logfile, t->value); textlist_free(tl); } void csync_run_commands() { struct textlist *tl = 0, *t; SQL_BEGIN("Checking for sceduled commands", "SELECT command, logfile FROM action GROUP BY command, logfile") { textlist_add2(&tl, SQL_V[0], SQL_V[1], 0); } SQL_END; for (t = tl; t != 0; t = t->next) csync_run_single_command(t->value, t->value2); textlist_free(tl); } csync2-1.34/install-sh0000755000000000000000000001572210651464531013360 0ustar rootroot#!/bin/sh # # install - install a program, script, or datafile # # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd="" chgrpcmd="" stripcmd="" rmcmd="$rmprog -f" mvcmd="$mvprog" src="" dst="" dir_arg="" while [ x"$1" != x ]; do case $1 in -c) instcmd=$cpprog shift continue;; -d) dir_arg=true shift continue;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t=*) transformarg=`echo $1 | sed 's/-t=//'` shift continue;; -b=*) transformbasename=`echo $1 | sed 's/-b=//'` shift continue;; *) if [ x"$src" = x ] then src=$1 else # this colon is to work around a 386BSD /bin/sh bug : dst=$1 fi shift continue;; esac done if [ x"$src" = x ] then echo "$0: no input file specified" >&2 exit 1 else : fi if [ x"$dir_arg" != x ]; then dst=$src src="" if [ -d "$dst" ]; then instcmd=: chmodcmd="" else instcmd=$mkdirprog fi else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f "$src" ] || [ -d "$src" ] then : else echo "$0: $src does not exist" >&2 exit 1 fi if [ x"$dst" = x ] then echo "$0: no destination specified" >&2 exit 1 else : fi # If destination is a directory, append the input filename; if your system # does not like double slashes in filenames, you may need to add some logic if [ -d "$dst" ] then dst=$dst/`basename "$src"` else : fi fi ## this sed command emulates the dirname command dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Make sure that the destination directory exists. # this part is taken from Noah Friedman's mkinstalldirs script # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` IFS=$oIFS pathcomp='' while [ $# -ne 0 ] ; do pathcomp=$pathcomp$1 shift if [ ! -d "$pathcomp" ] ; then $mkdirprog "$pathcomp" else : fi pathcomp=$pathcomp/ done fi if [ x"$dir_arg" != x ] then $doit $instcmd "$dst" && if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi else # If we're going to rename the final executable, determine the name now. if [ x"$transformarg" = x ] then dstfile=`basename "$dst"` else dstfile=`basename "$dst" $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename if [ x"$dstfile" = x ] then dstfile=`basename "$dst"` else : fi # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up temp files at exit. trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 trap '(exit $?); exit' 1 2 13 15 # Move or copy the file name to the temp name $doit $instcmd "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $instcmd $src $dsttmp" command. if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi && # Now remove or move aside any old file at destination location. We try this # two ways since rm can't unlink itself on some systems and the destination # file might be busy for other reasons. In this case, the final cleanup # might fail but the new file should still install successfully. { if [ -f "$dstdir/$dstfile" ] then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" fi && # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit } csync2-1.34/getrealfn.c0000644000000000000000000000721610651464522013466 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include static char *my_get_current_dir_name() { #if defined __CYGWIN__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ char *r = malloc(1024); if (!getcwd(r, 1024)) strcpy(r, "/__PATH_TO_LONG__"); return r; #else return get_current_dir_name(); #endif } /* * glibc's realpath() is broken - so don't use it! */ char *getrealfn(const char *filename) { static char *ret = 0; char *st_mark = 0; struct stat st; char *tempfn; /* create working copy of filename */ tempfn = strdup(filename); /* make the path absolute */ if ( *tempfn != '/' ) { char *t2, *t1 = my_get_current_dir_name(); asprintf(&t2, "%s/%s", t1, tempfn); free(t1); free(tempfn); tempfn = t2; } /* remove leading slashes from tempfn */ { char *tmp = tempfn + strlen(tempfn) - 1; while (tmp > tempfn && *tmp == '/') *(tmp--)=0; } /* get rid of the .. and // entries */ { char *source = tempfn, *target = tempfn; for (; *source; source++) { if ( *source == '/' ) { if ( *(source+1) == '/' ) continue; if ( !strncmp(source, "/../", 4) || !strcmp(source, "/..") ) { while (1) { if ( target == tempfn ) break; if ( *(--target) == '/' ) break; } source += 2; continue; } else if ( !strncmp(source, "/./", 3) ) { source += 2; } } *(target++) = *source; } *target = 0; } /* this case is trivial */ if ( !strcmp(tempfn, "/") ) goto return_filename; /* find the last stat-able directory element, but don't use the */ /* leaf-node because we do not want to resolve a symlink there. */ do { char *tmp = st_mark; st_mark = strrchr(tempfn, '/'); if ( tmp ) *tmp = '/'; assert( st_mark != 0 ); if ( st_mark == tempfn ) goto return_filename; *st_mark = 0; } while ( stat(tempfn, &st) || !S_ISDIR(st.st_mode) ); /* ok - this might be ugly, but who cares .. */ { char *oldpwd = my_get_current_dir_name(); if ( !chdir(tempfn) ) { char *t2, *t1 = my_get_current_dir_name(); if ( st_mark ) { asprintf(&t2, "%s/%s", t1, st_mark+1); free(tempfn); free(t1); tempfn = t2; } else { free(tempfn); tempfn = t1; } chdir(oldpwd); } else if ( st_mark ) *st_mark = '/'; } return_filename: /* remove a possible "/." from the end */ { int len = strlen(tempfn); if ( len >= 2 && !strcmp(tempfn+len-2, "/.") ) { if (len == 2) len++; *(tempfn+len-2) = 0; } } if (ret) free(ret); return (ret=tempfn); } #ifdef DEBUG_GETREALFN_MAIN /* debugging main function to debug this code stand-alone */ int main(int argc, char ** argv) { int i; for (i=1; i %s\n", argv[i], getrealfn(argv[i])); return 0; } #endif csync2-1.34/csync2.spec0000644000000000000000000000626210651464523013431 0ustar rootroot# csync2 - cluster synchronization tool, 2nd generation # LINBIT Information Technologies GmbH # Copyright (C) 2004, 2005 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # spec file for package csync2 (Version 2.0) # # norootforbuild # neededforbuild openssl openssl-devel BuildRequires: sqlite-devel sqlite librsync openssl-devel librsync-devel Name: csync2 License: GPL Group: System/Monitoring Requires: sqlite openssl librsync Autoreqprov: on Version: 1.34 Release: 1 Source0: csync2-%{version}.tar.gz URL: http://oss.linbit.com/csync2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Cluster sync tool %description Csync2 is a cluster synchronization tool. It can be used to keep files on multiple hosts in a cluster in sync. Csync2 can handle complex setups with much more than just 2 hosts, handle file deletions and can detect conflicts. It is expedient for HA-clusters, HPC-clusters, COWs and server farms. Authors: -------- Clifford Wolf %prep %setup %{?suse_update_config:%{suse_update_config}} %build export CFLAGS="$RPM_OPT_FLAGS -I/usr/kerberos/include" if ! [ -f configure ]; then ./autogen.sh; fi %configure make all %install [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_sbindir} mkdir -p $RPM_BUILD_ROOT%{_var}/lib/csync2 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d %makeinstall install -m 644 csync2.xinetd $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/csync2 %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT make clean %post if ! grep -q "^csync2" %{_sysconfdir}/services ; then echo "csync2 30865/tcp" >>%{_sysconfdir}/services fi %files %defattr(-,root,root) %doc ChangeLog README NEWS INSTALL TODO AUTHORS %{_sbindir}/csync2 %{_var}/lib/csync2 %{_mandir}/man1/csync2.1.gz %config(noreplace) %{_sysconfdir}/xinetd.d/csync2 %config(noreplace) %{_sysconfdir}/csync2.cfg %changelog * Tue Dec 06 2005 Clifford Wolf - Some fixes and cleanups for RPM 4.4.1 * Sat Jun 04 2005 Clifford Wolf - xinetd init script is now "%config(noreplace)" - Some tiny cleanups * Mon Dec 10 2004 Tim Jackson - Added xinetd init script - Abstracted some config paths - Tidied * Tue Oct 12 2004 Clifford Wolf - Automatic set sepcs file 'Version' tag * Tue Sep 09 2004 - phil@linbit.com - initial package csync2-1.34/INSTALL0000644000000000000000000000014010651464522012371 0ustar rootrootSee the README file for install instructions. This file is only here because automake wants it. csync2-1.34/autogen.sh0000755000000000000000000000244710651464522013355 0ustar rootroot#!/bin/bash -x # # csync2 - cluster synchronization tool, 2nd generation # LINBIT Information Technologies GmbH # Copyright (C) 2004, 2005 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA aclocal-1.7 autoheader automake-1.7 --add-missing --copy autoconf if [ "$1" = clean ]; then ./configure && make distclean rm -rf librsync[.-]* libsqlite.* sqlite-* rm -rf configure Makefile.in depcomp stamp-h.in rm -rf mkinstalldirs config.h.in autom4te.cache rm -rf missing aclocal.m4 install-sh *~ rm -rf config.guess config.sub rm -rf cygwin/librsync-0.9.7.tar.gz rm -rf cygwin/sqlite-2.8.16.tar.gz fi csync2-1.34/Makefile.am0000644000000000000000000000675210651464522013413 0ustar rootroot# csync2 - cluster synchronization tool, 2nd generation # LINBIT Information Technologies GmbH # Copyright (C) 2004, 2005 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # sbin_PROGRAMS = csync2 sbin_SCRIPTS = csync2-compare man_MANS = csync2.1 csync2_SOURCES = action.c cfgfile_parser.y cfgfile_scanner.l check.c \ checktxt.c csync2.c daemon.c db.c error.c getrealfn.c \ groups.c rsync.c update.c urlencode.c conn.c prefixsubst.c AM_YFLAGS = -d BUILT_SOURCES = cfgfile_parser.h CLEANFILES = cfgfile_parser.c cfgfile_parser.h cfgfile_scanner.c \ private_librsync private_libsqlite config.log \ config.status config.h .deps/*.Po stamp-h1 Makefile AM_CFLAGS= AM_LDFLAGS= if PRIVATE_LIBRSYNC BUILT_SOURCES += private_librsync AM_CFLAGS += -I$(shell test -f librsync.dir && cat librsync.dir || echo ==librsync==) AM_LDFLAGS += -L$(shell test -f librsync.dir && cat librsync.dir || echo ==librsync==) LIBS += -lprivatersync endif if PRIVATE_LIBSQLITE BUILT_SOURCES += private_libsqlite AM_CFLAGS += -I$(shell test -f libsqlite.dir && cat libsqlite.dir || echo ==libsqlite==) AM_LDFLAGS += -L$(shell test -f libsqlite.dir && cat libsqlite.dir || echo ==libsqlite==) LIBS += -lprivatesqlite endif AM_CPPFLAGS = -D'DBDIR="$(localstatedir)/lib/csync2"' AM_CPPFLAGS += -D'ETCDIR="$(sysconfdir)"' install-data-local: $(mkinstalldirs) $(DESTDIR)$(sysconfdir) $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/csync2 test -e $(DESTDIR)$(sysconfdir)/csync2.cfg || \ $(INSTALL_DATA) $(srcdir)/csync2.cfg $(DESTDIR)$(sysconfdir)/csync2.cfg cert: $(mkinstalldirs) $(DESTDIR)$(sysconfdir) openssl genrsa -out $(DESTDIR)$(sysconfdir)/csync2_ssl_key.pem 1024 yes '' | openssl req -new -key $(DESTDIR)$(sysconfdir)/csync2_ssl_key.pem \ -out $(DESTDIR)$(sysconfdir)/csync2_ssl_cert.csr openssl x509 -req -days 600 -in $(DESTDIR)$(sysconfdir)/csync2_ssl_cert.csr \ -signkey $(DESTDIR)$(sysconfdir)/csync2_ssl_key.pem \ -out $(DESTDIR)$(sysconfdir)/csync2_ssl_cert.pem rm $(DESTDIR)$(sysconfdir)/csync2_ssl_cert.csr ## hack for building private librsync and private libsqlite ## private_librsync: tar xvzf $(librsync_source_file) | cut -f1 -d/ | sed '1 p; d;' > librsync.dir test -s librsync.dir && cd $$( cat librsync.dir ) && ./configure --enable-static --disable-shared make -C $$( cat librsync.dir ) cp $$( cat librsync.dir )/.libs/librsync.a $$( cat librsync.dir )/libprivatersync.a touch private_librsync private_libsqlite: tar xvzf $(libsqlite_source_file) | cut -f1 -d/ | sed '1 p; d;' > libsqlite.dir test -s libsqlite.dir && cd $$( cat libsqlite.dir ) && ./configure --enable-static --disable-shared make -C $$( cat libsqlite.dir ) cp $$( cat libsqlite.dir )/.libs/libsqlite.a $$( cat libsqlite.dir )/libprivatesqlite.a touch private_libsqlite csync2-1.34/groups.c0000644000000000000000000001316210651464522013033 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include int csync_compare_mode = 0; int match_pattern_list( const char *filename, const char *basename, const struct csync_group_pattern *p) { int match_path = 0, match_base = 1; while (p) { int matched = 0; if ( p->iscompare && !csync_compare_mode ) goto next_pattern; if ( p->pattern[0] != '/' && p->pattern[0] != '%' ) { if ( !fnmatch(p->pattern, basename, 0) ) { match_base = p->isinclude; matched = 1; } } else { if ( !fnmatch(p->pattern, filename, FNM_LEADING_DIR|FNM_PATHNAME) ) { match_path = p->isinclude; matched = 1; } } if ( matched ) { csync_debug(2, "Match (%c): %s on %s\n", p->isinclude ? '+' : '-', p->pattern, filename); } next_pattern: p = p->next; } return match_path && match_base; } const struct csync_group *csync_find_next( const struct csync_group *g, const char *file) { const char *basename = strrchr(file, '/'); if ( basename ) basename++; else basename = file; for (g = g==0 ? csync_group : g->next; g; g = g->next) { if ( !g->myname ) continue; if ( csync_compare_mode && !g->hasactivepeers ) continue; if ( match_pattern_list(file, basename, g->pattern) ) break; } return g; } int csync_step_into(const char *file) { const struct csync_group_pattern *p; const struct csync_group *g; if ( !strcmp(file, "/") ) return 1; for (g=csync_group; g; g=g->next) { if ( !g->myname ) continue; if ( csync_compare_mode && !g->hasactivepeers ) continue; for (p=g->pattern; p; p=p->next) { if ( p->iscompare && !csync_compare_mode ) continue; if ( (p->pattern[0] == '/' || p->pattern[0] == '%') && p->isinclude ) { char t[strlen(p->pattern)+1], *l; strcpy(t, p->pattern); while ( (l=strrchr(t, '/')) != 0 ) { *l = 0; if ( !fnmatch(t, file, FNM_PATHNAME) ) return 1; } } } } return 0; } int csync_match_file(const char *file) { if ( csync_find_next(0, file) ) return 2; if ( csync_step_into(file) ) return 1; return 0; } void csync_check_usefullness(const char *file, int recursive) { struct csync_prefix *p = csync_prefix; if ( csync_find_next(0, file) ) return; if ( recursive && csync_step_into(file) ) return; if (*file == '/') while (p) { if (p->path) { int p_len = strlen(p->path); int f_len = strlen(file); if (p_len <= f_len && !strncmp(p->path, file, p_len) && (file[p_len] == '/' || !file[p_len])) { char new_file[strlen(p->name) + strlen(file+p_len) + 10]; sprintf(new_file, "%%%s%%%s", p->name, file+p_len); if ( csync_find_next(0, new_file) ) return; if ( recursive && csync_step_into(new_file) ) return; } } p = p->next; } csync_debug(0, "WARNING: Parameter will be ignored: %s\n", file); } int csync_match_file_host(const char *file, const char *myname, const char *peername, const char **keys) { const struct csync_group *g = NULL; while ( (g=csync_find_next(g, file)) ) { struct csync_group_host *h = g->host; if ( strcmp(myname, g->myname) ) continue; if (keys) { const char **k = keys; while (*k && **k) if ( !strcmp(*(k++), g->key) ) goto found_key; continue; } found_key: while (h) { if ( !strcmp(h->hostname, peername) ) return 1; h = h->next; } } return 0; } struct peer *csync_find_peers(const char *file, const char *thispeer) { const struct csync_group *g = NULL; struct peer *plist = 0; int pl_size = 0; while ( (g=csync_find_next(g, file)) ) { struct csync_group_host *h = g->host; if (thispeer) { while (h) { if ( !strcmp(h->hostname, thispeer) ) break; h = h->next; } if (!h) goto next_group; h = g->host; } while (h) { int i=0; while (plist && plist[i].peername) if ( !strcmp(plist[i++].peername, h->hostname) ) goto next_host; plist = realloc(plist, sizeof(struct peer)*(++pl_size+1)); plist[pl_size-1].peername = h->hostname; plist[pl_size-1].myname = g->myname; plist[pl_size].peername = 0; next_host: h = h->next; } next_group: ; } return plist; } const char *csync_key(const char *hostname, const char *filename) { const struct csync_group *g = NULL; struct csync_group_host *h; while ( (g=csync_find_next(g, filename)) ) for (h = g->host; h; h = h->next) if (!strcmp(h->hostname, hostname)) return g->key; return 0; } int csync_perm(const char *filename, const char *key, const char *hostname) { const struct csync_group *g = NULL; struct csync_group_host *h; int false_retcode = 1; while ( (g=csync_find_next(g, filename)) ) { if ( !hostname ) continue; for (h = g->host; h; h = h->next) if (!strcmp(h->hostname, hostname) && !strcmp(g->key, key)) { if (!h->slave) return 0; else false_retcode = 2; } } return false_retcode; } csync2-1.34/AUTHORS0000644000000000000000000000004510651464522012414 0ustar rootrootClifford Wolf csync2-1.34/daemon.c0000644000000000000000000003425510651464522012765 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include #include #include #include #include #include #include #include #ifdef __CYGWIN__ #include #endif static char *cmd_error; int csync_unlink(const char *filename, int ign) { struct stat st; int rc; if ( lstat_strict(prefixsubst(filename), &st) != 0 ) return 0; if ( ign==2 && S_ISREG(st.st_mode) ) return 0; rc = S_ISDIR(st.st_mode) ? rmdir(prefixsubst(filename)) : unlink(prefixsubst(filename)); if ( rc && !ign ) cmd_error = strerror(errno); return rc; } int csync_check_dirty(const char *filename, const char *peername, int isflush) { int rc = 0; csync_check(filename, 0, 0); if (isflush) return 0; SQL_BEGIN("Check if file is dirty", "SELECT 1 FROM dirty WHERE filename = '%s' LIMIT 1", url_encode(filename)) { rc = 1; cmd_error = "File is also marked dirty here!"; } SQL_END; if (rc && peername) csync_mark(filename, peername, 0); return rc; } void csync_file_update(const char *filename, const char *peername) { struct stat st; SQL("Removing file from dirty db", "delete from dirty where filename = '%s' and peername = '%s'", url_encode(filename), peername); if ( lstat_strict(prefixsubst(filename), &st) != 0 || csync_check_pure(filename) ) { SQL("Removing file from file db", "delete from file where filename = '%s'", url_encode(filename)); } else { const char *checktxt = csync_genchecktxt(&st, filename, 0); SQL("Insert record to file db", "insert into file (filename, checktxt) values " "('%s', '%s')", url_encode(filename), url_encode(checktxt)); } } void csync_file_flush(const char *filename) { SQL("Removing file from dirty db", "delete from dirty where filename ='%s'", url_encode(filename)); } int csync_file_backup(const char *filename) { static char error_buffer[1024]; const struct csync_group *g = NULL; while ( (g=csync_find_next(g, filename)) ) { if (g->backup_directory && g->backup_generations > 0) { int bak_dir_len = strlen(g->backup_directory); int filename_len = strlen(filename); char backup_filename[bak_dir_len + filename_len + 10]; char backup_otherfilename[bak_dir_len + filename_len + 10]; int fd_in, fd_out, i; fd_in = open(filename, O_RDONLY); if (fd_in < 0) return 0; memcpy(backup_filename, g->backup_directory, bak_dir_len); for (i=0; ibackup_generations-1; i; i--) { snprintf(backup_filename+bak_dir_len+filename_len, 10, ".%d", i-1); snprintf(backup_otherfilename+bak_dir_len+filename_len, 10, ".%d", i); rename(backup_filename, backup_otherfilename); } strcpy(backup_filename+bak_dir_len+filename_len, ".0"); fd_out = open(backup_filename, O_WRONLY|O_CREAT, 0600); if (fd_out < 0) { snprintf(error_buffer, 1024, "Open error while backing up '%s': %s\n", filename, strerror(errno)); cmd_error = error_buffer; close(fd_in); return 1; } while (1) { char buffer[512]; int read_len = read(fd_in, buffer, 512); int write_len = 0; if (read_len <= 0) break; while (write_len < read_len) { int rc = write(fd_out, buffer+write_len, read_len-write_len); if (rc <= 0) { snprintf(error_buffer, 1024, "Write error while backing up '%s': %s\n", filename, strerror(errno)); cmd_error = error_buffer; close(fd_in); close(fd_out); return 1; } write_len += rc; } } close(fd_in); close(fd_out); } } return 0; } struct csync_command { char *text; int check_perm; int check_dirty; int unlink; int update; int need_ident; int action; }; enum { A_SIG, A_FLUSH, A_MARK, A_TYPE, A_GETTM, A_GETSZ, A_DEL, A_PATCH, A_MKDIR, A_MKCHR, A_MKBLK, A_MKFIFO, A_MKLINK, A_MKSOCK, A_SETOWN, A_SETMOD, A_SETIME, A_LIST, A_GROUP, A_DEBUG, A_HELLO, A_BYE }; struct csync_command cmdtab[] = { { "sig", 1, 0, 0, 0, 1, A_SIG }, { "mark", 1, 0, 0, 0, 1, A_MARK }, { "type", 2, 0, 0, 0, 1, A_TYPE }, { "gettm", 1, 0, 0, 0, 1, A_GETTM }, { "getsz", 1, 0, 0, 0, 1, A_GETSZ }, { "flush", 1, 1, 0, 0, 1, A_FLUSH }, { "del", 1, 1, 0, 1, 1, A_DEL }, { "patch", 1, 1, 2, 1, 1, A_PATCH }, { "mkdir", 1, 1, 1, 1, 1, A_MKDIR }, { "mkchr", 1, 1, 1, 1, 1, A_MKCHR }, { "mkblk", 1, 1, 1, 1, 1, A_MKBLK }, { "mkfifo", 1, 1, 1, 1, 1, A_MKFIFO }, { "mklink", 1, 1, 1, 1, 1, A_MKLINK }, { "mksock", 1, 1, 1, 1, 1, A_MKSOCK }, { "setown", 1, 1, 0, 2, 1, A_SETOWN }, { "setmod", 1, 1, 0, 2, 1, A_SETMOD }, { "setime", 1, 0, 0, 2, 1, A_SETIME }, { "list", 0, 0, 0, 0, 1, A_LIST }, #if 0 { "debug", 0, 0, 0, 0, 1, A_DEBUG }, #endif { "group", 0, 0, 0, 0, 0, A_GROUP }, { "hello", 0, 0, 0, 0, 0, A_HELLO }, { "bye", 0, 0, 0, 0, 0, A_BYE }, { 0, 0, 0, 0, 0, 0, 0 } }; void csync_daemon_session() { struct sockaddr_in peername; struct hostent *hp; int peerlen = sizeof(struct sockaddr_in); char line[4096], *peer=0, *tag[32]; int i; if ( getpeername(0, (struct sockaddr*)&peername, &peerlen) == -1 ) csync_fatal("Can't run getpeername on fd 0: %s", strerror(errno)); while ( conn_gets(line, 4096) ) { int cmdnr; tag[i=0] = strtok(line, "\t \r\n"); while ( tag[i] && i < 31 ) tag[++i] = strtok(0, "\t \r\n"); while ( i < 32 ) tag[i++] = ""; if ( !tag[0][0] ) continue; for (i=0; i<32; i++) tag[i] = strdup(url_decode(tag[i])); for (cmdnr=0; cmdtab[cmdnr].text; cmdnr++) if ( !strcasecmp(cmdtab[cmdnr].text, tag[0]) ) break; if ( !cmdtab[cmdnr].text ) { cmd_error = "Unkown command!"; goto abort_cmd; } cmd_error = 0; if ( cmdtab[cmdnr].need_ident && !peer ) { union { in_addr_t addr; unsigned char oct[4]; } tmp; tmp.addr = peername.sin_addr.s_addr; conn_printf("Dear %d.%d.%d.%d, please identify first.\n", tmp.oct[0], tmp.oct[1], tmp.oct[2], tmp.oct[3]); goto next_cmd; } if ( cmdtab[cmdnr].check_perm ) on_cygwin_lowercase(tag[2]); if ( cmdtab[cmdnr].check_perm ) { if ( cmdtab[cmdnr].check_perm == 2 ) csync_compare_mode = 1; int perm = csync_perm(tag[2], tag[1], peer); if ( cmdtab[cmdnr].check_perm == 2 ) csync_compare_mode = 0; if ( perm ) { if ( perm == 2 ) { csync_mark(tag[2], peer, 0); cmd_error = "Permission denied for slave!"; } else cmd_error = "Permission denied!"; goto abort_cmd; } } if ( cmdtab[cmdnr].check_dirty && csync_check_dirty(tag[2], peer, cmdtab[cmdnr].action == A_FLUSH) ) goto abort_cmd; if ( cmdtab[cmdnr].unlink ) csync_unlink(tag[2], cmdtab[cmdnr].unlink); switch ( cmdtab[cmdnr].action ) { case A_SIG: { struct stat st; if ( lstat_strict(prefixsubst(tag[2]), &st) != 0 ) { if ( errno == ENOENT ) conn_printf("OK (not_found).\n---\noctet-stream 0\n"); else cmd_error = strerror(errno); break; } else if ( csync_check_pure(tag[2]) ) { conn_printf("OK (not_found).\n---\noctet-stream 0\n"); break; } conn_printf("OK (data_follows).\n"); conn_printf("%s\n", csync_genchecktxt(&st, tag[2], 1)); if ( S_ISREG(st.st_mode) ) csync_rs_sig(tag[2]); else conn_printf("octet-stream 0\n"); } break; case A_MARK: csync_mark(tag[2], peer, 0); break; case A_TYPE: { FILE *f = fopen(prefixsubst(tag[2]), "rb"); if (!f && errno == ENOENT) f = fopen("/dev/null", "rb"); if (f) { char buffer[512]; size_t rc; conn_printf("OK (data_follows).\n"); while ( (rc=fread(buffer, 1, 512, f)) > 0 ) if ( conn_write(buffer, rc) != rc ) { conn_printf("[[ %s ]]", strerror(errno)); break; } fclose(f); return; } cmd_error = strerror(errno); } break; case A_GETTM: case A_GETSZ: { struct stat sbuf; conn_printf("OK (data_follows).\n"); if (!lstat_strict(prefixsubst(tag[2]), &sbuf)) conn_printf("%ld\n", cmdtab[cmdnr].action == A_GETTM ? (long)sbuf.st_mtime : (long)sbuf.st_size); else conn_printf("-1\n"); goto next_cmd; } break; case A_FLUSH: SQL("Flushing dirty entry (if any) for file", "DELETE FROM dirty WHERE filename = '%s'", url_encode(tag[2])); break; case A_DEL: if (!csync_file_backup(tag[2])) csync_unlink(tag[2], 0); break; case A_PATCH: if (!csync_file_backup(tag[2])) { conn_printf("OK (send_data).\n"); csync_rs_sig(tag[2]); if (csync_rs_patch(tag[2])) cmd_error = strerror(errno); } break; case A_MKDIR: /* ignore errors on creating directories if the * directory does exist already. we don't need such * a check for the other file types, because they * will simply be unlinked if already present. */ #ifdef __CYGWIN__ // This creates the file using the native windows API, bypassing // the cygwin wrappers and so making sure that we do not mess up the // permissions.. { char winfilename[MAX_PATH]; cygwin_conv_to_win32_path(prefixsubst(tag[2]), winfilename); if ( !CreateDirectory(TEXT(winfilename), NULL) ) { struct stat st; if ( lstat_strict(prefixsubst(tag[2]), &st) != 0 || !S_ISDIR(st.st_mode)) { csync_debug(1, "Win32 I/O Error %d in mkdir command: %s\n", (int)GetLastError(), winfilename); cmd_error = "Win32 I/O Error on CreateDirectory()"; } } } #else if ( mkdir(prefixsubst(tag[2]), 0700) ) { struct stat st; if ( lstat_strict((prefixsubst(tag[2])), &st) != 0 || !S_ISDIR(st.st_mode)) cmd_error = strerror(errno); } #endif break; case A_MKCHR: if ( mknod(prefixsubst(tag[2]), 0700|S_IFCHR, atoi(tag[3])) ) cmd_error = strerror(errno); break; case A_MKBLK: if ( mknod(prefixsubst(tag[2]), 0700|S_IFBLK, atoi(tag[3])) ) cmd_error = strerror(errno); break; case A_MKFIFO: if ( mknod(prefixsubst(tag[2]), 0700|S_IFIFO, 0) ) cmd_error = strerror(errno); break; case A_MKLINK: if ( symlink(tag[3], prefixsubst(tag[2])) ) cmd_error = strerror(errno); break; case A_MKSOCK: /* just ignore socket files */ break; case A_SETOWN: if ( !csync_ignore_uid || !csync_ignore_gid ) { int uid = csync_ignore_uid ? -1 : atoi(tag[3]); int gid = csync_ignore_gid ? -1 : atoi(tag[4]); if ( lchown(prefixsubst(tag[2]), uid, gid) ) cmd_error = strerror(errno); } break; case A_SETMOD: if ( !csync_ignore_mod ) { if ( chmod(prefixsubst(tag[2]), atoi(tag[3])) ) cmd_error = strerror(errno); } break; case A_SETIME: { struct utimbuf utb; utb.actime = atoll(tag[3]); utb.modtime = atoll(tag[3]); if ( utime(prefixsubst(tag[2]), &utb) ) cmd_error = strerror(errno); } break; case A_LIST: SQL_BEGIN("DB Dump - Files for sync pair", "SELECT checktxt, filename FROM file %s%s%s ORDER BY filename", strcmp(tag[2], "-") ? "WHERE filename = '" : "", strcmp(tag[2], "-") ? url_encode(tag[2]) : "", strcmp(tag[2], "-") ? "'" : "") { if ( csync_match_file_host(url_decode(SQL_V[1]), tag[1], peer, (const char **)&tag[3]) ) conn_printf("%s\t%s\n", SQL_V[0], SQL_V[1]); } SQL_END; break; case A_DEBUG: csync_debug_out = stdout; if ( tag[1][0] ) csync_debug_level = atoi(tag[1]); break; case A_HELLO: if (peer) free(peer); hp = gethostbyname(tag[1]); if ( hp != 0 && peername.sin_family == hp->h_addrtype && !memcmp(hp->h_addr, &peername.sin_addr, hp->h_length) && conn_check_peer_cert(tag[1], 0)) { peer = strdup(tag[1]); } else { peer = 0; cmd_error = "Identification failed!"; break; } #ifdef HAVE_LIBGNUTLS_OPENSSL if (!csync_conn_usessl) { struct csync_nossl *t; for (t = csync_nossl; t; t=t->next) { if ( !fnmatch(t->pattern_from, myhostname, 0) && !fnmatch(t->pattern_to, peer, 0) ) goto conn_without_ssl_ok; } cmd_error = "SSL encrypted connection expected!"; } conn_without_ssl_ok:; #endif break; case A_GROUP: if (active_grouplist) { cmd_error = "Group list already set!"; } else { const struct csync_group *g; int i, gnamelen; active_grouplist = strdup(tag[1]); for (g=csync_group; g; g=g->next) { if (!g->myname) continue; i=0; gnamelen = strlen(csync_group->gname); while (active_grouplist[i]) { if ( !strncmp(active_grouplist+i, csync_group->gname, gnamelen) && (active_grouplist[i+gnamelen] == ',' || !active_grouplist[i+gnamelen]) ) goto found_asactive; while (active_grouplist[i]) if (active_grouplist[i++]==',') break; } csync_group->myname = 0; found_asactive: ; } } break; case A_BYE: for (i=0; i<32; i++) tag[i] = strdup(url_decode(tag[i])); conn_printf("OK (cu_later).\n"); return; } if ( cmdtab[cmdnr].update ) csync_file_update(tag[2], peer); if ( cmdtab[cmdnr].update == 1 ) { csync_debug(1, "Updated %s from %s.\n", tag[2], peer ? peer : "???"); csync_schedule_commands(tag[2], 0); } abort_cmd: if ( cmd_error ) conn_printf("%s\n", cmd_error); else conn_printf("OK (cmd_finished).\n"); next_cmd: for (i=0; i<32; i++) tag[i] = strdup(url_decode(tag[i])); } } csync2-1.34/cfgfile_parser.y0000644000000000000000000002737310651464522014526 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ %{ #include "csync2.h" #include #include #include #include #include struct csync_group *csync_group = 0; struct csync_prefix *csync_prefix = 0; struct csync_nossl *csync_nossl = 0; int csync_ignore_uid = 0; int csync_ignore_gid = 0; int csync_ignore_mod = 0; #ifdef __CYGWIN__ int csync_lowercyg_disable = 0; int csync_lowercyg_used = 0; #endif extern void yyerror(char* text); extern int yylex(); extern int yylineno; void yyerror(char *text) { csync_fatal("Near line %d: %s\n", yylineno, text); } static void new_group(char *name) { int static autonum = 1; struct csync_group *t = calloc(sizeof(struct csync_group), 1); if (name == 0) asprintf(&name, "group_%d", autonum++); t->next = csync_group; t->auto_method = -1; t->gname = name; t->backup_generations = 3; csync_group = t; } static void add_host(char *hostname, char *peername, int slave) { int i; for (i=0; hostname[i]; i++) hostname[i] = tolower(hostname[i]); for (i=0; peername[i]; i++) peername[i] = tolower(peername[i]); if ( strcmp(hostname, myhostname) == 0 ) { csync_group->local_slave = slave; csync_group->myname = peername; free(hostname); } else { struct csync_group_host *t = calloc(sizeof(struct csync_group_host), 1); t->hostname = peername; t->on_left_side = !csync_group->myname; t->slave = slave; t->next = csync_group->host; csync_group->host = t; free(hostname); } } static void add_patt(int patterntype, char *pattern) { struct csync_group_pattern *t = calloc(sizeof(struct csync_group_pattern), 1); int i; #if __CYGWIN__ if (isalpha(pattern[0]) && pattern[1] == ':' && (pattern[2] == '/' || pattern[2] == '\\')) { char *new_pattern, *p; asprintf(&new_pattern, "/cygdrive/%c/%s", tolower(pattern[0]), pattern+3); for (p = new_pattern; *p; p++) if (*p == '\\') *p = '/'; free(pattern); pattern = new_pattern; } #endif for (i=strlen(pattern)-1; i>0; i--) if (pattern[i] == '/') pattern[i] = 0; else break; t->isinclude = patterntype >= 1; t->iscompare = patterntype >= 2; t->pattern = pattern; t->next = csync_group->pattern; csync_group->pattern = t; } static void set_key(char *keyfilename) { FILE *keyfile; char line[1024]; int i; if ( csync_group->key ) csync_fatal("Config error: a group might only have one key.\n"); if ( (keyfile = fopen(keyfilename, "r")) == 0 || fgets(line, 1024, keyfile) == 0 ) csync_fatal("Config error: Can't read keyfile %s.\n", keyfilename); for (i=0; line[i]; i++) { if (line[i] == '\n') { line[i]=0; break; } if ( !(line[i] >= 'A' && line[i] <= 'Z') && !(line[i] >= 'a' && line[i] <= 'z') && !(line[i] >= '0' && line[i] <= '9') && line[i] != '.' && line[i] != '_' ) csync_fatal("Unallowed character '%c' in key file %s.\n", line[i], keyfilename); } if ( strlen(line) < 32 ) csync_fatal("Config error: Key in file %s is too short.\n", keyfilename); csync_group->key = strdup(line); free(keyfilename); fclose(keyfile); } static void set_auto(char *auto_method) { int method_id = -1; if (csync_group->auto_method >= 0) csync_fatal("Config error: a group might only have one auto-setting.\n"); if (!strcmp(auto_method, "none")) method_id = CSYNC_AUTO_METHOD_NONE; if (!strcmp(auto_method, "first")) method_id = CSYNC_AUTO_METHOD_FIRST; if (!strcmp(auto_method, "younger")) method_id = CSYNC_AUTO_METHOD_YOUNGER; if (!strcmp(auto_method, "older")) method_id = CSYNC_AUTO_METHOD_OLDER; if (!strcmp(auto_method, "bigger")) method_id = CSYNC_AUTO_METHOD_BIGGER; if (!strcmp(auto_method, "smaller")) method_id = CSYNC_AUTO_METHOD_SMALLER; if (!strcmp(auto_method, "left")) method_id = CSYNC_AUTO_METHOD_LEFT; if (!strcmp(auto_method, "right")) method_id = CSYNC_AUTO_METHOD_RIGHT; if (method_id < 0) csync_fatal("Config error: Unknown auto-setting '%s' (use " "'none', 'younger', 'older', 'bigger', 'smaller', " "'left' or 'right').\n", auto_method); csync_group->auto_method = method_id; free(auto_method); } static void set_bak_dir(char *dir) { csync_group->backup_directory = dir; } static void set_bak_gen(char *gen) { csync_group->backup_generations = atoi(gen); free(gen); } static void check_group() { if ( ! csync_group->key ) csync_fatal("Config error: every group must have a key.\n"); if ( csync_group->auto_method < 0 ) csync_group->auto_method = CSYNC_AUTO_METHOD_NONE; /* re-order hosts and pattern */ { struct csync_group_host *t = csync_group->host; csync_group->host = 0; while ( t ) { struct csync_group_host *next = t->next; t->next = csync_group->host; csync_group->host = t; t = next; } } { struct csync_group_pattern *t = csync_group->pattern; csync_group->pattern = 0; while ( t ) { struct csync_group_pattern *next = t->next; t->next = csync_group->pattern; csync_group->pattern = t; t = next; } } if (active_peerlist) { struct csync_group_host *h; int i=0, thisplen; while (active_peerlist[i]) { thisplen = strcspn(active_peerlist + i, ","); for (h=csync_group->host; h; h=h->next) if (strlen(h->hostname) == thisplen && !strncmp(active_peerlist + i, h->hostname, thisplen)) goto foundactivepeers; i += thisplen; while (active_peerlist[i] == ',') i++; } } else foundactivepeers: csync_group->hasactivepeers = 1; if (active_grouplist && csync_group->myname) { int i=0, gnamelen = strlen(csync_group->gname); while (active_grouplist[i]) { if ( !strncmp(active_grouplist+i, csync_group->gname, gnamelen) && (active_grouplist[i+gnamelen] == ',' || !active_grouplist[i+gnamelen]) ) goto found_asactive; while (active_grouplist[i]) if (active_grouplist[i++]==',') break; } csync_group->myname = 0; found_asactive: ; } } static void new_action() { struct csync_group_action *t = calloc(sizeof(struct csync_group_action), 1); t->next = csync_group->action; t->logfile = "/dev/null"; csync_group->action = t; } static void add_action_pattern(const char *pattern) { struct csync_group_action_pattern *t = calloc(sizeof(struct csync_group_action_pattern), 1); t->pattern = pattern; t->next = csync_group->action->pattern; csync_group->action->pattern = t; } static void add_action_exec(const char *command) { struct csync_group_action_command *t = calloc(sizeof(struct csync_group_action_command), 1); t->command = command; t->next = csync_group->action->command; csync_group->action->command = t; } static void set_action_logfile(const char *logfile) { csync_group->action->logfile = logfile; } static void set_action_dolocal() { csync_group->action->do_local = 1; } static void new_prefix(const char *pname) { struct csync_prefix *p = calloc(sizeof(struct csync_prefix), 1); p->name = pname; p->next = csync_prefix; csync_prefix = p; } static void new_prefix_entry(char *pattern, char *path) { int i; if (path[0] != '/') csync_fatal("Config error: Prefix '%s' is not an absolute path.\n", path); if (!csync_prefix->path && !fnmatch(pattern, myhostname, 0)) { #if __CYGWIN__ if (isalpha(path[0]) && path[1] == ':' && (path[2] == '/' || path[2] == '\\')) { char *new_path, *p; asprintf(&new_path, "/cygdrive/%c/%s", tolower(path[0]), path+3); for (p = new_path; *p; p++) if (*p == '\\') *p = '/'; free(path); path = new_path; } #endif for (i=strlen(path)-1; i>0; i--) if (path[i] == '/') path[i] = 0; else break; csync_debug(2, "Prefix '%s' is set to '%s'.\n", csync_prefix->name, path); csync_prefix->path = path; } else free(path); free(pattern); } static void new_nossl(const char *from, const char *to) { struct csync_nossl *t = calloc(sizeof(struct csync_nossl), 1); t->pattern_from = from; t->pattern_to = to; t->next = csync_nossl; csync_nossl = t; } static void new_ignore(char *propname) { if ( !strcmp(propname, "uid") ) csync_ignore_uid = 1; else if ( !strcmp(propname, "gid") ) csync_ignore_gid = 1; else if ( !strcmp(propname, "mod") ) csync_ignore_mod = 1; else csync_fatal("Config error: Unknown 'ignore' porperty: '%s'.\n", propname); free(propname); } static void disable_cygwin_lowercase_hack() { #ifdef __CYGWIN__ if (csync_lowercyg_used) csync_fatal("Config error: 'nocygwinlowercase' must be at the top of the config file.\n"); csync_lowercyg_disable = 1; #else csync_fatal("Config error: Found 'nocygwinlowercase' but this is not a cygwin csync2.\n"); #endif } %} %expect 2 %union { char *txt; } %token TK_BLOCK_BEGIN TK_BLOCK_END TK_STEND TK_AT TK_AUTO %token TK_NOSSL TK_IGNORE TK_GROUP TK_HOST TK_EXCL TK_INCL TK_COMP TK_KEY %token TK_ACTION TK_PATTERN TK_EXEC TK_DOLOCAL TK_LOGFILE TK_NOCYGLOWER %token TK_PREFIX TK_ON TK_COLON TK_POPEN TK_PCLOSE %token TK_BAK_DIR TK_BAK_GEN %token TK_STRING %% config: /* empty */ | block config ; block: block_header block_body | TK_PREFIX TK_STRING { new_prefix($2); } TK_BLOCK_BEGIN prefix_list TK_BLOCK_END { } | TK_NOSSL TK_STRING TK_STRING TK_STEND { new_nossl($2, $3); } | TK_IGNORE ignore_list TK_STEND | TK_NOCYGLOWER TK_STEND { disable_cygwin_lowercase_hack(); } ; ignore_list: /* empty */ | TK_STRING ignore_list { new_ignore($1); } ; prefix_list: /* empty */ | prefix_list TK_ON TK_STRING TK_COLON TK_STRING TK_STEND { new_prefix_entry($3, on_cygwin_lowercase($5)); } ; block_header: TK_GROUP { new_group(0); } | TK_GROUP TK_STRING { new_group($2); } ; block_body: TK_BLOCK_BEGIN stmts TK_BLOCK_END { check_group(); } ; stmts: /* empty */ | stmt TK_STEND stmts | action stmts ; stmt: TK_HOST host_list | TK_EXCL excl_list | TK_INCL incl_list | TK_COMP comp_list | TK_KEY TK_STRING { set_key($2); } | TK_AUTO TK_STRING { set_auto($2); } | TK_BAK_DIR TK_STRING { set_bak_dir($2); } | TK_BAK_GEN TK_STRING { set_bak_gen($2); } ; host_list: /* empty */ | host_list TK_STRING { add_host($2, strdup($2), 0); } | host_list TK_STRING TK_AT TK_STRING { add_host($2, $4, 0); } | host_list TK_POPEN host_list_slaves TK_PCLOSE host_list ; host_list_slaves: /* empty */ | host_list_slaves TK_STRING { add_host($2, strdup($2), 1); } | host_list_slaves TK_STRING TK_AT TK_STRING { add_host($2, $4, 1); } ; excl_list: /* empty */ | excl_list TK_STRING { add_patt(0, on_cygwin_lowercase($2)); } ; incl_list: /* empty */ | incl_list TK_STRING { add_patt(1, on_cygwin_lowercase($2)); } ; comp_list: /* empty */ | incl_list TK_STRING { add_patt(2, on_cygwin_lowercase($2)); } ; action: TK_ACTION { new_action(); } TK_BLOCK_BEGIN action_stmts TK_BLOCK_END ; action_stmts: /* empty */ | action_stmt TK_STEND action_stmts ; action_stmt: TK_PATTERN action_pattern_list | TK_EXEC action_exec_list | TK_LOGFILE TK_STRING { set_action_logfile($2); } | TK_DOLOCAL { set_action_dolocal(); } ; action_pattern_list: /* empty */ | action_pattern_list TK_STRING { add_action_pattern(on_cygwin_lowercase($2)); } ; action_exec_list: /* empty */ | action_exec_list TK_STRING { add_action_exec($2); } ; csync2-1.34/cfgfile_scanner.l0000644000000000000000000000556710651464522014647 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ %{ #include "cfgfile_parser.h" #include #define MAX_INCLUDE_DEPTH 10 YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH]; int include_stack_ptr = 0; %} %option noyywrap yylineno %x STRING INCL %% "{" { return TK_BLOCK_BEGIN; } "}" { return TK_BLOCK_END; } "(" { return TK_POPEN; } ")" { return TK_PCLOSE; } ";" { return TK_STEND; } ":" { return TK_COLON; } "@" { return TK_AT; } "nossl" { return TK_NOSSL; } "ignore" { return TK_IGNORE; } "group" { return TK_GROUP; } "host" { return TK_HOST; } "exclude" { return TK_EXCL; } "include" { return TK_INCL; } "compare" { return TK_COMP; } "key" { return TK_KEY; } "auto" { return TK_AUTO; } "action" { return TK_ACTION; } "pattern" { return TK_PATTERN; } "exec" { return TK_EXEC; } "logfile" { return TK_LOGFILE; } "do-local" { return TK_DOLOCAL; } "prefix" { return TK_PREFIX; } "on" { return TK_ON; } "backup-directory" { return TK_BAK_DIR; } "backup-generations" { return TK_BAK_GEN; } "no-cygwin-lowercase" { return TK_NOCYGLOWER; } "config" BEGIN(INCL); [ \t]* /* eat the whitespaces */ [^ \t\r\n;]+ { if ( include_stack_ptr >= MAX_INCLUDE_DEPTH ) { fprintf(stderr, "Config includes nested too deeply.\n"); exit(1); } include_stack[include_stack_ptr++] = YY_CURRENT_BUFFER; yyin = fopen(yytext, "r"); if ( !yyin ) { fprintf(stderr, "Can't open included config file '%s'.\n", yytext); exit(1); } yy_switch_to_buffer(yy_create_buffer(yyin, YY_BUF_SIZE)); BEGIN(0); } ";" BEGIN(0); <> { if ( !include_stack_ptr ) yyterminate(); else { yy_delete_buffer(YY_CURRENT_BUFFER); yy_switch_to_buffer(include_stack[--include_stack_ptr]); BEGIN(INCL); } } \" BEGIN(STRING); [^\"]* { yylval.txt=strdup(yytext); return TK_STRING; } \" BEGIN(0); [ \r\n\t]+ /* whitespaces are just delimiters */ #[^\r\n]* /* this is a comment */ [^ \r\n\t@;\(\)#"]*[^ \r\n\t@:;\(\)#"] { yylval.txt=strdup(yytext); return TK_STRING; } %% csync2-1.34/missing0000755000000000000000000002403210651464531012745 0ustar rootroot#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch]" ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing 0.4 - GNU automake" ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; aclocal*) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then # We have makeinfo, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` fi touch $file ;; tar) shift if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 fi # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 csync2-1.34/csync2.10000644000000000000000000000717110651464522012636 0ustar rootroot.\" Hey, EMACS: -*- nroff -*- .TH CSYNC2 1 "September 23, 2005" .SH NAME csync2 \- cluster synchronization tool, 2nd generation .SH SYNOPSIS .B csync2 .RI [ -v.. ] " [-C config-name]" " [-D database-dir]" " [-N hostname]" " [-p port]" ... .br .SH DESCRIPTION This manual page documents briefly the .B csync2 command. .RS 0 A verbose manual can be found on the .B csync2 homepage: .IP .B http://oss.linbit.com/csync2/paper.pdf .PP \fBcsync2\fP is a program for cluster synchronization. .SH OPTIONS .TP With file parameters: .TP .B -h [-r] file.. Add (recursive) hints for check to db .TP .B -c [-r] file.. Check files and maybe add to dirty db .TP .B -u [-d] [-r] file.. Updates files if listed in dirty db .TP .B -f file.. Force this file in sync (resolve conflict) .TP .B -m file.. Mark files in database as dirty .TP Simple mode: .TP .B -x [-d] [[-r] file..] Run checks for all given files and update remote hosts. .TP Without file parameters: .TP .B -c Check all hints in db and eventually mark files as dirty .TP .B -u [-d] Update (transfer dirty files to peers and mark as clear) .TP .B -H List all pending hints from status db .TP .B -L List all file-entries from status db .TP .B -M List all dirty files from status db .TP .B -S myname peername List file-entries from status db for this synchronization pair. .TP .B -T Test if everything is in sync with all peers. .TP .B -T filename Test if this file is in sync with all peers. .TP .B -T myname peername Test if this synchronization pair is in sync. .TP .B -T myname peer file Test only this file in this sync pair. .TP .B -TT As -T, but print the unified diffs. .TP Notice: The modes -H, -L, -M and -S return 2 if the requested db is empty. The mode -T returns 2 if both hosts are in sync. .TP .B -i Run in inetd server mode. .TP .B -ii Run in stand-alone server mode. .TP .B -iii Run in stand-alone server mode (one connect only). .TP .B -R Remove files from database which do not match config entries. .TP Modifiers: .TP .B -r Recursive operation over subdirectories .TP .B -d Dry-run on all remote update operations .TP .B -B Do not block everything into big SQL transactions. This slows down csync2 but allows multiple csync2 processes to access the database at the same time. Use e.g. when slow lines are used or huge files are transferred. .TP .B -A Open database in asynchronous mode. This will cause data corruption if the operating system crashes or the computer loses power. .TP .B -I Init-run. Use with care and read the documentation first! You usually do not need this option unless you are initializing groups with really large file lists. .TP .B -X Also add removals to dirty db when doing a -TI run. .TP .B -U Don't mark all other peers as dirty when doing a -TI run. .TP .B -G Group1,Group2,Group3,... Only use this groups from config-file. .TP .B -P peer1,peer1,... Only update this peers (still mark all as dirty). .TP .B -F Add new entries to dirty database with force flag set. .TP .B -t Print timestamps to debug output (e.g. for profiling). .TP .B -s filename Print timestamps also to this file. .TP .B -W fd Write a list of directories in which relevant file can be found to the specified file descriptor (when doing a -c run). The directory names in this output are zero-terminated. .TP Creating key file: .B csync2 -k filename .TP Warning: Csync2 will refuse to do anything when a /etc/csync2.lock file is found. .SH SEE ALSO .BR sqlite (1). .SH AUTHOR csync2 was written by Clifford Wolf . .PP This manual page was written by Michael Prokop , for the Debian project (but may be used by others). It is now further maintained by Clifford Wolf. csync2-1.34/mkinstalldirs0000755000000000000000000000370410651464531014157 0ustar rootroot#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" 1>&2 exit 0 ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac case $dirmode in '') if mkdir -p -- . 2>/dev/null; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" fi ;; *) if mkdir -m "$dirmode" -p -- . 2>/dev/null; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" fi ;; esac for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr="" chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp="$pathcomp/" done done exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 # End: # mkinstalldirs ends here csync2-1.34/aclocal.m40000644000000000000000000011545710651464527013227 0ustar rootroot# generated automatically by aclocal 1.7.9 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. # Do all the work for Automake. -*- Autoconf -*- # This macro actually does too much some checks are only needed if # your package does certain things. But this isn't really a big deal. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 10 AC_PREREQ([2.54]) # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow # the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_MISSING_PROG(AMTAR, tar) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.7.9])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright 2001, 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 2 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # # Check to make sure that the build environment is sane. # # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 3 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # -*- Autoconf -*- # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 3 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # AM_AUX_DIR_EXPAND # Copyright 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. # Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50]) AC_DEFUN([AM_AUX_DIR_EXPAND], [ # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. # Copyright 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # AM_PROG_INSTALL_STRIP # Copyright 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # -*- Autoconf -*- # Copyright (C) 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 1 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # serial 5 -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c : > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # (even with -Werror). So we grep stderr for any message # that says an option was ignored. if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. #serial 2 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n -e '/^U = / s///p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # We invoke sed twice because it is the simplest approach to # changing $(DEPDIR) to its actual value in the expansion. for file in `sed -n -e ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 2 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright 1997, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 5 AC_PREREQ(2.52) # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]) fi])]) # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. AC_PREREQ([2.52]) # serial 6 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 3 AC_PREREQ(2.50) # AM_PROG_LEX # ----------- # Autoconf leaves LEX=: if lex or flex can't be found. Change that to a # "missing" invocation, for better error output. AC_DEFUN([AM_PROG_LEX], [AC_REQUIRE([AM_MISSING_HAS_RUN])dnl AC_REQUIRE([AC_PROG_LEX])dnl if test "$LEX" = :; then LEX=${am_missing_run}flex fi]) dnl Autoconf macros for libgnutls dnl $id$ # Modified for LIBGNUTLS -- nmav # Configure paths for LIBGCRYPT # Shamelessly stolen from the one of XDELTA by Owen Taylor # Werner Koch 99-12-09 dnl AM_PATH_LIBGNUTLS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) dnl Test for libgnutls, and define LIBGNUTLS_CFLAGS and LIBGNUTLS_LIBS dnl AC_DEFUN([AM_PATH_LIBGNUTLS], [dnl dnl Get the cflags and libraries from the libgnutls-config script dnl AC_ARG_WITH(libgnutls-prefix, [ --with-libgnutls-prefix=PFX Prefix where libgnutls is installed (optional)], libgnutls_config_prefix="$withval", libgnutls_config_prefix="") if test x$libgnutls_config_prefix != x ; then if test x${LIBGNUTLS_CONFIG+set} != xset ; then LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config fi fi AC_PATH_PROG(LIBGNUTLS_CONFIG, libgnutls-config, no) min_libgnutls_version=ifelse([$1], ,0.1.0,$1) AC_MSG_CHECKING(for libgnutls - version >= $min_libgnutls_version) no_libgnutls="" if test "$LIBGNUTLS_CONFIG" = "no" ; then no_libgnutls=yes else LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags` LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs` libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version` ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" LIBS="$LIBS $LIBGNUTLS_LIBS" dnl dnl Now check if the installed libgnutls is sufficiently new. Also sanity dnl checks the results of libgnutls-config to some extent dnl rm -f conf.libgnutlstest AC_TRY_RUN([ #include #include #include #include int main () { system ("touch conf.libgnutlstest"); if( strcmp( gnutls_check_version(NULL), "$libgnutls_config_version" ) ) { printf("\n*** 'libgnutls-config --version' returned %s, but LIBGNUTLS (%s)\n", "$libgnutls_config_version", gnutls_check_version(NULL) ); printf("*** was found! If libgnutls-config was correct, then it is best\n"); printf("*** to remove the old version of LIBGNUTLS. You may also be able to fix the error\n"); printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** required on your system.\n"); printf("*** If libgnutls-config was wrong, set the environment variable LIBGNUTLS_CONFIG\n"); printf("*** to point to the correct copy of libgnutls-config, and remove the file config.cache\n"); printf("*** before re-running configure\n"); } else if ( strcmp(gnutls_check_version(NULL), LIBGNUTLS_VERSION ) ) { printf("\n*** LIBGNUTLS header file (version %s) does not match\n", LIBGNUTLS_VERSION); printf("*** library (version %s)\n", gnutls_check_version(NULL) ); } else { if ( gnutls_check_version( "$min_libgnutls_version" ) ) { return 0; } else { printf("no\n*** An old version of LIBGNUTLS (%s) was found.\n", gnutls_check_version(NULL) ); printf("*** You need a version of LIBGNUTLS newer than %s. The latest version of\n", "$min_libgnutls_version" ); printf("*** LIBGNUTLS is always available from ftp://gnutls.hellug.gr/pub/gnutls.\n"); printf("*** \n"); printf("*** If you have already installed a sufficiently new version, this error\n"); printf("*** probably means that the wrong copy of the libgnutls-config shell script is\n"); printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of LIBGNUTLS, but you can also set the LIBGNUTLS_CONFIG environment to point to the\n"); printf("*** correct copy of libgnutls-config. (In this case, you will have to\n"); printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); } } return 1; } ],, no_libgnutls=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_libgnutls" = x ; then AC_MSG_RESULT(yes) ifelse([$2], , :, [$2]) else if test -f conf.libgnutlstest ; then : else AC_MSG_RESULT(no) fi if test "$LIBGNUTLS_CONFIG" = "no" ; then echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found" echo "*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in" echo "*** your path, or set the LIBGNUTLS_CONFIG environment variable to the" echo "*** full path to libgnutls-config." else if test -f conf.libgnutlstest ; then : else echo "*** Could not run libgnutls test program, checking why..." CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" LIBS="$LIBS $LIBGNUTLS_LIBS" AC_TRY_LINK([ #include #include #include #include ], [ return !!gnutls_check_version(NULL); ], [ echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong" echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" echo "***" ], [ echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed" echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you" echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi LIBGNUTLS_CFLAGS="" LIBGNUTLS_LIBS="" ifelse([$3], , :, [$3]) fi rm -f conf.libgnutlstest AC_SUBST(LIBGNUTLS_CFLAGS) AC_SUBST(LIBGNUTLS_LIBS) ]) dnl *-*wedit:notab*-* Please keep this as the last line. csync2-1.34/configure.ac0000644000000000000000000000545010651464523013640 0ustar rootroot# csync2 - cluster synchronization tool, 2nd generation # LINBIT Information Technologies GmbH # Copyright (C) 2004, 2005 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Process this file with autoconf to produce a configure script. AC_INIT(csync2, 1.34, clifford@clifford.at) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR(csync2.c) AM_CONFIG_HEADER(config.h) # Use /etc and /var instead of $prefix/... test "$localstatedir" = '${prefix}/var' && localstatedir=/var test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc # Checks for programs. AC_PROG_CC AC_PROG_INSTALL AC_PROG_YACC AM_PROG_LEX # Check for librsync. AC_ARG_WITH([librsync-source], AS_HELP_STRING([--with-librsync-source=source-tar-file], [build this librsync and link statically against it (hack! hack!)]), AC_SUBST([librsync_source_file], $withval), AC_CHECK_LIB([rsync], [rs_sig_file], , [AC_MSG_ERROR(librsync is required)]) ) AM_CONDITIONAL([PRIVATE_LIBRSYNC], [test -n "$librsync_source_file"]) # Check for libsqlite. AC_ARG_WITH([libsqlite-source], AS_HELP_STRING([--with-libsqlite-source=source-tar-file], [build this libsqlite and link statically against it (hack! hack!)]), AC_SUBST([libsqlite_source_file], $withval), AC_CHECK_LIB([sqlite], [sqlite_exec], , [AC_MSG_ERROR(libsqlite is required)]) ) AM_CONDITIONAL([PRIVATE_LIBSQLITE], [test -n "$libsqlite_source_file"]) AC_ARG_ENABLE([gnutls], [AC_HELP_STRING([--disable-gnutls], [enable/disable GNU TLS support (default is enabled)])], [], [ enable_gnutls=yes ]) if test "$enable_gnutls" != no then # Check for gnuTLS. AM_PATH_LIBGNUTLS(1.0.0, , [ AC_MSG_ERROR([[gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls]]) ]) # This is a bloody hack for fedora core CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" LIBS="$LIBS $LIBGNUTLS_LIBS -ltasn1" # Check gnuTLS SSL compatibility lib. AC_CHECK_LIB([gnutls-openssl], [SSL_new], , [AC_MSG_ERROR([[gnutls-openssl not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls]])]) fi AC_CONFIG_FILES([Makefile]) AC_OUTPUT csync2-1.34/csync2-compare0000755000000000000000000000412510651464522014122 0ustar rootroot#!/bin/bash verbose=0 if [ "$1" = "-v" ]; then verbose=1 shift fi if [ $# != 3 ]; then echo "Usage: $0 [-v] host1[@host1] host2[@host2] basedir" >&2 exit 1 fi left1="${1%@*}" left2="${1#*@}" right1="${2%@*}" right2="${2#*@}" basedir="$3" left_cmd="ssh $left1 'csync2 -or $basedir -P $right2 | sort | xargs md5sum'" right_cmd="ssh $right1 'csync2 -or $basedir -P $left2 | sort | xargs md5sum'" if [ $verbose -eq 1 ]; then echo echo "L: $left_cmd" echo "R: $right_cmd" echo fi my_md5sum='perl -w -e '\'' use strict; use Digest::MD5; foreach my $f (@ARGV) { if (-l $f) { print "LINK:", Digest::MD5->new->add(readlink($f))->hexdigest, " $f\n"; next; } if (-f $f) { open(FILE, $f) or die "Can not open >>$f<<: $!"; binmode(FILE); print "DATA:", Digest::MD5->new->addfile(*FILE)->hexdigest, " $f\n"; close(FILE); next; } print "SPECIALFILE:0 $f\n"; } '\' tic="'" my_md5sum="${my_md5sum//$tic/$tic\\$tic$tic}" left_cmd="${left_cmd/md5sum/$my_md5sum}" right_cmd="${right_cmd/md5sum/$my_md5sum}" diff -u <( eval "$left_cmd" ) <( eval "$right_cmd" ) | awk ' function isort(A, n, i, j, hold) { for (i=1; i hold) { j--; A[j+1] = A[j]; } A[j] = hold; } } /^-[a-zA-Z0-9]/ { gotsomething=1; if ('$verbose') print; sub(/^./, ""); all[$2] = 1; left[$2] = $1; } /^\+[a-zA-Z0-9]/ { gotsomething=1; if ('$verbose') print; sub(/^./, ""); all[$2] = 1; right[$2] = $1; } END { outcount = 0; for (filename in all) { outlines[filename] = sprintf("%s %s %s", (left[filename] == "" ? "-" : "X"), (right[filename] == "" ? "-" : "X"), filename); sortindex[outcount] = filename; outcount++; } if ('$verbose' && gotsomething) printf "\n"; isort(sortindex, outcount); for (i=0; i * Copyright (C) 2005 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #define RINGBUFF_LEN 10 static char *ringbuff[RINGBUFF_LEN]; static int ringbuff_counter = 0; const char *prefixsubst(const char *in) { struct csync_prefix *p; const char *pn, *path; int pn_len; if (!in || *in != '%') return in; pn = in+1; pn_len = strcspn(pn, "%"); path = pn+pn_len; if (*path == '%') path++; for (p = csync_prefix; p; p = p->next) { if (strlen(p->name) == pn_len && !strncmp(p->name, pn, pn_len) && p->path) { ringbuff_counter = (ringbuff_counter+1) % RINGBUFF_LEN; if (ringbuff[ringbuff_counter]) free(ringbuff[ringbuff_counter]); asprintf(&ringbuff[ringbuff_counter], "%s%s", p->path, path); return ringbuff[ringbuff_counter]; } } csync_fatal("Prefix '%.*s' is not defined for host '%s'.\n", pn_len, pn, myhostname); return 0; } csync2-1.34/rsync.c0000644000000000000000000002373510651464522012661 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include #ifdef __CYGWIN__ #include #endif static FILE *paranoid_tmpfile() { FILE *f; if ( access(P_tmpdir, R_OK|W_OK|X_OK) < 0 ) csync_fatal("Temp directory '%s' does not exist!\n", P_tmpdir); if ( !(f = tmpfile()) ) csync_fatal("ERROR: tmpfile() didn't return a valid file handle!\n"); return f; } void csync_send_file(FILE *in) { char buffer[512]; int rc, chunk; long size; fflush(in); size = ftell(in); rewind(in); conn_printf("octet-stream %ld\n", size); while ( size > 0 ) { chunk = size > 512 ? 512 : size; rc = fread(buffer, 1, chunk, in); if ( rc <= 0 ) csync_fatal("Read-error while sending data.\n"); chunk = rc; rc = conn_write(buffer, chunk); if ( rc != chunk ) csync_fatal("Write-error while sending data.\n"); size -= chunk; } } void csync_send_error() { conn_printf("ERROR\n"); } int csync_recv_file(FILE *out) { char buffer[512]; int rc, chunk; long size; if ( !conn_gets(buffer, 100) || sscanf(buffer, "octet-stream %ld\n", &size) != 1 ) { if (!strcmp(buffer, "ERROR\n")) { errno=EIO; return -1; } csync_fatal("Format-error while receiving data.\n"); } csync_debug(3, "Receiving %ld bytes ..\n", size); while ( size > 0 ) { chunk = size > 512 ? 512 : size; rc = conn_read(buffer, chunk); if ( rc <= 0 ) csync_fatal("Read-error while receiving data.\n"); chunk = rc; rc = fwrite(buffer, chunk, 1, out); if ( rc != 1 ) csync_fatal("Write-error while receiving data.\n"); size -= chunk; csync_debug(3, "Got %d bytes, %ld bytes left ..\n", chunk, size); } fflush(out); rewind(out); return 0; } int csync_rs_check(const char *filename, int isreg) { FILE *basis_file = 0, *sig_file = 0; char buffer1[512], buffer2[512]; int rc, chunk, found_diff = 0; int backup_errno; rs_stats_t stats; rs_result result; long size; csync_debug(3, "Csync2 / Librsync: csync_rs_check('%s', %d [%s])\n", filename, isreg, isreg ? "regular file" : "non-regular file"); csync_debug(3, "Opening basis_file and sig_file..\n"); sig_file = paranoid_tmpfile(); if ( !sig_file ) goto io_error; basis_file = fopen(prefixsubst(filename), "rb"); if ( !basis_file ) basis_file = paranoid_tmpfile(); if ( !basis_file ) goto io_error; if ( isreg ) { csync_debug(3, "Running rs_sig_file() from librsync....\n"); result = rs_sig_file(basis_file, sig_file, RS_DEFAULT_BLOCK_LEN, RS_DEFAULT_STRONG_LEN, &stats); if (result != RS_DONE) { csync_debug(0, "Internal error from rsync library!\n"); goto error; } } fclose(basis_file); basis_file = 0; { char line[100]; csync_debug(3, "Reading signature size from peer....\n"); if ( !conn_gets(line, 100) || sscanf(line, "octet-stream %ld\n", &size) != 1 ) csync_fatal("Format-error while receiving data.\n"); } fflush(sig_file); if ( size != ftell(sig_file) ) { csync_debug(2, "Signature size differs: local=%d, peer=%d\n", ftell(sig_file), size); found_diff = 1; } rewind(sig_file); csync_debug(3, "Receiving %ld bytes ..\n", size); while ( size > 0 ) { chunk = size > 512 ? 512 : size; rc = conn_read(buffer1, chunk); if ( rc <= 0 ) csync_fatal("Read-error while receiving data.\n"); chunk = rc; if ( fread(buffer2, chunk, 1, sig_file) != 1 ) { csync_debug(2, "Found EOF in local sig file.\n"); found_diff = 1; } if ( memcmp(buffer1, buffer2, chunk) ) { csync_debug(2, "Found diff in sig at -%d:-%d\n", size, size-chunk); found_diff = 1; } size -= chunk; csync_debug(3, "Got %d bytes, %ld bytes left ..\n", chunk, size); } csync_debug(3, "File has been checked successfully (%s).\n", found_diff ? "difference found" : "files are equal"); fclose(sig_file); return found_diff; io_error: csync_debug(0, "I/O Error '%s' in rsync-check: %s\n", strerror(errno), prefixsubst(filename)); error:; backup_errno = errno; if ( basis_file ) fclose(basis_file); if ( sig_file ) fclose(sig_file); errno = backup_errno; return -1; } void csync_rs_sig(const char *filename) { FILE *basis_file, *sig_file; rs_stats_t stats; rs_result result; csync_debug(3, "Csync2 / Librsync: csync_rs_sig('%s')\n", filename); csync_debug(3, "Opening basis_file and sig_file..\n"); sig_file = paranoid_tmpfile(); basis_file = fopen(prefixsubst(filename), "rb"); if ( !basis_file ) basis_file = fopen("/dev/null", "rb"); csync_debug(3, "Running rs_sig_file() from librsync..\n"); result = rs_sig_file(basis_file, sig_file, RS_DEFAULT_BLOCK_LEN, RS_DEFAULT_STRONG_LEN, &stats); if (result != RS_DONE) csync_fatal("Got an error from librsync, too bad!\n"); csync_debug(3, "Sending sig_file to peer..\n"); csync_send_file(sig_file); csync_debug(3, "Signature has been created successfully.\n"); fclose(basis_file); fclose(sig_file); } int csync_rs_delta(const char *filename) { FILE *sig_file, *new_file, *delta_file; rs_result result; rs_signature_t *sumset; rs_stats_t stats; csync_debug(3, "Csync2 / Librsync: csync_rs_delta('%s')\n", filename); csync_debug(3, "Receiving sig_file from peer..\n"); sig_file = paranoid_tmpfile(); if ( csync_recv_file(sig_file) ) { fclose(sig_file); return -1; } result = rs_loadsig_file(sig_file, &sumset, &stats); if (result != RS_DONE) csync_fatal("Got an error from librsync, too bad!\n"); fclose(sig_file); csync_debug(3, "Opening new_file and delta_file..\n"); new_file = fopen(prefixsubst(filename), "rb"); if ( !new_file ) { int backup_errno = errno; csync_debug(0, "I/O Error '%s' while %s in rsync-delta: %s\n", strerror(errno), "opening data file for reading", filename); csync_send_error(); fclose(new_file); errno = backup_errno; return -1; } delta_file = paranoid_tmpfile(); csync_debug(3, "Running rs_build_hash_table() from librsync..\n"); result = rs_build_hash_table(sumset); if (result != RS_DONE) csync_fatal("Got an error from librsync, too bad!\n"); csync_debug(3, "Running rs_delta_file() from librsync..\n"); result = rs_delta_file(sumset, new_file, delta_file, &stats); if (result != RS_DONE) csync_fatal("Got an error from librsync, too bad!\n"); csync_debug(3, "Sending delta_file to peer..\n"); csync_send_file(delta_file); csync_debug(3, "Delta has been created successfully.\n"); rs_free_sumset(sumset); fclose(delta_file); fclose(new_file); return 0; } int csync_rs_patch(const char *filename) { FILE *basis_file = 0, *delta_file = 0, *new_file = 0; int backup_errno; rs_stats_t stats; rs_result result; char buffer[512]; char *errstr = "?"; int rc; csync_debug(3, "Csync2 / Librsync: csync_rs_patch('%s')\n", filename); csync_debug(3, "Receiving delta_file from peer..\n"); delta_file = paranoid_tmpfile(); if ( !delta_file ) { errstr="creating delta temp file"; goto io_error; } if ( csync_recv_file(delta_file) ) goto error; csync_debug(3, "Opening to be patched file on local host..\n"); basis_file = fopen(prefixsubst(filename), "rb"); if ( !basis_file ) basis_file = paranoid_tmpfile(); if ( !basis_file ) { errstr="opening data file for reading"; goto io_error; } csync_debug(3, "Opening temp file for new data on local host..\n"); new_file = paranoid_tmpfile(); if ( !new_file ) { errstr="creating new data temp file"; goto io_error; } csync_debug(3, "Running rs_patch_file() from librsync..\n"); result = rs_patch_file(basis_file, delta_file, new_file, &stats); if (result != RS_DONE) { csync_debug(0, "Internal error from rsync library!\n"); goto error; } csync_debug(3, "Copying new data to local file..\n"); fclose(basis_file); rewind(new_file); unlink(prefixsubst(filename)); #ifdef __CYGWIN__ // This creates the file using the native windows API, bypassing // the cygwin wrappers and so making sure that we do not mess up the // permissions.. { char winfilename[MAX_PATH]; HANDLE winfh; cygwin_conv_to_win32_path(prefixsubst(filename), winfilename); winfh = CreateFile(TEXT(winfilename), GENERIC_WRITE, // open for writing 0, // do not share NULL, // default security CREATE_ALWAYS, // overwrite existing FILE_ATTRIBUTE_NORMAL | // normal file FILE_FLAG_OVERLAPPED, // asynchronous I/O NULL); // no attr. template if (winfh == INVALID_HANDLE_VALUE) { csync_debug(0, "Win32 I/O Error %d in rsync-patch: %s\n", (int)GetLastError(), winfilename); errno = EACCES; goto error; } CloseHandle(winfh); } #endif basis_file = fopen(prefixsubst(filename), "wb"); if ( !basis_file ) { errstr="opening data file for writing"; goto io_error; } while ( (rc = fread(buffer, 1, 512, new_file)) > 0 ) fwrite(buffer, rc, 1, basis_file); csync_debug(3, "File has been patched successfully.\n"); fclose(basis_file); fclose(delta_file); fclose(new_file); return 0; io_error: csync_debug(0, "I/O Error '%s' while %s in rsync-patch: %s\n", strerror(errno), errstr, prefixsubst(filename)); error:; backup_errno = errno; if ( delta_file ) fclose(delta_file); if ( basis_file ) fclose(basis_file); if ( new_file ) fclose(new_file); errno = backup_errno; return -1; } csync2-1.34/TODO0000644000000000000000000000006210651464522012033 0ustar rootrootUniversal peace and a good attitude for everyone. csync2-1.34/configure0000755000000000000000000046470110651464531013270 0ustar rootroot#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for csync2 1.34. # # Report bugs to . # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell autoconf@gnu.org about your system, echo including any error possibly output before this echo message } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='csync2' PACKAGE_TARNAME='csync2' PACKAGE_VERSION='1.34' PACKAGE_STRING='csync2 1.34' PACKAGE_BUGREPORT='clifford@clifford.at' ac_unique_file="csync2.c" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir localstatedir includedir oldincludedir docdir infodir htmldir dvidir pdfdir psdir libdir localedir mandir DEFS ECHO_C ECHO_N ECHO_T LIBS build_alias host_alias target_alias INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE YACC YFLAGS LEX LEX_OUTPUT_ROOT LEXLIB librsync_source_file PRIVATE_LIBRSYNC_TRUE PRIVATE_LIBRSYNC_FALSE libsqlite_source_file PRIVATE_LIBSQLITE_TRUE PRIVATE_LIBSQLITE_FALSE LIBGNUTLS_CONFIG LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS LIBOBJS LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS YACC YFLAGS' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=\$ac_optarg ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute directory names. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { echo "$as_me: error: Working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$0" || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures csync2 1.34 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/csync2] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of csync2 1.34:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors --disable-gnutls enable/disable GNU TLS support (default is enabled) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-librsync-source=source-tar-file build this librsync and link statically against it (hack! hack!) --with-libsqlite-source=source-tar-file build this libsqlite and link statically against it (hack! hack!) --with-libgnutls-prefix=PFX Prefix where libgnutls is installed (optional) Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory YACC The `Yet Another C Compiler' implementation to use. Defaults to the first program found out of: `bison -y', `byacc', `yacc'. YFLAGS The list of arguments that will be passed by default to $YACC. This script will default YFLAGS to the empty string to avoid a default value of `-d' given by some make applications. Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF csync2 configure 1.34 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by csync2 $as_me 1.34, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -n "$CONFIG_SITE"; then set x "$CONFIG_SITE" elif test "x$prefix" != xNONE; then set x "$prefix/share/config.site" "$prefix/etc/config.site" else set x "$ac_default_prefix/share/config.site" \ "$ac_default_prefix/etc/config.site" fi shift for ac_site_file do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version="1.7" ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done IFS=$as_save_IFS fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm -f conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$AWK" && break done { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } SET_MAKE= else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='csync2' VERSION='1.34' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} AMTAR=${AMTAR-"${am_missing_run}tar"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. ac_config_headers="$ac_config_headers config.h" # Use /etc and /var instead of $prefix/... test "$localstatedir" = '${prefix}/var' && localstatedir=/var test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc # Checks for programs. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO: checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # # List of possible output files, starting from the most likely. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) # only as a last resort. b.out is created by i960 compilers. ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' # # The IRIX 6 linker writes into existing files which may not be # executable, retaining their permissions. Remove them first so a # subsequent execution test works. ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi { echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6; } if test -z "$ac_file"; then echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6; } { echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; xno) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi { echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c : > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # (even with -Werror). So we grep stderr for any message # that says an option was ignored. if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done IFS=$as_save_IFS fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' for ac_prog in 'bison -y' byacc do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_YACC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$YACC"; then ac_cv_prog_YACC="$YACC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_YACC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi YACC=$ac_cv_prog_YACC if test -n "$YACC"; then { echo "$as_me:$LINENO: result: $YACC" >&5 echo "${ECHO_T}$YACC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$YACC" && break done test -n "$YACC" || YACC="yacc" for ac_prog in flex lex do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_LEX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$LEX"; then ac_cv_prog_LEX="$LEX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LEX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LEX=$ac_cv_prog_LEX if test -n "$LEX"; then { echo "$as_me:$LINENO: result: $LEX" >&5 echo "${ECHO_T}$LEX" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$LEX" && break done test -n "$LEX" || LEX=":" if test "x$LEX" != "x:"; then cat >conftest.l <<_ACEOF %% a { ECHO; } b { REJECT; } c { yymore (); } d { yyless (1); } e { yyless (input () != 0); } f { unput (yytext[0]); } . { BEGIN INITIAL; } %% #ifdef YYTEXT_POINTER extern char *yytext; #endif int main (void) { return ! yylex () + ! yywrap (); } _ACEOF { (ac_try="$LEX conftest.l" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$LEX conftest.l") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { echo "$as_me:$LINENO: checking lex output file root" >&5 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; } if test "${ac_cv_prog_lex_root+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -f lex.yy.c; then ac_cv_prog_lex_root=lex.yy elif test -f lexyy.c; then ac_cv_prog_lex_root=lexyy else { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} { (exit 1); exit 1; }; } fi fi { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; } LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root if test -z "${LEXLIB+set}"; then { echo "$as_me:$LINENO: checking lex library" >&5 echo $ECHO_N "checking lex library... $ECHO_C" >&6; } if test "${ac_cv_lib_lex+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_save_LIBS=$LIBS ac_cv_lib_lex='none needed' for ac_lib in '' -lfl -ll; do LIBS="$ac_lib $ac_save_LIBS" cat >conftest.$ac_ext <<_ACEOF `cat $LEX_OUTPUT_ROOT.c` _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_lex=$ac_lib else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext test "$ac_cv_lib_lex" != 'none needed' && break done LIBS=$ac_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5 echo "${ECHO_T}$ac_cv_lib_lex" >&6; } test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex fi { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; } if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # POSIX says lex can declare yytext either as a pointer or an array; the # default is implementation-dependent. Figure out which it is, since # not all implementations provide the %pointer and %array declarations. ac_cv_prog_lex_yytext_pointer=no ac_save_LIBS=$LIBS LIBS="$LEXLIB $ac_save_LIBS" cat >conftest.$ac_ext <<_ACEOF #define YYTEXT_POINTER 1 `cat $LEX_OUTPUT_ROOT.c` _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_prog_lex_yytext_pointer=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; } if test $ac_cv_prog_lex_yytext_pointer = yes; then cat >>confdefs.h <<\_ACEOF #define YYTEXT_POINTER 1 _ACEOF fi rm -f conftest.l $LEX_OUTPUT_ROOT.c fi if test "$LEX" = :; then LEX=${am_missing_run}flex fi # Check for librsync. # Check whether --with-librsync-source was given. if test "${with_librsync_source+set}" = set; then withval=$with_librsync_source; librsync_source_file=$withval else { echo "$as_me:$LINENO: checking for rs_sig_file in -lrsync" >&5 echo $ECHO_N "checking for rs_sig_file in -lrsync... $ECHO_C" >&6; } if test "${ac_cv_lib_rsync_rs_sig_file+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lrsync $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char rs_sig_file (); int main () { return rs_sig_file (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_rsync_rs_sig_file=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_rsync_rs_sig_file=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_rsync_rs_sig_file" >&5 echo "${ECHO_T}$ac_cv_lib_rsync_rs_sig_file" >&6; } if test $ac_cv_lib_rsync_rs_sig_file = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBRSYNC 1 _ACEOF LIBS="-lrsync $LIBS" else { { echo "$as_me:$LINENO: error: librsync is required" >&5 echo "$as_me: error: librsync is required" >&2;} { (exit 1); exit 1; }; } fi fi if test -n "$librsync_source_file"; then PRIVATE_LIBRSYNC_TRUE= PRIVATE_LIBRSYNC_FALSE='#' else PRIVATE_LIBRSYNC_TRUE='#' PRIVATE_LIBRSYNC_FALSE= fi # Check for libsqlite. # Check whether --with-libsqlite-source was given. if test "${with_libsqlite_source+set}" = set; then withval=$with_libsqlite_source; libsqlite_source_file=$withval else { echo "$as_me:$LINENO: checking for sqlite_exec in -lsqlite" >&5 echo $ECHO_N "checking for sqlite_exec in -lsqlite... $ECHO_C" >&6; } if test "${ac_cv_lib_sqlite_sqlite_exec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsqlite $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char sqlite_exec (); int main () { return sqlite_exec (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_sqlite_sqlite_exec=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_sqlite_sqlite_exec=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite_sqlite_exec" >&5 echo "${ECHO_T}$ac_cv_lib_sqlite_sqlite_exec" >&6; } if test $ac_cv_lib_sqlite_sqlite_exec = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBSQLITE 1 _ACEOF LIBS="-lsqlite $LIBS" else { { echo "$as_me:$LINENO: error: libsqlite is required" >&5 echo "$as_me: error: libsqlite is required" >&2;} { (exit 1); exit 1; }; } fi fi if test -n "$libsqlite_source_file"; then PRIVATE_LIBSQLITE_TRUE= PRIVATE_LIBSQLITE_FALSE='#' else PRIVATE_LIBSQLITE_TRUE='#' PRIVATE_LIBSQLITE_FALSE= fi # Check whether --enable-gnutls was given. if test "${enable_gnutls+set}" = set; then enableval=$enable_gnutls; else enable_gnutls=yes fi if test "$enable_gnutls" != no then # Check for gnuTLS. # Check whether --with-libgnutls-prefix was given. if test "${with_libgnutls_prefix+set}" = set; then withval=$with_libgnutls_prefix; libgnutls_config_prefix="$withval" else libgnutls_config_prefix="" fi if test x$libgnutls_config_prefix != x ; then if test x${LIBGNUTLS_CONFIG+set} != xset ; then LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config fi fi # Extract the first word of "libgnutls-config", so it can be a program name with args. set dummy libgnutls-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $LIBGNUTLS_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_LIBGNUTLS_CONFIG="$LIBGNUTLS_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_LIBGNUTLS_CONFIG" && ac_cv_path_LIBGNUTLS_CONFIG="no" ;; esac fi LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG if test -n "$LIBGNUTLS_CONFIG"; then { echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5 echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi min_libgnutls_version=1.0.0 { echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5 echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6; } no_libgnutls="" if test "$LIBGNUTLS_CONFIG" = "no" ; then no_libgnutls=yes else LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags` LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs` libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version` ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" LIBS="$LIBS $LIBGNUTLS_LIBS" rm -f conf.libgnutlstest if test "$cross_compiling" = yes; then echo $ac_n "cross compiling; assumed OK... $ac_c" else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { system ("touch conf.libgnutlstest"); if( strcmp( gnutls_check_version(NULL), "$libgnutls_config_version" ) ) { printf("\n*** 'libgnutls-config --version' returned %s, but LIBGNUTLS (%s)\n", "$libgnutls_config_version", gnutls_check_version(NULL) ); printf("*** was found! If libgnutls-config was correct, then it is best\n"); printf("*** to remove the old version of LIBGNUTLS. You may also be able to fix the error\n"); printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** required on your system.\n"); printf("*** If libgnutls-config was wrong, set the environment variable LIBGNUTLS_CONFIG\n"); printf("*** to point to the correct copy of libgnutls-config, and remove the file config.cache\n"); printf("*** before re-running configure\n"); } else if ( strcmp(gnutls_check_version(NULL), LIBGNUTLS_VERSION ) ) { printf("\n*** LIBGNUTLS header file (version %s) does not match\n", LIBGNUTLS_VERSION); printf("*** library (version %s)\n", gnutls_check_version(NULL) ); } else { if ( gnutls_check_version( "$min_libgnutls_version" ) ) { return 0; } else { printf("no\n*** An old version of LIBGNUTLS (%s) was found.\n", gnutls_check_version(NULL) ); printf("*** You need a version of LIBGNUTLS newer than %s. The latest version of\n", "$min_libgnutls_version" ); printf("*** LIBGNUTLS is always available from ftp://gnutls.hellug.gr/pub/gnutls.\n"); printf("*** \n"); printf("*** If you have already installed a sufficiently new version, this error\n"); printf("*** probably means that the wrong copy of the libgnutls-config shell script is\n"); printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of LIBGNUTLS, but you can also set the LIBGNUTLS_CONFIG environment to point to the\n"); printf("*** correct copy of libgnutls-config. (In this case, you will have to\n"); printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); } } return 1; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) no_libgnutls=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_libgnutls" = x ; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : else if test -f conf.libgnutlstest ; then : else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "$LIBGNUTLS_CONFIG" = "no" ; then echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found" echo "*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in" echo "*** your path, or set the LIBGNUTLS_CONFIG environment variable to the" echo "*** full path to libgnutls-config." else if test -f conf.libgnutlstest ; then : else echo "*** Could not run libgnutls test program, checking why..." CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" LIBS="$LIBS $LIBGNUTLS_LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { return !!gnutls_check_version(NULL); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong" echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" echo "***" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed" echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you" echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi LIBGNUTLS_CFLAGS="" LIBGNUTLS_LIBS="" { { echo "$as_me:$LINENO: error: gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls" >&5 echo "$as_me: error: gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls" >&2;} { (exit 1); exit 1; }; } fi rm -f conf.libgnutlstest # This is a bloody hack for fedora core CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS" LIBS="$LIBS $LIBGNUTLS_LIBS -ltasn1" # Check gnuTLS SSL compatibility lib. { echo "$as_me:$LINENO: checking for SSL_new in -lgnutls-openssl" >&5 echo $ECHO_N "checking for SSL_new in -lgnutls-openssl... $ECHO_C" >&6; } if test "${ac_cv_lib_gnutls_openssl_SSL_new+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgnutls-openssl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char SSL_new (); int main () { return SSL_new (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_gnutls_openssl_SSL_new=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_gnutls_openssl_SSL_new=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_openssl_SSL_new" >&5 echo "${ECHO_T}$ac_cv_lib_gnutls_openssl_SSL_new" >&6; } if test $ac_cv_lib_gnutls_openssl_SSL_new = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBGNUTLS_OPENSSL 1 _ACEOF LIBS="-lgnutls-openssl $LIBS" else { { echo "$as_me:$LINENO: error: gnutls-openssl not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls" >&5 echo "$as_me: error: gnutls-openssl not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls" >&2;} { (exit 1); exit 1; }; } fi fi ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { echo "$as_me:$LINENO: updating cache $cache_file" >&5 echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${PRIVATE_LIBRSYNC_TRUE}" && test -z "${PRIVATE_LIBRSYNC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"PRIVATE_LIBRSYNC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"PRIVATE_LIBRSYNC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${PRIVATE_LIBSQLITE_TRUE}" && test -z "${PRIVATE_LIBSQLITE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"PRIVATE_LIBSQLITE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"PRIVATE_LIBSQLITE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by csync2 $as_me 1.34, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ csync2 config.status 1.34 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2006 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header { echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 CONFIG_SHELL=$SHELL export CONFIG_SHELL exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # # Set up the sed scripts for CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "$CONFIG_FILES"; then _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF SHELL!$SHELL$ac_delim PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim PACKAGE_NAME!$PACKAGE_NAME$ac_delim PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim PACKAGE_STRING!$PACKAGE_STRING$ac_delim PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim exec_prefix!$exec_prefix$ac_delim prefix!$prefix$ac_delim program_transform_name!$program_transform_name$ac_delim bindir!$bindir$ac_delim sbindir!$sbindir$ac_delim libexecdir!$libexecdir$ac_delim datarootdir!$datarootdir$ac_delim datadir!$datadir$ac_delim sysconfdir!$sysconfdir$ac_delim sharedstatedir!$sharedstatedir$ac_delim localstatedir!$localstatedir$ac_delim includedir!$includedir$ac_delim oldincludedir!$oldincludedir$ac_delim docdir!$docdir$ac_delim infodir!$infodir$ac_delim htmldir!$htmldir$ac_delim dvidir!$dvidir$ac_delim pdfdir!$pdfdir$ac_delim psdir!$psdir$ac_delim libdir!$libdir$ac_delim localedir!$localedir$ac_delim mandir!$mandir$ac_delim DEFS!$DEFS$ac_delim ECHO_C!$ECHO_C$ac_delim ECHO_N!$ECHO_N$ac_delim ECHO_T!$ECHO_T$ac_delim LIBS!$LIBS$ac_delim build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim INSTALL_DATA!$INSTALL_DATA$ac_delim CYGPATH_W!$CYGPATH_W$ac_delim PACKAGE!$PACKAGE$ac_delim VERSION!$VERSION$ac_delim ACLOCAL!$ACLOCAL$ac_delim AUTOCONF!$AUTOCONF$ac_delim AUTOMAKE!$AUTOMAKE$ac_delim AUTOHEADER!$AUTOHEADER$ac_delim MAKEINFO!$MAKEINFO$ac_delim AMTAR!$AMTAR$ac_delim install_sh!$install_sh$ac_delim STRIP!$STRIP$ac_delim INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim AWK!$AWK$ac_delim SET_MAKE!$SET_MAKE$ac_delim am__leading_dot!$am__leading_dot$ac_delim CC!$CC$ac_delim CFLAGS!$CFLAGS$ac_delim LDFLAGS!$LDFLAGS$ac_delim CPPFLAGS!$CPPFLAGS$ac_delim ac_ct_CC!$ac_ct_CC$ac_delim EXEEXT!$EXEEXT$ac_delim OBJEXT!$OBJEXT$ac_delim DEPDIR!$DEPDIR$ac_delim am__include!$am__include$ac_delim am__quote!$am__quote$ac_delim AMDEP_TRUE!$AMDEP_TRUE$ac_delim AMDEP_FALSE!$AMDEP_FALSE$ac_delim AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim CCDEPMODE!$CCDEPMODE$ac_delim am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim YACC!$YACC$ac_delim YFLAGS!$YFLAGS$ac_delim LEX!$LEX$ac_delim LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim LEXLIB!$LEXLIB$ac_delim librsync_source_file!$librsync_source_file$ac_delim PRIVATE_LIBRSYNC_TRUE!$PRIVATE_LIBRSYNC_TRUE$ac_delim PRIVATE_LIBRSYNC_FALSE!$PRIVATE_LIBRSYNC_FALSE$ac_delim libsqlite_source_file!$libsqlite_source_file$ac_delim PRIVATE_LIBSQLITE_TRUE!$PRIVATE_LIBSQLITE_TRUE$ac_delim PRIVATE_LIBSQLITE_FALSE!$PRIVATE_LIBSQLITE_FALSE$ac_delim LIBGNUTLS_CONFIG!$LIBGNUTLS_CONFIG$ac_delim LIBGNUTLS_CFLAGS!$LIBGNUTLS_CFLAGS$ac_delim LIBGNUTLS_LIBS!$LIBGNUTLS_LIBS$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 87; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF :end s/|#_!!_#|//g CEOF$ac_eof _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF fi # test -n "$CONFIG_FILES" for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 echo "$as_me: error: Invalid tag $ac_tag." >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac ac_file_inputs="$ac_file_inputs $ac_f" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input="Generated from "`IFS=: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} fi case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin";; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= case `sed -n '/datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' $ac_file_inputs` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s&@configure_input@&$configure_input&;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out"; rm -f "$tmp/out";; *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; esac ;; :H) # # CONFIG_HEADER # _ACEOF # Transform confdefs.h into a sed script `conftest.defines', that # substitutes the proper values into config.h.in to produce config.h. rm -f conftest.defines conftest.tail # First, append a space to every undef/define line, to ease matching. echo 's/$/ /' >conftest.defines # Then, protect against being on the right side of a sed subst, or in # an unquoted here document, in config.status. If some macros were # called several times there might be several #defines for the same # symbol, which is useless. But do not sort them, since the last # AC_DEFINE must be honored. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where # NAME is the cpp macro being defined, VALUE is the value it is being given. # PARAMS is the parameter list in the macro definition--in most cases, it's # just an empty string. ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' ac_dB='\\)[ (].*,\\1define\\2' ac_dC=' ' ac_dD=' ,' uniq confdefs.h | sed -n ' t rset :rset s/^[ ]*#[ ]*define[ ][ ]*// t ok d :ok s/[\\&,]/\\&/g s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p ' >>conftest.defines # Remove the space that was appended to ease matching. # Then replace #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. # (The regexp can be short, since the line contains either #define or #undef.) echo 's/ $// s,^[ #]*u.*,/* & */,' >>conftest.defines # Break up conftest.defines: ac_max_sed_lines=50 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" # et cetera. ac_in='$ac_file_inputs' ac_out='"$tmp/out1"' ac_nxt='"$tmp/out2"' while : do # Write a here document: cat >>$CONFIG_STATUS <<_ACEOF # First, check the format of the line: cat >"\$tmp/defines.sed" <<\\CEOF /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def b :def _ACEOF sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail grep . conftest.tail >/dev/null || break rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines conftest.tail echo "ac_result=$ac_in" >>$CONFIG_STATUS cat >>$CONFIG_STATUS <<\_ACEOF if test x"$ac_file" != x-; then echo "/* $configure_input */" >"$tmp/config.h" cat "$ac_result" >>"$tmp/config.h" if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else rm -f $ac_file mv "$tmp/config.h" $ac_file fi else echo "/* $configure_input */" cat "$ac_result" fi rm -f "$tmp/out12" # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| . 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n -e '/^U = / s///p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # We invoke sed twice because it is the simplest approach to # changing $(DEPDIR) to its actual value in the expansion. for file in `sed -n -e ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi csync2-1.34/COPYING0000644000000000000000000004311010651464522012377 0ustar rootroot GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. csync2-1.34/NEWS0000644000000000000000000000012610651464522012043 0ustar rootrootSee the ChangeLog file for changes. This file is only here because autmoake wants it. csync2-1.34/csync2.cfg0000644000000000000000000000133110651464522013225 0ustar rootroot # Csync2 Example Configuration File # --------------------------------- # # Please read the documentation: # http://oss.linbit.com/csync2/paper.pdf # group mygroup # { # host host1 host2 (host3); # host host4@host4-eth2; # # key /etc/csync2.key_mygroup; # # include /etc/apache; # include %homedir%/bob; # exclude %homedir%/bob/temp; # exclude *~ .*; # # action # { # pattern /etc/apache/httpd.conf; # pattern /etc/apache/sites-available/*; # exec "/usr/sbin/apache2ctl graceful"; # logfile "/var/log/csync2_action.log"; # do-local; # } # # backup-directory /var/backups/csync2; # backup-generations 3; # # auto none; # } # # prefix homedir # { # on host[12]: /export/users; # on *: /home; # } csync2-1.34/paper.pdf0000644000000000000000000034504410564167454013170 0ustar rootroot%PDF-1.3 %Çì¢ 6 0 obj <> stream xœ•\IãÆ¾OæGèhnNíÅJNq`€$@œrðøÀ‘Ø-&’Ø&©iw~}^-ïUQ¢–††ÙT±ê-ßûÞRþuÅ*¾bþŸôïõþï>ý¤VÏã‡_W<ü ÿµÞ¯~|„?Âr[ ®ÕêñéCü_q£+³2VUÒ¬÷¾ûÓî8Níðýã>h]qi¼÷¸ùðÝøvXû§ÂUu~ºúC÷¿fêúƒÿc-*'L|í¦­ —åÇ¥†%¬Koý W†×ÌŠóÊi-ükZVL¯L%¤s.¼*ükBˆŠ‹Õ,?KìºßõÃÆÿU‰J[ø}\ûßþ,É$OOúÝÓá¡«l]ã{a›¦âÜÙôdš^~ÿéÓëëkµŽ‹WÍô)|ž›Ê9ÅWBV¢/ÿ½ KµI¿ O@AµÃO‹:~¹®jîj|ȘI‡w+jP&V×ð ÇÁ…Wy¿yH”Ýç uø™æWœ†>¼È+xõ´9®QGŸ~bå*g„ Úx0¬bµöâU­Nu"¼ œ•µªc•ªW²2YðJ]®g«6Þø™ÿv(+ën¦“p˜U¸ë Áº–sTÊÎá*ÎÀ>I}I£\3üéSÌ•ëJÀfÓrd®væDa®ý1|Ī%Ã÷?îÚ¤Bf…<1yИ“5Ïk=“LàöÂ#=Óà&*P;'쉲¼¯ûßð eñéë¶['O5F«ÒSÁw¹èjÍo+å>ÛݦßY)€Zuß'{Ôš¡P6ÝÇ6lUX†JZ†­šLŒ®Žî>×i o¬>2¦¬ôuI$‘ÍÖi^^vÝš–щšÌ¼Û7Ïq!)+¥ŠNjÿzœ’üj«h‰)žv!æ~ëÏ¨èØ‡, )dÓþzl¦ åñ\ªí+8žnì÷mB6m ?ûi£Ðà§ ‡òœ6¨½·yápÍxxx& YYÿ”lÖ1‡*Þ4SS%_€ãƒ¢Pþ­ÙHmÅ\ ^뤆î0NÍaÊ \º‰²ª%çÅǾ6c|b›¤#` pfM6–$tOX½²ðÍc‚ø½e wð:tQÖÙ-®Y¯ÛqLRƒ3‘+ŒÛþ¸ ¾ !2úì×( 6†ÚˆØVK‰ï1'z’·;ÍÊçËXß…P©L¥EއdñÚ`B ŽŽá±tÉ Ý,¿ÚÆc„8‹ášlhÛ¦ÍXVËB9_¹w ºªÉ‰¦öyˆÞ±ÅpBáxŒJX%UØðã?Fg [Ó’ÛäŠãþ7²EèL† ïÕdØÉ!y{ÍpÞ§~±nvQÆF% (³o›C 2\fÑV—7÷(ã%QÜ{Ä Vï?KÖ8A0ýCñšÓó¨©ðsb…c·‰ÃÈsW>µé~×í!½Ìe=C"oš¶Ú6 ¼…ÉDp¬MrÚ߉Ai¦²E ÞG¥€ät6¹·ø-é˜@a®›ä¿`° <Ú+}­® hâã»èâ÷)°ˆ9@0çz‚à¬Øf} ^eÁ/³'‹êc%yR–>ˆ—Œ Íq®.ÿ´Íѱ¾½<®«˜»ÿ¸Á‘ço wò¯¶@ƒ²4ä—¡“![F45Å“è„數÷êEsÒ ÚïýÓO?ATÒ~ù3’4Å«øÚœÍƒ:%7¸±¿÷ã„F'­}Ï)Ä;ÄN!,b93™@‰~ÌFz„Bfz„{ÓžÓ!g)ÐiËw¯&?"ÆÕô"€bO)úò}Ú:üÄûA*‡Jí>b Ð&&šèÀ„™¡ˆÕàé™ :2ÂwíDñ¸õäWdô{˜Mø¥œ–rõËlÛÓ|NIý¡Mžê¹†–3ýDn„r¼ÄœÏ`%QµßÚõ1’wc©0Ð6D³5=ÄqG;šº=b)x¨¯ dW$"ùñ‘D6oçG€ˆÀèÃѸÎ,§? òjAé^›v1×oë]Ó?ˆŒìàÑcxŠ’àBe0í“Ý€!hbHÕ!Qþ‹T]ÙLÕ_ÎõÑc÷5f¾%¢ž„Á’0¦6:ÿ¼€±Ž B²Ø6L?|¥†ÂXâ³@^2¡AaÚ’änf€¬×”M.ÙJ$å|"Uê~Ó¾ìúK.ð7o À¤bdDÛvQÚdÊ ÜH–Éî¸ÎÎÒ•1é²fý¿)h¬É]šÝاZIlsh§ãpHÊŽl>*B«/{d@Ëá*o$²wHñŠr” s,•Üî ‘©ÎùÅÒ¢·tlXfÇé¾F— LO)¦É †þ&ÄMÈë€o›ËoõÏÇñË÷Õr «=ýÏN,:Pdd¨øÇ(8…­õí4¦ôqåY…ÆÝsÙÂv!üIç ‘‚¸žm´2 /V|Í# j›,BœÈ' Ä6b›„ÍÈu’nÛÍÌÕ¯(f±da9%è;ÈÓF¥’hí0ôÃPC»,v øZÉœtÊe~aK±ßQùiéw2 éOs“€2bëÄĽÌnæÁ  ])3ßìûÞÈ÷ã2È’ÁsT¶‡Èü'9½›˜Zài&Ñ‚C?ì›:+/¶’!ÄS…+dxH_*&‚òŸ‡fK˜ ˆª£ôæ_¨GD,3Â{ÆYëNFhé K Ì-• à¿oÓH ÚrV;׊«I+ýKâ2e~?Àqc| ¥;˹ã#”ÏYEéÓÔFИêXVÌŠ{L`”TÀøy®›Þ¦í5¤¬¤¤kמ ž›&`k›±KÖ¹­ VBaÀ)RÁ¥ÈM W‹Ìi3¶Éw÷éÄ!Q¡œ}‰ SóuwÂŒ²99W—R$Àoßg,8HNÉúRáô=@ïû"¹¬\H$|&IoŒÙ˜ÝéºË¥ÌhMØJPЏí•4À׊Úö.j4/Õ‰^“†@›Al¹dÔæ…(anþ•O©¨òy¹˜Ž ÀÇ$Á©)™ë0®&‹€Ô<ö·à,´=tÍ é!eâ<‡­áñ¯ŠŠqÚw"ñ/©”ò€:£çˆ¥²kU½¸Q]ÐþM4°f°8*ìRµð”ÒׂOË<>×d5×Ê<ÚG½«eSÕa,Êò%`,ãxº¿}þÇŸÃgáûçÓÏ$ŠÄª–ÖÑce-í:87Åöí¡ßõÏ]D7%|!ø³øå‡dSžÁ(ã³Û™ifô= ÊÚJQÈ7&YîŠ\%àå(A®Ëdƒº(ß\ïÉ@HÕ™üßìF<@z¤¾hÉï’°…*ÌãQ5Ï!0ÿnAÇÝÞÄÅÖÁ2B¬S¬q5µ—¶M‡Efè‹þéÇ?'ÆW焟å/+À||Åη\ãØÑ?ú)6+BÌñs´,Ë©wùÚí0¸å©‡¢­ÇAÏäû ƒCBfOë\³,mj‡}ôWˆ$em\UüzIn‘׌†±f’uðÅ·©W¦Åíûj˜ yWf¡ÁÏç°Š´¿ vYØoé=Ãk[:/6"Ë£1Có‚½í»9_YˆÖñtNióÄY¦#C»¨yXGî¨j_@›U|7…ÂÇõ’!3Ä”fƒa³ŽUœX£5©¢òI«•Quh(ÆLÓÞ!%Ïó Kñ\h×/K yåÁ‘ÒKU┾¤0Ke€dEðÛ< 6ö»£·Œãu¡³¥$㿈×6£øù{mÂu?Ñ*N°ÁãaåÙÚwqrͧ"€ê*â-8á@ ó¦DË<‘É–µk›ów)G±! “ Ìùä×î9Y wËŸ Õeõ$í< Z²”¦BÖØ¿l=¯_7©Ú¨]™Þ]½<ÉX—íõdpØ7¤<6¡ÜnN ÛSлØ:ÏoVq7fÏš3~HRÛSƒPåРJ¾Íý4_ó;$¢É%M̦T@IŠv%à6ŠßÈ |‰;s#o $tŒGurÄXãGrb<®‡î+²Ñ\ßO•h_g!”¾;Ð>õXâóFJúŠíÓ9'jÃ|ùx¡˜îe÷nYS‘TŸ"™õ‡/C·ª‚À©b¹i§v}‘\Y0W&£Ÿ†/Û“ŒokŸ«Yn1 Ý·.Pü…ÍKòw†$õo 3븓ÿ‰Ú)¥{*pÌÆ@‹Rø¼éi¢È4ñоÙÕ9 'Tµ¬œÄFCÐäïÃÒy2qq3ý._°|aûˆÐeÎð#‡k³Š²¬wµæ€¹Ù|c¢!Á•¥ÜÅó KQŽt±ñ]ï!1c8Ïõ•¯§R×Lqߺ[n6÷=±Qh¡o³SŽM–@Èá ß^0ùöB.+HuoYA³Y‚r©ïuÆsʲ0)A±k¶Ùi›À×;ëœ* ©¸ù¶\f@ëõüu Uüv1&D1|+B &æ®ÊåÌká²éÂe–±›Ž„ à0‡xº& ò × ëCÙÖ;`EŠ\Si$ÙóÆ·\DæFsXsS†°$;:ÏÙôÇÔVóM<™cwO%Q)Oφ³™@& xÆXm]‰(¦Ð@O¦–ù½Õΰ€¿Ä+Áj/fÈ~÷ 9„%¥ÐÊ,ñÔŶ5ûýý†¬:­ÂÍ+9Ë£8ù~$ìByl6ûîœph¦~H–È‚½î*,ȧY1§v'}ÊçN ÅGŒâ>ÂØv§Y=ë+à|nÃbè܆m¥õEfšÛë9uüP§$ ]s|ÃÜIMxßÌ&5_“©… ꬮî;SK@Ì2¶]Ìðfí &¹d6¦E]}:‡i³+mìvð•Ù¤È[ 5r˜Y1Âä?»E³”³E“”E.C × "›©ÿ—ïÚ*Vè¤iެÿVWDæ2+Ž1r æLJLè\¤Úfó–l,ÆÝ#>&Ì=.Å6çç䨫šÔa‚Ä¢èÐè¦Rè¤_–H#jþêªv|Á3ÃÁ³¹ºðL,Qû ¬–ÑÍÙN-Og;EØ[z¶k§%w ãú®Ž™¹y-ÔÔÌst| òª„¬Â_ä¥rÓ°Í,<Ä«#Eº¾tÏÅå{.ùz¨<¿s_.îœ!…•Å=;*HþS\ÓãùšÞqÄÔÈϪ‚Ø“óüq1 y^¤Õ/œ6íÇCÊô%`:Õ¼ýÙ²$”‹û×iÚZºß·ÓëÅ€Qt=xDß厄yR次‰ç“Y‰OÍ€¹évM²½0Ã\«YIéâ.RLµ.7éú¼Â»*Ê¿Ø'=êԾƜïLÔ0–I—Û§æ¸Ã˜¤ó<î{8ý—ïXÜfíƒ]ì†qZÚgl†WàéDEˆ¨TKĬֳ/~ñ³;ÖWZ^§N^ƒ7å^uréÞëåaNg›ü3HÄè/ü†¯Rû®;Œäçì¬eüÖ}–¶´=í§ L‡ÍÒš¡K<šÒÕ3Ûòr#” YaoÑ„fWhwËÖäiO)7s® øãÎò=íçäRª‹è¯Ýó% yÆG{AB`~:OV…™åÕ|×’¼³Œd)£¼™x]À΢|V*Ï¿&¦¨•Dfq-ºæB. ÄÛ+m|èž·‹k…É"SY¾mzîãaóŒÆ9wvaV^Ás+&êá‰{’¬äüî,…½"ÿÌœ—å¥ý¹2£îHŒ×Ìê\VN_ #Eï®<(§óõ]7bNbìÌæS¶ã«Ìqò9UŠ`g0׸¦L³HÏ*Ó—ÁÂFÐQ.¬Äu^銇úKη<4æ wx¨ô˜<Ôfì¶©ªÞ_úŸ;`´VRe'š˜DQðY¸0;pÁÀ‡¦Sþ¿ :,øélwKËÎL]NÚ»^bsùÿ“ä/«~ðÿüÖh“endstream endobj 7 0 obj 5246 endobj 50 0 obj <> stream xœ­\KsÜF’¾+óx´#Ü ê]57Û;±ëXÏ®WÒeÃòì†H¬»€¶Ìùõ›õÊ,<ؤÂäñ¨Êç—_fõ§›ºb7µÿ/ý»?½ùôæÓ ×ò?ûÓÍ÷ïßܾåöÆUNs-oÞ|`7†ß˜ZWðÇ÷§7_?4ã7ïÿï 3•‘Jà ïo¾¾ó—Te”ƒ»â¥¶=ã}ù¶¡=õþ"g•T6_ý=>\‹šóüð!<+ªÚp“®õçt͸Z¦kÓC›>¤éâ1|Ãúšü}s 7ªJjÉÒű;´•¿|ûV°rç;&TÅaÙ;n+)œ ·³ŠUÜß.Âb]zËÛöñØí›©;ßû?êºÒ ‡ôǯŽq¶RVŠ¥då„âs1gT^`sãòæŠÙ1)+ÍåÍŽ¹Jðpë?›(WI®ó+Ÿü%S)Uç+ãÓyŸä„Íßyús÷/ØB”±õ™å>…µºŠÕÚd¹÷qaLV5ǽq®E6ƒs?…‹º2¨ðk‹â¢²Œ‰¹ w¼†7Ãí;Æ_²&©¹œ‹‘y¡áj·Lvß\ƸP¢U†¬,H’óŠ«VÛuvµ]S \Ñ¡½q\ºñ!|\Q~eS²_n]¾ö9˜V唨³X’ƒXìK€XXeíÂ-4· 1‚&”ââÊç“!ƒX•ri³¯v]øJ¾-¹®ãF×íÏÙ3Lâ{èÇ)IºÖ,¿²9’m»Ú™/]ù~hwIP¢rF ý4S\+|Œ;'—k…M­ÃŒ°(Ï®áyˆJÒ^cL·j-²±¼ë×oíÎãÔ6a BVJàÍýÇp3í9w]þ´cËÑ2Òraü֕–AFÀFVÇ6¶Ì5nyl÷}Ô…WL/Õæ—j+ÜF2t›¡…€èÃ[ 9¨:¿¥‹®SCÐÇ øê¥}5Ä%À¦9dƒZÎú€ ÊË ÿ«œóÂåEáüÜ«n´7X6Ü án•·ñ­˜ìü»|Ë¡Úý4¦d!­Ê&šåo*kø*¼6 K d)ƒˆjŠºìÓE­ :W¯RNÌ=‹×ÃгR` ÅgÐÂ|^ŽÜ²2††x ïp“uºï0‚éø”L€k“ßôL6† KPÿ*‹u6þ¡?=Û?‚ìlÅÁHÑv§Ëãv:µ’ý«³©_œM{U6õ*$µmB,Ê8ÌœÓСä8lAf·:´cwŽMÀ>ºÕÇ~Àôé9FpÓNé¼ò,Óï¼sï¢ô‚z´'Çý¼èÂâ¹(õ¯[“m-…@nŠØÚO—@R•(ãÄÝ&1î˜<ŽT˜#%A‰aì·Ü¼œsôkž®`uW]|—<=£[ Ii ”D©1ÝZƒ= žb®W¬æYxÑj@L覗æT{-s˜7ì*—‹¹ÄktÜ Š d ȇÿUQüuKTŽDÕþýAj‘ ¶% à&Q#)” ·ƒÑkB˜èì‚U58P6pHÙ172)—Ï‚[[ÝWÉœ!ºæxLËa^‚Âk2ç$l@4èÇ1j€o`bÜ/ù‡´3jŒIAL‡$>îé5§>Â!¸¬Jµ„C>EæÍžRrªÁ‰ØU·ÓjY-ÌܯjIª6Ž1Ì:§d? Q%1Z—»ÝýÐ_Cž0¦1;â‹ÍÂaÓ[j…æ–ßw( ÍéRc;fueç¥ÂKzƒÀ!Vzƒaz›ÇúBC(nh¼X,5¸‚M|-ÔKY€ ƒ[i‹úDïÓä}›Aò¿m°Ã6‹`C"Ôk¨ñ¶mö¹ê—Æ'ctXBû,‹$ê:Ry!H|ÏTøtꪸ»ãî@n Ñä #ª²n‘Q¬©Uæc›í‡[›M ·`j¥MÀ,Ë¢ÖzÔ‚Aº¿Ü?$ÈWÔ.ië=yfkè JgÌx*/ëYø”ë5xKMõ~ƘÞa%çMN ätd¦‚]­t¿¨ÐñNÏM(íI4åsŸÝ—²`³*E1'M–Ô& ^>}Ú"Wk4I+¯Dšöh¦·~È’ϰäb/†~4ÅZ¡Ô›úØ@º›Ú”ÿa{ 'JÐxßB^öE‘CŠ(ã’X)RëÝ (n I£›ã Á–jœEÇBÛQûj̱/ˆ†_‰Z„JoÛcùU“¸%Ù¸]-(þìûóW÷—”| tœÉ¹yC&ónÿh÷—DFÀ¶ˆ´k†»nšá)Y$z=Kœ=!üÆd,Š›,@™ç”·Ú9XИ=[c 85Ó>™§ ={ ÷u e{L*Yf«”¼äÜÆÝX¨Öò›#¸Øq؆s i|H^_„ä—ï~l&ˆqÑ™}MIU_.N ÷*Z÷l r’ç%TÕÞ– …Cê‚•@jU…®æ ,2U²|"¯%z£´Á™}Iá×#nThaΗâ¡d}¼©9Þ÷C7=œžÉÏ AßàhÃýÏSÞf rk@¢Ôy• <. •àËQ"æ¡JJY0ÍLZDÆnF˜‚à …µÙM-” ´Ã½(óÚ‚†§¡”`„騾ÐÝ¥Û'Éi­°ÂŠ® qjÀM–q+9n2„§ü8à[,Ë)SyÜH)³ß2K A‡‹‚ßÅÕR‘ˆ<š!$>å8qž:Q/Shºâl¢=Ä£ü8¥¥ù\j~úSBƽU:S"iB@uòäk›A€!mR ,)ö!{^fŽÏ«dàó"òDÜS„w '“P£j¶`!ƒ©,Û+I[¬4ØH¹âw)ÓöçžFŠÆ,Ës½náh¾ÑÂ!°´há@¼·î¯káÌ>Eµ±,âl¥QÉ,&4ÀúéΫí/UЋ[µ#}[Qw ÐõÓü”W_âÍâc?d[†œoõH£pq¹êW€Œ×à%.c~¼†JÓ-оÛ7+¯£(®ãHçŸlã"ج Hè×¢«í„Ô@ò,4M°£`/hRøX—màØMSÔ$@š#6‚€ÖÜ5cNZñ >˜Bè¡0ÅñiÜ¥ù‘i )‰< ±- úÔNÿHÂ^Pà/ú8žÆås²_M ÝCÊ%Žš>¢T »#7FíQÛØ#À6VÍã_GaÏyá« ¼éÛß›áöØÝÝî½úøm|@ÈbØÀgMËssÚ$Éd ãhuÈÊ‚VF]çIr„ð¾‰FµÚû”†ÈÔ©éΙW$©ÄKÍ,dDt(ê th ^…R«_5dáÁ,Šñ |-ßPlå`MuÖæ§¶·:ôǔҌes¶{ƒûÒ½&(ß¾ê˜E0Ð üp”ë2ôa¬]Y²\{ ¥z£òg­ù-KÏŠ"#p†¨{"¬…‚Áäó|CÐ3EÔ Ê­‹DAÔÑl&ùuJR ÍêÐ}µÇeù¸#-ê»;ùòô¹zåûp|™\fÍ*Ä mä!Gܱ‘ãÍaã„‚è±'x¦l‹(eÎ>ów|“ÝÖCVYºíõ©ÄGœfJŸç5\ðy݈vEGØMÄðzn1å>Ä|¨ãù’g¨»äžU(f¿â—¥+×4 kðØ«ð,ì켘d9æyššša—X“€œúêuG‡ Jtô\4ÂóF^x:%¼æYSÄ”]¬‡¡ˆ4ŒQ‘œÒVÁUÍë|Qê"Ôù‚Ï?Ç—Š’ü¥MIê|ùªæ¯÷\ÃÕ¢Zæ„Y ¯æÝ,HPNª—dJ-.;¯s±ËeÔF—«à;Ê.”&‚hß·—ó9œ¥Y^Õåj®’쥸âX˜7ÉwmÍr]‰ÐÅPaÙ „X¡Qz4Ù'µ¾j)d§–(Lç6„YØþ¼ß#£DE-¸…P2þ”–Axœ®ÌÑz1Ãf¥,â°Ù—ÌüK‘ 3LbV+m»ì”>çr1lkU-?uwCþ°p•­m~îùkÚ“-F SõÏŠž?b-0qÂZiŠÉ!}s²ûܦ‡ÝJå;(Cœô‘ÃePèÅ+Άļ°f<ÿ†ÐÁÿ•¨ñs^=#ØúîÝO)r ¦`Â{òhzh¿Ú¼GCyóíy?<=æ¾NÒ‹¦ZŠ äçÔåàÈÖÐ×ð[N§Š^:4ÛÇh¢|$Xóaè–0×§c7å*H´W(¬s»ð¦2øÉ_Ô¯I/–ÆÃ>D:Ëú„Œ¥G;ŒIðP;úˆ”®óX&‡ò• j£˜Û3[Û˜ïER€>7÷¹y ‚ò9hæš_Í”g0!ë†(ùl…úXøªtWÞ¹`rjbrÖ ö®;SA Oå?U çU‹¢ xK iÏ£ î?'m¸j¦‹æpÚ‘F„í:!@-¼ÆEt¾²„ÔÎѧö oí0…Âöx®À:±œµð-ª¾=­¼]âøÖÝë° oo¾0ª‚0 Òæóão¸Æf¨îÿ•À/X^MìEâ’c …7"ÿizüûím?ŽÕ±;Èo<B!t‘K†RVC¹ŽQ"I± fO·t Ï’ŒOë‡Ìš=œyã{£$ÞRZ‰lÿ€,›P¢ð#X´ê”Û|5L{–bÅp9gÜ£Ä2€x˜I#/ã%ò,+‘ÚrZ±ºÝ÷ç]né®ÊWQqš;Øm½Ï#<ÊÔ§æ·ÍAŽ0»™_ð¢Ðð¬k9¯“Æ)õ-—ßñÀ”ü4tývCÇã {É KQç§Ûr&€`´ }šhûØ~Nž[s<rh?]º±K!ë!­u¹´Ò” !ét˜é-¨m1¶Ç<oVë@Žù‡d…æ“øž ìŽíðm‚’XBšðb³öùÐ ‡œ%º@døR°d4È‘cæhL% dQ²`Úæ&wwÌz–š-ÝfN-o¦XôÐICÙÞo”­—U‹©õí }µ³8býÐDm… AGðwËfݪg]‰UµEW ZÁÉÍiÿ᛿§Ôµ8h#•¯BKŽU[¯÷r6÷þ7Vª˜µê/k4ntsŽÐ1UŒ¹=µu¡rª#À\%Ul³Ê‡¹ÊÊÀªeeàc§Õ‹:- ¤¦ºÿèxLëÔKTAˆ'xÂÆ ]àûãå@³À5òýO8°0€ŸÒûÇSBâàúô}®6 ;õÉUºÖ™r~”ºÔßÖ™ïh Î¾Ï´}¨ÏìB*ázƇ!±ãœú38&¶¾¼Žq𛎽axq¤€;É æ9³nÖüê>7¢!HB—jv–dž!W;:ïúØ #M~ϱ¤ª++}µ ±<½\T| 2ÎÁåUÈXˈ¯FéAîoK‘ÛŸŽ@²ý§.³?–#™sù#)«6Ôäïü±©» Žl¬Á%,¿Vº—ßå€ÓÈlœC(xöo|º\„ƒÛ%ÞLC`ᔌ]N­Èprã°ˆ¨ýßö]Œ¾°bGEÇ¿µw]sŽ“²v é-‹ˆD1àøØ5`4’ª}õ:zë»Ë»d¯PH?>&–vÖ†ý-·٤M"£=C¯0i&ZaEøÉÌW¡kŸP^jJËfMé‹0Œü;RÝE!¼™ â³F1D¸¦„©ÂLYc¦pLfÖ”ûsÈxÙz½¾Múv3M>Üd½_­:zRH»Ú.§¶-N÷ê°7GHœŽ~ø¸E? €§Ï­ÿQ3·•0èU—gÕQ)l6[º8{ßäêߺ¥gÍ+Ä\)+ßåSNœF™?¦*ÏíeáæÂm~ÌPÙÂßÎ=>‰vôùÛääFz›3‰ú¿øÏ¹ŠÙýùQ„­)úÉ6Üï/úW¼qA4‡ú‰qa³q²Ýg+p)¼£¶+ÊhÖþÝÖ¾<ÒUçņJðñ@×ê…!°y<ØvœÄyûa9=«Àð7 2FøLážÖŠZ?ßF¡x8§ô‡1õNópéL_—1a÷pÒÎ'”濌pîÏ»·É^¤Ã¬”Œ(´Ð„&•¯ò£D^у’¸FÈdfƒ9)é·¢ŽöÜã¯q0´ñ¢íJÒŒ¤Hj‰û(j†Åßo3ΡQ²…F6†ä ó%Î#Ÿm’ÆIó¥;÷ îü…™&N²vs7‚”B±ëíÏÿL`kq¸Ñù³PÔ.¯ÆÇv¿‰€üY‹¥ ý$C-'â*0jÀm ð¢í2b@¶žm¶–ì©B,ñÔlÒF~ˆŽ³:ÿë }j¢@JÆWÅd9A6ú¬!++¸$>ïua«D\¥ûûqìîŽù—zà=«6šX„ô‹:«ÓÞLÇI´áñ„åÀj÷E³9h[½-|’“(Ÿ}óÃõæÊzËGgã!’M³n×DÄÆˆíïoþçÿïÿ“áIendstream endobj 51 0 obj 5531 endobj 57 0 obj <> stream xœ½\ÛŽÜF’Ýç^}D¿Íp±™wæ>­o³ÆëñŽ, À ªØÝ\U‘-’¥Vï×Oä%"“EVuËX, XF‰—ÌȈ'Nýéº,Øuéþ‰nWŸ®>]3ÿþ±=\{uówa®+¬Rüúöî*ÜÀ® ¿6¥.xu}{¸ú³(Ä7·ÿs%ÊBYeà‚ÛÝÕŸs?UE¥­¨âOý8¹9+L)xü±íÆ©Þïë©í;÷·7‡§ÚÂj®¥{åF³‚éJ\oXUÀ{Ý=¿6_“d¡ ñIÏî'U”¢äøðþè~c²`ª”ñ·®ivþfQ¨RáÍSï¯ä…Ô·°šzjüµ¶Ð%>´î–}÷î]YTFá…Ûf˜Ú7Ûø öÒÖÆ¿»ëÿ/T¸†ᆃiËJÃŽÃv÷}°%ìÌh|v½Öâ¹µ˜.””,^ôÃøÜmãeêZÖˆJ¹ËÜQ•Š]‹Bû ùšåíõÿ~l†Ï~¹¦÷Ü …ÿ Ž¥¬pÏïÚÃãÞŸ„˜—2»®íîÃ{¤Îß#*0ŒÀ õÇ`r°AYÚÌ”«ÞÁ¬-J+ÈVm8p1UÙ¹]¶2ðÞJ¼ÂVÒÂ[/ÚÊ–gæêö‰1¡Á#â;víÐl§~ðö‘àkßþÔî÷ј6ùOîB'ÿóþË,µ5F›è;U!¹{°¢ªÂj\|ÅÀ«8£Ç§–1´ýØìï6c{ß…‘àr_åâ¥X8¸êR„¢1Vâ:¾ÛOÍÐÕaG¬³ÂQà OíçxÄš+|r|ÎÿHFý6¼N1«ñ§ö.ìZÁS«K«òO³âÞ`¬,£ß>/oõ†0Ei„ÀXíúåÓ’‹ÀÙV’\¤úc·ó+`M«RüÄÔB˜¹cû ¯’á÷0À¦BÒy<¡€Û“ÅË=>B‘ý·ýá^6þÛZ¸nðÚ çEð°þ±éÆÑû˜c w~ßtÃXÇÍ(Ép÷ïßûÅ(SH‘Ÿ9ë¦?N1ü§ð¿i¦íÍÖE(ÿ^ôûGŠî&0zާ#y‰6+›è‚Ú–h³ƒûɆ•· ÿ)ƒ«^p›€÷쾆æÆ‚¢'oºæi¹ô¸U QŠ„S›aÅÿŸûŒKaŠ’鯷úv¹ša¹š©Ø.W3áÕšªz…¿¨Ò.´A»ÏÝÕÏ£÷1VpCø¦ËryFh®à ¦lBÚ€k­¡kO¶ïãàYÜéïÛ»‡]¤?çé ß届²û©›(‰ºßBÉÞQÏòdýª¨¬2Æ*…õ‡å›"ŸS*Ñ.8Å@¡ú…óü̾„bq§L çä^<]ð´Ûf\5@°¢:éÍž\TG¥÷Ь4h¦]Ü¿æä¡É,.|OÍdµzÑ,b*V‘›÷û´ò•úC„6“øoÌ+5Y‹å+ƒPy¡$«REwÀ©.ÀR]¿Û©P7€yàü6£¼PΘí8AÑvXþ>m— £ëŸêvZ^<ôýJvÅT °V‰Ä¡nŽãp³ï·õþfüx̜ܬ±çn™ˆÃ~àñ¶*WÂl‰›v=?WP~VÆJéÌ¡¾?Ã+ïûÞO‹mßÝ­'ÔùŠöT„KæêT8&¨ÃÁ£m0Ž(<³ŸKS?ôÝ›ûã@’SŽQ1üÛ¿´ûf}o`ÁÊs ¢þÒÂsL—F¢s±à\¥H¥õCË5!Ó&EÈ2'ey~«“TV!¶Uqý*µGƒÇ¼.*¤¼j{b%]¥¦‚ৈ)Æé<ÉcöÊo'%íôY^òguõ!(ÜÕ¼¸£v<ã:êÝ%ç,¶w÷ë''.0«3Ÿw)I€ëÖ]Ž=±¼ÍÑõäÉ5¦LAã·R°ÄÐÀ¸ÉÓõI[hIÀøˆFúc îC=Fê`Kr 5`û‚ë ñÀÇz)c±Â$ÀŽ c±ew·])„ÜÅ?Ý^ÿ×Õ§kXž[sy½<ºvZ¨cäÜHÏÌ·‡«ïß^ݼýÏëi86W7ÿ¸fW7?»}ÿÛðÇÛ¯ÿåê§·þIg”ç¹Ã%ðàÂÙ܈"¨Ï/{¾5 ˜Òs.ÃÝfy‰z‚Û&êY¯= A1¢êØY¶fÔàiw!g+hWÁ‡#Ù,ðÊ $£$ XÂW¸ëwN|(“}×þo Ú„½ÿúãã*wÈü®¬ÏJú«ßbe$BïLÉsMbFÍ—ÙjÒÀ_B•`Ú—{:g'(ǺVæ›+p*Î 3ÎË'¸ÑªwÍv_§Åùµ"þzI»ª¨%PF.MòDt' Ÿ=å´Ä`½wgà×EFÞ.Ø7«¡ˆöЩ´?<Ó#V¼¬²”(c!”%iú»UNà+ø«²”Ò/d)^³,56SÜ.”›’S©3¡÷ë$‘Iu·¼ó·O²[Ìã!’i¥È/Ö0{ˆlÚ¹Û̳¢Ÿxöi¿Ê) X°s§‹ãÀ@ñÍ?ÅÚ*âÔ/‰µ§b–¨xòª xŽ&ƒŽ±ÑœrR;qÓÚ$º@ÎXF ò©‹ÑdfRܾ U6, îgóxay í@z@î‹Öu¶•Tˆ;e%?ªPBK:ç•ú¼í¶û㮹i¾ø?=Áö-LRòŽûf,Ö\ßëf¦ vÜàÅÊù…6“r÷¯S€Cwñý1öƒÛlï»~Õ¤kÇIIXÛMÒ@ræ%D=…žÚm4‹ÖJæ^D^Ññíæ–é¹]¨fÀMŒÌ°;^¬™Ð¿&ê´Ë1k×]è‰BFQåBwÒÄ.!Ð+IÇŠn±èÎ_õúÖYûÌù)2`'4c—·ºú[¨ê»pàJPW¦^Æ…?FÇÆË‹‚_Ì3EÌ L˜w±E†¢ìÓ¥mÒ•Úû5vd%I~ÑÛÂOÝÒ‡¸Xcløo™¼ s¸Îsxì8¿(Ø&ì$ö¤"N퀹šsÚ;ö8Å~ö)crŒÓ€é”‰‘¹8ÂÄ—„égtSHâí¿´i–ƒ @ -s¢‚,„ž?H9ÄŸà´DNÂcM‘ŠÔÓñ·,©ëÚlÛ7!÷CX󔈎#JÀ¦°éòób••‹˜XðæY×þãJr}~BtWDäúa‡¡­á=¯íK'DŸz>P½äÏM{ÿ}B•$L1À:5aÄ«Ý=Gúk’ G«4Õì)›8ù]Ÿ Œ“íªÉsý…Ôuxšñ±Ý$Ÿ2*›b`lãŽä¥œVOñLY!K’){΄ú0^ÓK§îÃ0Ðh‹Éš_¦aµÔqrb©ÔK¡ ¦É#Æ Ö})\E@ cB“³êè¬eÒ[žñ0J*±Î…„Ó$ˆ¨4Å}ÊñyzwÜ#vé‚ÎÎgã)kµÛçvè»H%ð‚,ÞÆHX˜"i뉈™Ë¿’/ZT\M@”‡ˆ;­Ç€_¢NŸAêeB$™5Wmü,0%8D §HvÙ•fBA~‘©wøãÏa ÂU ™¬¼>¢_ë4¯õ0¨1µ½„Û:)…2õý"‘t]f›˜HTŒ*$fE¦Øv÷á ÁËa75]¬CTFç™è]hÜTÎÀ¦1áÐlw-ã4eÝŽô5!ѵC¬¯ êWé34ã¥ÓŒêÊ™á³Ñ-D£Ùcô®¡Ù6ígtàÜÉ"4ް’¨Ì«$éº /â³õ³?^–IWéš­K™ÁŽžuÓ¹b놥"¼Æß²‘¸·¿EG¶–JÀz·š1{X-'PQfT³‘H:7•l‰J£ÓoOiOqLæ[­,̸oNNíÙ ß¿¾óçë`ˆæ¨EŠC÷÷L¾†hÆ~ÿ9ÞÏ4éô JçeŠÁ©ÿ–@RT‰"ÔΕ,êk!$莢Ï:KÛ¡”י߮õCP?À¤QdÖ^©ÒÕÜ¿øcÕœ}B €sº;|ë.]@̈q6Èè#$ 2Â=1åð’©b¶åŒ££êÏ é4=nÐ&y$z³ëÜ,•·é¤|¼¶Ãs^äõüZ4|ŒÛvÚcªlÆ,„pÒpÏäh7ç—æ×܉‘TÁ–ñÊ·(þ(–õcIÈVi `[ÁS¹E®NS«‹¾T?ÓcKÚÿT @tRXçL6;­$[TYî<×Û÷jª‚þ}í.ƒ¦ë¶ƒÚç.hI¾%õïl£ÝÉ”;°æ´Qâ‚ùÝKS9uaÉÚ…S#p‘¨w; ÿe‘6›(<'É…¦æ-lˆ¼~Øa§H–ÔI}laý]¶Èå?¹ö2î;Úék¿jZ¬”Âë=Qöü##0©¦‡2øý7±65eáLê—KFàX›T3ht$*A#¥î¢#q¦üŠŠ»OìH*ë^yõâ6äôð¶YkÙuAÒt^h«ºÎfš×ÙÕSƒ8%³Iå¡?Äx€£f‚h>ÜÌÝ’#ž1§Ê4ÜmVŽ!#ƯÅ6£V*×ŠÄ áJ¦S#›ÀAÎpÃÀá+-ÃóR©eÉž5~ýä>‘¤)£µü×0•™ïŠ@g“Ó^žû´¸Ø“—é3ŒpU‘šÆº.M 9„z—²ÊÚ®¹8 DÒµg äi$áøeþÀO¤ôx{eåE¹üb¯Î¤^Ý×}¬Ø¥Ê!o( +R!}NüsÏL@?ý[€l ‰"}Qè9œ‰SVˆ›moãwVeSd­3¦¯Mx²ÛÙ|.üÅb´sþ\‘¸É*œ'nì°$ÈkðKïJ»@Š,ÝÐùIéâ ;s«"ÚV‡¿¿‚¬JÅA„ëe™‰`R´SrN‰¿+”uVkÅý¹>Ûì»üÕðÝÈh ½[’äµ:J¨´4DþÕý¥^yeùy-×Ób•ë¥ ­³AY›8Qe@xM4ìq‡µ"‚T#‹IÆy¥ Rˆ F®JžZæßköcúhò%Ê|Arã–Ö‘~D]×wñÄ í’L¬ÓØÎëG1Gd㇗Ùò^_?@ÊzŒÎ¯xöuç.}r©Iµ¯ò_pU)M!–>/®jÿ?_Ræ$ëÂ@YQœykúï.Ü?ÿöí,endstream endobj 58 0 obj 5247 endobj 61 0 obj <> stream xœ•YÛŽÛÈ}ø#‹ØFÔê û¶û’ vyHvç-‰1–È1Iٞɷ§úVMŠ”Æ ;‹f_ª«N:Õú´¢„­¨ûÿnOwŸî>­˜K¶§ÕŸïï6?je‰U\«ûý]XÀVš¯4µ„›ÕýéîÍcמŸÞÞÿëN0",ã0å~w÷æôŒ˜ÖDÉôáw~ˆ)iúS*õÏÍöеMýïr¨ÛÆM0‚VÈ8áʱÞôU冹"ŒS‡a)aÞºk¡¡Ü®Ö°È}û-1†ü7zhûa¾eñT®ñT7Ì—Œqć·?¸oڀ˘½î†å#5ŽRŠ£7îÉã=¹”ÄHƒ÷¼~£âþ¿ëj8DC­@GsoüšQI¨,Vk.’‹>VÏ~? ÇP§oªa»Ùºðq~õ‘£¨0þî’(‹Ëº6a€ÓtòùÉ-äxÿ¿=uÕº?”]µ[G“œ«¹/ûJ$_F,cãÛÕÍöxÞUÊ25¾aùTn•·qI *®ÛwÚT_qÇ)–ŸÊa¨º¦÷g)H8f^6½Hpà]Î0ÌWíþîОª]Ý}·yhBPÓ„´vdáµ›¡:ùKXRè"Ý!Â2€)5Τ«›¾û_Ħ4mCÞ…}¤†Dâ“€”ÛÄLiå«/›¸³4¸s^.‘Kã}… 04ï†ïe‚ÕÄp5£‡blçÛ`´9 ÃÓÃÍŒaF@¬¶s׿ޜûnÓ?ÔM4}†B¾1S b3»r[íÏÇ×ñø‚ksÐŽíã¾>Vs·½Þ|.» |Ž7wÛ¯åBІznVÛùÄã >¾ž]z ¾k×Çv[1¿GPü¯÷hȧ¿BˆÊíÇóÓ²2 íÞþþ‚ø=“ZbrQö—ËzpÀ¼V€KæwJ8O˜âxücÕT]4ݬ „å…gú~3È›9cÂæódo»yÉr¡î›”`HœHa'4uÚùª¦mbµ€˜P}‹»×wUß?×/.Ïòß©Ý-˜yÃz•*‡¤„Z=Ň«¦ûú+ aê¹X‚žãP½nè9$ 1®Ñn×Y@vÕöXv¨ñwJñXã$ܼ æÚ…zà$Ï?ÿç÷Ñ£\ G¡R?µÝlSu}@/ Î@¡Çs–v|—¶›ç·¤ ,d#Ûå=¾ùìËlî$Àj h´á°ŸêÇsWE„‚ï’Ö`ßý¶ÓÄ??~-OOº`c>ÞÜ‹ú¿ô1Ya–\Á‰Zéf e¡íJÒwÉFðglÛæ˜ƒHÁ2¥ñ«dŒ`ãàzp ÷4YÕDÅG†û}”O?Žä“ÊÅüý›ç‡6֌եéA`MÅ!g¡ 7¸?D§ w¡”阑°ºÜsªkÊf·¸¸C*†_¿q·‰8q•CXL0C iÓtÀl 8P)y&PÊšôhî|ú§@ñšém½²Þ¥¢L8þr¨µ[ðŽúv´¶¶\çp÷q"À(íÚÚs ^€—-°Z>øŒ!ZZž†ªMÁr%pP ·rXÉ•¥Iw&E~¡d ì4b´At•&9úËup å.­Ð/ã®Sp9’ï:Il=ðS$…À7c ~'0)ÇÉ·b‚H+U²ç‹Ob¥Àn¢ †ªÄÒ¬u³ë#) #Ò~í>úBRk/ ãi¢€ô¢HðéД§*¶’£WàKö D½‚(h aÔoEF?”Ý%—8ü¥]'à9P 4ÃzÜËþ$ŒB†õ‡CIå ½ ¨ýª‹ñÓ™1?¼i»HÜ…Â^|á0¨W¯¾Ú¶’p;éhús¸1 ÒfzcÉ,Ö¯²11J‰)>go+wŠxÅvk‘àÿ%Ö*Ìar@ܳ …á‡È#*›¿kT@Αv \@@Wó‘::–uRp¥•Ss(ÑÙœ2ñ3bøXÆèp'ŸŠ41¶b¡´ Çñ"wt»˜ÀÒ ‡>”}… ]C™¾@>*O;ªÝ7kFˆÝµ1ÌÚ"Üšvù/ 8hy‘þI\*t.€vˆ‡1ãÊ!ô77HîdBÔwà•‚[1½K æÛ>IJ4Hß%BSb5<šg#h"](Žt±@ÆmÈMp;£ié6(z5‚ÅcÛÕGWÜ·îÃùÖëŠëYÛB4 ªœú~Ÿ–K._6ò˜LUH`etö•üáz:i L§(kÀ èa¢ê¾ÔÇcôšA_¯t| ¾Z¨ $U»úŠj“˃FX"Œo•Y;"ܯ Æãz;âK° hšÉØ,kœ½Mx¢Åø}4³x”^²TÔÔ`Ý õÄ?9ÉÙûöHoYèü~^“À6zNéq)®»j_žÈ^R,9¬cŠ+Ç×ãh&ãAŽKÊõ‚ñÆO‹a|®žèŒ‘}Õ7ýà‡·¡°`‘Q  ¥_ÔJ`Q±¨•€9ļÁœ4./Uƒü«Ø´@J_T¯+U£'Á¾Š±Êü>â5@"•Èk®qhÏa{ °ˆæà5á‘hLñõ—”FJÌ«”Õ`ƒäÊ J–Š<ÆfÐÿ:6ÁÅ·µ¶Ø®»§†‹vÝ«3µðü  â"9(ò;°k±”€^ z–Ûóh+×(:ŸS lT¥Âûw¹ÌQ| ¹!o”5 CÕô é{ï&©FZ!¡”»¨¸G)ÅT G&ðu4q ßZ\Ò8Q M„ B¸,ääâof€Th¿/:èdøT¸Ç^@VPüïSâZ&Q£œ»è` ã¯râüÂéŸÎü± ÝX1ªZIË ž;Ç2µÏ”#Ÿª²I’›²Á-M.C5 ÷·9N …Ø_tíi±r@“˜8óIK|¯\ñ—_Æ4Å®nò[ãÒžZó#þ"Iýx¿úûû÷âPäKendstream endobj 62 0 obj 2604 endobj 65 0 obj <> stream xœ¥[ÛŽäÆ‘õs{àoh ,[^¨ØÌ;sc¡Ûb° ÙÓ†vöÃfwѪ"K$kfÚ_¿‘·È$“]ݲ!@°È¼Dœ8q"2ûçë² ×¥ùÏÿÛ¯~¾úùšØgáŸæxýÍíÕÍ_¹¼Ö…–TòëÛû+÷¹VôZ•º Õõíñê‹fzìú‡Û\1YN8¼s{wõÅ®ÍCZ•(•xcí„*˜¦äzG¨}ÚÝ›ÇDª,ÃçOûÃWù°ó¾ííÈŒ”P#“¢ªìom³ì² ´Ôþ‹×Ÿ}öÚ~‡µ<ùz>ëí¾[»B˜UÁ÷îqí»Zá»çÞì§½3¿p 6%aèf_÷íôYþËíã©Í—òûÇvú½Ÿ•iœuˆÃ9_õ4w‡C¾êu?ç“̓³ã¼š¾È®ù”í§ncìw_ 9í4åÛkÆù°kÞýÁZ‰RÌÝßåæ®ûÇyßõ¹QÛôaÔ[ï)3åŸOs=ÎÞzL\Ðcµ¸,8+ƒ)úöcþÞaxèúÜlÓ¾Eg§`é§¹­ï ·<-™x~yëˆA, ùD…ûa‚|”Ý)·Ôëï†|CÑú‰[aÌÃá1'…—{ì4œçÿÊaô:7´3èòûßýÎÙ€ê¢*+4Ùÿú¯…À¯_¿íú×ùZ?ûcn«×uxWJ|÷ÿ¾ÊßE®«ªB –0×§¶Éð¾žönØ!`všeIþ¼ïì/Ü>㻇7ÞO“‡—`Ú½÷ßÝÃyöÍüœô?ífhAX)Ô ºÌ4àuV‰àõ˜ ¾¿½þ $+F nsÑŽÕ5+Ye’‘à’02d´oÞ\ݼùázÏíÕÍ߯ÉÕÍÿ˜ÿ}óã·ðÏ›ï®uõý;Ò/I{¬߀-EÅmî; ;m~*œ‰×¦Æo4ljÆî4;ôhȾšƒÑh~µ¿Úì𥵚(¨@w·ŸšÖ}føº,ÂÀšS„WááÝ0û‡Š`¿:´“—ÒB—Š$}€•T‰Hݼ÷ïJ©bÍ£Ê ŸC¹kó7-9lޱàâ}=îÜ®Kp=.à©nævôÐT´ÂÉÜ”TªÕf«BÇͶHü’… ±‚TZ_ú¶ß×ÇÖrS<¦7,)H©ÕÚZÑZ÷ãpÜ‚ïŽh](ØQRŸï‡c{ן߼ÞßÌvI/h‰†:ž6ã H…—aÆÂ½ÂÈb:ˆ`Å9µAÈžX Û£©d÷_7s7ôÓÖD»ð&8Êj;xýûÚ:”È¢Uc﹎—¶½ÁƬ ÙCßý³63š…ÁšùaÎvÆIEpþ±öþ+U†yôóÁ#Š˜Â5` |°s˜-Ððš52UƘ@ïæ_† ˆŽ9Ö Fnñ|Œ(®dÔ®ïÝ› ÔQp¤Cµq½¬Ä˜µB”Ôº ¦Zû†q3'*‹Öy±ðYŒW4ü|:m3ª.JÂéKfR<›ÉI¼Ä=z‘ æRä)ÐÏ“S¹ÜéÆçb`ƨžNÎ?ŠpìÔ6Ýý£ÿ\j :f9j3¯v}¢QÁ]÷C¤zÂaöèéÝýp>Øë £q˯nÇ&—r‘vϳWö`¦ÐŸ÷à€`XXƒ'S)°‹3©0_t“_¬ÚzAœá JR†pš÷ŽM¤IEbÍ'3P¦8Šc8ëQ’:ôÉ© AJJ‡Ï¨Ì¨w‘¤žpû+·Là»§zz¨ï@Pcz›è/ ˆJŠX8e´;øEHäFìs{tâ {YѰ:kCâN½ögèD>3)u…| Zà…Èg 3ÏL()špïØÈ$š’-Üu Lš/ÔóñbAkªòx€Ìó|2ùi9K"»Ý »ÃÐÔ›a ¨Lóã¥AkMTmS¼ 2‚˜¡ý€àÀAîZ×Õu†Ó½ •£ZMgÚ` yÀ€Å(Jö5^¤9?KñâWN"Ä6LJ`h›€SÓHødƒ¤%p In¤zf¨2Ž  ÷^Jeر ŒF‘xí""48à™,;ë°6 \ËÝ´ŸNÃ8ߘ)·iˆZ”dQ0yÛåµ €®\HÇÍE˜Ö3‘dtÓJc) ›ññúF /JÉ?ôþ¥¹³ÖóöíŸ 2•âÑûnZãî¨E‚¸1g<ìRSĘ%¸ŒPå¨WLëÅ-¨Yvˆ™S€U"»ðb[ל' !¹*ZLÅCÈ$WµouËÍKzÁŽÈ”2¼üäý“7K’µkM3+"ÉÙD>^hšs¨9H!y¼pù˜(Ñ£ÕˆZ‰i߈³2vÍ6­ý„ÝØxý.P¢•VñP5,IÅ»<õ¶†€-"áE WòxØ©Ÿ¬Ê°xR:¶÷ݧ͔k4gzí$DTryÄ áé$?Ä.©P^ÇkÀIн_sä l¬‘Àb‹6¼[‚õ¤~l‘ÕEUÄLÈáPyÅŽ­_Pß±õuMO“e}+9Ør(FV¼ T£ =„6µ£~áñ¶ ¥ìxH#¹®1œÇ&\ç”ñÜü»?¿E/0ÌÅ>ÉCb‰²ê¸Âœ«å‰õÆõ†Ûo´ƒ!ÑøCßǾ…?3”õQ?$m¡Í¡ZC®ûHBäÊ+)¬Z{%¹äáûJDåŠ. –…9*ÆŠ6ñн÷R¯P“/¶m¡zšMc4˜"ÝÜÏ_ºÆ dáš AMƒ@§ôm¸*àt¡qCâ™^[¸†‰Uåla« "³·M¸ ›)Y¯NpØ ÊÉ_šèu!&úÎ_j"FËDÇ$§,^'ÛJ¢³W¡´ÂîÕÆÜñð(–ÓS(é`7ñ¤ ‹&8J®è˶1ÐX^VÁÚ9Û(¾UU-¯ª;±Œ<׎÷u}€—®=<ìå!¦áh@âºæöSZ\]…Wmƒ@È´éâBð.}ÕªFdCèKgùJi,} ¥©hêBɟ߸5na$5ý ²üC—ÿÀ%-ïå»ç_mJaE˜ ÒŽ.ÂÕ ¼;mr×Muhbà˜Z7–-ŒÞÊÄ 75hÜýà”šÒ‘¢¶.¸Ž{ÿWÆÃ)›yÜh²}úƒÔõØÇ TæH6Õ°(ã9Ý*N‰aÆ!N‡TÏå¾öæh¬§! ²x‰b¬Óø4<éÇPæjB”‡^L‰ õÝ£S†Pñ¡É@{C˜¼owö^ÊÛ%Û¿?0ÿý?½¦~endstream endobj 66 0 obj 4193 endobj 69 0 obj <> stream xœµ\KGröy¬ÑG à+ß™x´kˆ†lÈ$¾ðÒì®™.³_¬ê&9:ø·;ò‘õèî‘Ö‚€å¢¦º*_|_Dd}^Ô[Ôþ¿ôïjw÷ùîó‚…kùŸÕnñÓû»—o[¸Êi®åâýÃ]ü[¾0µ®¸]¼ßÝ}/*Y¹ÞÿÏPU-j·¼_ß}ÿ~Óø‹/ßJ]>ƒ‹JmÒM«Ãþ¡}Œ÷ ßc5“é¾þ´<5»fïï”ðítúË)þÆRüøž [)ã÷ÌVV8wuDu%¬šÑð¡BVj~DÂUµåª‘©j£T^‹¶÷× Eš|m8mÚ}x“ЕT*?ywèÂ8¹¬´³8ÏM|ç•Ö&_]†kLTÚÔù÷íþÞ_¼çµ…¥æ°¬²6Nn{^ÇgëJã€oNESYî×áuUs‡‹–ƋͅM?úKª2Êñ|)¼Få„È38÷M| ¨¸6,¿øžÇáyh+í‡[a`[Ó`!›.L™9ãŸSæy3¿‹+ Ãu’§|·mú*¼ÔT¦Æ—¾ßÄ}‚¡8‹WóÜ\¥ä͹¹Š1!Ôxnly<7pšÛ._S`béÚú¼]víïq°² ]ë vXW`ƒÙž»å©=„!k0ìZ)št5çh÷ù¶{nÂÞŸY<­[sâ¦CKG›ô¸OæûÿìÐRVB˜àІ?ßËñLÜÙÈ?çÎdîü¶¹ƒ‰Í™{p㉹s2‰S³Ý¦qóÃX¸Í›òsÿ´_¥ÛÔBWÎÀäÃô`ï”æ €†p#Ÿ]VÎT¥½©tŽ> §›çÞ vS˳Ý4á"ƒ«2ßö):¼s5ÏsMþd¬»öŠ<30°šY6´}XM«¶.jð.h©»ûvý"!líÜäFŽ>e*Áe‰šÝá|„'…)³Š+.i./]B$-Íx„ìd¦R yœ±šn×ö=øpÄ(C¯ñÉè9 Ž£‘ã½O¨à„€É¤á¥Î1=4i)ùI@>¾ÃdÈa¿}J¶ÊlGü%î<Z†m›÷TIGx®1x³.½ …é:aëyþq²^ Y’…d`†øÔ|;¥€ä Œ¬Ðrµjާ>®“õÁ‘á:ÍšÕqÙ-wÍ©éú9 Q¼tÄs\‚±‡cYÀþtÓ‹¹ç@ð7Nçµ|¼ð˜‰Àç¤éŸ4ô©ÝáOBW–çÜÕpy`‡M‹q(cãf‰\£®”xÍz›Ø D?'1V?$£àý19jÿ"¯T©³ë… ¢2%õÉ[ œÓŒ| |Æü›ÄDAQY>Œ‰lZ®’£ éòÃ?å‰+?4œåqÍï-Ä5îXdªò&¦ƒ…_Etçï¸Ï·wq5ªåjêFŸ’û×àÖƒ‡¥,Y(½ØúJ=Ù6ÚSÚi-”@“œ¡9íw‰†ŠZÒEL ¶¥‡¶µ[¦çÀpósž2ÿ¢Pólúp¡–ÃÏ%¦‡ˆìÞƒ‰*¯š=²C´Gð#òx¿ mÒS$qÍÞV WÑX?BÖC·Œ¾ï‡!x DjR0ƒ Xfí:ñ¿.è“§åaÛ:—ÞÛT–°$jÞ½`$´{{ܽðf7¿v‡dí oÈÖm׬<­"Ü*àTðG}ÅnÑ·š"Øê'€ø´C÷4gòÔâÒÞ r4Ø8ê :i,™CfhbBÚøÌM†xy ö•÷êŸsh+k0rôé6K>Caõë¦]¥=Ô…ä&™cˆWƒ…ô”]³Í—1¼ÖoçmX .Kk¼êXädzc K”ÅéÏN„¶­µ#[$eÎG’ÓjDúÓ¼ùxyP£q&óylö—Eö%…àBŒ4¦¾@¯¤hêË KW†)eG¶&ͳmM?C €×ÏRJ€~¹jjžøÕ$SÛbvákœ…#LG1¤,’…§³µ@ã8DC‚ñ2‡˜ý%´¿-ßd«M»«]{“ACBò˜t”æ1­0gö1?TnŸfÆzÅPéN”÷äT–§‘Ì"¾ÒTÉZL¬vÖ 4I‚ R2‡VEFz‘ŒâQe+„3ãARÄãr½<-ÓžaÄ úó*½NkŒ›œ%-û™Aç`†Á;†¬¯°oý¦=&—«£­(¥«¢(<VQ¢'¿Uýö²ÛŒpr&Ê>ð|̆ pš»~‹ÁH‚o“©¸²è´ëæayÞætá * ñ ãéÕ¨x#CÍ#â:GDð»¼ð)Ô(O<ÔÐBBšæöjÁÔåDwY¸6Ö]ZqF¸€ˆ¼V¥Ì”=Sz)ïÑzœd2ÀÂ0xË X23âã„Ð9?61_M‚jLÙB¡¢v,·0vPÊœTìâ’PS%d6oT.Ê.1÷´„«9E`^ƒ)0™"€]Óµ[܃ð©£p‡Å ÐfåpÝ~ô%“$ž0©$Æ$ŒXŽân(’™<_‡s\xU FñsʸrЖäíŸæ&Ü̼æÏ‡¾¸7Žþªtñ/½ê=và<ýáÜ­Rôƒ‰hJ&Ï¢ñ2j±ÈŠˆµmO§mŽ ²I«wm$h°@Z!(¯ 47³ù³@ï'‘½ò³3ûûûÅÝ}^Añ»R/îáU ì`vÁµÖ—Rzs÷òÍ,Nݹ¹{ùß v÷òÿ??ýö3üóæo‹¹ûû›ð¤ùzëÈRã-p“ñµxOí—rs>¬`ó?UýfÖ|A¤hŒu¾ÿ·öññ;¬;rgþᇀ^ÎÈ„ßu­ÿT‹ƒ¯æRVÄ×Ôú”ÅZ¨®} œ?.D᨟!¨?.†¸à³¤e ¥ ýëmŽÛóñB‘M.T)ä¿Êóý1á¼SMŒéÜ'/ ƒ¤(Â|ñoMÄÏj–—¡Ù¯ic€‘åÑ®Sހײòþ¼¿ÏNÇgŒÏÃF‘AÔ 7 /þZŸŽÉ)kN9̉33ôô¾ý=^ mp¸DûŠòsÀ´E:Üî²|tv\(–­yÑÐEÿ’«‰&¾¡*’„9‡9|êÑ ¬£œÖ圭÷` §MÛ¿š³ÇûÐĽ¬†Hñè {µóS{ _€„á ’V¤·JP7¯v #´ÃRNl‰Þؼ¦ky%…`Ó+>ýñ«~Ô°ïðÜ®_3ð–Wþÿ°™¿:MŸõtl¦/}ÝÍŒøq:âW};ýqlþøµ¨§7²y¢¥yø‰×à:ņù¤JHÄ_¿†#`²üŽ€'I9.ÎZ HX©`V¼e %HýJƒZ™îÉfŽ©«%ÉQ«IÀ>, nRÊÖç‚‘cÎñ),Ð%âë#ðS/:8"ùƒ€’+!Ïë,¹lý)eBÀ&¡•Ó.°ÚÁ¢ð¹o¾‰Ý˜fØ\[Ccº±˜êÊb®›S³:5±¢Ð¥«Ì(>ÂOŸ]ˆÁ‘j…ž ]¤‹.ÅØd¸Bœœž%N–ˆÓ\#ù9‡Nùb xMf¿Ê û¥J³EUfnÒ-Vâe2ÃTlÌ0ç猔µíN³½1/iÝ ŠâÔ! œz¦ÍÂ?ÒæØ‰}ø‰Å€š›w¼þG{E:ÏÈaæê MN•("<Þ50Õ®0U~½ó¢6®Ð©øk_lRÜ›©?»²™üÒ6ç0^3K0u²s_ÿÆ<‡¿¤}é+fËè†ei&M@¾Â5îé˜Lygv”°X戩‘•%À€=e¬XV"‹n£E½¾.ÛO.­—ïíyÆz¥MÖƒ¥ËU¯'ÆU_QÆG>6YŠ([eêcÝ0ô¬ :6_×ÕBãµ=1®q ˆ);Æup jœ.žc)èËJ訟AŒ"m„iÉi7š£Þßó<+W´Â¨·AçôI@¬æuíã&™HͱætÊV¬ðÒ~®¥¤ÊHL©æKÝaƒâà|R1Vk _c¹"¥œÌ^ ¼Öã¦:)‡,ctƒÖÙzn4¶²EÖûB)Ø$_Û|^S ÏvÏ_™$>4ËðÂKu‘¥#F> 2Ê×Ħ.6êÕöܧâ? ‚!úùz×îA£wËS„aíKê(=–]Tþˆ‚«©¤ß¤™ ¢É}»Î},ŽZK#¾]t\ûèÙ¡YòÒ,!x{_¢Þ"Ì g:æR*3¬'«zæ{Ë«nºÃ¾ý’ûìX!’?tí*±-çb¯×=»Õi¨¶i÷³›û´Ð ‘P>ßÄ®Xý¹?çÞQ šL„{~muIÅó!*E9³7z ÃÖ·í²{¤Öê†iè 7ƒßÓù˜˜ ¤ô)…µlÉú‹ÖÊ“š¾ñŒV¯2Ô~— „~)nóEÏÕEî™Ã'à ÇzÙì¢ ˆ NPáÜgŸÒ |EèÝF{L6^œì£8\ðÉv§}ˆ»èH Ø{÷Çç@Xßdá© ³J§ˆUÎð¢Cß·i©C-[LÊpÎ>çøR¡L®_òÍ*·òç¶.ƒ ±8ÀËÅ€JPä&Àù#G˜†…KÊ+Ö´9Eº»à]Å馼ܼ ñ]Ó綆ìì°§0w(©2»•¨±Û‹IŠíç©QŠÁs‹F©C¬Ä“’Ò˜Wø¬7jGÕ™å4ϵsÆÕ“1+õZK¡7,‰ Ä_19B4[Ì%ft §"«B’ƒ|ð:އÎ:Cžgé\÷"íL!ÊZ=ü¿¶9Ë JÛó·tÍQOÿÔ¯’Ñ!À~åO0I‘0a$ƒ} B“‰µÆû–}.¿3I‚¨ßNrVæëÒ½‚xGÑ…gè€Ønù)Y² Ö¼¦GÏôò¼dù;Ïð­ +:}ÁÑq€’æ³ `RµÕfÌçÇ™h¬ÂJŒ¸Ö·»ŠçDÜ¢v¹ÊÁüúaÒR¼;1ï%Ì -CgŽiòBR;KtÂap}ÎǬd]$(âHÓ\™Õuð"Î+_"£]v ÞHE”³ivGê{3£( Š’âÃi¾^Nçé]­®:ã£CêeºBi5ÝBy$ÍŸ‘”‹­¬ÄwHîQs+xAJ¶ <s4F˜ád$¯sF]œÑ˜ñìq̪ˆÓÉ·'‹î³©(ñ®Ædÿ‹?x¤rÆgh.síø÷„†µUÓÍÓ/Í\sÀ Ñ‹(ÇM!Mñ+!vòÙ„Á—4VKìªW¸)É7<Ïâfä0ƒÆ“wï~M»ÇÕýU Õ×]ÓÑŠÚŸ ¥|ßî‚Zô•î²r&kß3áÞlQˆ”hIÆÕô˜ý°¸Í¬!íáôŠL@¬À8ý+ºAjŒX}yÊĺa8‡‚qÙ團Ÿ¥æ§Çs:‡ JNIª\d,1 Ó1Ǯ͕BňÍÜ™Û?| iTÃpe £Ù´ J‚î z-£ p¿*Zq‹vE/‘ÈdK1ц/)'ÓCÔà–¿åblQò\¶[,‰Y*쬛Øœó‘u蘰#ß(PÔp2£½J%x©"$ËJ·‡ {èNqÃÃY;:91¤x{ÚSV4“¤ÕóôŒáÍãøÌ‰a^ex¼ã1ž½_’Ê“Åc^µ™¢[Ísóq¼o Á5=*"Ƚ󃱧¼5:*òïç>·n CÏÎßÁàIçy"!M~«œ?N1=DLtœžšiò¿?=H/yñ]´ÝîÂgG$x?% %„/¾¢ùÝ›{½ï^¨ r—ú 4/¿áËì+Ÿ`ùðCŒ] vgš ¼Þ+’s>ú*!¤×nÛõVSßl…èS8vô –ùêæÎ àÖ›õhQº¦mò)ˆþ…¦Ø%Ë3ûO‹$+“æ‡çS™\·fTôžø9IqL¢SͰq?ÿµ¯( ûZwO÷Ýy­ tÏÍ|蟲¸IÁ pÿßÿx€ ´endstream endobj 70 0 obj 5846 endobj 73 0 obj <> stream xœ½ZßoÛ8~ÏíáÃ=\ ÔŒø›ì=µA{P´»AŠ} pPe%ÖÖ¶\Iî6û×ßP’’¥¸ÉnïÚ‡´Dg¾ùæ›Q¿,2B™û‹ÿÛ³/g_´_ ÿÛÅëë³ó+¡–XÅ”X\ßžùèB³…Î,afq½={vqõæÕõ›ç׿qE¤ ž¹^=»~õú_¦„[Êpù¶Ú”n•)BYfqõæ™[[JF¨ær±„ÇÃû|[¾p¿ÂŒ3Šoë²øÜ}ë^„ûß–”cú>¾¿üåãŒ]þ(šÁ³¡Qî÷‹Ppc {>}úÃû~Mea׋ïß¾»¼¸žîpõæçw¯.zC–,3Äf*Þïæù¿z_ðÞèwÑ™ÿ|œ/WUÓÝã2Óq98SθyŒ3oë¦ðëãs·÷ñA‰²Táû²lâOKÊÁ?JþUïÏÎù_æòßï?\a\%tà*ŒËñ®vÝ€vS‡¦­¾–?Û§šþôƒÝ«ˆÈþª{ó¢«êÝC—^*F¤¢Žz»Íw«S›7õ{ÏûÝZB-·qÇät<sÊИS'].ͼË5É̬˥$Ö˜!hÙˆ?Á4ßdfÿS”M‡÷¡4!Å»_B•ÐÃG$qäØj•wù1ŸîéÿCDæ>öçùÂa•äšH¶X‚­¿ÎÛêîДèT¸ ÇíùËÞçMHôÿºÄMÙpS–™I,nïw>&`²æFºÇ€‡%ƒS9QýƒlÎ@Má „Oy["%Üiû ªÂÈàªu¹Í½;Œ% Îv·ôÞ8´å k:lÒÕxEiT°~åס2Æ üêÖ,TÒ¡lî;`Ô»Þo`¾+eþ—O‡†Ô¸„‘í¼ã¨» O”qÈ7ýa4 ø¶°Üc×M½«þÈ—¾¦Aì0鸇x#­´6ѯër‡'ÐŒ‡KöeY’  ­xo£ã½Û.÷95 ¸ËØ£.˜=p›Â¼dK^ú©i}Ý‚øZù¤‚€j¡CT*ïz(—2> Œ†>s”)“¼ÙçMÙbE´ZиG;õD¹Ý# ÓlèF€…ÎbRŽË ¹#b¯º5Z¬X´8]²,^yS¶÷mWn1镈ˆÜ Ï!Ò#QÓ–xŒ™0¾Î½å` ‹lžo6xI`îŽ (-qõ·úß%¹ v¬s¤/Nãû_§¨*}–JÊyØï“JKËÂf¥Ç¨K,,š2ïÊÁÔO~¼ 1V‰°;D9¸¬´©–ÿ^áEt R×Üc625á+"œJDϘpNùQ,µ«mÃXD™ÌbX.oÑÚÊ)IŒß…Ūŷ-ð®íê] ‰’IÊíåÞ; ¨_GšîŸV„K)ƒ_¼~¡À‘65)ådSnëÎ{`e"š×uë³§'öði =—,À FƸr^m÷›Ð3PÃì ̸%КGN.ê}åirÎGõ~Žì“ÇeʾVŒ˜4 î©Å°$úêÉ€]x$ü|ÓÖ˜5\ǨǸ >ˆÛ´àì›úÓÆ§?HÛàˆê6PŽáv| ¼Sö©&$äN#e´ ß@®­îб‰:…X™âF€&›àfTñ¸ãIŠš$©=×AîjcÃñë¼0—4±ùl([”^LB{“¨%Ú«E,Û]ÀމMkŒŽYúúèrO|?.`ŸKgÁcPÆHã[Ò TQfÙÈÝàwÞ¨óJÕ„‹9§ ht朮'NïÙþØéŽ…Œ5$\™Zþ¿A6ì gUCÐ@Y× 4OˆÂ ŒO\ù ‚éÝ"mâ¿§T*k~Z%5SJ/ƒ“îØÝ4Uá!t~»Â ¬Ó% z–ÐsR(± U ÷vJÂP¨õÁ„«²­7_Qg*Ðç™2C÷Öa GÎɬ%È?’õ’ÑeÄ!¡%8wV$íâk…•<‹,éýe)ü K š¤A(ãÚ¶FvÀ!fZ'\b¦:±Ã $üðšÇús|îIýi$ÿ^Ã!x¯˜ÃS”ßZ›‘üF@ßy×Ô‡=úWƬ~µMõmUveÑù '2&^îín À“@ÛÝy9™¨™ GÝb”d?;ÁTó܉üYâi0ИAÈL…n»PRšù¨¸½‰Vb±ÉŸÅbûýÔ€oà_΄CjéØŸ‰¤@¢Ù)”¸¦9vô—†ÓpÜLàì¨'pw‰9ˆRÓ”¾Tr×ð褮Jµ(“ǵ߹KQÏp‹4šÁÞ ™c9ß ALfÄCÿÐbNL¦. 23âôT4„ EcüµÌ:*‹%oy;1×%ˆˆ›^„EiJîÈ˹}—Æ9xm žÂ ã?0$ƒIgáŒ÷zg4C]~ë3à :õ@ÜÿºÆïrãOInôÕxX=ÿï¼ìŠó^zô¦»:Ëú&ÑŸòæêêÃÕô”Û¦ÞN7s“Ýéj¾¯7›Úo¯˜«rÃì~;kBv4õíãèÉmÞ|öÔ4öÚ_Ú\gúw$W¶$MüÖÑÆ•Äh¨§T£ƒé4‚eÓÔŸl, w97}JÈo§×O‘ŠžÔ©±}ž¾*ã¢Þí€?îs¤‰ YWOmŠíÒLÀ§ß<ûùÝ«Ë÷~Ê?'!ÞkT»v#Áïã~•sÆA»C:ÕMÅ.jô æ!£âÉ7iû³pÈNÂaÒëDx˜ÀÐä"÷ z‹uY ¡ƒ ÷ûŒ"&“`vvÕ¾ÞÌ(ß%L; nÝ£}„B‡‰£¯?Q1I:‘`>B –f«û)Ó×m[}Ú„Gfù‘¢ÆU±ìÆÑ*uï°Eóq&žqC¢$-½t±2;žº1j¬sN2¥Î¿ð_z¥ÏðCç0*Ï M_à(ºïÿµÆ€KW~Ri 1Ô¤’5h|î}a”é¦e½ó`w$•sl À Á]£Y$ãYä|¢Ô¨}~|@ Ïòn¦Í8Ÿƒ—Éé;ÀMˆÆñá°“qF´lf ¯Dmr¢†\BõfAofTžl6í¬pp}þ˜NHIȤï´ËRe®¾Ç6!&F}DëG1Š%†ËC3‘:¸ð‘Åm–> stream xœµ\[ÛF–Þçž`ƒöiÀb³.¼T°XlìLœlOÆicfaçMQ-Ž%RáÅ==¿~O±îª£îvŒ @: (ò\¾ó[)¿­Ò„¬Rùþ[.~»ømÅ N¾\Yó¤\D$¥ü“Ñ$/å]/®..¯Þ¬¦an..ÿ¾"—?ɽøù%ü¹úaõ¹ZýM> ¾¾<‡Ñ¼\U$\þá"I¿ìQd‘Ôü©«×—ïJï%atu½½PjUQ®ò’'Y¾º>\<«Çû®¦ß^ÿó‚” ÏÒî¹Þ\<# Í—«,!eÊõÕµ¼”%Ld©Ð—êýå +‰QôÕáæ§XýÿÞMÓñ»ËË»»»dßv7í”Ôýá‘D‘ AËô²?ÞíínZ “'Ìê÷ñÙËßj óÜjHÓ”cÖHÓÌ\¥V—ûv º-†¢,)¹uÇßûý¼Ö_ø_óI5)¹Iš%y!ŒÜ×»vŒ¿úÛ¡:h'ÓÔ:YÝ\$‚¤”èkÛ¡iâGŒývº«†F‹\P+òÜm~@Gáì4횀´Ã[©ßÆb¸ï{V~õö}üÐW?¿N”-2¸™d«5!2¨ågïÇê¶ù.ÆV7Ya¯XN’_ãû?¬_Æ/®ûnÛÞ®»êÐücðãÇE¨¬LRæ€õaýCü M5U7ÕØ¬7í žT$)É3ûò·ñwvý8Ù7ý°>Æ–;öÃôklùÄXŽ% | ‘©`ØN»Ûv ãX´ðìøR8¡<- £ðzûöÃZ©Iä[ƒÇ+y€h³¶ÿ~ƒ0ÊÇgCSÏÃØ~nT8=äÔÒîí¦1%„âÆ]SŠM3õ±à›m.x*]ªe™¦LéY­ž/q9äíHÌTϪû›&V»Â,ˆê×Ó}ü®@íÌzvÆ4Þ {v8“² qvx„xP*‡)éŒ%Z„=ö-dµMßm÷åJC1«3ò.§Ø'wœñc?Ô ‚+”¢ñØRâJI©——ãe8Œýþ3ÂÏ’¥öm=©0Qúä6a¬OWèM5|Â%Ǽ‚YZó\œ÷*$Y¿(zb¥¥§_ÚÃQ›+`éC¿QdO¥ŠŒ/Z¡rÁú_OÆ«l‰:;árÌwsw†VÆXH”ƒªý>æì[ ·îëa^bIU8P½‰ŒÇÍ¡Ÿʼ2ꬂ£ d…~žðÀŒ­xšàSšçVE˜²qà>CÎ:~Ä)ÅÝM| 5WŸfxݽ¡%BŒl‡/Aÿcx‘É :ŸÌ¦ï­OCÏ}|6 U7nu5-òÓW? IXf86àG$³àY³f’zßTƒ%&ÀGfÁ¶þ)†Çk`uäÁ:ŽM·i»Û¸äõaã›bèHÕ;UÓlbØK#&7É´¶¶[¿þ*‘¥7Ö€¿miž  ‡+`šìß|•€O@‘_ký.ÓR3½-á׿ĸ9ÜËÒ7ö‹D©ùDÖÐ.Áàj"&§9fr/üÖà$“b\o Ùs‚ì¶¶À;n’ÛŽûXµƒaæ èÂËÒ>ç,É„uìuƒiŒKÀzÃ=H¥Ã%`=¬CÄ(/KîÐ>Mv ÁhíòJ.€à/SŒ³e¡âœýtÕ¿¨£bì·SñøùkcákÍóèhHõœý0(E®Ñ^$ôwë~Þ­²ôÌíUÜ}§j€ðê£pñxÃÆy{ÆW½h_Z,Œ‡kCåÔç{ÄÀëëç1ݨ"î$ccGç8s×n[Õ_…•à¦Ýn5våDMP‡ÝkìA²bGrÇú'Dêõkì⛇J;/ª°424Óë²”"!ç·qµ‚vZX¤µ]3mbÁÆfø¬©! iE%HÁ“´pMJk…pqöd! Tè6ëjßwŠ…ƒ v ÊI«D)ôEéÉℱøã…‰½þñ™~Hººïº¦FúCI¦¿Õކ\Äݤqýq2´¦Ÿ‘çL»‚—i'³o r·kë]ü˜MÁ³ëž¿ÇDÖ¦ò„ÈL®ã®Újßþ[#2œ´Ýý|DÞ€OMÀ'Ú(¡œûj¸E¶Ÿø4GnÍ”„)‰7eùGŒ»ï÷c?]¬ÊãsµãTñÅ+×ðVœè7½6i˜@f šºõõ"¬¥%72oTü+kº?O±¨gÆýXù=¤VÄÈê/ð% yd“á™Æï<ÓøÏýRÓäP—áüåUìžWÄäùò‡ª?ìy’˜ŒÍ¨°­Ü_ÑéÒŒ1>2:0øÐ]TYö—ªÖ†ÎRÌ!þçXéò\ýû‹´8SJ㊜Ù+}„vÕ¤Ò°,|lõÝÁ¹V”&DðÀ¯?"¡y×Ü!õ™Û$„t=Ž幸?ß¶¢©l‹2Øî«ÛØLc3¹ó>Ô[L±Ö?{ã@7åê8U¾°6ñµ´j67³‚6ÕÌÓQw';L[ãž?¸ãkHCˆ[‡Ê½* ú’…­‚{~jîcʱÛjÂÝÁs=ÍúS 21±æE’§©K./Ït/xå84[à ÁkÑL‚\«:¯ ržLbj¼l¦úRiŸ˜n•óDP"ÁÆìœÁT,Ð î!èÛN’‘ü$†¤Çl ¡šµ Y98*]Â5_"+ñÑaŸR[g¼57C©Àl3í*S!y­ˆ-h%; „ešôxPù`Ô*2qjÈ&uÇQÔWr„ØÚV½ðIݫ͠sŸZ»8XSIZf@Ë“3fvóª`–³Ôà_»/:TŸ,jSæC4dáQgBÐ ò!ì´U)Øœ 2УŽáYb0÷§Äj1×S¿6}ÔÄi¨'Šœ¨àà–x·Isyß\ÆbS#O)|ŽlŒ—²Ò–ts×i;¥JK&ü]t#*N!‹Ô% ½:9}+8±dìQ’«ýÄÒ­—˜$r]á-b·Ú6 ºÀÿ÷Ê~· J|Î ÆÁ sî$²]±$\NÑÀì²Ðó+æÓ·ë9¸ÛL©&²Š‹xçð$_ä@È'•0(•Ü f©³Á l€_Ýèm°<‰f€ KÜU8¦«ûý|èÔ.², "2¡î5F"ÉÙ¡0´‡ÈléW8C*ÊÜlYúþ¨Jå; ! è# š2"sI%6à—NA³3á…;^ò§fhººùsYɹyî?plþñ¡¦Ò‹="(|— ôEÍ’`Ÿ"ËÄ©%=‚FEr‹vU¹³¦4œiHX•ÔËð„é~g( „¡¼æô!?æò—nñùÃRX} Gªj'»mÖxû‹-gíPÏydŒçÔ±¼Í ƒzÌÜþÏyÔe h”§-â2<°ãÈäy€H)Œž…Eæ•ÍÄ™o^†› =™7¡¬y=çJÚ´‚=fM(ôbkÊþÜÖ<ÖœP ó3æ„")CÍ™f }!&2OåO¦…o:~Ît,ÎAù ê…'ƒ0$ÁƒÏ4¢@!yþ„FT—#ŒŸt±^ÍöNžÊ/‘J9ÞÉX©ÅŸ™—°ÒÖç[Ö´`¶—0-+8 Ìâý¶ÈÍ ŒmºûJç;Zóþ{÷Ãẹk¿Q— ,¼AûŸÌDž6›aâN½ÔÎHU*s=Nct/ó`ŸTÊöÌ‚ûá°-œ.†ºtw ªEQ>J{ć.P+1Ië’´ ²dù©z8uyÑkñò¢t¥É8 Õñ¨ÝP€p̦z»„QR›ôÆfÒûªx“A×´”ïò´÷Ã19R‡¢¤²D°'UìB”J…­VÍI~!\iY)°rf ò®­Í˜S—{U 4·£¦ÞlŸˆˆ~æ'Û²@׫KÊR›WšÇáv1ï U§¡!4SÙɦAßy:6†Š@.CT–Å Y&\Nõ-m7NÀ¿î$\&øÑ“’–C¸]“ À\f‡X< ú.Q–FÇ®1ò3‡qä»ýði4ç@Da'W¦FÂÅþß,fsš(ûS0dRîehƒl¬"‡¶7³haìâªsùÐŽëüì5XÁùy¡+s\—9[é#Ô@[, W†²k¦¹ýß5¨C¶¬È‰m †æ¸okó[OR.yI‡"œ¹™ LìøpÝ™!Qò`1´D´ñq0ã @ta[‰æ?ëV“³ˆUGEÉ\UŽg18—ļ÷êÅÔ› Ã¯Iï³Ô¼ßÎ Ft¿¢Fm4Xé?.ìXÄrpÖÜbhr7}h6nÆñÔMµ\SÌÝ’¡VÖ!‚¹ª¯ênõOצÔV]½ùÝ0q(Ó.Ì„sáÐÜÎÀ(3ÀsÞonª±õŽ-Ëþ=kendstream endobj 78 0 obj 4677 endobj 84 0 obj <> stream xœµ\KÜ8’Þs­±¿¡n뜲HŠu´=³=º½v v¾¨2U•Ù²”iwͯß2¤”LUö4 L d¥DÆã‹/Ô×Û²·%þG—»›¯7_o…»þ,w·ïïnÞ~’ö¶)#Mu{÷pã n­€k·ui ø÷»ÝÍë»u÷Ãݯ7¢)ŒÑ5Üs·ºyýÔî·ÝÿAÙ¢¦¡Xw½»]–…5BÒÕ̀ךBéªw×í‘î¬+ü}ÝíÝU]¨RÓÅg¼¢‹R•2<ñpr‹REY—]Žmï {“éÞ$Ü&dxŇáy¿¤Ûô­)šZY·©²0Rè[Uw£¤›FrZÀüßþ¡xÕ…4VÑK^õCÜ«>nv^:²¨mm‚tÜ¢„½ð«îØ-NlJÔ–þ¡ÅK¶P‚.mþº¥ Â8<¸k¢P¶ "ßwß·N–ÒFëðþeßµÇnåÞR.obÛ¹,d© UØ´ô‹Ø¯XÉ «/8µ*ÃÚ=íL Ö’ß”EU—aSÇiSW&<.hIØ¢Q6ìuÝö›:!*S(Åk-ìÞ¸E²,Ûã¯'Òƒ(¤´gï3†ß÷ŠöÓl¤‡Ó‘ÚÆý‹22_Qh+L\Å3)¸6Øoë}B˜B«&ÜÚnAì«g’zt•=éÍ€â&¢€§ê(Šï›ãš®Â.’5ŠŠ­ñÉ;P­DÐuýP¸½ £ 4ÑÈCyý’Ï¿ý:OýH°© °ÅÇœ€jËÊ><7·#«&¬}Ç ×e¸¶Ú¼òæ&k46;Ù-¬ä Ýg6´v®!*p8.~ÛzÒR£ŒùÆtw&†}e±|ywÃÁhK€X‚w? ,|Ø“çÁK$ûÇé‰î”µ \/1HQMôz¶h‹vž÷°Ùv¹ešVeÉÈÛÞûÛ¤\l‚üï½­Ð+Q1ȃ놷Ý…ß¡–\Y0|4zä>°I2SGX‡þ¦¨…d·<önÆ^ö(ló‚„j@u–ÐjÓŸ³"j «Ø ˆœ{@P†Õ|>Év.G§ÑmKC[Ô%Ûç°Ù=yÃX€"ŠÊoE§áÒv”­Ãï— ’ÐPW¢bëýØ“†…dÅ¿ÍmÖ£KÞ÷äª"oö›ã¦ÝúeÂkUé¨aR$ˆÏħMŒÃð8BΆa (wu®lpœö¾õR«$SF@ 8âdqr¹…pÑõ„Wµb\ßgÜ`E~€O`…01`u/ó—Ñ’~£·8ŒEUxqÑîÁCx0/ f8õ4*cX¼¦ÎƒÄú0øØ h¡‰¼Àý® ^ZŒ‚…¶o¯ 4Ž5½hSÊ\ 4mb i#O©:Ffßn=”Ã{…ª3AÆÿ´TJ傟®Ùëip΄Цä`½¸Ëî¬BPdC͸d»Z%ÀZyI—¢Œ¨çؤ_g²5*âá¿cß/½-WM¡%ÓnfIedIùÇoúÀ@­d>øìÁhž8=É:T²'†§´ŒE t Ûáêa» ®&Ê”ù‘_[­›ÉtS…·o»‡PEÔoöàÕ_7‚+T9ÖÓôèÈȃ`‰õ¹9Ë`úÎP2›Úù°†¨ÆÉߨ²‰•¥öÊE®Å4â[è‘«-ûW§¾ Y•~Pê—‚¼{2¾æzì—×]ñ¼2ã&Ö’äBÇXK¹µ ÀLîc©%Æ¥žY¤¬€©Oã0ÏØÐˆ0a±ïº¾'7bS*~D¦5ô¼;øûàb¦ñÚåFuerÕ,’ƪÞDöT±ìAl_~(ȺuìÊ}:탋OAK(–Ë$k°Ÿ²`j®bQxR$à¡@ÁmRÿ}"\V GÍá´ î`¸ä¸öÁ=EààÄë««ëå´º>* \®é&Iÿl"…©é >gÏ}îPkYTc˜®ÏaúçÓö¸yòY’Fø rüXÄE`«±ÅZ§üù°ë°ë~ E¡¤ž$gàïÜ”]o×TIël8ùmï‡cß.É+ø‘æ>n÷0^J.Ðu[Ò·Ü{²WÀ.XLZ ¶Nƒ¢üÈݾ…@‹Y^9©mŠïèQ ==mLæ*`ê$ˆ “ÇþpzèéFLF\"ÉÁdßu«nE ‡Eøˆîñ_ŒÒ\¢Ì ÅgÔcD[‚© $Tð#^ÕÑk OOWZÖÕ = Ãæž«EF«³‚®Œ~HÍ×!áeîü2k5á·‰Aƒ©7•aB‹^°öe,˜&Àîb›³îþ87ûÂÕXd²± Cî8|ùìVn²›UÈýJÉOºÛ“x¦0øSR0¸”°ö<£Ä†d©“Ò÷÷ã“úJãlD“ !ukƒi óåœ<‡Púª"Pf}%CWÜo"Í¥À/’áŒÓ~óõÔ±bÊ2jfß†¶ ëB" È{ g1¬Bí$1,hRp%ˆì¢Š`;=¦í)u¸U.Ðy[²±üø¶;.߯€÷×»Ûÿ¹ùz«Œq|hv+ð0coe©-þ]înÞ¼yûñçÛcênÞþï­¸yû7üŸ÷¿|€?ÿrûo7ýèž”ŸT×ÉL* ,,ƒ5ãlFåF•vϸ“ÜFܬsbùð˜C} èf¸[ügušIÕq,;u§K2cŠ L–Z‰/ÊÜU?‚½ýÖöo·›{’95pÇò°`(2òF vA YõHUYœí¾Ñàbþ¿Ô#R…ï)0jÿý¬î³ÔI§µ"Á™6rþwËå¡_A` m„1]d­.«ài/Ô}Í<]qѦ‰”e_jåK}E|`Røk·Tòd°jéyìˆd9ûÉŒ‡è¤È÷!g?@q€ïË©¦Æ»ÆvPÚJK‚°ÌZ¹ô‹Û»ïOa.©myF”^óœ‡Õ®ö¡Ûa#1’Þ?Ç'jŠ»"oÔ|ü¦yU$ë‰a_ºþ[H ¹A•†Qp6ùU‰¯fÒÉÚr(Ö‡Ó6Eõb · D(#‚€Ï$\!Ø·ÆÚäÙ~“lyꉽc4«ÙZˆ½—‰|ï>üBŽTÅòìnß-“™hn1 ­Œôµ4ëjØ`‡$«ø Cð Oþ…¹<›R×Ãví~™EÌäÀû°âU´å! µ5÷w¡1¥ kx|”Éû™Ã`hds|îåËm¾mÔæËM6s-Ê\- Äš ,ˆ’07FÃ)T(ƒ1–† !Ãa˜¤¥dˆ]âK,=&ã{\ÍW±]Ÿé$>tßùmœŽ®Ïøûi¿ê»•Ïp–'Ö:†çáHãà ?cõ%_Áyä”¶E4w»CïT:ᮞb¹ÁHs¦|ä´¥#=ÛœEx¦¨ì 5BËófFQ ÙC0OÍ¥“P-W]!@Üh\&ï²ì˜Çf¼/È8$¬ÅHí ÁÄ «2‚$F†.Š»•mª­Þ 65§‡¾{4ŒN]ЊˆUdnÍ&!z؆žæ¶Öwº"¹Œ±nûÕwR\S׉´ ’a)Øô>S,(qA‘îÑ4|Ør®-4ÂÈ3MœZo!“|¼cµ–mš I¥Bjœ¢4ã.'ÌÇ€ã GòíJ€ÑÙðÜåu©§¶ ® ‹±IÍgxټð.–éÙÛ“I–*çÞ7tÇP…ÂG3¾372«Î$f31 ŒctxÌ4éÚÝá´§ Õ°/ûh¤µ6g“L•›ÔÆ“B ì¸ ƒE·ªN'²:2fp¬dD†Šæ®–À‹K›è ˜¬ŒÍÔO9¨n¸ž4öÛ§§ífɘ·µpC)<æ²k;.•LNãÌà$ŠN‹Ìb„ÛYÈ‚P?ÎY<üÚ«©\xy¨tÃušÌáà`‹ÐîÊ#¤VUÃö²§´Y/¬dïÍ÷$Tj}® Õ(­Î¬3ð1ÇsXØX¬»„M¶ðëïô=œ\8ÑHcåÿ°{jûÍ@Õ&mÑrÏò4 A•µw8RUØ9º4Ñѯ«¥B.k©>º7n[m>öÊ8.?'ì‘¥2?;0wW˜ö4É1 ëÔå´€2Î †å!ÁXÔ‘Žq:U1l+©šØ v7Î>ó»žÚ'’…Š»¾ U™H ?[HÈC!B9¼Ä`®bë+9e¤ª3º†Ä$!øz"ƒÆÁ%æò¿Q¬MJÞ'C¾¦‰#€—çõ\°âìÏ!zGtPëÙ£4}˜l7’Sý‡þ°c°u:ݲ¹à™%6«Ó’‹Ð5¶CÂSå‚rüT󾚌çÙDW‰8 J}–àYœ¶»&)­õBUzÔD_ÆíD?öTÕÃQi1ÉãTjgÙÓeŒ‰§|´¬S‡ø°î–!<*©ý-´ŸðW™l%9fæèl<&pèZ²·~yí…2i/¡Ó±—–l“š Co6‹fÏÌaPpà]ÝVÇbEŽšýF"NÞ‰'_žÔc:èòòV© ãvî˜5Ïg¦ç ·¡Ï\®Ýf$ù›Ç·&™uÅ)‡7„™]t‚Ý(çÞï¥uæfOCŽãÖ¼úìYà@þJœl݇ù4 AI­ SÜìÊ4S'+s§n›T ÓˆFx$q0§´³Ë-H2Iÿ5D‹H„ú"R˜+ª@¼†©ÐäÓs}# —vΈ²‚ šDEOÞ!Sf—Êy3M4ãÜ$§0îøpõrA+F¨*Í3?uîiFƒÇ§y6t®ï‡T0ž–šLì™Ø‘Å´Œâ'J3¶²p°€)¤N“óçnº³ˆ\a‘C¬Ë8“=ÃÙ± OÎò9°¹š¡rÕX Aícˆ9ã^7v¤c¯›çñU4ÖÜy•€ÛxH³T91UÑz/k Þ”w}²È‰~¸> Ö¤ƒ©ØíI}^Ưß±EèT”‘H>2¹¾Š8ƒ)<Ëp-L‰³Ïc¸b+[ú×»Ä<Ũó‹³X„­˜°ˆò…`± ľbA“ËóÀ‰ÿ뇶µz¡øTë›œÍøù²°VÍÚÍ}¾$“©|ÅÕßÒÃKa¤®'M´?êFé0gþ¤.¶ ¸x@yÖüÀ’ç+lég]ƶÜ\ÅFômÄx92€C÷cØfƲ ðcÚÐÌ`¬jʽ(ËSV–nV‹9w~°:b´Äî€=Û~’_3"UeDþ³6"æ×*K”t­’ì¡; •ž;áSîH~õgôwÎàøéÏ$ëbt\r¶­Q™cš`è³cš™9{ì Œ"៵W &àDrœ?TbäGHDäÙùk÷q+ÎDY©ëmÁU ê˜ñeH&Ïι¶n$tËä#'I™îðˆÇÀÃW•l•Žï†baeæ?É0:ŸYÆ—†K?ºÉË6 ;Ñ5’/5̽+´Öé@d2‡¾8+úÎ4ëžÙ:Ð@…>?ÄHJ>*­ÚfŽ#ÇS­I ÂÐ<Þð2f~ebüh&¤Ùj.›¤0Œ³ùŒŠÃiGÌp¹nFÌõÏŸͰð§ë­l0òQn-©8¸5×DVœèĹbbÝ;èêx$ý›ÿ±|6~ÜãÄ-Ç:~˜ˆ5(JÖ !!Ê-΂ªÚ0Šlè„ì&Ì;MçJ r@Ês÷ÓÍëú‡ÿœL“|î–§ÞObãÜqÍr{&é‚„—ÿ÷áÈ£ “‰þº¨„bÚ“kæþüS΂ÅÛí—ýóSøV ðGÜáù<°Ÿ9““sjøÁË®?n^-Žš”Ù¦_ñHøj̹F{£òGèc¿ge®„¾ ¬¯ÈùëØ’µÏ«Ôûð—R'í†ÐS’æšÃµx_îkC€sÑäÈ<©ŸAÔl5'ÛÜ[KWÓ‹ÑœÇi> stream xœ¥ZK“ÛÆ¾oùGì-R•;ÌË7YN**ËvYZ§R%ù€%AIP(ysÈoOÏ£{˕頪ÑÓ¯ûëî™O׬à×ÌÿMÿ.vWŸ®>]ó°†ÿ,v×?Ü]ݾöÚN ]^ß­®âøµå°vm˜.àÿïvWÏ^n·ÏïþuÅM! /aÏÝòêÙ¿¼ó‹¢,¬<-î«]ÝûeÉ‹’—–}½ ›e¡áiµÙ‡¯Š¢4w›Ú/‚hb"š-8³2mzÕ?ìi›ºÖ…3Ò*¿M²B))¯á˜°Q¤M5ma4cüúw-ÚýwëcWÝøÝ7ܘë.¢4Md¬`B™tüwÛ #W ¸@™>dÑK=>~«…Dý6m?Ì –1‚á®®^´Ý²ÿð<˜ÒF‘îý¦=n—ÉÄLK›Öïý’‚NàRÇ’K©èÃ}»ýŒ~c%ªTÝG@Xi%ºøsS“€‚:›e^S® ­IÐÛzXÜzuû9}UY8KÆËñqqhÃói”s}¬ºˆ$SX®QúuÕì£]¥µŽˆQY¨¼Øüš+Ê%Ú¥Öl‚Šié»ý:ÂY@˜/¬C(¸7 ºíc_Ä_ø‚ÕÒDAêCŠ S–¨`½_6ñ )Àìtp ‹²`’•Ó°€ßKKÞ6Qg°»ã ÕkWd6ç²}ûä^^u2I ÐK–„ƒ]µ¯Ö1‚KQFÜ£Ù®<ÌEïmŒqc^ŠáÒ^Žà²(ËI¿ˆHW ¶ &ЊΑc±`XëȲÝqYw)ž”¤”ÕÎü¾ÝG/¸B2 ¼doÈbÚd1ÈZB»Ûc?¤£d!%ÁwÎ “ZF‡…ÐãšSè-’^ÖûE¨¶}‹iŠSzÝÅÏöcÙ¬(¡™Sq!¿çøa¶"fŽûd­S ˆiÿb††s/º×@LM²sò„É]»Mv°‚ w‚Í\¡™:MWÓàia5("€æT©gœ.u_ã¤ðaCÎØ/H `ÞŠþ Ñ(Á®Yo(ÖÈÉ¥TD7#ï¡'}ÊK¿ ê7É>ïóqÀ-ê¾O‚•$ɸ²ànœlv!‘ 邲ÛßQ!$êðÅ/{¦Ï1½–Z¢íêîE:øá$@''_PÇ*-F‚ñôjÉKCZdBE€¡ 3TÒ79 õeÒ’‰ìpIØ™²°ã3é|p|•(T¨B+а¹ä½¨ Ðš NHm\ .§.…¹ÌAL¦0B1€%ùaS/RÐrRäcŸðc!ÞN³¬03ÆÑ9yBET7Ÿ; q§Ð}³ÄÚE12{³Š0TÎRñU¥:vrÜñøR‹¢.«!¹RC ª%ãÒáâ¯?% •…âW _Å¡ÌPoå:lÀXâŒj›¬7/3i¤Ú+Q ÐdJeÄ¥ŠÊ9Ï×¹âø[ć–Êl»¤½b”„úcW¿HšZM1“â@Ì|-{ŠqpÎä,[ARHw—`œBð„»¨<•0§F ú˜ w“‡ÄàÄA]{ŒÙZ‚wà7䉊(ÊáõâØ5!¿ÙiÅñ?iL`~ù¶€ÔTRH|ÙÔûY‚\0Týb³§: —Ù5* &á¼S ÉQñœ©…±D!sXFñ`gÉ-Ÿ"ü¬¹› þbé Ý¥!´çÝ£Áëõ³r•kœ”£éÉjÕp@yT,€s+ok÷Û‡®$¬úcúÄuÒH15\(ßs'8@©‘Ú!È.ši´óþgŠI¡Æäa&Ô:, zãÐØ5}V ²”ÐhòeùðìØ,_ !ŠÆu³LÏÍH*†@p›‹!ìö ÁKêöfYºþð¼À“4%——±FâNÐ0âÕ›E‚¦ Wß4™^ÆÜñO*…#h×bÕßÂ?r”VPYJ¾®¹?&V(•o5ÜTGPÜ•ôƒLæ°7“9|º¾ÔJù.‘ÒƒGãCŸFì5å’¡ÞÑ!æ¢G'žƒ¤n)Ña— Õµuƒ¢†®ìŠ5JÎð+ûD#rõCwì7i7|%×žÕźHŽey¸"ƒ;âþLôʪÁ0œïkl~KQÞŽC»ƒx_Õ‡A$CÑ„ÂÜ dçèë™wµ§ ($3FS²d@#”,]1%žÊêA ±Lð½}ËÝ5÷¼í©ï_…Owo®žÙçñ j÷Ú=¨ÊhlI»G)Ótå4di@ @ýÿÍõ䀶o¼ô‰'í.%8 Õ0;·+WbœõÝ’ØbÓµûæß”¼¤G«H:.p“[1Ë=ó»vW'¯3AÑÐ"ü;ëÛ'ƒ¬GByÕÕ¨µ²ŒPÙ®†d°z¡*ALƒLÊéëLæ`_en|ÎÈ=ï¬}ú”ü.Ëñ}„4×~p¥”ˆe~Y0Öº‘Æsƒß ©=D8±£;ÂÚ´QÀ}Ð1FL7¿1NV{oþHÙ\oöQ!sÆ«bêW*Ïéæ5M¾-%Cநü•ú«ªG4—š¤iöÔ»˜)¤óV TQaÁubÙi2Czèª}¿ª»HKà&È*Ás 1+¥îÎÂÍ''=6 ŽÃŸoŠ „ûD¥€‡þÈ’5Òš=›ÒO'*óƒ`<¬r‰±¸à~ <ÔPÝí,Qé¡:¤H‘Œë®Èðåb8bâ?Í’À¶HÑ2—o¸¯Ÿbçs$¸Ú¹)Ó6J•`aÔòØã4kËS¾±…ÉW ä¹QLÉíº…Îc³KœÎ5õ+bc¦Õ ¡Ý9 ‹ô—ðe’]qj`û@Qi˜ &¬kå–©ÏNÍTy:‚Qžë£øDî¾Ü% ŒQë#Ð:~µ} @WR^ÛT)˜F“œÏ±^bh`ÜlúáNîÍçZÒzO.Ã(üR’PnrI•gíáìd'h‡Ý©¥w¾.˜ÌÌN—G@Dܘ"ã‹c"Û¥¥ @æ9g8‘Û¦˜ÜÒB}Ç'Óî¯_tÍaÀFê„Cx˜NêÀ!P•Gçòû¾é[ìzŸ$‘¼[BM`¨é|o‘EF£6JªÌ̦¯(0«™IÝ4ôÀš%ù¹ovͶÂÊÙÈ<ɃÒËÃtŸ&LÉó>0ÄÈÒ_yÙÂ}£`¼˜è˜,Ÿ¼h‘)Ï.Z<.M•ùéô•L¡Õ·`¯!õ^¥ž2xŒ½Â6ïzêjçF;7xŸ =ŠÑŽz—zÔ׎î-‡T{H}ñëÓ‡øåU5ðQ”iqÄq¿Õ4î'|©½aPüòô¬îªEªôý•Pn²SZâJÊñHg’.½sŒë0§t=7‡O÷#>”šN“džl®»ê°ñ­TÀ>TÊåJ%±€òY^VqU-êt•íI8ß{áp€{¦@5〠$3J¡ÉdU·®‡ïh-ƒ¦6Gy€çì ˆ÷­@:ÓPþ`Ùtõb€àO=?”jò$'1$å…%+ÍÝŽÔxkq±žÛV‡DláôÉ<%6›åôN:º[¹ü•ùah?n  €Ir±6J¬þ¾–‚‘ì/sazèêaHîÌà‘©°ù²dÇ&ÁÞ¿{(iàS'rçg“r ÓÅi˜¨‘tïú¡ÞÍ>ÔÓ‚ïœï,m˜Z Ú÷¨4€ËBÀvëRßp{Ûg! \`eÎ|ÇE2¨ÎywQe3Vx¿´‹kïŽ÷©â‘ù5Ò\øˆøïÝLI‘n#m‹éÞÕBÔòSæ>»ä€bØIÊΣGRîlº>Áÿ¥n¯Æüfø£wHþmÈd Ž"n-»D•u¢ÀS¹ÉÈ~åöiXb…ƘP!úÍÕ,8…%¯ÿË<6¦Æ¾i¶ mxžmæÊâ—XMž¥„.äæ ˜˜à¤ž7¹0ÜÕÀŸñ‰731¾Ƕͷ_ïó?#%Y>Ar@ž»“1Z$>ÿìjT74Ù¥‡MÓï>¤ªˆY}âtýqlš™íu鱕/(ó{ž¾Á wøû"Šo¡ìQS¼†®Ô–y<±lú„Z¨ËÑ}ÙeÔÚ<«z,.7ó`Ƀp–á»Ì¯”JÙÖøÛ 2GÌ~‹OìTnkgj–˯2KB¯\LžÔtã²{úÜëÓ1¹:<·!îÚµbÚæ‚ ý‘⇛õ($“õõh°±‰ö÷ctAW¸‡-¾ñ-Þ“cˆóQªVOÍRgGû7¸íFʰѡlyÄÿ¶^Až_Ôó„‹›Gï{þGÚ:mõäø5Òå¡?`ãò³(ðÃÔ _ulb6µ›Ãpøþö¶íûbÛà@QqâÐûf(íîváå·Á”*D¦7¥A$¼H©#Ùß¼þå‡×w!â}•A½×ûUÛí2ßø¬¦&wªr ÕE ÿd”ÐìÛm»n0ÙADÅæG\TóË—/¨¦öH Õ _Óþö)<*ÈúÉý~|ûÃñø´ü5Ç/»P8h•@Ä–EÛ­ãá¦!?¥“Ë9Ë6÷£Ù"Nù˜Ûô»¢oÝ¢7¬ëb_ɯñt²š9ùÝoo ßÿÖs½âý§-ü2+zzšž9ímäfÝ`þúê§ó¢ÿÒ°w´’ükÅìâ«aè¹ò8tæáÇÇ£0£µÔAÿ™õƒšÒrÖÏÌé÷¿8±¯âÜ XTRν¯Š ;-èIɱ¨—Ç¢:Þ·'„'I£²dvF²Ü5~«ŸM_ÄçWÆ_­™<§Ø{anÿð_‚͇¦<Þé·éX`Ôq ¸98~s+pe4÷9ô©`íã§K(L4Mµýt14ë4G÷ÿõîú·+ÿ÷¿jcÎëendstream endobj 89 0 obj 3886 endobj 5 0 obj <> /Contents 6 0 R >> endobj 49 0 obj <> /Contents 50 0 R >> endobj 56 0 obj <> /Contents 57 0 R >> endobj 60 0 obj <> /Contents 61 0 R >> endobj 64 0 obj <> /Contents 65 0 R >> endobj 68 0 obj <> /Contents 69 0 R >> endobj 72 0 obj <> /Contents 73 0 R >> endobj 76 0 obj <> /Contents 77 0 R >> endobj 83 0 obj <> /Contents 84 0 R >> endobj 87 0 obj <> /Contents 88 0 R >> endobj 3 0 obj << /Type /Pages /Kids [ 5 0 R 49 0 R 56 0 R 60 0 R 64 0 R 68 0 R 72 0 R 76 0 R 83 0 R 87 0 R ] /Count 10 >> endobj 1 0 obj <> endobj 4 0 obj <> endobj 47 0 obj <> endobj 48 0 obj <> endobj 55 0 obj <> endobj 59 0 obj <> endobj 63 0 obj <> endobj 67 0 obj <> endobj 71 0 obj <> endobj 75 0 obj <> endobj 82 0 obj <> endobj 86 0 obj <> endobj 90 0 obj <> endobj 9 0 obj <> endobj 8 0 obj <>stream xœ­T}TSç¿—@î-(¢Çì@­7é©Z&Œ37†ëÑR¬‘Z]«­$„Ôð™IÄ H’ûä 1’Q u`­A8֮Ƕ÷á©;;µÝ:Û³i7÷^ú²¹[ö½ýµóþuïyÞçý}=IÄÇ$I..ܺ}çžÝéy…EYÙ±nÉ=Ç­T`ç—ÏÍ5% =FÝ_†J—¢Ü%(3…ä–‚½y*µQ[~@©“¬É[+ÉÊÉÉ–äV+´årY¤P¦S*ªe:þ£J²K%/W茒ܪ*IQìF­¤HQ«ÐT”=|4OU­ÖëZI¡ªL¡­!"ÅX#?¤ÊShk•ºr}]•Œ ö;ˆÍÄ>âEb±…ØEùÄnb±‡x‰($ž%–òdŠð’KÈròbÜqÞ8,(‰‹oˆŸNx4¡^˜!¬¤ÈäºÛ)ÉÈߺ‹KÜíéø‰€{Ýõ_·ûŽPVËà T@ƒÖPoXí*0C“­µÕ„IܛГÐx«Ü`O ÷:ú˜Uk“‚ÔP úØËÐÞê«Dkç©ûq¢fËvh­Óìutúá(}ÔÔ]§o1 –ÖFCõ9Æ ÂŸqè³ñÐ ,®Q1*¦~3õÞû7<ùûlþ_•ü»]%js…?¸$á$› {è ‘AJU¯Ùç>éúàùËÏZ‹—ã´ß~ûJ@T—‹u¶´°lƒE¬ÙPT'º`ã Zƒ¾ucrftÚPþº3cŒýQ€þÌ¥‹<àÝa#ƒ¯›pfBPèþ¼ë¢€FÉB<:ÿDÂìlˆAï ýhk‚QhÆ‚†—p2Ðx¹ïy-Øhrë1¬'ßpy¨B„–güž÷…ÌXÍC\öi:"ùéghƒ÷c©èŸÐjÇ­S0ç—"ã=§F'xÞÐö)^|¨‚2Ûõ>Õ«Rƒèäqï3õ‘¹ô ?ãj{säÜDAÖ~IJ¦¦${ïÛ;†7BÞ„3q:.Åe(?…žAëî ˆêW³¬Í¬ØŒ%«¿‹  ŸÄٳȇühÃûŸ£„[k±ø˜Øa[Ð]àþÝ}7Úü\ ¥È$r¹xÉ:é{»?ÆÂdz¿‰—àoÜI¿âÇî‡ÜGÀÖÂÚLFÿ|qùA Ò>õXÕÌÀ›´½[äF«~>x®Ãù;Žçy‘¥’‘¯36¨ëôj}vö“ŸºÝ¬ÕÍ€¾ES{¬©ÛvŸ¬ì)ßT‘«l³ˆbú?&ï<Ÿ¦“0ÇcyÊ3ÁxŒÇ½!s€û¾Ÿ„aÔ8,@os´;lb¬–æ&«¥òô~û!ÞR|çά{O_k[BFŸ)¬‡´¬vwæúªwo«ìf Í,['Æ«(£mo³Û=mL{Gw_{gzH3ô1¡>ÞàW(Ý2O±÷9?\¥#þÉ»j_]é`ì­m¬èpÿè!ÕÈ¿M[Ž<¿Âİ qÒßHÏÿÿÆ·€0A9=äGQÄ([#B’– B£Ð¶J™õ=]ÿ>MÇ#zæôô æŠqµEýª¬FÞók~[sý)<…¤´òo¦eró¢°ñ˜No0êôACoøX°—Áà" 5åùß~ ýÐg¡7ìE[û°˜R_éÂ[·rAô&·I´`û6*{ÿ³¹9-o]bÐ- /ŽisŽƒ]Nãb ¶‚4¢ò5ôkfáWpjÖ¢íB”äIàhn¿ F_R_Í•9Ä­ˆèü´€»ÉïÜž™3Žn;£ŽåøŠmÐÛQ#¿Q[lͶ–u¸?õItÁæ¶zÀ•9 ~ãêl2¨å+4 ‹ÕOØBÛ3q(u :×êãgƹPYËWjAåp0V9]Ö® ´ϧºœ|K7¸mÝ_ ÉÔ?àɶÃ.›Ò<àtº|ô‚ÐsI#U^7·Mô_cÑÏ›=öÏfǶUÕzfoòC}•F?äýžG^¼ C²Ñ×NI;Ë~º¨0ÿµ×mí¾^ω~C×!K+ËZÅ¡k—ƒC@_œ,É—ð6m6ïªÞ®4¾ zã'úèäÄÀ•0ã(9!:õßO‹¨Ôæ†R¸4Æìé­/,)~¹läüë¾èô sáø¤kÐA'׿6pØ‹T!–vP‘Äh“oT-z$йhQÔ·h1AüSøÑ× endstream endobj 91 0 obj 1744 endobj 24 0 obj <> endobj 23 0 obj <>stream xœ>Áþ VMUQGS+CMR7øøøpûŽúöù‚®÷­÷2÷/÷,FJYCopyright (C) 1997 American Mathematical Society. All Rights ReservedCMR7Computer Modern2vÿ€ëÀÿ9qÀ‹à÷ìõ诋õ÷ƒìø÷JiˆuP~ƒ…>‹}‹ûLôè®§ÇºÕÆÐÉ‹ê÷ !Õûû74/X¶†•£¨œ¯„®WªÒÏ¡º‹ï¿=:4MFkgû…û‚‚‹‰‹oø0wŸù?Ÿû¤š÷n•ûa–¯ Ú  7Ÿ §“ Ú› ?⊠endstream endobj 92 0 obj 329 endobj 21 0 obj <> endobj 20 0 obj <>stream xœM]lSuÆÿg;g¬²1(2†çL0ãc‹ÎId"9fƒ‘1¸Å1ÆztÃuíκjíh;Ú®;ç=ÝúaÙ°Ò­ìKD¾! /43†Ô ƒ7ê7ÞˆÑÿ)’yš(ñêÍû&Ïó{ž—B¹9ˆ¢¨âu5u” õB£PQÌ^9­”Ò6çh/&ÈÈ“åÌéU‹™•b\»ï.Ä•EÈ@Q5õï V›Sêú ÓÎo^æ+víªâ÷ZD©«£½‡¯o·wŠ–v»¾tóÖŽ.ÑîÜÁïíîæg}üa±O”¢ù_°`µØúí¢Ä×[Í¢ÔƒZåìéújA èm´½ƒòôĈFQªrSsæW(ç·EkVrĦCÒÌ) G´O´*Ó÷/M\ 1)Ú![ØÀªÚBŒD'å¨\0à󸽤Ôm$,nŠúã/IÌÛ¢{•ý²KWt¨–¬b Æç{ñ2º‘l¢O ö±½ ÞÍÁ<,ÉRŒ|Éá ôÿ£¤çðOsܤɦÓã2| 1Jy30 ?ót-m‡#‚îtA½JÀ$ÜRR²î$À½i?¡ãüà龘w"P2Ñ)N{žž†{i= C9&ЪJÙ€i8bçÈWYxC)*¥ySü¢Î´+šj: ±Á€"úXó»ŽdË· „”) ÛÈ6¬O\†7<úó×O!êöB`Páü/V6TÓLÊf±KxçÌÍ~>JÖMq!¿ˆ3á)nÍŠ¡xSQÿbfû"µØ¬!Óš©6ƒ¨7=úæÉÏ~½EÇ5“ÝäUÒFŽc}â\ýÞŒ âÏ€>òɃäó 9´„/áÛ¸ýêÿÿxì˜æB§Ôáq`ÎÂÈI-S®Wô%)¸‹£w Úúg•þvhhp ¯´Ž¦|muãg'Ç<Ü‚%üÍqß—§áଠژfsSMoÓèåãì±ËÃw”Y%æS‡qƒßÉ‘RÚ¾xDU““l8ŸÌ÷.Ù¿æ÷å}g¾*÷þU×Èk G¸35'\×`¹uýμî<Éÿp” ù!pæ¿Oõ'3{’¤q³gòW§ ØÕ¹U c~*b4¦ÏŸCèÃD˜þ endstream endobj 93 0 obj 875 endobj 18 0 obj <> endobj 17 0 obj <>stream xœW{T”U׿y@BÓ•Òg@SÉKŠšHf¦(bŠ¡¨  r“»ÈE¹ÌÌž¹È]î Â( 0( ¾ii™YúVj¹L³¯H{õÕýðÞ·ï ^jÕ·Ö÷­oÅÌœÙgŸßþíßþ–17cX–µYãæ±Êmõ4÷%ÞŽ³MŸØK¯°Ò83i¼lÉg3°Ç¢}Ü‹í#±îEÜ8g`d,ëºÊÇ%r§*:$(8ÖÎÁå5;Ggg'»ÅáÑ!Ûü"ìÜýbƒÃýbé?avž‘ÛBcU¯Û- ³[kúEŒÝÚÀ˜ÀèøÀ€'ǺD†ïŒ‹ Œ¶s ŒŽ`fÒbUĶȀÕ;—n÷ˆŠ ^â·nE|˜_¸ÿóœæ;;Ξ3—a&0›˜÷˜¥Œ³Œ™É¬a\™IÌrÆ‘ñdܘuÌ f³žy—™Ël`Þ`¦2^Œ;³„Y͸0£™1ÌXÆ–y™ÉŒb^bf2…ƒ1gRYÂ^4›fV.›+«7adþ¡…h¡’»ÈïrÜ}þ >Ír²e’åÇVVV¡V•ÃÆ;nmoýþ o¿Ðjãhc°y8†JÌ¿Œc`¯<¼¼ Ã¥IÊdØùÃOË …z­&WLNß“ñü¶fU}uKiWGPçÒYDHxqÒbåò¯!Ü®RÔá:ÔÒÏåhÒLÆ%½´ û†òÆn´—a#~(àÛr\ðãÍÈL¿IœƒÓŸÜDÞ¨ -t=†FÞ×¥~g‚óòàDf*ˆû¨<±vï|ª˜rÀ8Á‡sÐRÜ–‘*ÞßXWg(ïèñ:äóVˆ«ßn*29™ÿgÁøsΦV%››qöݫ͘r„…ó(÷† Gã»Âɨ3PJY$žþê󞈖ԊƲڜr½:‹*p _²«¾¾¤¢ªVÕì§ôWÅ‹þµÞ´¸âº·—…ðï Q$îRC(k¶W%ÅdºÇÂZÞã7\…o~wêê÷k£‹DŸÚ•0‡ªüVÈÒ)óRÛ òu¥…Å<ËæÂ¥'àÒ­[àºy3¸ÎUœ!>—Ÿ§x¯¡ôt¦íÂy(¥ìdOö1Tì³ð&}&“^ —œ©=Éb¶:-#KY¶=—v{8™ dô×”¥hÈ2dæ@ûžöhðãßžñÞ«Êú#ÅÌJ­.øxPÇ*Ç킌Ò<=”UŠõǃOÁA°=/¡íÉ(CÂA…ÿ‘ÜõV¾W'ùOnCÊr—EëE]J>_ûjÏ4Þ¤]•ùÉ›–†›ªö‹üúáÿKæ“-[S ñFl5`‹q¤‰Œmh?fT²T?R!n1|§øû¾#îâ Ås6>bã?Ÿ°[¹QÇq˜¼šS«£‡Ð™ëF—OHoð m5ðÿ(ºSR¾w_Ê.mFŠV‘µ1,>VBÆÅ½w3û2®Æ@I¥@,±…FA§}Îë´sÉS­:‡gÄE•ìu Å 2 25â«Fò*zúɵ>j~ÇuÒÄÙ߈ýâJ×™+bŸŸ·"<"ì=¸XCÇ ;?ÍÔÍRϯø*í Æ È„ŽMþa!M!Ç M"YJVÐépöMp‰Z†Cpa¨ Ü¥i&-M5pí,ÜÁ/ïÈ0OZ%8T«¿€¾Çp¶¿ÿ–/S%î‹mÅÓR¢g¢V†Z›¾GTnŠ®Úxl*Ø’‰‹ ëÖâ[²[Ñëu(óaìý¸"Mu|qJc$xóÊø·ˆù¢8Œ“÷ŠÚƒ°/á½<žÐK§+8 ×Õ}¸ùFŠIÀg}úèѹß!lâÉèãç>’V?Ÿ{ÞÜ¢-«¾“]wZÄŸ9âú{ã§sS.F<®½×¢îM9.þ}š›¨bÔJiù}/‹­8V6@׿§ÈHºE§¼Ùü›ø*ð׿'Ó”òkúp>‚¿Ã5Š™&}£_ç;3¾Ó$U5t’ 7šÓhxh`Œ€æFyf øÑ5‚è8CóÁ~b®äZô÷¡“®ûÐb gJÇdŲª$ÁÈRf#䕿äŸ7¹° æ.¬¡:+C Ú¬t“ ;@«lË __PÉ?cÔß3D™ðw…¿öÛeJ¸ü¼Ì&ܤڂþ 8×4ùdèoj]%ö w—|Lì=‰U–“_³ªápcU[EÆÁÄBÑPPKuŒÿ¬#ÐY±#³Éœ­D6 ù„K_½ßÙU©ØÊ_ÅyU>TWíÝŠU:(ƒž°g„NªÐMþ†? ÓôË~ÊsÙᡌŸšÃ­Oþd7©rÜ è%æ“}—‡&‰I7——®„iàåïÃÿÝ"{½÷|kuÜÂÿQFþ× ÜÍØ¥‡Xhr ô×N®¼¢¼¢¬²gÃé´vÓ0yôNÂñ3îñ¾»Býû}„£'{vÒïFµb ¬Ù®óñM…å°ýäîjþÉœJm¿Œ/â ïhQTÉöžÀHÃ^—Ê„#{è ª¥ŽñbGSEïqŠä~(JÕj +]Üœ´)ÍÖ‚O¡oy†^­WŸ é‰ ÒE».­ò€^w _,*iéº ü]˜ñ– L$÷¯*ù[ˆ¢¯¸½º%ªa{ø•ïÜoœp¾ÞG Íü[dü6Ÿ½¡JųÔN¡Õ!“µ0GÉp þG€ö}|èTugϱO(ZÔµÑÙI‘°“jˆm®7”wÛöÑò"Y¸”¸)ÅtûË×h‡vS¯a +aÞ6YrNX ѧ²ówàð8¼¯÷ì=X0ÅL|ê·S«¤´¢¸Ð㩯7H? ¨g¤"$ÏòÚþT}tަPs€÷“ï @››Þûóò‚Üo)õx\!§Û>%)ÌÃð{aïÖùu%Åyybqb]€3JÐüüÕçånÓë^Ãs×LÃÖ\ø þL+|Í?˜ÙEXb»tÑÔõ ï] ‰ÅÆ]®àEŸ ÷=q,:ܺ†<²ot{‰Û!¡0²†fyí±¾ææÉ-+üUʵ;Dbù†Ð¤úJyXeØeŒ¡Ú¹`A´‹ƒgß7_?q²áÙ•ÛkÑê´ÿc}ãK2i –YEf…å—Å‹¹UUÐÌ·ì¬ Ú‘¸uÙiïtëëßbáEÀb’DÄ×ñDñó;hÝùAéåf‘È7pý—Ÿá²jÖ¦å(„ëÝa¿,ÂÁééÑ´÷»(ØSÐB†÷8¡Q¡ââ•DfzšîRVÈB_n{1?XMJ®SÿOè¦ëtš„nüSçh…жÇôì´EÓô*øÉÕñÉé{3B2µS3åmÍ?ü½´eß~Ö?óhew™š‹©+§o0&×4µTè « ËÛOôåTQw½ã²pƒ‹¿RAÂIBú*š*ÛDi>÷ ·c(âÈ£ßáK-lš¡»É¨–àwTªa¢Ï°'LüŠ}G|Æ‚Ò&8ÌwD4úûEDøÍ¼¿žÚnço~¸ÿ~ôOdfƒø}ÃGÃ7üU—óDAÌ=ÞÜx,©¾ñhʼnšô#¾ybgÇg ümp ÏÞL{=*$J¨IÕ&h³5™jÈ€l>1*Ÿ£J¸éõ'Lúº …~ãTi±¼N›­Ò@rªHúß³Pb+‘VÉ5êïQ¿rîA…u*}ÑI‘¹L€³I-XRDò pk¥œlÎãŒVÈ­Ì*­-X[#[cý‚ÎÚ†aþ^~³ endstream endobj 94 0 obj 3808 endobj 15 0 obj <> endobj 14 0 obj <>stream xœ…ViXSg¾áBîE©Víí€uœ¶Ó¢(ÖZwEÁ¥E ¤** …B€€€„%Ûa ûž°´*(PA±Ö ©ÖZ¥Žckµ»8OÛïÆiç jgž¶óô¹’ûœó{Þóž÷ý”½%[ôªï–—çzû¼°Ðö•JÀϲãÿLÇââû2kŽCç,§ÀéH5 ùOES´@°aS°w‚,M£p}ÞÛÍõ…eË–¸®—Èc#vK]ýv+b$ñ»äOœk`BD¬D‘6ßum\œk€-#É5@’$‘§H"'Šz'ÄË’¹«_B¤D.¥¨l—´òÛ[%QĦÆíÞºØ}éüå Nt &QT0µŽšO½F­§ž¡6S©@ê*ˆò¡¶Q~”µ”úõåBM¥ž¢§¦Q3HÊLÒ+ÅPµÔ‚bÁvr»Ïé8úŠýrû!¡ÃáÂÍ™*vÉ~æhï¸Ê1Íñþ¤¸Éól—MùÙÎþL35ŒòÙAÁ5šwC7¹Ö‹oµ0R]&ìè °•2uå HƒZ£zœ1ä×@ ¸˜;Á$²0‰º`H I°%œ†2uur·s :Mnz¼Llœ²ÄÐYÜÙ¢¬NKOQI%£†Nõ ›ÅS~tÏR5!ËØÉ&Œ¢ë4ú‰rû£ <©>½¥ÙXc¹¸þØrì8ÿi<?ñO7䀜ۑSyyhsôÚýZqòº ø `ý—!w´üFÏà¡·3"›ÉÙ´jñ°X,‚¯Zøú«4J·ºsyF=é‘ÅR“ðJ‘*J<^ÀÈ`§»Hʘ ‡ ÛÖè·s‘Mºû5š.Â{p!uÒYŸþ Cp®£¯ího]'†#i­‘»À¢ üw&ìØ¥”K¦-¶¾¦2ñ&Ûm+Ô0L£!«''e.•å‹q"“b ëô'X°Ï¹á'ðŒ¯ÜÝhï ±F¼A³+,ÌÆÜÒ1ÿã3~•#\Ðf&'Å„K·›ˆ© ôú•ªî¦7ŦŽîŽA8!ûªÒ ÒlÅOÍiL±X=,¸Ã'™i««u×U¾^§Ê¯ 9µ±Ó\ð&¼1òbä=‘€EÌww‡fÌû ^Üé«ÑŠ/2Xœí e.—ä…ŠÇ÷0!Ùà3A‡“„ 8i£ƒ'_Á *ëÚûŒ‡€½vv¶Ç“7.Z'­6¦ŠÍ&h# æz„…w´ “à£á/>¦Ñþ¯r°`9 oõ÷÷”Õêò«D½<¤¬¢n_sK]]ËÁhËŽõ+ƒžaÇUÒð§>£­ðmh‡Vxÿ!·¼t•]¶ÅÉ8{ƒ”™eŒÿHj¬@™ÜÝî/>,+}±(W³/d¬´9»Îdªnm—µ…-–z(óEzD ñL[·HÐòel¨N”±‘ˆ€1B󛑆ƒ;ЦxCzxgI,¼>™q¬Ý>râèñÆßÒÂ<˜‡?óý{§ÎŸ¯Ùæ/ÂûÿOävƒ¾}Ð,Y˜™´Ô$¸1‚f5Ñh¥ ÔÙ<ù& õó¢ç.в©7pƒé«Š¡á7Ï_½“¼…ñ–îŽÜwêE䔩ã¶É°ÝhÆ]‚¼øqΜҜ˜œ"‹oQ¶t4˜›DX„ýÉŽ\(Ï'ðø/<ÇÈwUÂiø›íË|4†ÃbÞžy@tU#ÿ!ºu!ÍßCŸsMý…õ$J®Kƒ8’•² dŸ®JJÐCžFåkŸC]ê*(„"—¶ƒÐH5AN¢÷>RàCP­«Ì2äWí)M]ŒµÎsÑu5‰/vi= F‘íüí #¬_[üq¨ÐTîEÓñ}g"Wy•P†"CÝ·èó·øaŸA[.•PTZ\É>BÃêÐ=Å«÷»Ãk+ ¼h‡AhûexÌ„ÒÆÎ{…Œ6Ñü“ÈÄ‘áu‡Žy#¤&Øe¾A>RcfsK}}KO4dˆ›kè¶ÿŒäqƒwi=—Àjvåmù¹wûºEÅ;;¢Ûxºæñ©ä@& )7SCµ"ŸÎÍkOXpx×1äŒVWu’‰Òߨe§4ZÿBÀ¿JߟÆquÇ,¦Aøa:„B"A’ œsú†½ jm®.»KñbôEº2û´8“tk üRð‡D[ÆÔh+ÓJ³J㪣ñÓãÎx¯V×L ¬ý8˜I†BçIàÿ%ã$Qˆ* ÿÉÙQ¬)‡2ÛjÑr¾Î­¯3d´e6).6Ô²PLiåŸ1ÝëiÀÒŒÑh*úŽC%hj÷É®®ìx£h¿“k•æõµ–’㋈;8cËprò»w¾BO"—ùŸ?·pÏê•MÅ—8_ˆ?•Ó˜cV Àeöã®on½m‰Š­ÕEÁvƒm¢”ÈwD§GÀCà F´æ®à3¶j¸ó)‡#¥ÊäD™1¹½¶²ÔP"***€` !S½)ñÕÐ]bV¯ «6¨ å£W#zÔŒu*i¤õ÷Ðè8ú77ØúA?ü½¹ä¬Çó«¼ÄVĶŊ*³ ô—ƒç„l¼ØÙß½rÑwƾ¿çÝ·ê˜ϺÅe•G˜a€¹ÔsñÊ…­Þþ¡Á›÷Š6¼Îµ¦] kM3§÷Ç?ë¹zëŠÅ^ç¯ôÎðHû£å¾+€»4òàZriªB@ÙÜÚÔØöKR=Œágü6ß´ÿ½DÒ.j¼HˆÎO£y/kg°ía![­*ÉÍÒæd©EøÖO^ê,²‰:—ì²ÜÊꢊÊâG ˜¬3'œ¾Œ8ýô×ÕŸF†_÷n †Í°Nµ4ÁW嘂9¥^]ë{¾—tnÂà Ëé®k…_Ãi–øãUn/ø4(‘ û,ŒÂeƒ«ugê/ï8J®§Æ—ª`%l„—Á3Û_‰í|•1ðbd=ïIüG_¢=×iÞ­ä’…ÚôÜ-ª}y9O®~ÂÖæsÌ-ä åzê|ClrÁ‡ä:Ân|þ¥m½PÔh®}£MiLÈÑ^+2^:Ù?ìë<¯ Ø$Æ!8Å!‰Øq…ûšÿñ?9|ûcš÷±©µÐ‚Ybÿèì­­QkK~m]1íÛ#$iIrQâÁ@ƒ عØ~ël1f~eˆ¿U$ô)ŠüËÄfDlß¹wãÐÙÒ^H±ˆdê\%d@zyfm¾&² ›ÅŽÌ"(žØ\‹*„xw%c™42Y4É~‰ÉÉÑTîä4RçôEýk» endstream endobj 95 0 obj 2698 endobj 12 0 obj <> endobj 11 0 obj <>stream xœMkLSwÆÿ‡"ç ÅKˆ;ç,q‰ ^p7F6æÈ1*& S†2D¤gGi9”n]‘ÛRÎyO¡+•Z¨Ü朷dè>laYŒI÷aq_¶}Ù—}™Ëö?õOÂN“ÍìÓ›÷Mžç÷Tä?k}Ï•jºñ6”2b&Ed;ÙŽõ‰ËðÆGþzbý>(\àùWë*€i$e3ØŽ%¼kúæ?!ë'¹p@ &€ƒÈ$·fŰnsqïBvǵøŒ!Ûœ­2Ÿƒ˜/¯Ÿ=òÖ‰Ïßùz«Žk$o’WH 9†õ‰›pÕ_x .J<úÉ ¤ð ’ÌËäÐ"¾„oãÖ«ÿþãu²sŠ ŸT‡Æ€9 Ãt&µôM¹^ÑŸ¢à.ŽÝ5hžVTzûØÁÁ¾PP¼Òƽ¸ê~-éŠ´ÇƒáÆ¤çÌ3·®ßy€×Ÿ'…°áÏü÷©ÞTvOŠÔcöLÁÂêL»:¿"i,LGÆÌ9ã3ý›[˜ endstream endobj 96 0 obj 872 endobj 39 0 obj <> endobj 38 0 obj <>stream xœM]lSuÆÿg;g¬²1(2†çL0ãc¨X‰L$ǰA˜CÆÀ-Œ1Ö£®kwÖUkGÛÑvÝ9ïéÖÊ>€•nu_"òa"dà…fÆ’zaðF½ñÆ1ú?åO2O%^½yßäy~ÏóR(?QUºßþwêj*„Z¡^ØVéyÉœ»rZ9¥­ÏÓž3Œ‘¡Ç‹ÙÓËæ³K¥¸z%ÞYŒ·— Eí©=*Øì.©ãýv¿Qx‘ß¶c‡™ßm¥Ž¶Ö.¾¶ÕÑ.Z[úÒÉ×ÛÚ:D‡k ¿»³“?˜SôðÅQrŠ–Á‚Íjïuˆ_k³ˆRBh™««MèA¨ Õ¡·Ðtè‰bT1å¡åÍ.Q®oKV,å‰  ­YÒŽ>0hkfÓç÷.] 3iÚ)Û'ØÁ¦ÚÃŒD§ä˜ÜÐç÷|¤˜ì[KXÜ2 $ Q–œ…6Mw+{e·®hS­9ÅŒ/tã]dx-YGŸÖ°=§Þ ÏÀ,,ÈŸ(:¤:ý’ÃkèÿGÉÌàŸf ¸A“M§Geøb” ¦`’æÉJÚ‡Ýé¢z#œ„q¸©¤eÝI€»“~L'¼øþ“š¸o¢P6± N{–ž„»= S9&}ЬJ¹€8ìàÈW9x]9*­ùÒü¢O´+šj:ñþ "÷ûYË»ÎTÓoB© &RD6‘MXŸ¸¯yøç¯g æñA°_áÏo¯3ÓH*¦± KxëÔ~>BVMpá€L3 ‘ nÅ’¡t]Iï|vó<´ø´!Ûœ­2‡˜/¯Ÿ=òÆÉÏÞþzƒŽk$;É+¤…ÇúÄM¸ê/¼%žýäRø:Éæer`_·pëÕÿñÙ2É…O©ƒ£Àœƒ¡‹:“Zü¦R¯èOQpÇî´ÕO+*½}ìÀ@_((^i9LåÞêªúOOŽx¹9k2ô›óž'!O:#¡i;´0–†=Ý Ã—³Ç.ÞV¦•¸_ÆGÊi7øQUM³‘Hb|8:Û½àø˜ß|øå:¨Ü{WÝC¯&‘öx0ܘt_ƒ9ææõÛ÷ñª ¤ðƒa6€àÙÿ>Õ›ÊîJ‘ú1Ìž-˜_ž)b—盓ÆÂtÔhÌœ7>ƒÐ?÷¬™ endstream endobj 97 0 obj 875 endobj 36 0 obj <> endobj 35 0 obj <>stream xœX Tç–®¶¡«q/…$Vƒ{Ü4yÆÅ•% ŠKƒ ›ì ²7ÐÝ·lVY„f‘ÍVD qI5ê‹f1&:y1&ŽÑø&1šèÃ[äg^æ/Ð$“¼33gÎOsNwߪºË÷ÝûÝ–1Vƒ™L6ÂcåZ÷M«¦»º/óž;/ež³ô¡“ø¢L|i8N¾‰ä½dÝ›aÝöÒÃHü`† ÃW†3r™ÌmkĞĨàÀ Ç©®/;Î]¸ÐÅqiX@TðNßpGwߘ €0ßú&ÔÑ3bgp@Lâ,Ç¥¡¡Ž¤+¢7DDÅø<Ù5"lOlL@”£{„@T8äÍ^·41|§û²½þ®{vyDºEmˆ öŒ Ù¸&>ÔwSB˜ß+¯q±[0kî¼ù΃Z˜°c ½r&3žÙ¼Å,gf1ƃYÁLdÖ3nÌJf.ãɬb¦0o3«™ùÌFf ãÌlb¼˜uÌ«ÌtÆ›qg–1.ÌfæMƕÌeÂ{zKf3’ÅŒfxfMcEÍÞ•-•5 2È$çä[å'­¦Y±¬µÖ÷KålÛÅùqWï|l0±©¶yjëeûxHØóvv¥CÇMf7¬qøˆáæ³F˜G #ëGMµf”q4;Ú4ú'Ñvè/ƒj`À">°ÈzÐ^ÞËa ï«P»%‘ydpŽât°(¶hçÁ&ØDáNÕÓ÷ÀI%^`‡þ"_¯u αˆkªdâöÞ…¼ú v4D6[Hô}OíÕI ÐDir ¸D•âá4B=|5ZÎÂÆBDç‚Á×cìѤ¸LæXÏT)@+†Ÿ ŽÎ`É1‰GŽ´[“du|}7C¶šÅ,2@™\̇ñÆÒ¼‚+@ï¬Í?ØZØ@ýeõ§ E£ÉÒi”d0ÙOFc“õ9‹"Z»" < ’]aѽoRvjrxvªCÜö·©f4è›J •3G›ÂB£ã‚·vú^ºuözg•0´×šfÎÆ,»Š2Ü.ùЀùïüÞ!ƒ\݃– :¤ ‹2­Uìûùà¯$Ÿ¸©ØçÐ@Ï@ønÌ"s³ûÊ1SôbÔÿÙ€*j²Zı-4Ê!¸mäbæKÒ =I§KÍÔ {VÍŽ8Î8qQcqlþEm¶N§Óê”MÊ>ˆâ|ì­3µ8u‹°ÆÄmáK^ún6NÁ¹ÍÈå C±šî´äN‰O¤Ç4á(ž¨Å£¦ ˆLëþ‘buºÈœDm¼.¸•¢Æð·~w¿èw7†•rž§ÓC5'žÓ³X×÷tš1½*ÀX´¿›zÙë%)ê Oà=O ž^ì$>è±`62 #Ž£èR¾g¢èz׌5<‡á¿ãKòã½Ëøgôfqá—w¿ÿnÁUbW¨Ä‰õ ·àwßå&qÈFò!5¸š}lZ´y…¿+¬$/“¯x|}X\A˜íë‚_#¬’&ZD[³ Ä…rq8/,¹ÊtHÈ?id‰u‡Âø]u'Ê»§ Í}lFSí_U‚h«¨À-Ö¾ŠL§XO2¸9<ç¥1´n/˜ûëV‚Cäb=Fðøâì‡d.qqž@Ʊ÷gâ\t¹óG Ä@Öód àà[§àÝÊeuÛ‰ƒxZöTDT‚øp €Ž—p—e¦wÆ]ý77Rèá#)-Ïp¶­ÜÑèFA1~ò|âH&<|Ϊ4Wz±èf´¶°îj8®E–Èúîñ¾oz§Rëဣ>¤O¯nU6Ÿ¿h¬vèL4ï*1#Iµ W®1¡ŸÄ8'Qß!ïMïuæk 7VXâêyzUíR “L2‹L"»ˆ¾L^F-º!‹CѦ"K¿/=ÒtÊ 2ƒð^sa Ì?èy9¨5ä ?”}vêü•ŠNà @;ß&²ÜQ%ÀÕ€¡VIc&›,8É,1A⛑f’é¼¾­¨‹íŒºŽ{úNFaÖ]ò¢‡w|ÈNå–,ý•}¤—›ØÎ;Ý]~¸.z{2ÉÕ{­JU}*TI+({³;«=ñ"fÜ—‹ÞÉס®I}cÛ)¥o‡çõ4qs^DFÇÇsp:N?ÑSQ¶²’tš”,eäšÕq>Ôb’_<¯l´2´ë›Z*­¶ÀS($Cô›ize^Ý´ ãÏŒ6Ë®?¹‹œÃÄI<*,Äö±âɇåæbƒNkö¥gì…8nçáÄCÕ-eíËçyá„IKU×ÉÏýÞ á5—PK9å,5iF}•Þ½¬»%ÂSè$ÇF¼Àã |ýï·#3ã6Y¨ì›1@,E£á)´Ðó%^²ø‚ø€ÇÙ°påjp!³•D‰Ýã²+É{žuÀ'%Ÿý1–7çã|,$§©÷B"çgÞ[Wg®hïòjðùK°›o2mŠrYðǦøGŸ%úm‡qÞý‡1åˆ natñ–Çàþtäy(£åÎ}þIWxKj‘²±¼6¯Â É¦S&…‹+M8t¨´ÒT›xØWå—'øÕúzÓ*o¿±"´È¯#X¹7!1AU³Ë”å8Vá:|íë³7¾YßU"øÔ®…ùt’í€l½*?µ*¡@_V|€C[#ï WOž„«wî€Û¶màæ¬Iñ ZOqdx¾õÊe(“`t~FÍ~#ý;-ÍXœOycÓ»ˆï»K³}¿?Û¨€cÐ wá>qÀÆsì÷;–);°ÉW±,sÇtámZ¯ œuËJ‰×!eÿt7Cû€c“ >Ƥ墸˜¯„ü}YZÈØ'ähÒÔÙšˆò]FJí02 Șñ8<¶9[YŸmÎʃ¶Œ¶(ðåÞ˜qÞëÊDYU:ý^àâ@£$,›ê²|”W ‡*O…ƒàpG” ÃéHsüA¥ß‘`ãÆ¢µÅoÃi`B¹qE”AЧH¤5Anòù€”ÕŸgää-ËÃ$8ü ø=G/ü¿fä/ò•±Tsœ™±Å2RBy+:µO<„§]·Åü)œåÿš¸ }Ö¿ÂüI?Ìÿ1s<ÆŽ:¶Š68œZÙLË*züº‚ÏÝÒU÷SɽҊÌÜ”:E§ÌÞkAýQæý¬nõu˜é®âÉ`l¡wA—Ü…oëœÉ벎þiÀZpq•ìKš »9J Ÿh!ÑÓW¡›ê3uª†Ûý%ifnÅ|z½óüu¡Û׋]ú|TCg´lAšÔ&Ä®q"¥œ£{å|ûîf¿Ðà€€æàöãææv,'«é(¸ø;v]¥z«®ô³Ë]œÎÒ¤ZzÙ6ÜÃÏîÉ1_\ÇO­Ö| ¥\—ùâƒw¶’±&!7t•ÏJ‰¬-µF—ž!¨¶D™6ŸF›ý„Ås‰lUËÖÒd密¬'1bK´ÕqR#À›SÅý…XÍ'Ê&œœ)èBnüsxy ÀK¯/,Š‹ ÔÕ]Øv+Ejás>ìéù÷{DV§˜sÜoØÁñÍ_‡œ7»xû›‹–äÔð{–¸ýÖQÒÙ)…?­½_Zýk \úÛÀ³b„c¶Iä-2ª‡òùey—%ͨÕþ^3ÖWg«u ËN—4cáñˆ¤c´+¨I8¬ï׌—Y\Þ7²0Á]åP`(¬â0ÐÍ}ºúËtÍ<Žü©¤¨¸ð*8XØHm<Ó‘à 1Ò“Jj5™9Y9Z­’¬!“­EûgBH¬‡«Ïñ[^Rv ú Ú‘9öù™Ôe—ɂЭ5|H » :$yñ¦OÎÍÉM+•渪È#Õ"Šýj_RÞë/öòP­×Ê;h¨Ò¤ãV rư¨ß¿¶žÊ¡ZMcŽ^±\ß–L˜¼žØ×|á‚ .è±°át ¤ÇñÙ~0—%ö=dnC÷¯éüIÁ;h…ÕþTó!ÄíýúÇá(¹¸ªw,Ó¢ˆÒN„ªq\` ½…¾ væ¶`/õ6¨óZ +¡‰{Ç¿:40(jےϽ‘ÁÑ÷/<„É@1i$v|~Enþ©˜áÚêŽÐÿRŠ ßZÌœtåxr€°Øjýž¤ÿ=h-½iö6S›‹lnæþ”¼ŒÜ¬¢hÈ­F­Ó,&ëí ƒ•’u ÝöP'} ¬ßgöÈOÌSWƒC1íxU=xÆ\^+½u¨†\cþAî9iÅPë]Ãÿ¹º×ú«{í×n6hümÚÚѯ%é!G?©sªð ÙûÄÉ“Ød»øN¬oj4µVªî-Ì…µt>q·,Tîdéò6‘ÏA.þêçïttV)wêG¡Ka*€j*ç“•ëôP5‘çgº$†lñ3Ÿü™æö K]†©×–æ4¨—áòŠ®WaQ„j]!“âbùn«éÐjHËN¶'¾}A$TL·þ»E¢N7º˜ QÔæ‹ÿi[_¨+—R…¦ßD†÷èN‡Å ¾’¸áIYL ¦‚镦l5]%)7œ_žŠvÖÏ û-®±8‡l bzJj²Z½Tì%ƒš©šè€‰ qûóõ Ï/P>Bk”“­}UŠZÃG´#6Ñ¡+Ù¬&HSž­s;^òÞÛt\Ý÷?C¬&o]’$$Ý^Y¶¦ƒ—{œ÷Üïd_ž¹|¬:vÑ¿œ]ÿ«û{¹õ KÂ×ÿ0ú±ƒ­¨¬¨,¯êÚt.­M’F=_ã$7óç±5!ÄO¹ß‡?zúÌÁúÝp £Vo‡ Ñ»”¡>[ÓC`%ì:\Í ¨®Ô¶k8gšDë’*Ù™“örœ%–óG2ë©ìª¥;ÉGíÍ•gNPü쇒T²Ó…mI[Òb)°lŠÚŠ[ ¾IMO‰†HnW}ôsCMë¹í&™Lì„É¿‰ôÿFyüW°uF]’Üøó·â¬g‚8Õ$–¢ ­ ž.èfñ{¾°ˆöfª;j /ïO5Dåi‹µEœ¯b7ºµÒ¬RQ\hüŠÒÃÕ º@:¥$…zx.c.láVuAA]éü|á@9m[€3KÑêò îY¼Ï6)Z±‚‚.Cç•“Ú3Ós÷ì†4im$Nt»þ‚óÿWŸ³ä*€±¿©½f<©Ë¦ýY£ÒÒr’®OSµ#£ŸGÞ&Þ¥E¿‰—nJ:׊÷Ðùcð7îñìN"#ËOÛXÿÖuXoNp/ް<©Ôžzç&m.²WNy7dÕc>¾8¢†fëæSCÍíÓÛWû%ª6ìÈàWøæÄÏUM‰æK4•-¯¿å:Õ³û‹ÏNœ<]ÿ\vQÅE_rLø´_qùïõó3‡ïW\>Òæ‘ké¤Å™‚Ör|ØËòZ–®%r駯U¥â(tÛp}ÕD©b; ÿ€SôôôOj2îY¨€6xº¤!é€8Z.0„÷UhâÔûÒ3Õ‹hz82[ÑzøÛ++FùWwÁ÷Ú8^£‹‡õ´µ36YöÕ4·˜Nv„šBó„¶“Ýy&ʹÎ%®‹6¹ú©”$ŒÄ§gÐ &:ìüšàã(àÈ£_ãèŽY3BwiI,ůy´‚ >ÛÁ‰0q«sø(-…eÍt·‡7úù†‡ûÎ~´‡áÂ/¾}ôNÔwdv½ðMý_߇/¸®—‰’X-ôxmóñ¤CG+OÖ¤Ùš/t´ Fàî‚[XXÎ6Ú™"ƒ#µÚT]¼.G›¥5äp{PõkVé,ýºˆ'¥¸çò,ÓÄ¥Š:]^T¢ö¥ äAß[Ö*> endobj 32 0 obj <>stream xœ­V{t“õþB ý ¬C0hîKÆŠ®œ‡Êœ›µ¤Z‹P¬½¬÷[zIÓ4MҦͥ¹4É›´¹´¹µ¹|4½…J[.½P ÅR@aê`Š cÓ£¸Íeç—îc‡}iñÈæÎ™sžï¯ä|¿ß÷¼Ïû¼Ïó2°Å‹0ƒ“¸ýÙ][_~$)%mǦ‘bÃká…À,£Zÿžk^z`¹a%݃žû>Ú´c2ÛžÏJªÔ y¥e¢Ø¸¤ ±›¶lIˆM¬*ò óù±)ù¢²âª|ý£2vwu!¯XTÿhlbeeì®È‰ÚØ]ŵÅBqqÑÂW“ª«u¢balJuQ±aÊ{ëù… ÕÅ%ÂÒÚ2¯N\™_µ<ž1„UaX&–Šý ËÂvbÛ°íØnìY, ÛíÁ’±—°t,{{~-cÓåaQØ8£’ñÆ"ý¢kÌíÌk‹sßZ"fý„Õ•õ^Š¿Í_Z¸,q™ì6£øÔƘیÍ•2A†×ù•äÊÎkü3ž™ûVý Íõ°‹©-‰¹€g5XL&“ÍÄ Yœ½Ð‰dŽzE‘vwú!Þ«_|ôù_‚ğÄÉj¶@+Ç¡öHª4|µx†:²dÕ§|MaêÎ59Ícƒg? žçÚ7øð©òPÞ£eTœVÕ—Éìn#ì¡Þ³€;úšZ• ©ˆ[³µ&ÒñÇgù'&BÝ.s{Ñc ”d8žd éï&j@Il i XH×10uõ»»Ç/]|Ìœ#NÉ¥–5rå<}3ˆñܾÒÉ_A,jÐÈÁÐØB¨‚ /.6zÜÁŽ{7×?}-†Yüý42sKVªTNhŽòò $"Y•´P¾ ø`i!¼}GC€÷_)ÓK[dܧ©iƒÖ¨=Gioô;»l>ÎS’häÝq’Qþ5fx{ø{ì -Ðwɲ½½ÝäÈѼá稛zˆZwjÇн|汨ê£Q¥&ãki|p|vº÷fÏ$wèÜÔþqpÀ¸ÁS€Ómt](Ï:Hä$g^ÏDsè0ûÔìäehÇ邵 £Q¡%ÊwÉu2¨U‡´GÑÙ°·ðļxI³Í`wšÌN ×Nö‡Á^5©lt€š•2õ•pÿî´¬DPáªv°:Lf[áôŽ v¥WØ)ñHi.þt­îîP€^aÔË[¸õY¼<€Ì&i¯r)Ú$ 5èŒ6{ Ø×A~ûÁB?irœ™a+ ±oì¼ðø—l¬{=å´±ÑCèGe¥ü좒Ð[S=ˆ¹ïwøÌäÀÀöåîÌ«[W‘Êå§½œ“ øç=Iß{éF˜Hdìx£uÒ÷î>86|¢äÀsQk×S[7Mn¾ñŸ OV¾y`¤cÜÖ˵’ìQôÄç­€Ü+à=Hmr. ÿ±P€Ê'}WÂÒŠ'@î*zí* „×±ßguu€×¥†îS,÷o[½ž‹öaÇôØ!`pɪtMµ Á뼪Î`п´`oÁ!µš§!ÄÔ¢%;X2%H”àá¾ÆzæV´"EU sÔ²ýÒ±ÑCN'÷r³s¨duÅ O¥gá²crEŽpƒ'ÆÆiœnOPsïL yò zôüÉxg­<É ¯G±+ZÔZàJkCwWst¢àÀ*ºà‘ô_œkêÓcªqìÁ+O®«{ÑrLF³Àa0ã>¹K,ªnÈya¶ôMôðŠ™¸þ”· ¨¶–ÚaÒ;¬*rw©•f Žy›™ÛD7Æl§oj×¶ªõ*£QOÄ©F¥¤ZîI³F¥×ËÁHPq·® Æf0p”í¾€«ËÑJ´yö¡Õ¶¾l2™½ûüûF_¿ø]˜à³eeU•àÏ'LÓÀ9!”ägôf"­ïk¬.øœÍ ã>ÉFqmnºS–ùN Ubúê"ê§K6³” U´C'÷ +‰:hli‘A'c°ðø_Ý¢c½š¨Ï*|zàvÚ ÓÖwg¼øâ¼·r|æÈ«ùïß·*Œ®¢µì» à ¡ P7™z{\ƒ®a.y2@?ý4§>üÕâ`I<Ú û*gÚ{>žÏ¨VÉ×H¹ÊJ%_-’—+è§©¸…ž;¼¨»àø'ƒèá6bÕM]XÄJìMb¤ZèW»ý}¾þHÝã-:2™áŽð¶Ùj¢3¿;Çuõ`h–s¤Õüª\Àÿß œ~e` ›ðîÕú`AOÈ;✥Å3O¤ÑX§%švKŸç^½î;DFì0ôí3îýGfX^ÎÞ¯ñEB‘HnÓX5DwMk-êlªŠÚ£œœÝw½÷-ÂÒiõ|C•›%©o<Ë?…~>þÑCs„Ý6oT’sìà 8ý?Jýž[zc‹Nœ—†J&Gü½Aѵß}–¦7RªN :=¡6l•æWg¡Xµ›û/™rž–„—±”‰G”Y¡á錄t´¢“?ŠI-¥~L­ß<±õÒÐXàèA®#sX¼ÿ»3ÀVW¤ü, ðlõ©©ŠöæÏLL¢‡/˜žo0ê ZsÓì­%üµ­å(˜þ©ÑÙ €OÀË ßÐÌM¦\_Û$¢ÇÎp¾vèÛOùÕýÙ[3rs«õ…t_¤Bf9ï×ßÁÚ3¿ªÍgãÛóƱöJÿ|:~|úø5&ê§ýeße‘&‚!ñßi¿ŒNÎ/›fŽC ¥fÙš]öƒþO]¯£:ÝŽèƒÂÜf(ã|¾‘}Þ‘KÔRRxbõ €¨_’ü•/½ÆÚFÍ©2•™ŠLަFþR) äÞË×ì1éþÇÐzôþˆ#Òû3Ja²2ÑI”ÊöѹÚê4[­$´áS$¨t–„¾ªEnÐꤑ¨µƒ—ˆ©#ç~IR½TkfQùލÐÒóˈ¥‹üË£ÉöåË1ìŸ < endstream endobj 99 0 obj 2472 endobj 30 0 obj <> endobj 29 0 obj <>stream xœ•X T×¶­¶¥ª4ŠJ["ÆT£"*JÄ“8@¢8¡¢‘F!@d–AºO72Š29!­€%NDc4‰Ï)FW¦g4‰I4ñ“Säò^ÞmÐ_’ÿÿú«ôê®[U÷ì³÷>甂éßQ(–«–-wõžìºÄeí4'ó/cäçòè~ò Ê•$otCw†EËè‘­ðê0 ‚Ó‡2J…ÂÝÓÇusdbthpH¬íD×I¶ÓfÏže» <(:t£„íÿØ pÿXúe“íÊÍCƒb_´]°i“­—ùŠ[¯ ˜ èø À¾ÇºnŒ‹ ж]²90(:‚aÒ§{.HŒØè’´9Ð52hár·èà˜/ØÐ•¯Ç­z#>l“ÿâ„pç—Íü²ãì§:M›>cf?~˜¡;2c™uÌ2f!3Žña–3nŒ³‚qgÆ3Ó{f%ó:³Šyƒ™ÁLdV3‹˜™Ì$Æ›qf˜5Œ'³„qa¦0o2K™Œ5ÎŒ¤7´a,™QÌf(3Œ±bTÌpF`fPðŽYÌt)\¦~Výòû}­œ¯<Óßµÿß,^µ(±øõeOrÅü|¾eÀ†.¸÷¹ÕÏ]4}PÖ sƒŸÜc©2iȹ¡Ã”ÃvXµÊWUíWî>^Ã17ÖC3¼‡sy‰ÓÍ„2C^±Á >ƒ-°š=Oì-¦ÐeyßA´Àh¢Ë8ò­& Kê-HK·¾þár¢1Éç$ §”óäABay^áû@ï£ ×GC4¬7Æx gl‡4}Î6½^M8¢'*¬µ8#±oë¦éõt‹ëtÑû.ëëçæ±lR@gÈÌ+Ú^[Mü¡˜=¡›#×Jçož»pv¿HŸŸz'†ý°+ØduYôCÖZÕÞ. î€á¼ñ ð]Ý=/¹c‡ŠÛ«ã牤ÖýÏ J¹Ç«›'LööZ%ªn"Ñù™îB!ªÉбâ·Ñ‘ÚyH u8ºà0%öÈ“…Äd]´¯¥¥´p‰µ!ÄŒ|ÔCæ?ž9Z¶Æ JœÐ­úÑ•Ã7Ñü6FÈ:u‹†ÅÜž»µR{îCø<¡Ó­iíxˆ"Í;l½ÇŒä¥`¾µÕ¨‡Tƒ;Z±³Wƒ£ÉhêÊ èh­ºG±K@7–bÃ_ÃØoâßÉ+êç§^LýòõË6xG¨_†S=¦@t dvâó,:À<×…0—L6çî§<'ú & ‹O÷Y¿3µþà^ë#âæéd b 6u±ßû-PKبadø9ˆ«°§°è û\*È`^b7¡Ö⟠ó.>§»è¶¢Ö¬¸U‘Oï^†ãVu™iñ3ZZS[;3Bš‰®Ü•½hù£¨×'&Cа¥®®¡ºåôêº5nßôŒUíhÁ‘Wžñ?šî&C»±ŽÀû`Êå©®‰¯ §|Õ„±­Vð­*q!*áŽÛmkÕ/鸽„p©½.ݹ¯¯_¯ÏPËmBGÌIÝ^J1»®[W¤èC[+Ô+ª%]¶.´|ô®Ä}ûvUî©MjòÝªÉ Ù &–úW/ HØ­šãPЫޢ}âaëöu-a¼ª›IÍu‰÷µ¶k>jÐíÖ»Wf^|½Q\y`L†(ð…lÆÂô#°Š·ï,ØÁ_ «ÀÖ£, \MFAë::Î_„ršŹŠ|­I~¾Á Žú_Å4úÏŒ[0JÂ[…‹J@â/܃ÊG"V勆­†ìjà÷@~­úάû$ŠQe!'”\Ö«"«’Ô-!G´7SxÕ]“öFêòQó§Bܘ¨ëmibvy6¤ÚX5Qp ±»Ð;«EÔìÌ3v„‚*àëñE@û¶-M!ÔuasÊø§Õï‰û=U~o |,“¿—´µ+‚âD=ÞcŸñAÕýžQÿ÷*Iű>I7EKXoÂú>y`:Ø¢ã×'¬UÉh X9t6ÎYº^&³Õ89^@þàÉàCþ!é÷Y.ö ýbLT1ÔÞ©bL½ŠÁzNu‚f§ŽA}hC$€ ¼뮄‹»C½é—²¯*jh1×oKÕ«³5qá° 2®fÕ•d^Öç§\YUïWaÞkîćéRp5Jò@ÉÊlÑ8v]§µjk÷˜ÓB}äù¨BàË¡l§}?‘¸Ü™+¨#¬6wWvöœJ¢OŒÚ¦ gp®[wÁ¯+õ*| Ø¿êÜáΖ7¿üÙ™1Œ{¶ ¸œs-^CË€žL%ÈFâƒãÉT,9ôÈxá„™s§f]¦Îù›„óªŸÑ$””.hCGìq¥†ÕOX7qb.üÙÏÙ~wõãö³×ÅÓšµœGXÌæð~­¹|Ï‹:ÝÛ ÝE'«zt"Í…ðÆÊÞq1gþÝÿh¹ÞÐi< á¤ÎDó¾„S=,–/ Ç‚ýýBBüüšBÚŽš=©±´Äý«Í :|ïãåûsÛ­U×e{yº@Æ×o,ZÙïÙ´¸ðã'CÉèZq{ èžJ÷‚©×oK×oXѱ¨È‡‚0ÅuòØE‡|«ãÔë³PëîÝIØ•[¿së^*WÞ'Ê}Ü<2¥ 'eŠúÝ÷T‹zåQd4î;:>\wOÛ 68ûZMð´íkEbåEׄ9ºXH\oK¢j—i{¹øw{]ÉÍ^ëí27wï¿ý¯3)œí§q?ì»·:DËîV*÷[ç4Ä,[&-±Ý³„:³ñDK³"´(þ퀿Ùs‹8jØ3yÔߥý8cÞ§£|ëcÇAñ«Å„¥uƒ’¦õù§ÃK¡Â£f¨X‰  €øÒc˜a) ¬†k¥awÐã´šoÇr}#@Nµ<”ö@òɾ   |{ß­‹xv¨¬ËÍÔƒ>{›š¶ÆytØ÷—€kÏ Òè2(›]PœW\Í÷=„ýHÂ5ÜGv}ÄB¡®vGAUy££ÿ!ÿ¢´Š-Ëg$Bª¨á¿4äƒ õ:^Jâü w{j™ƒÁ#qÄÃò’¢ÂK`#q‘¹Ñ´FDÂ"c¬yµ—»#“¬ “FʾÏ6Ž='¨HÜ5ìaƒd4Áa8Þ«wî©îä»] êÁJŒí^$ü×uTn tÚ2Ó¥C×øä¢~S-›{W\vMÔœÌÅa8ÓlÞñòÀ›Â&ðýI<ÎV•žÚTHU/5P@jyê+w~@&yËœOGŽƒT*°a¨a÷Þ3‚h×¢kš'ï“«—?;‚ú÷ýY«:ÿÇ1ôËÎ 5[æþõú.(å­mµsZó¦o”¸åÞÔ¼ ˜ ^ëÃø -ÅÞíá#Óqº¯™îNÄ¥8ÌG[«zп*9@¶º­pçéŒé=Ú¿5æÖÆg'FB8Z»¹¹yϾ#ü/Ž!£Élg’/ª~…׊^mu—æ}s…Æ¡þþ3…¶ö×Éต0Ï_ý˜\Ö@dsfEr\‡Ý<;#u}ó'ØÃûß_(<’>BU¥ÉêÕÃb´gö›_øƒŒñ¾Îí)€5ùÛŸE.OæÈB-µ6=èlÈVÕó€ûâoG¾©«ÎN­“´‘I°‘¬‹2®ÛÛzjÃû¤JìÉqÂ|Í òȽ7{Õr+­R €Ã”r»|O(.#4ñÄ2!?e{üv}‘®˜×°!¤âËʶK >…]‚9lb\B|bÜdÒß•<d"ïöTHùŠÏ;^(]ª~·©•&xŒ4)Ì¡¿EýL®£~–¡_•“Y4­1¬(ŠvE<íš_ œúÉfÿ>ç­¿ú#7icó€ûéþî‹5ûsuNÜ–¦MdHÛ_‘šŸ:HæíûØ+J™q{õ Üucõms'î#ÇÉE›wA#å«Â–/Nx¬‹ Ý!‹®˜êÁ9þNí„%j·×&oØíykƒ¨º;ë­ ^ è„ÌZŠäÌOï`?dfIëˆdž‡Ð”(Evm:}8|øYŽÉ^“¼NÞºuº­©ÊÜV¥­^Ž.÷éD{N‰WiɹOÎ9ôí­‡ušðg3uGÛRû^†/˜•5 Ï q¸d,ßšè·Þ!Ø^Ušw¸ÚùÆØ1QA'½èÌ4§}E”º—KÉ62vâ+d˜Cš¤Â+GD¢ ¦ÀÀ'¿¼[ë½m»ºômÚ¥†òžQãg=mûЉîÏI‰Ûn m!M~O›¸¶¦¦6³ÊH^õ¯+«¨{z)ec÷r!¿ ÀÀW%—¤Äg§¤hÅž!ÿz1; ´ ·ÙR‘^^_¶³ Wž&ùë¾a>Áüîf^îë1“h‰VO2&M4dÔb–“~I6‘„`XY“z=ãü]p >Øqªôî•â=´`¶&TnØõŒÙ°œ²Ö¤¼è™æA’–­tŒrÜŸSâ/ÝJ¡Š£Òu•!Îõ²£“¿ESÅV@—áÝJ¾§œ¨5ܱ¼Ÿ¡“?Ã1sQ±5'h Îâ˜#æ×1v莢’š\4¦s·d,NÉJ×Χã©¥æSmí‡ýâ} ¾ã‘÷C;.™¶üøÖ= -5'NùWlÝ.Öí9Rbþv‡Ç|÷ ·…jâKüSÓ(;·Ø$Ê ú8ЀŽhÑ| _8b¦#¥˜šúØ ôÓÑZE‹Ýc|,\®¾~nó7ç] ÏynÎâWýê#´ïm8|nuIŽAl:plG=ðŸç-~;UO¬ÇiÕ:>[¿M¯ÛF'bUOzb1챨€Ik50~\Ôší}Ô‡Šöî¥ÎÚV¿Á?$rí´ûË(·=®ÿøuWÄmÚœ‹½Ð¢B’ݪ¬°‡Ö\—Ê+ÐI¸/9ȳÙýºüÍñzýÖ4‘ü£ç ¶éo.Ù_÷¾öýòÉk_Õ=z­“@€EÀ‹–é%Ý.%¤ ×W³Ä·“"ûœ8°ÿ¬ªAZ  BöÀ Á†A– óobÄS endstream endobj 100 0 obj 5142 endobj 27 0 obj <> endobj 26 0 obj <>stream xœ­yTT×öþGæ^•ñPsÇ–XcìJ¢QÔØ b£w¤Wé0”aÊžz/3Cw@À‚»Ñh4¾c±kl/11šøÎ%‡ßËÿ\@“ü_^Þ[ë÷ƒµX‹á\Î9{ß·¿½¯ˆêÛ‡‰D;Øo\¾bò’µöÓ§ ŒâGˆø‘}ø7Ä^Xÿ‹¢3Í¢yäx±%?v(Ò Fï ¡Ä"ѲÕÛ–„†ÅEl÷ó5aÉÄQÓmm玲 ö‰Øîå2j­G”¿O°Gù%h”C¨×vŸ¨¸©£ì‚‚FÙ OD޲÷‰ô‰Øáãݽé’Ðà°è(ŸˆQkC½}"B(J¾f]\ˆ×–µ‹ãC½·~¸$ÌgÝÒpßõDømXéo¿²\kyJ:Lª6iXëÄ¿>íõ«Ö¯[_·ñ.~qø÷#âFŽ©ùɾodrC¸ Ü!îšL*[#k5nTð¨£ßí3F4ÆmÌ‘±6c¯ûêWÑZÇõƒ:-ÀŒ¼ ÄWHu¦‘ÿºÕ̯4ˆ ÓNÌé\Ãf«s TŠÌ$ìÕõ­uܯDG DWi÷ëZÀ ÇÕÆLo¨©Õk ´:Ù!de@r¿­Uê ´ v€0.ˆnÑ»a?Ò´©s½’råM 6ñ,²À8Z2è×>ƒÏÁ¦ŠÛ|´Y·ÅüLtŸ­=L[d—(uˆ& âÀY­%g0kÊâ!R5êÌ”·°Æ‹‘IY Î‚,›ÚV¨äÌt¸f¥:ÂÀK¬#†J(ñG“ºDÖ™ÉIŠäè¡ËVC&DAl…9+ÏeLmlYTLtr°k›ßÑóûNŸ®æÈ©&ë§™·h‹6Yvœ_s ù\²’6¡>è ‹´«V 6kéê –Dd—‘r8(CkèŸ.tá|¡£=‡“þÍÊÍäš r á.˜ƒZ’Ê `18»‡®e¤W~¦ñh¹Eýy^Æ6Ù _EGÂOÈkPÓ£ÖÜB›‰æ_g=UŠ`HfÂ+bêk å;?[¸ç}<ôLá!x؃†7¢© JS+j.dêª_`6ÍÜf£¹7ÛNäŸ×ø5˺QÐ)"±ï´óo‘ŒÞ@.¦Æ]÷µ6fÚ[㬎/p/#z¯ÆMb—ªVgȱ/°Æ,rTë3óH ÈT¾_K®ç¯Z >kµ¾$•ô)¨Ì¨ Ek°ÙÏÙI1Á.o ˆ¶M×­p ZTä1m|T@¾>+·A¾ÖhN×)õJPÙ@Jt¼»€Âfýª¶^PÅ’PîÈÞafý*Î7{.ò¼ž¯¾!FŠÎ‰lšIENËàAÕ’¨è0p×’#dó&8¢nR2Úëd|‹–FŠÿ铜V6… ÏË*DšÎÖڮ˒^æHZõŸÁòý7h%ÇŽ¤ßW¶ÈøjºEWx•«6ã’pMFí:kM tÚq=áÙEÚc¶|~ y²ø©•”G|iè&]n;‡†Hž4ÏÙ´zÛ\,–=LcŸT^º_2÷Þ¹‰_çºú¼:}5-ýù%GJ̓û¿gûÉÖâk,Ú£¨­§h›ºbéfÛq½‚~˜I|?1?œ“Í/d1ÅéÇá+9žmQ#ÉyVÙŠúƒ$ÜØ50MjÈ´IÊ%ÄB·$åhE„$ ÷ßá†Óþ’A¼J^ÃO3 ¨ÜyKÌ¢ ÿÄC'aQ&ö§É¨øã÷HÊápì̺ƒ›1ìPÄ8-$„'«Ôj7î…°?ºÖ½Ö6äøc´[´«[ÈV`z¨(7E·ñ6&äÛfIöª¼h%M䇜bWÒh|¡…™þ =÷ˆŒÿ‰Æã^ÑÑÒ#-!#pÿ11‹¥ßO@’ w5Öȱ/ö ‰¬¨åñÁN®Ñîà ~µ‘»Ã÷©NÃ>hÕm8h4ïn: ÍЖhv-Œ'‘ˆc^Q]¹+æÿÁßf[Ï}œÕ(èTÚKF ¿A.èÔ¾²Ø¹"Y©a[lÄ+ÑáŒðlcMÖA¢R~„!Þà.Z ú3È“—…#_ü­5ÞüR¢%-úËÝ@»ÜÍ(ú}UÁr¤_ƒ ݶ^Œ;g°iEm,ÉÊûA ’R0hJ5U*­b™®Ê¿D|9©Õd)ø)]O¬óS´š\`J ·RÆ¡ë ý99¬¿f›:`›Î_¸Ûsp“u-¤If.Ï»mî|›hÇs>l§¸óíÎl9äÊ•JHIç¶Úù¶l9:lð:<ÏÄîØ ÍÁÓчhî÷H†˜ÈM–ƒ"U#KÇcGÙb0â-»Ð1tmÞu‰îOÃodº$P•Sz£¬ x“M1ñ6m5–—PÙ-+é ´=`Ži8Ì•s3±øÁ\;/þ0Y’´``6öÍNhsüšàûµŸ¾G,’Nú÷]àá#“>¹Ø žË¹ 7Y—ÿKáÞ¥=®«…:8Ö³‰ŸO¿å`#ZÜÿ´‹„X(5éÁøƒã‚}æqäçðŸ'! :ˆÄ•éºÌ4µ"]-ó7Ra+xíŒj > ¡…ÑÙ4ñvÍ.`žàÞäªâ~g‡D×vΫÂëö\Ü郱ÈO&Q\…—ã·ñ,ì‰=ÐT< -C«Ðd4¹røþ†Œ‡ƒJPzë³[÷ÐØ¥8Wà7æ¾##ïEÏ]^úTÜܹý{ÐG‚æ#M@ë‘=¦ã…2<ìF±=6cwl=•|—¢-Ý¿>61X»Îo[L˜ý†·º‰+TöžTMª‰1Ì-#Uô?ä‹—ÿU„ùÓÑ´Ï4 é“údÏóïÀ̘Iøu<ôÉ[ˆù|ßþ“L‚X<š†À¸ÐèÈä¤À0g`xŸDúµÏo}y½mÖ&Aö¦÷Ôp3šu;Ï$ºvñÑ=1ZÆc‘ÄŒû!FòÍáÃô¥QÊ¥(ã’!‚‰*‹©k(5T·ú6mú`ΦѦç]ÃW_žu¶]W{¡öBî íå'm6B»kÑy!ªèès1ŠA—X´@‚ êÆÓï'|ƒßá¿Óñ—oÖIêÙnø š+&*T΢ªžß— ™0z›3Ê>ó·ÍΚQÓ.Á n«wŽê6ƒxjÔb¼ˆˆ€Mo0< ŸΑՠŠÉlyÐ$n:ÊôTV‚Þ†ºeXÆÔHBQ´E×ÙWÇ3¾‚Á—Ä¡‰”BeíõB_ܵ’D‹:X4•Ô˜û_çê@£ãTš˜gB‰¦Šš¢ÆÆ ÷Å~+Ü“8éUԇƲßtÙø×ÁäUس ÙŸ¹]… ÊŽÇ|…Õ|ÜJú±³àiU¶±´F–WTU¿˜{0>*L˜!KO‰ õfB»'tŸª˜Ç—.]mMh¨’µìjÉ®ôô¹2S)L|qJYAenUyJ£wŒ›ÂÓƒóhòÐG3uÙ²÷ÝL>5;dɉqàÏH;!¨ØÇ³.>м˜%?lDƒPÿŸŽu4'ÛRÏmªß?çÚÀ¬fh„,¨*70HŠeßZvìġݭô²%wQ_˜í¸tëÄ^nãMÏ/Õ Á&¾0ü)¡ :ðT̗沨ÿ‰;h ÉÌ¿°ÝMÆ3Ñ*ssN~W:¥äÇÀ<«D6Ç  Pž¦I'bªpôvgˆØyÁ[òYGî{P<ƒŠÑ¨ž ‘³qÞ‚+üËBë¢eáõŠ/’˜WMC·Ou=ƒ˜wAÙìïMþ\p[—àÇhÐ’ß¹•®òÿ«ž‚œâÎȰhIÔ :Nç]¤A ŸWk%GQ苊h¨"f]_ k0P_%~sYä»x‚ìi2û¤ºãt0ßaÉm<žÃûÑú£1é-”CK"ZRFÜyóöÝ~Ä ­€UàµÏgŸß)ÅN`:ÊoÖç@!©ùi¦Kýã"`¤Kzœ|Ý:•‚r˜Š4Š0óoš-Ié›s?°Q0|γÅÑ{½ ɇ¼RZLïÉÊþ”_ÍFu0éQæ€éQéz¹¯l5-mÇ}±4-tÞÖÜm*¶6ýÇÃéx¼û½§@©ôï=K`£ãÉ Ä³|ˆçà؃Ô×Y„qöW®×~¼K(*ßÈIÝo@¡f4Ï ºs ¯#;¡¬Œ5ã±hM„Dcà?dñ(Ÿæ+ˆXš^&»Q{RWMÜhsO²W*³÷Ȥ?fñ»ÙÆchPtXx˜)Ü\_clìm^‰/›Vo µáÐg6‘Ü_AÏxk3¯-õ> gl>?y®½gÂó\s8­…½ˆG.ÝáÈÐhR28ûàÏ}3H8ÄsgŽžwbqG˜¬Py,åóxFú¸.cgF½¯1¼€˜CféÖ%sCfÙÄm8©º iѤƒê%»ù˜«Õær Õë›N˜·_ð»OøØïú÷¨ÏÓ•7çzQô‰íêr¿/æ;ùgloW%ñWÙ‘ÖÀý~ž“ñq”LÿåšÿTlQ):ŽKÿzÍﺋ6ËŽžq@,?â;Fã^µ ¤0"ÿ­Ø-£g9-_'„Þ”PÞª›:fa>˜Àâ1“Þ›âŒû× {ŽúX2Æ£ƒEh$¢Å”“{‚¿‡6ÓES4øó‡Å9ªì T™²˜´m1+ˆwvÉu6¦ëÕ &Òdøé%¹:}NWXÖzò‡—¼¸2_7le¤¿B°.Ò#ÒÛ7Ü…¤ØþDüÇzr5b#›Êkª«ãk’ü3\f_š„ú"æÙwH*ëQ\¬ßûË”½"Ø+FyXÏîôË”'{ñÿL¤»oéºõpo%<@ÞV=°’v!ktƒ­¦QÒr¬ºM±ÝÄ%zkPu¢©lgþž³n‡çáaxfq¸Lú 6 féc$þöïä9éŒï°x¹ï§½†¿b×@ðYEi\;\'yïh|ú ì¬5s¾°…t"N°5Þ/x ñV¿5sæt¢ï·˜,¯]Dk žì(ºEÜþ¡ÜdO®ú«*Á‹il™– !_`£&ñNFz ÷G’îîýdgKj”óT+B! ¨M®¬ª*ÛùñÆ6»©øµ-XÄaɆO¶ºÚ5#ÿéÕ"ƒ x$æÃøl¾P$ VJð P++™Iö$îN_–¾¸(7§ƒ”FyIä ó±(:`:€eð&ɽë¡Cp°€;FÃ)ý©¼“YU%w|Ò[-±£-z!úÖ$FËËX­V“´:ôC7g™BAn¨d2²•ÙE×®!úBä>/ÿ¸°ððò°–²¢œ¼‚ß½Q3#¥AÞM?Ë'¼”Äò¯/Éÿ“öSXHo(A£UêK<‰%eÆ`‘ÃXÙ"ägfq‰úã¯}™_iõ\š2!Â!./±\Áü˜O0gv¦±ø ¯'ÿœ2É ½!éfç`Ê£QPí¨£VÒ«h.ïºìTî‚ræÜ§m—¯\ؼÄÞÛi?gJd¿h=r.2fœž6þ]»©q:×6g®0¥5¢†4N÷7„Ìv˜0|ô³?#‹ooý£E~Ч‹5&¬ÞËŒ÷`ëãÛƒÕǶnjݢͶ³—|rëLã…;íB£°Öq=ZwF¨BŒÐ:ö ®ØÐC–G·«øquV=BÞ£Ël “ǺlˆwÔí ãä5”›#K£‚Ó¼Wœô¼C$tq|„9È„éÏflÜçêÎyºFyÀ"ýf"ê{n_Û™*yŸM:× GᜄvckÝÑÝÅͤhÚ^îZ˜µ\˜yÛ'Í|Ùß¾Á 1Úx‚ý“f¤g í]Ãú×E¸ãOº^…õÆ_ ¤x[‰ùUÎl6±t c ÓòåIÊÔT‡ÿþÏřɤÿTÛÈóÓ K² ôÜï!ü—»Æv‰Yâ߬¶ËH'z¨êÆuá×Ó þÒñ%®³u Õr¹ÚB]^n·›:­»ßäÝóîè ×3¯ûéòm™¬ƒÅážS—e.€÷`QÖô} ÷¿{%Fˆáׯß6^Êî€k öÃWXoX_÷ü,<‚á\Ì;Y‰^û*¿šàb\å„Xkˆ?Z._8Å>Ø„½ ¯Z͈X})FíÃØjÐEqkWÏ„@ÁuÈ¿:^Ët‘&W•2 |Ô=ØK¾ïuû¨@zºª°U0µpýüó¤þŒÜŠIYÌFH2ƒ3ÜR3ÒW’NƒÁ+$/ž£iˆ;{žÚ Éôëx¶°{g†ÃQЗ7í««õOWƒFÅU}z²õ 0÷¿kûÞÖù×ÊðF ^*FÚð´¤'¼¬[R¾'’âÉßeÏFtaCIAN§ÕiµZ`t¤ ÌX²f­,%å·¤ÜúõÁñ˜0â.1ŸÓX³[TDiA<V—OŠklô‡²DkíîöU5‰©å\]BEF9ñ†•¦cõTÑËÄBŽ«Býü„õó ½÷hás+)¦Ð~ô3{³îÌç$E7g~4ù­…ë˜bÌSÃQgHäÌG.·³ïTôôõ†p7Y°ÓvU„&]©Î€tM†Ri—\ž åÜÉÍÖåñÈe!nî‹Ê?ö—5gšM°›i 3„D&¹M{¼‰Ð ‡ŸÝ\Ó1ÖÈõ œ^þŒÝƬ€öør<Y¢ €Þ´x7ZŒ£¡Å‚ðë™\¥^‘:}9–®ç¶à>)XLüØ‚B<ð¶8‹ß]ULN–>·;ãf4ÜÌ{,QåÕ¥—­¤?Ö#[UÎÞvÛq;„~ÿ8éXÚàDw¿ß;¦¿÷”–>6ç¶rÒTÂè ŸíÚnj^Ç* Rñý,þpt´˜œ½ éY裑Å:4xö§©À(”Jáieœìû §ñLÀ>€úâ¥x¶LîÉ´"K™Sðà3$ý˜;†ú!1Üêóò lFÙ»ä{ññ=1¿Q˜ÃÑfRcÉýÃíÿôõN‹ÿ.‡õn>ÊL.¤Õ!; ˜)˜ÙŒ©ÿ®š ßÿð>7 3V úÉͶOÔÇ— Šæ mD]š*™´>) ¦éßL|·ÃxÔÔ[{MÆ19ÿÓí2¼UÛ”éऴ‘Þ¦4jâ3Füg“1ÓÞ+1Ž‹jö0læmÜ8Žÿ2~ÿ±à®ì­·Oïíù¸º93´ŽóV§EB D%Td2ƒˆV.4áºrR(ÁžE´¹ÿ¥×¸þ}çô3åpÉ0` Eý?¨ðG endstream endobj 101 0 obj 7660 endobj 80 0 obj <> endobj 79 0 obj <>stream xœ­X TSW·¾!psµô*h½[Ûj«­µŠ"âŠVqDe3ófræI !Ì"ˆ¢â¬hm­XR­ÕFÛj'­í¯ý­õïÚñú¿w”Ðá­õÖzk…áæž»÷Ù{û;ß¾ÊÚŠ£œÝ\Ü7®™áì¶yóBÓÆIãKVÆÉÂLœ`ìx¾Á¦ù%.âøÏ8ˆ³ÇRB`åºÎ’ðXi @¤Ãkί;Ì}ç·œBÅÒ@¯07¯Èq¨W$¹qxOâ(ŽŒåàâ°Éô„Ìa“X&–Êž½N%¡áQ‘b©ƒ›ÄW, £(j…«Sl˜Ï6·åqßíëÃÅVDø¹Ký7®”lZøÞê¨ÍkäÁ[¢C¼bB½·.[°ó­]oLñœ9kÑì9‹çÎ{ÕñÍ׿¿NQ3©P;¨ Ô êj5•ÚI¹S.Ô"j6õ2µ‘ZIÍ¡^¡6Q«¨¹Ô{Ôjjõ*µ™ZC½I½Fm¡ÖRó©×)j5ÚJ¹RoQÛ(7j9µZO9S ©)Ôxj15ZB¢¬(Gj45†šD¥ÆQ“©([Š¡xêEjÅRÃ)’hJD¶Ò- ~²ZeÕ- Þµv´N·þÕ&Âæ½‡¾)š#*ýÌì`. ›:,cøòá¿ñ|¤tÔ¤QºÑV£wÉó|ì¶±ºqÔ8帟_P¼pÙÖŶûů³ñìÆËÆ·O˜5!pBÓ„§v³í¶ÚÅÙ·ûÙ~‰}±ýÉ[&O¼?)vÒ/½ñRì[Ù.£F÷þFz£L/¸m€dƒÖ;ØNºb?jm C <^@'„¡  f´oí‘™¯Œ£èÖ’¢6þ¾H‡jÄb%çÖàdÑ€ÉôFÛj2† Á`üšM=…ÂQŠC©¾xdÆ.0¢ßÎoô¾fâ,…ñÕ?ØÀ<ºzŽMXøÐ›(Ç4Ìe±-]Ü~d¹'­–DH˜>8Zo¬Õ * BãJ£€­B¨@]šWRŒ4 ‰$ŽÃB:Žì=[S•Æf×£*”¹"Þ3Á3jM†”QÒÙû24Þ@Åœ>s¶Õ¢ÂÜâÜ’T5Ä@¦:Z›Áä4à€ÿm—›¦ÊF9(;âÝÔØ¸ÀˆH¿ìb­²%ªB†˜ðèØPŸ–=_tÞþ¤–È | |mw²×Up‚}²ýä;N;} ®9»Â‡s¢ãMá7¢Jþîô6_‘ÜT6ö¦*ž÷†eô£Û‡Îªˆrç°,H” !«šPÓ-VÑ}.3õЭ =ƒ€bkâŠå‰‰(2•‹Ýã“★.×¾;ßòØî¯ÊQæó¹J•¥ªÃtqõˆiÖÖ4ÞžŠ<ñJw̽…G>š/Â?ZUñ–øsð BØhûàŠù©tb(Ù×~²ûuØÎìlÊšo B©š†aX‚Y\nMòl…ñü7°ö!^kÓkËôÀ3³‡hÚrº@×%„óF)Ãe„²f´dV&^»íR›ÒÊ}³±Ïs#jà{d¢ˆ¬}Ùg4EðF_•(_š›RzG‡´ b¤Í/Ñ”?€fTÂôxÿõƒ2QCcÿÎ6ÒÑHŠ’ÅÌ`Ù%zðÐ ® Ò ÔŒ§®G&£¯Ñ@ôàÎçï]q®ä¯èNGW™Ï]¿ÂV¶Åå,xÀÑ]­[Ø÷wø)¸ Œý²o^Äî@÷ùf˜uêU8@`æ ˜­Ø‡ŠP9sXŠb9ü#’”áÇïÅ Y{;ªÓru"ŸàS ‰( %ÙûÕ# ¿÷õø‡"-ª#=.‹áp±è ÒaaôÌ_0ƒ™™Óðh<îÑ a¼¹fà—xlÓÓÁeE`ý>i,Ú„Gb«¡Õèê  š°Ë8™íkë( 'iô®õ Å9m:‹G?zè¯ÎœÏËã±÷nÑ Òa‘¹av“>û•Ýà±|©Óºkß>ø¬Ûðù‰enœùÀÒjSHÝËÈ #èŠ&ò¨Ä$*Fœ¢¯ž)éàrƒ5ˆÑ5T¶|ü6Šw\è5“ß1£ÏŸéxŒ;§[ðbmŸ0yŸ>ØQ°\izÁ§H#®–B: chqóLJÿ\öÆc¹8=²p 7³F8m”Y?¥uÙááµú þÚ’Ea¤œ AëXܹó˜Sû6¥U"¦^§Ù_{lÉì-R)ß,êe.,0ïÙ€;—ZDPjö8¥ßŽé†…Ýgºas· Í ® áàØ*EkâQÄ<¾uë»¶¤ÉZ¾º´TU¥.iR´ˆ©ÓjëH›¶…ïM‹àS ĵÛ3ÝÉi~pi€.‚OKJGV&)Kð’…í@;˜7Ú@ºÌ¨¾ÿni§CªrÊ Ëcö Óª²ÜBu>ÿà»}OÇÅ‹':Îußë±Õk¯Æ+ÙïÁ-òvözuÚŠãG:vA5*^”eW,Á<»¯éò:±žOj(Hôúª½²¦¶ôŸHN3n™65R•sÁUÁU!Ú@•²‰Àpleg¡„©i§Ñ-t]B7ŠO—]ÒU?@?¢ê¨ÒõE»Úö q¶gÆ¢˜DE:ãõyqrŠ&­\©’#&‘N”#yje¸*‡/E9UþæsØGÞzÁMŒ7"˜q–`ÁE÷„ûO»hoÈÜFž’·úJÜ3Î £æY¨¨f™[dçPù¥‡R½ÐèB´‰‰t#3“3²9oŠ$;F½0ëßñß'òSo'“jù‹Cç»ùè>’s™•Yeaˆ#i,?O”€$­%šÜæî|Ð%TMÈÓ±æ§Ãui‡ÄûyŸfß—²U¥ëKÐ!¦º®õɃÜàX§®G¥C˜¹W‚šÝ¿T¡°Vô§¸Göÿ"D][ûÓÿB·–Ž&Ø&>`O6>>b¾]rçðÊ¿;‡ž«>´íéÏiªG͵1$‘>h h ¨ iÍ =òqc×Ƀ¡(-- +ùôÿD):uæ**L«áuñ5òJ¿ÐÆ®ïëôƒŽMžž^›æòTÓõph×;À›­©ï6çâ(­xÓÇmb—=#mûÚí§†Ö®¨)•|^Xí`Öa²ÈTò˜ôôÀ8Îç€o QÜxÔT< ¯Æ®ÿÆv0òý£MšjÞ¿•õÂl7è­€­¦ Æ˜xt¾Îÿ’4–{w¡™7¿Æ14¦ Ÿ>Ð_ýì`JHQH•\Ž·¸1NèýZK‘x(, ö¯ßg›eu¡¡2Yhh¬¹¹®®™ÃnØ–5Ÿ܉‡™µœ6sò4øœîÎÓò´Ý=ú¥F\Rz:Ê÷îw$),qœ·©Õ·8•?æµ?ãVÜQ…Ý夲캨ªø 2-2{·,óÂÂâepJ­²Ú¿¿ °mo”Uå¶—p§Côг¤ †vÿ~Gü‰ 6^|$¤ð­j¿¢°Â •¸Ô§…°Î™Ó§®ƒhß¼|.?¼•ü±ú”9¤/©õF¢ u#ðp 0bì w÷ª|±äïîÒõìI£Ý_a?zñò±#Ú¿Ÿƒš?·)VÓ³¯†}}¡½B[Ïå‡Õ¡ ÄÜúsöI í±¦.‘ˆaì_М}ߘàdÎÃØÙN I°ìÏ|ׯ²_ë·l1­áÃfè<ë‘Yˆh8l©Åû󡃧d›ÆHS6l£òsеôT|e*\±©5JîòP# Öø›rqÒ!{ªCå팥J¡õ‚ûDŽŸ…(4@„˜)ÓŸL{ú¯'Ç["öñîøSvïÞK·¿¹éåÛT˜€m0ý2骵Øíž6@ÿ ö°–áXÍ.q^†\{|󿵄£_^‡Çþ(ÏëŒÕ½ù€wMÖÚ`uiayÒÙׯTƤdf¥%qø 쓚‘˜Š¢í‘¼<­$î`»}©¹Ê¥J©B*Ähµ•µº¤¢”BóËtáµ'Dóó¤H7^Ðe$)2¹=³<³Br• É(šI.7ŸéØ_ZÎõ̘g!Ç Í'ä<³#â=†<ƒð³n6)%#Å3&J$D_ûGÞH™áè›]_vµîÿ óR7ºO„õ«wñ _äøÖÞƒ©ºÆÊÖ²Ì}©E\ÕácMóåMÏ·6¹¯ß6€’Ó:p'ůz!2æ²(-[ä©ÈLNG±Lle|UX} ãoœÚé+‰è"Z‹ Õª\îi5z@-[RP^Lz›dHQˆï‚Ÿ]Rq2R"&&&>’d´4‡6¼ ·áÕ)éIiHn©×ªÊPqù`Ù!ãlÒ š÷²\œcŸX±Ã}‹Ûœ¤·Ñi1¯"uP© JZ]BþW£<¦>¦6,"2.pÞ#/}óãï‡v/>Âhn»@†Ô;ŽÝ˜Æ#œw/®mhÔ髲ò³ ¸–†«¨1×OŠ}²üBø0©$'8gcVœ’ 3¦ŽJ%ˆn[YT•R˜‘‡ßx"ƒ×Ñ—èhÁ­c†Ã×O9°¬H]† ˜òT,ïÁq!.ò·µ®XS>ø¦í©Þȼœì›š„rœ ÉOjç@ýÊ‹©}­YSnxzÓL°Ëá)}0µ8 ¡¥(C™$gðüš…øÁÿ ²Ü2l!)ü/܋𘩈KL)PgpíÒNqÇ’î«‘+š@8×nNlRš i‰%qµ­@–C!7ZQb„¼©ˆÆ1"ýpÃn¸u¬dä0ýÈ‘†‘£(êf±k endstream endobj 102 0 obj 5522 endobj 53 0 obj <> endobj 52 0 obj <>stream xœM]lSuÆÿg;g¬²1,2†çL$CÁ9‰L$Ç0 ©%Ì[c¬G7\×֎¶£íºsÞÓ­”}+Ýê¾ø! /43†Ô ƒ7ê7ÞˆÑÿ)’yš(ñêÍû&Ïó{ž—B…ˆ¢¨òfË>Ëas•`„­ÕÞm5ù+§URÚ†íEÃ8~²”;µb!·\ŽëW㥸¦ (j·ùˆ`w¸¥Î;œü+Â&~ëöíµü.›(u¶·uóæ6g‡hksêKß`oïî-ü®®.þ@^ÑË{EÉ%Zÿ v›£Ï)J¼Ùn¥n„Ð ww»Ð‹P3² wÑFô>*Ò#Å©RÊK=.˜[¦Üß–­Z.÷CF³f({hÐ>ÕjMŸß¿4~=Âdh—lW\à»êˆ0–ã>ð@Àô“R²oaqë`<˜„dEjF٠ݣì•=º¢]µå‹0:߃w’‘ud=}|0´‡•èyõvdæ`QþLÑ!õáØ—^Kÿ?Jvÿ4kÀšl:5&Ã'À£T4 ³ 2OWÓN8(èNÔ›‘LÀ-%#ëNÜ›âð:éÞîIø‡!ãŸä´è)¸—Õº”£òÇÐ-ª”˜…ƒNŽ|•‡[*ù“ÍŸ¡à­tÚ ]ÕTÓYH „y ÀZ»ÒÍ_¼¤Š˜H ÙL6c}â*¼öÑŸ¿ž†¸×¡… ¾Tc©¦‰TÍ`;–ðkÓ7øùY3ÉE‚j( ÌD'¹Uˆòõe} ¹W(x¬%f ¹–\éÄýá0øì¡·O\~ïë:®‰ì ¯“Vr ë7㺿ð\’| —Iñ[¤˜mdÿ"¾„oã¶kÿþãM²eŠ‹œT‡Æ€9 Ãt&µôMµ^1¦à.Žß5hÏ?«¨ôõ³ƒƒýáxµeô80Õ{ëë.žõqó¶Tø7×}oRžrEÃ3heš¬»{G®c^º£Ì(‰€:Œ‚nŽTÒ$cªšž`£ÑäÄHl®gÑù=0¿/ýøè;ë P¹®y†ßH¹¢‰P¤)å¹óÌ­wà5çIñG#l$¡3ÿ}ª/Û™& ã˜=S´°2[®,¬M‹31£1{ÎøBÿYè™) endstream endobj 103 0 obj 875 endobj 45 0 obj <> endobj 44 0 obj <>stream xœyxÇÖöÙ« Ì‚ d×tBHB „‚©±Á°Á4Û`pïr/roÒ‘‹Ü‹lÉUnÓ›©¦È@‚¨ \0T !wÄçyþ‘d,å ÷û~#ágwggæœóž÷¼glAYö£,,,¯ßê¼Åeí»Ëœ\\fÎÐß±Ó±Ðí§{[…ź=¯ÖX5è0\7qJ‚f¥+×l[+òóñ°›ºì»™óçdgä%òÛµ3ØÎig„¯WÐÎrhç²ËÏ+"ö};ûÀ@» ú7Âí6x…{‰¢¼vW]á%²s Ùí% ¦(jÝûØà]›–Æ…ì^»,Ôë³åaÞëVˆ|Ö¯ ÷ݰ*Â/ÒÅ!*`ctàΘ O×%s¦m›»ý£éãÜæ½7~þû<|0qáŒIñ3'|‡¢Þ£ÆS[©Ï¨åÔ|ê}jµZG­ > &Rë©•Ô jµZEͤ&SÎÔ§Ô,j åB9P³©©ÔFÊ‘ÚDÍ¡¦Q®Ôj.µ™r¢–R[¨µÔ2j5ŽI  Q£¨)jÕZLÙRƒ)5šBYRK¨1ÔPÊŠK £hj;5œReM1”;5‚z‹ò ì(–êO­'á Ã]¨K,.÷ãû5V ÎXÚYî²¼eµÂj?=•N¡»…󄵌ÙÍ<|ëÓþû_0gÀ•öŸ tyð”ÁEƒŸ™?¤lèÛCÅì‡mö`¸õ`ë˜cGT³£Ù6öÉÈ‘ê‘úh”lÔ%›E6;mÚ~lë6zøè9£ƒG7ŽÙ1¦}Ì_c ßûv ÷Ã=âÇó vsìRìºÇ¹»0ÞZW3XWXcñµehh¥î8ÛI—7BsK$ðx.AõPÁ·÷ˆ½MWºt[AQ+ß-T‚ÊÏ¢£¸•8Ch˜ï ÒÞ³¿iu÷ØÔ}bY C<¤záA=*1D@†$9##™ Pp/èª:²d4øðµX¡¹tí+Ÿh²TTñ/hE4—e'åó¹‘ ^¦ g¿À_Zaš,‰c4º= ÅCn©Žf›éŠz2[8Äóø-:AAuPÉ«éeØ/Ñ;#6=ÐVJgV§ªÒ«ßGé6õÞga ÆãWy) ©-HDóEÁ.>’)Èò ¡Œ©­…ÆÅ†íܳ«ãÙQdS’ǬG]Íðï´ÈE;Êúk´@7‚m…Š]ÜR:^D¦n€rþ(îò0]¡Ùt91°ED6àVÐÖGŸÝÞwêLyÈgŽÞ-4ŒkÔ{Ï|\ý|óáEŸºûÅÄè×ÍР¯5 EáÝ7²`ÕÁŸ"‰Nç2c¶Û3wÙõN¨‘Qí‡T^æ[-®¦N¥hº5Üñ’ÏðØÙxà“ÐpÄïùUÁ÷A£Dç.@GÐ7,²BV5tEC/:&}[ µürÐ^íDQ+t7Ù¤¶„ÜP`V™˜ ¾G,2]ýiÊ‘.DF£5=Ùe¾•Ò°m.ÍÝÇëäõ¾ãL®ï ‘êñ™¬Ñœtí’@£»ËVB}PlfJz&'ÉI¢È_í¦ÜLH‹%žñjD~£‘ˆù¾ûq[8$§F@°„OgA¸'03æü‰¦¡wþÙ}éœÛ‚r>7.'¾}øôîÄ" ú@ïP#Çèýy-@ öâ…3—o_Xúá»+W|ìûè‡'[Üy8µdñËOÈ ™õë¸mî±~¼õ/M’r¯¿¹ºGý߉6â`ì%4‚XyUßè!gVU íˆ^ý+‰¼;ÁƒŸOF,²9þ¸^Ï=±iÙ1é|äæ©!°–œŒÿž‘]bËo]Œ©B‘ZSÓˆqز³A¤J:™t Â9è‚k%ÇÊ.¶”Þ‡;°7µÂ¥t;Yi-8ÁòäÉÎaQ³€éÃÃe-ªÒ .éÛke_Ó#ޤû®'F=Bvhúpš†my,ì9ÎêÄ? ‘U'¡/¿µžX)0‹ÂmÃÖkÉÖ]tv¬1y⼸Ð&φ $Þ–“ ýqêwíX{­ŠÇ[…}°C M¸ÛJ¯DˆÝ°uþ|{ÇëŸ\×~{çèb‡¾z‚†i,Ðxí/HNêlV±§ï~ Í\VÑî½ÊÚJõ¥…¿p±Û‡Ü¦)ÆÒ¡‡êsÜ5ÙÄȨÎİ“{vek,nh‘„¨€H¢ç.ÄÜzüô©ýc,äq„éõæq™ßXÓdA´Nlù'ýóá•›6íXù.Iãä‘ä¡N&¥=ªÝN ûŸ_4¬Ù:þµ˜è# •X)´îA‘h”Ðâ÷îšjîiïãxOBH²‰îc¶[B{ô¼e¶OÚ¬£AZ´òá(ë£H„Ö²?^ü âdáŠèz`j”•ʤCó6¯Ž]ãÂ[k÷§ÂýLqw-0]¡r“ÉX` ±—ýùs—Û¥áp!F_û÷_Xs”õ¿“‘-g7î<~æü‘#§ÏÚ¾iƒ‡‡+?Ó—Í•ì‹èæÉ­›ÝÍ©Mqj^UZ—W&“‡Ö¦£¨-mªiÙ˜¼UêçÆÇ—øV»óÞò%sw(ü+bxkL%ǧFßrQQ’½;¬‚dfÎ˵hñ²ë»öØ“›¹Ä‚53YA§A"¤å$@$•'—K•y9åyÅ €/³S–>RUÔÚªäë+‹à0ÝÈ æx,Ù1Å€u^õoó,]ˆy¶BÕòèÏ“kø´²Ø=éeGªªöÝ“Ÿ…/áóÏ.kY 'O<3%'«0©*IrŒ@ëÙz&D«SΦž‚kp:áëâeçj”O Ôq%ŽE›‰Y{E‹#¶=´I­Ê¢I¦Å±“)ËÎÍì-‚þúÅm-K&@Ÿ 5‹ÆÒoÎXärßœa&8¶õˆýÍþ¾)Û\é×Eq8Y5I¨eýB…lD^t®(?8oU)ìgZ[~úWyPX.'‹Ë‰kéeo­P_³ÄéÎCå1Ä #æû|ð2·~Ú‘ömâ¦ÑÞÞþ3¶;—Üq™UY%aÀèÓŸ&ŒQsQ¥¬½”ëð9#QVŸÕú¯`VßëC•µ0(OîtŒ5)D´VøêÚ#þ_Dèÿ‡5Ö¾-½Þ~U‹´;µJ’ÞñhQ?7é'GÖmÛê¾~¿ŒF.ìíÕ8È|ÿÉ}ÜŸÃ+Ì+)©Ç}Wh€YAFþ´õÉ»t54CkHMDÂNp„ êE:~0—ë¾Ø×JjhJIù4‰w\;s Sk¹¤¦•¸ÄXfÐl :bÀpƒA*y±uµéARx€)µÑIØrëöMÀ,øQh zïÛßïî½)Ÿ'Ojè%â ÁŒÊLöKà|›wUì$Á8ÁxÍØ 8¨¹VÉGB´‚FÜ\Óü®´@#´hA©HOåǫ́|Þ}ºÿæhbïG8›~÷šÏ­Û÷wWÊ×_ÇI6›™Åpº¾O Þ{6z¶’Dà)êÒf<6ÞŒù­pd†í&&O[?×I,Õ‘5!!‘‘!!5‘juMš{­áºúššôŸVV ‚*`Ì%ºÿ çGú™™ ’A[+‡jÿ C\D¿« ¿uð`±ºÝ¤ßH lµÈ†¸é¤^HÛ¼!cÇåíR“¼=ƒl{Ä®f%Öþ¤®qnôÎëi)3"ßgæ&ªGŒ)³ë}fã(ýDY§Ñ²I]èÿÑqb |[ ;Vê77™Í4â§¥~¤‰Ûj¨…’6¦¯êÐXt {€Ð ‚„V{Ívñ¾YcNã¹xºziô‹£iýŽñV³²eFd[ïÑßÞ&äÿ±Í6¤]Óô½ºÖ( ’õCÜÕü:Öd}Ö¬Îâi;W×MާÿÍ¡›…dš7úÆC~ðìÙÃ'hˆ>ÐY*d¯E½“:7½õÍU8ÄéEdžZËj¾ƒÞ‚OYI鬆ÄcIc/g—øB !ÏäÈìô]˜ËŠ&] +:eÕaIxàwà õT1ýuP§ÿט›‘CŸí:Ë/Z¾É!¦ô×¹¿ÂTÊ ™ªEtdzBbÉÖ¿V¦ÇKÒlc+â”5erã{5ºt’ÙÃáÊêîï4ºW_1­CM쉇Ýa3lvß¾:™Y‹âYœ t—{Ö$œ’çB-£WD§úd¹Í»°1Éœ·¾“ni†úJnŸ ®>õ=\‡Žßð¤FÆSh·°-뤸rsJZf$2ЍFU]iû×.7qÿb®ÝÐö‚(žóâ~‰«?{—“÷2×-7oúNÁ‰ºŠÅÜ¥ü¯îZ×cÉ&nôŠIHËȧC¼}j~>‹,¿jõò ñ QøvpæÇ¥û ëK×NB£p?l9Åp²¼ö…ú!Ëgh4""Ȳ;’LE“µ¿Ý¾uý<OuÄý?ÖÇq^ß…²»Ð„.Râ»:ÿ$_Rí^ cóŠsò¡À™ðô˜¤L7üµ"+E’ é¶1•ñÕuU%yúîö¶÷Å-[¼×ÙÛ·¯;y²ýâmîÃålRLã‘#Õ¥¥Õ¡1¡?uwÙ»»;·mõZ¿äãýÎ':ö]¸c©>r°ª¹¬¬*ÈÓ#&$ɰ+ :©ÿX O \Á’Ü?[XµïQÎ^`äJy¡öØØ"qv/Í€-ÂÌ‚$øÄû$l‘’¦8#:#<¨NZÌ7H‘EvÎF/B¸Ÿ>q.ý0¤ShiÉRy<6—Pt ƒæ¡>û Kó¡úŠ6Y}o#0Xó‚h€·É>®ôëÇd$wxÍuMŽ‘ÄK£$dmQUfEõAù¾#\Ï‚BÓ)Fž©Ïè-·4h¤>|òÎȆ8û#Òô´˜Æ}ðšÝ|èrÿ9¡›Už—£Ï>  5Q_-ß²Ñ}ÊŽgÕ.-mýj‰4&<ÞܘOŽ/ûêôÁÖ}-\eÌáÍDñ|ÑtíD[HÂ$a™|–GLb™b`ÜS.7ž()=~ÚÀê®×ïëyÂE sBÏØÒ6BÞ æI‹'ö&DÑFˆ½ÄÓÙòvòÄ_O!ÿ¡“üÉ“v¢¾%­%t£ ­àË ljZF&ˆýÂ8ôÄXÖzÏìbB8œJ_<õóÃ.w»ß2hàä;x0î¿hþ\ou²BU«P—f–¥pÇŽ·œæþ×n³Wl]ïàbØë9Z÷Ìâ™F€~Ôe°_{·{údž…‡*#š òeÃåAjFLö²En|ZfJ&ɾX…¸¼îO-νŽYPÃQצm kò|‰# AXué‡8  ?ƒ vUŽpl‡,¯B0øàI*‰‰Š‡?)ïUð29œ5óXHðWñyåç'duFx7‡ËRøpî—#éì-x9—ô]„îϺQ¨v—¾ºëè!Ûù¹ú<œen/ý ñÀÛVú׋•zw”ggçr--7ôý㵓>îA ¾¡‘|@˜Hâ#Ù•ÌXÿ®—Ü1ú·SŸ®_ë¼fÆ®Å%ÇÈ6.m\£ED&Ìúe=©š£¾{òôÆö‹Íz—ÌW½ W„¨ÃF*ÒóbKñÐnÈ%<Û‡x4ú‡Ê’‚<¨` 3•aÁx¶ÁExÀ±™{·pg–Þq&v6ä+ õÑÑ%¡¤üNæÒ}ÅV&TÆ'gdf¤sA!añbÒå¤%–&–E«ü Bâ#⢂#‰H¯ˆ¯,‘çË ¸fuCe9CajYRY¢2j4‚º²V¡¬hª*¦W¬¡?ôÞ;ölæ·çý›tÃ,¯<ÿôTSe{œfÚE±·ÕÁ9 .AeDTq¦œ«W/ØÌ‹ýa‘I1)<ž´fÁ.f7$h.–ïá¬ÿSŒ—²ot¤ë¥4º·ƒíìCÙlj"Hˆ¶ô/JoáP>¦œÌÎF/é¶ôB?.„‡Lib4ƒö0,¡Vø…°/È•àó%"øDÜûžÜtkIg80¢Œè´„’ôülÍÃx8ÂoÌã13H‰ƒ&M]ß„vuTÄ N.Ñ¡ì\DãØ¡¦¿v×ß26dà[šµQÔÿþ¨ endstream endobj 104 0 obj 6997 endobj 42 0 obj <> endobj 41 0 obj <>stream xœD»þ YVAECP+CMR8øøøgûŽúÂù‚®÷³÷2÷/÷,FJYCopyright (C) 1997 American Mathematical Society. All Rights ReservedCMR8Computer Modern2|ÿb* ÿ@‹Ý÷ïôí¬‹ô÷tê÷®÷`›šµ¬›™ÉÄÆÂ‹æ÷ 'Øûû <02Z²„™ ªš±¿Y‹¨ÔΤ¼‹è»<7#B?û û ûû€‹‰‹rø¨÷GlˆwƒYx…ƒ?‹{‹ûFv ù? û¥š÷o•ûa–¬ ×  7Ÿ § ×› µø~B endstream endobj 105 0 obj 335 endobj 28 0 obj <> endobj 25 0 obj <> endobj 22 0 obj <> endobj 19 0 obj <> endobj 16 0 obj <> endobj 13 0 obj <> endobj 10 0 obj <> endobj 81 0 obj <> endobj 54 0 obj <> endobj 46 0 obj <> endobj 43 0 obj <> endobj 40 0 obj <> endobj 37 0 obj <> endobj 34 0 obj <> endobj 31 0 obj <> endobj 2 0 obj <>endobj xref 0 106 0000000000 65535 f 0000048744 00000 n 0000115032 00000 n 0000048621 00000 n 0000048792 00000 n 0000047125 00000 n 0000000015 00000 n 0000005331 00000 n 0000050168 00000 n 0000049926 00000 n 0000106701 00000 n 0000061427 00000 n 0000061203 00000 n 0000105774 00000 n 0000058398 00000 n 0000058107 00000 n 0000104852 00000 n 0000054192 00000 n 0000053877 00000 n 0000103923 00000 n 0000052896 00000 n 0000052669 00000 n 0000102993 00000 n 0000052234 00000 n 0000052018 00000 n 0000102066 00000 n 0000077729 00000 n 0000077248 00000 n 0000101141 00000 n 0000071997 00000 n 0000071637 00000 n 0000114103 00000 n 0000069058 00000 n 0000068798 00000 n 0000113180 00000 n 0000063955 00000 n 0000063613 00000 n 0000112248 00000 n 0000062632 00000 n 0000062405 00000 n 0000111318 00000 n 0000100698 00000 n 0000100482 00000 n 0000110394 00000 n 0000093376 00000 n 0000092796 00000 n 0000109472 00000 n 0000048861 00000 n 0000048891 00000 n 0000047285 00000 n 0000005351 00000 n 0000010954 00000 n 0000091813 00000 n 0000091586 00000 n 0000108542 00000 n 0000049055 00000 n 0000047429 00000 n 0000010975 00000 n 0000016294 00000 n 0000049197 00000 n 0000047581 00000 n 0000016315 00000 n 0000018991 00000 n 0000049295 00000 n 0000047725 00000 n 0000019012 00000 n 0000023277 00000 n 0000049371 00000 n 0000047877 00000 n 0000023298 00000 n 0000029216 00000 n 0000049447 00000 n 0000048029 00000 n 0000029237 00000 n 0000032136 00000 n 0000049556 00000 n 0000048173 00000 n 0000032157 00000 n 0000036906 00000 n 0000085955 00000 n 0000085498 00000 n 0000107621 00000 n 0000049632 00000 n 0000048325 00000 n 0000036927 00000 n 0000043125 00000 n 0000049741 00000 n 0000048477 00000 n 0000043146 00000 n 0000047104 00000 n 0000049839 00000 n 0000051997 00000 n 0000052649 00000 n 0000053857 00000 n 0000058086 00000 n 0000061182 00000 n 0000062385 00000 n 0000063593 00000 n 0000068777 00000 n 0000071616 00000 n 0000077226 00000 n 0000085476 00000 n 0000091564 00000 n 0000092775 00000 n 0000100460 00000 n 0000101120 00000 n trailer << /Size 106 /Root 1 0 R /Info 2 0 R >> startxref 115082 %%EOF csync2-1.34/checktxt.c0000644000000000000000000000561210651464522013332 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include /* * this csync_genchecktxt() function might not be nice or * optimal - but it is hackish and easy to read at the same * time.... ;-) */ #define xxprintf(...) \ { char buffer; /* needed for older glibc */ \ int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ elements[elidx]=alloca(t+1); \ snprintf(elements[elidx], t+1, ##__VA_ARGS__); \ len+=t; elidx++; } const char *csync_genchecktxt(const struct stat *st, const char *filename, int ign_mtime) { static char *buffer = 0; char *elements[64]; int elidx=0, len=1; int i, j, k; /* version 1 of this check text */ xxprintf("v1"); if ( !S_ISLNK(st->st_mode) && !S_ISDIR(st->st_mode) ) xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime); if ( !csync_ignore_mod ) xxprintf(":mode=%d", (int)st->st_mode); if ( !csync_ignore_uid ) xxprintf(":uid=%d", (int)st->st_uid); if ( !csync_ignore_gid ) xxprintf(":gid=%d", (int)st->st_gid); if ( S_ISREG(st->st_mode) ) xxprintf(":type=reg:size=%Ld", (long long)st->st_size); if ( S_ISDIR(st->st_mode) ) xxprintf(":type=dir"); if ( S_ISCHR(st->st_mode) ) xxprintf(":type=chr:dev=%d", (int)st->st_rdev); if ( S_ISBLK(st->st_mode) ) xxprintf(":type=blk:dev=%d", (int)st->st_rdev); if ( S_ISFIFO(st->st_mode) ) xxprintf(":type=fifo"); if ( S_ISLNK(st->st_mode) ) { char tmp[4096]; int r = readlink(filename, tmp, 4095); tmp[ r >= 0 ? r : 0 ] = 0; xxprintf(":type=lnk:target=%s", url_encode(tmp)); } if ( S_ISSOCK(st->st_mode) ) xxprintf(":type=sock"); if ( buffer ) free(buffer); buffer = malloc(len); for (i=j=0; j # Copyright (C) 2004, 2005 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # csync2 -cr / if csync2 -M; then echo "!!" echo "!! There are unsynced changes! Type 'yes' if you still want to" echo "!! exit (or press crtl-c) and anything else if you want to start" echo "!! a new login shell instead." echo "!!" if read -p "Do you really want to logout? " in && [ ".$in" != ".yes" ]; then exec bash --login fi fi csync2-1.34/db.c0000644000000000000000000001513510651464522012103 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include #include #include #define DEADLOCK_MESSAGE \ "Database backend is exceedingly busy => Terminating (requesting retry).\n" int db_blocking_mode = 1; int db_sync_mode = 1; static sqlite *db = 0; static int get_dblock_timeout() { return getpid() % 7 + 12; } static int tqueries_counter = -50; static time_t transaction_begin = 0; static time_t last_wait_cycle = 0; static int begin_commit_recursion = 0; static int in_sql_query = 0; void csync_db_alarmhandler(int signum) { if ( in_sql_query || begin_commit_recursion ) alarm(2); if (tqueries_counter <= 0) return; begin_commit_recursion++; csync_debug(2, "Database idle in transaction. Forcing COMMIT.\n"); SQL("COMMIT TRANSACTION", "COMMIT TRANSACTION"); tqueries_counter = -10; begin_commit_recursion--; } void csync_db_maybegin() { if ( !db_blocking_mode || begin_commit_recursion ) return; begin_commit_recursion++; signal(SIGALRM, SIG_IGN); alarm(0); tqueries_counter++; if (tqueries_counter <= 0) { begin_commit_recursion--; return; } if (tqueries_counter == 1) { transaction_begin = time(0); if (!last_wait_cycle) last_wait_cycle = transaction_begin; SQL("BEGIN TRANSACTION", "BEGIN TRANSACTION"); } begin_commit_recursion--; } void csync_db_maycommit() { time_t now; if ( !db_blocking_mode || begin_commit_recursion ) return; begin_commit_recursion++; if (tqueries_counter <= 0) { begin_commit_recursion--; return; } now = time(0); if ((now - last_wait_cycle) > 10) { SQL("COMMIT TRANSACTION", "COMMIT TRANSACTION"); csync_debug(2, "Waiting 2 secs so others can lock the database (%d - %d)...\n", (int)now, (int)last_wait_cycle); sleep(2); last_wait_cycle = 0; tqueries_counter = -10; begin_commit_recursion--; return; } if ((tqueries_counter > 1000) || ((now - transaction_begin) > 3)) { SQL("COMMIT TRANSACTION", "COMMIT TRANSACTION"); tqueries_counter = 0; begin_commit_recursion--; return; } signal(SIGALRM, csync_db_alarmhandler); alarm(10); begin_commit_recursion--; return; } void csync_db_open(const char *file) { db = sqlite_open(file, 0, 0); if ( db == 0 ) csync_fatal("Can't open database: %s\n", file); /* ignore errors on table creation */ in_sql_query++; sqlite_exec(db, "CREATE TABLE file (" " filename, checktxt," " UNIQUE ( filename ) ON CONFLICT REPLACE" ")", 0, 0, 0); sqlite_exec(db, "CREATE TABLE dirty (" " filename, force, myname, peername," " UNIQUE ( filename, peername ) ON CONFLICT IGNORE" ")", 0, 0, 0); sqlite_exec(db, "CREATE TABLE hint (" " filename, recursive," " UNIQUE ( filename, recursive ) ON CONFLICT IGNORE" ")", 0, 0, 0); sqlite_exec(db, "CREATE TABLE action (" " filename, command, logfile," " UNIQUE ( filename, command ) ON CONFLICT IGNORE" ")", 0, 0, 0); sqlite_exec(db, "CREATE TABLE x509_cert (" " peername, certdata," " UNIQUE ( peername ) ON CONFLICT IGNORE" ")", 0, 0, 0); if (!db_sync_mode) sqlite_exec(db, "PRAGMA synchronous = OFF", 0, 0, 0); in_sql_query--; } void csync_db_close() { if (!db || begin_commit_recursion) return; begin_commit_recursion++; if (tqueries_counter > 0) { SQL("COMMIT TRANSACTION", "COMMIT TRANSACTION"); tqueries_counter = -10; } sqlite_close(db); begin_commit_recursion--; db = 0; } void csync_db_sql(const char *err, const char *fmt, ...) { char *sql; va_list ap; int rc, busyc = 0; va_start(ap, fmt); vasprintf(&sql, fmt, ap); va_end(ap); in_sql_query++; csync_db_maybegin(); csync_debug(2, "SQL: %s\n", sql); while (1) { rc = sqlite_exec(db, sql, 0, 0, 0); if ( rc != SQLITE_BUSY ) break; if (busyc++ > get_dblock_timeout()) { db = 0; csync_fatal(DEADLOCK_MESSAGE); } csync_debug(2, "Database is busy, sleeping a sec.\n"); sleep(1); } if ( rc != SQLITE_OK && err ) csync_fatal("Database Error: %s [%d]: %s\n", err, rc, sql); free(sql); csync_db_maycommit(); in_sql_query--; } void* csync_db_begin(const char *err, const char *fmt, ...) { sqlite_vm *vm; char *sql; va_list ap; int rc, busyc = 0; va_start(ap, fmt); vasprintf(&sql, fmt, ap); va_end(ap); in_sql_query++; csync_db_maybegin(); csync_debug(2, "SQL: %s\n", sql); while (1) { rc = sqlite_compile(db, sql, 0, &vm, 0); if ( rc != SQLITE_BUSY ) break; if (busyc++ > get_dblock_timeout()) { db = 0; csync_fatal(DEADLOCK_MESSAGE); } csync_debug(2, "Database is busy, sleeping a sec.\n"); sleep(1); } if ( rc != SQLITE_OK && err ) csync_fatal("Database Error: %s [%d]: %s\n", err, rc, sql); free(sql); return vm; } int csync_db_next(void *vmx, const char *err, int *pN, const char ***pazValue, const char ***pazColName) { sqlite_vm *vm = vmx; int rc, busyc = 0; csync_debug(4, "Trying to fetch a row from the database.\n"); while (1) { rc = sqlite_step(vm, pN, pazValue, pazColName); if ( rc != SQLITE_BUSY ) break; if (busyc++ > get_dblock_timeout()) { db = 0; csync_fatal(DEADLOCK_MESSAGE); } csync_debug(2, "Database is busy, sleeping a sec.\n"); sleep(1); } if ( rc != SQLITE_OK && rc != SQLITE_ROW && rc != SQLITE_DONE && err ) csync_fatal("Database Error: %s [%d].\n", err, rc); return rc == SQLITE_ROW; } void csync_db_fin(void *vmx, const char *err) { sqlite_vm *vm = vmx; int rc, busyc = 0; csync_debug(2, "SQL Query finished.\n"); while (1) { rc = sqlite_finalize(vm, 0); if ( rc != SQLITE_BUSY ) break; if (busyc++ > get_dblock_timeout()) { db = 0; csync_fatal(DEADLOCK_MESSAGE); } csync_debug(2, "Database is busy, sleeping a sec.\n"); sleep(1); } if ( rc != SQLITE_OK && err ) csync_fatal("Database Error: %s [%d].\n", err, rc); csync_db_maycommit(); in_sql_query--; } csync2-1.34/Makefile.in0000644000000000000000000006250210651464531013417 0ustar rootroot# Makefile.in generated by automake 1.7.9 from Makefile.am. # @configure_input@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # csync2 - cluster synchronization tool, 2nd generation # LINBIT Information Technologies GmbH # Copyright (C) 2004, 2005 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : @PRIVATE_LIBRSYNC_TRUE@am__append_1 = private_librsync @PRIVATE_LIBRSYNC_TRUE@am__append_2 = -I$(shell test -f librsync.dir && cat librsync.dir || echo ==librsync==) @PRIVATE_LIBRSYNC_TRUE@am__append_3 = -L$(shell test -f librsync.dir && cat librsync.dir || echo ==librsync==) @PRIVATE_LIBRSYNC_TRUE@am__append_4 = -lprivatersync @PRIVATE_LIBSQLITE_TRUE@am__append_5 = private_libsqlite @PRIVATE_LIBSQLITE_TRUE@am__append_6 = -I$(shell test -f libsqlite.dir && cat libsqlite.dir || echo ==libsqlite==) @PRIVATE_LIBSQLITE_TRUE@am__append_7 = -L$(shell test -f libsqlite.dir && cat libsqlite.dir || echo ==libsqlite==) @PRIVATE_LIBSQLITE_TRUE@am__append_8 = -lprivatesqlite ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EXEEXT = @EXEEXT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ LIBGNUTLS_CONFIG = @LIBGNUTLS_CONFIG@ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ $(am__append_4) $(am__append_8) LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PRIVATE_LIBRSYNC_FALSE = @PRIVATE_LIBRSYNC_FALSE@ PRIVATE_LIBRSYNC_TRUE = @PRIVATE_LIBRSYNC_TRUE@ PRIVATE_LIBSQLITE_FALSE = @PRIVATE_LIBSQLITE_FALSE@ PRIVATE_LIBSQLITE_TRUE = @PRIVATE_LIBSQLITE_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ YACC = @YACC@ YFLAGS = @YFLAGS@ ac_ct_CC = @ac_ct_CC@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ librsync_source_file = @librsync_source_file@ libsqlite_source_file = @libsqlite_source_file@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ sbin_PROGRAMS = csync2 sbin_SCRIPTS = csync2-compare man_MANS = csync2.1 csync2_SOURCES = action.c cfgfile_parser.y cfgfile_scanner.l check.c \ checktxt.c csync2.c daemon.c db.c error.c getrealfn.c \ groups.c rsync.c update.c urlencode.c conn.c prefixsubst.c AM_YFLAGS = -d BUILT_SOURCES = cfgfile_parser.h $(am__append_1) $(am__append_5) CLEANFILES = cfgfile_parser.c cfgfile_parser.h cfgfile_scanner.c \ private_librsync private_libsqlite config.log \ config.status config.h .deps/*.Po stamp-h1 Makefile AM_CFLAGS = $(am__append_2) $(am__append_6) AM_LDFLAGS = $(am__append_3) $(am__append_7) AM_CPPFLAGS = -D'DBDIR="$(localstatedir)/lib/csync2"' -D'ETCDIR="$(sysconfdir)"' subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = sbin_PROGRAMS = csync2$(EXEEXT) PROGRAMS = $(sbin_PROGRAMS) am_csync2_OBJECTS = action.$(OBJEXT) cfgfile_parser.$(OBJEXT) \ cfgfile_scanner.$(OBJEXT) check.$(OBJEXT) checktxt.$(OBJEXT) \ csync2.$(OBJEXT) daemon.$(OBJEXT) db.$(OBJEXT) error.$(OBJEXT) \ getrealfn.$(OBJEXT) groups.$(OBJEXT) rsync.$(OBJEXT) \ update.$(OBJEXT) urlencode.$(OBJEXT) conn.$(OBJEXT) \ prefixsubst.$(OBJEXT) csync2_OBJECTS = $(am_csync2_OBJECTS) csync2_LDADD = $(LDADD) csync2_DEPENDENCIES = csync2_LDFLAGS = SCRIPTS = $(sbin_SCRIPTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I. depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/action.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/cfgfile_parser.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/cfgfile_scanner.Po ./$(DEPDIR)/check.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/checktxt.Po ./$(DEPDIR)/conn.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/csync2.Po ./$(DEPDIR)/daemon.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/db.Po ./$(DEPDIR)/error.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/getrealfn.Po ./$(DEPDIR)/groups.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/prefixsubst.Po ./$(DEPDIR)/rsync.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/update.Po ./$(DEPDIR)/urlencode.Po COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS) YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS) DIST_SOURCES = $(csync2_SOURCES) NROFF = nroff MANS = $(man_MANS) DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \ COPYING ChangeLog INSTALL Makefile.am NEWS TODO aclocal.m4 \ cfgfile_parser.c cfgfile_parser.h cfgfile_scanner.c config.h.in \ configure.ac depcomp install-sh missing mkinstalldirs SOURCES = $(csync2_SOURCES) all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .c .l .o .obj .y am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): configure.ac cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/config.h.in distclean-hdr: -rm -f config.h stamp-h1 sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) install-sbinPROGRAMS: $(sbin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(sbindir) @list='$(sbin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \ $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \ else :; fi; \ done uninstall-sbinPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(sbin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \ rm -f $(DESTDIR)$(sbindir)/$$f; \ done clean-sbinPROGRAMS: -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS) cfgfile_parser.h: cfgfile_parser.c @if test ! -f $@; then \ rm -f cfgfile_parser.c; \ $(MAKE) cfgfile_parser.c; \ else :; fi csync2$(EXEEXT): $(csync2_OBJECTS) $(csync2_DEPENDENCIES) @rm -f csync2$(EXEEXT) $(LINK) $(csync2_LDFLAGS) $(csync2_OBJECTS) $(csync2_LDADD) $(LIBS) sbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) install-sbinSCRIPTS: $(sbin_SCRIPTS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(sbindir) @list='$(sbin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(sbinSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(sbindir)/$$f"; \ $(sbinSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(sbindir)/$$f; \ else :; fi; \ done uninstall-sbinSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(sbin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \ rm -f $(DESTDIR)$(sbindir)/$$f; \ done mostlyclean-compile: -rm -f *.$(OBJEXT) core *.core distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/action.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cfgfile_parser.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cfgfile_scanner.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checktxt.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/conn.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/csync2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/daemon.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/db.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getrealfn.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/groups.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefixsubst.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rsync.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/update.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/urlencode.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` .l.c: $(LEXCOMPILE) `test -f $< || echo '$(srcdir)/'`$< sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@ rm -f $(LEX_OUTPUT_ROOT).c .y.c: $(YACCCOMPILE) `test -f '$<' || echo '$(srcdir)/'`$< if test -f y.tab.h; then \ to=`echo "$*_H" | sed \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \ sed "/^#/ s/Y_TAB_H/$$to/g" y.tab.h >$*.ht; \ rm -f y.tab.h; \ if cmp -s $*.ht $*.h; then \ rm -f $*.ht ;\ else \ mv $*.ht $*.h; \ fi; \ fi if test -f y.output; then \ mv y.output $*.output; \ fi sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@t && mv $@t $@ rm -f y.tab.c uninstall-info-am: man1dir = $(mandir)/man1 install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(man1dir) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ rm -f $(DESTDIR)$(man1dir)/$$inst; \ done ETAGS = etags ETAGSFLAGS = CTAGS = ctags CTAGSFLAGS = tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$tags$$unique" \ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = . distdir = $(PACKAGE)-$(VERSION) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist dist-all: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ && rm -f $(distdir).tar.gz \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @echo "$(distdir).tar.gz is ready for distribution" | \ sed 'h;s/./=/g;p;x;p;x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) config.h installdirs: $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(sbindir) $(DESTDIR)$(man1dir) install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -rm -f cfgfile_scanner.c -rm -f cfgfile_parser.c -rm -f cfgfile_parser.h -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-am clean-am: clean-generic clean-sbinPROGRAMS mostlyclean-am distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \ distclean-tags dvi: dvi-am dvi-am: info: info-am info-am: install-data-am: install-data-local install-man install-exec-am: install-sbinPROGRAMS install-sbinSCRIPTS install-info: install-info-am install-man: install-man1 installcheck-am: maintainer-clean: maintainer-clean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-man uninstall-sbinPROGRAMS \ uninstall-sbinSCRIPTS uninstall-man: uninstall-man1 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-sbinPROGRAMS ctags dist dist-all dist-gzip distcheck \ distclean distclean-compile distclean-generic distclean-hdr \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am info info-am install install-am install-data \ install-data-am install-data-local install-exec install-exec-am \ install-info install-info-am install-man install-man1 \ install-sbinPROGRAMS install-sbinSCRIPTS install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-info-am uninstall-man uninstall-man1 \ uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS install-data-local: $(mkinstalldirs) $(DESTDIR)$(sysconfdir) $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/csync2 test -e $(DESTDIR)$(sysconfdir)/csync2.cfg || \ $(INSTALL_DATA) $(srcdir)/csync2.cfg $(DESTDIR)$(sysconfdir)/csync2.cfg cert: $(mkinstalldirs) $(DESTDIR)$(sysconfdir) openssl genrsa -out $(DESTDIR)$(sysconfdir)/csync2_ssl_key.pem 1024 yes '' | openssl req -new -key $(DESTDIR)$(sysconfdir)/csync2_ssl_key.pem \ -out $(DESTDIR)$(sysconfdir)/csync2_ssl_cert.csr openssl x509 -req -days 600 -in $(DESTDIR)$(sysconfdir)/csync2_ssl_cert.csr \ -signkey $(DESTDIR)$(sysconfdir)/csync2_ssl_key.pem \ -out $(DESTDIR)$(sysconfdir)/csync2_ssl_cert.pem rm $(DESTDIR)$(sysconfdir)/csync2_ssl_cert.csr private_librsync: tar xvzf $(librsync_source_file) | cut -f1 -d/ | sed '1 p; d;' > librsync.dir test -s librsync.dir && cd $$( cat librsync.dir ) && ./configure --enable-static --disable-shared make -C $$( cat librsync.dir ) cp $$( cat librsync.dir )/.libs/librsync.a $$( cat librsync.dir )/libprivatersync.a touch private_librsync private_libsqlite: tar xvzf $(libsqlite_source_file) | cut -f1 -d/ | sed '1 p; d;' > libsqlite.dir test -s libsqlite.dir && cd $$( cat libsqlite.dir ) && ./configure --enable-static --disable-shared make -C $$( cat libsqlite.dir ) cp $$( cat libsqlite.dir )/.libs/libsqlite.a $$( cat libsqlite.dir )/libprivatesqlite.a touch private_libsqlite # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: csync2-1.34/check.c0000644000000000000000000002171610651464522012575 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include #include #include #include #ifdef __CYGWIN__ #include /* This does only check the case of the last filename element. But that should * be OK for us now... */ int csync_cygwin_case_check(const char *filename) { if (!strcmp(filename, "/cygdrive")) goto check_ok; if (!strncmp(filename, "/cygdrive/", 10) && strlen(filename) == 11) goto check_ok; char winfilename[MAX_PATH]; cygwin_conv_to_win32_path(filename, winfilename); int winfilename_len = strlen(winfilename); int found_file_len; HANDLE found_file_handle; WIN32_FIND_DATA fd; /* See if we can find this file. */ found_file_handle = FindFirstFile(winfilename, &fd); if (found_file_handle == INVALID_HANDLE_VALUE) goto check_failed; FindClose(found_file_handle); found_file_len = strlen(fd.cFileName); /* This should never happen. */ if (found_file_len > winfilename_len) goto check_failed; if (strcmp(winfilename + winfilename_len - found_file_len, fd.cFileName)) goto check_failed; check_ok: csync_debug(3, "Cygwin/Win32 filename case check ok: %s (%s)\n", winfilename, filename); return 1; check_failed: csync_debug(2, "Cygwin/Win32 filename case check failed: %s (%s)\n", winfilename, filename); return 0; } #endif /* __CYGWIN__ */ void csync_hint(const char *file, int recursive) { SQL("Adding Hint", "INSERT INTO hint (filename, recursive) " "VALUES ('%s', %d)", url_encode(file), recursive); } void csync_mark(const char *file, const char *thispeer, const char *peerfilter) { struct peer *pl = csync_find_peers(file, thispeer); int pl_idx; csync_schedule_commands(file, thispeer == 0); if ( ! pl ) { csync_debug(2, "Not in one of my groups: %s (%s)\n", file, thispeer ? thispeer : "NULL"); return; } csync_debug(1, "Marking file as dirty: %s\n", file); for (pl_idx=0; pl[pl_idx].peername; pl_idx++) if (!peerfilter || !strcmp(peerfilter, pl[pl_idx].peername)) SQL("Marking File Dirty", "%s INTO dirty (filename, force, myname, peername) " "VALUES ('%s', %s, '%s', '%s')", csync_new_force ? "REPLACE" : "INSERT", url_encode(file), csync_new_force ? "1" : "0", url_encode(pl[pl_idx].myname), url_encode(pl[pl_idx].peername)); free(pl); } /* return 0 if path does not contain any symlinks */ int csync_check_pure(const char *filename) { #ifdef __CYGWIN__ // For some reason or another does this function __kills__ // the performance when using large directories with cygwin. // And there are no symlinks in windows anyways.. if (!csync_lowercyg_disable) return 0; #endif struct stat sbuf; int i=0; while (filename[i]) i++; { /* new block for myfilename[] */ char myfilename[i+1]; memcpy(myfilename, filename, i+1); while (1) { while (myfilename[i] != '/') if (--i <= 0) return 0; myfilename[i]=0; if ( lstat_strict(prefixsubst(myfilename), &sbuf) || S_ISLNK(sbuf.st_mode) ) return 1; } } } void csync_check_del(const char *file, int recursive, int init_run) { char *where_rec = ""; struct textlist *tl = 0, *t; struct stat st; if ( recursive ) { if ( !strcmp(file, "/") ) asprintf(&where_rec, "or 1"); else asprintf(&where_rec, "or (filename > '%s/' " "and filename < '%s0')", url_encode(file), url_encode(file)); } SQL_BEGIN("Checking for removed files", "SELECT filename from file where " "filename = '%s' %s ORDER BY filename", url_encode(file), where_rec) { const char *filename = url_decode(SQL_V[0]); if ( lstat_strict(prefixsubst(filename), &st) != 0 || csync_check_pure(filename) ) textlist_add(&tl, filename, 0); } SQL_END; for (t = tl; t != 0; t = t->next) { if (!init_run) csync_mark(t->value, 0, 0); SQL("Removing file from DB. It isn't with us anymore.", "DELETE FROM file WHERE filename = '%s'", url_encode(t->value)); } textlist_free(tl); if ( recursive ) free(where_rec); } int csync_check_mod(const char *file, int recursive, int ignnoent, int init_run) { int check_type = csync_match_file(file); int dirdump_this = 0, dirdump_parent = 0; struct dirent **namelist; int n, this_is_dirty = 0; const char *checktxt; struct stat st; if (*file != '%') { struct csync_prefix *p; for (p = csync_prefix; p; p = p->next) { if (!p->path) continue; if (!strcmp(file, p->path)) { char new_file[strlen(p->name) + 3]; sprintf(new_file, "%%%s%%", p->name); csync_check_mod(new_file, recursive, ignnoent, init_run); continue; } if (check_type < 1) { int file_len = strlen(file); int path_len = strlen(p->path); if (file_len < path_len && p->path[file_len] == '/' && !strncmp(file, p->path, file_len)) check_type = 1; } } } if ( check_type>0 && lstat_strict(prefixsubst(file), &st) != 0 ) { if ( ignnoent ) return 0; csync_fatal("This should not happen: " "Can't stat %s.\n", file); } switch ( check_type ) { case 2: csync_debug(2, "Checking %s.\n", file); checktxt = csync_genchecktxt(&st, file, 0); if (csync_compare_mode) printf("%s\n", file); SQL_BEGIN("Checking File", "SELECT checktxt FROM file WHERE " "filename = '%s'", url_encode(file)) { if ( !csync_cmpchecktxt(checktxt, url_decode(SQL_V[0])) ) { csync_debug(2, "File has changed: %s\n", file); this_is_dirty = 1; } } SQL_FIN { if ( SQL_COUNT == 0 ) { csync_debug(2, "New file: %s\n", file); this_is_dirty = 1; } } SQL_END; if ( this_is_dirty && !csync_compare_mode ) { SQL("Adding or updating file entry", "INSERT INTO file (filename, checktxt) " "VALUES ('%s', '%s')", url_encode(file), url_encode(checktxt)); if (!init_run) csync_mark(file, 0, 0); } dirdump_this = 1; dirdump_parent = 1; /* fall thru */ case 1: if ( !recursive ) break; if ( !S_ISDIR(st.st_mode) ) break; csync_debug(2, "Checking %s%s* ..\n", file, !strcmp(file, "/") ? "" : "/"); n = scandir(prefixsubst(file), &namelist, 0, alphasort); if (n < 0) { csync_debug(0, "%s in scandir: %s (%s)\n", strerror(errno), prefixsubst(file), file); csync_error_count++; } else { while(n--) { on_cygwin_lowercase(namelist[n]->d_name); if ( strcmp(namelist[n]->d_name, ".") && strcmp(namelist[n]->d_name, "..") ) { char fn[strlen(file)+ strlen(namelist[n]->d_name)+2]; sprintf(fn, "%s/%s", !strcmp(file, "/") ? "" : file, namelist[n]->d_name); if (csync_check_mod(fn, recursive, 0, init_run)) dirdump_this = 1; } free(namelist[n]); } free(namelist); } if ( dirdump_this && csync_dump_dir_fd >= 0 ) { int written = 0, len = strlen(file)+1; while (written < len) { int rc = write(csync_dump_dir_fd, file+written, len-written); if (rc <= 0) csync_fatal("Error while writing to dump_dir_fd %d: %s\n", csync_dump_dir_fd, strerror(errno)); written += rc; } } break; default: csync_debug(2, "Don't check at all: %s\n", file); break; } return dirdump_parent; } void csync_check(const char *filename, int recursive, int init_run) { #if __CYGWIN__ if (!strcmp(filename, "/")) { filename = "/cygdrive"; } #endif struct csync_prefix *p = csync_prefix; csync_debug(2, "Running%s check for %s ...\n", recursive ? " recursive" : "", filename); if (!csync_compare_mode) csync_check_del(filename, recursive, init_run); csync_check_mod(filename, recursive, 1, init_run); if (*filename == '/') while (p) { if (p->path) { int p_len = strlen(p->path); int f_len = strlen(filename); if (p_len <= f_len && !strncmp(p->path, filename, p_len) && (filename[p_len] == '/' || !filename[p_len])) { char new_filename[strlen(p->name) + strlen(filename+p_len) + 10]; sprintf(new_filename, "%%%s%%%s", p->name, filename+p_len); csync_debug(2, "Running%s check for %s ...\n", recursive ? " recursive" : "", new_filename); if (!csync_compare_mode) csync_check_del(new_filename, recursive, init_run); csync_check_mod(new_filename, recursive, 1, init_run); } } p = p->next; } } csync2-1.34/conn.c0000644000000000000000000002061410651464522012451 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_LIBGNUTLS_OPENSSL # include # include #endif int conn_fd_in = -1; int conn_fd_out = -1; int conn_clisok = 0; #ifdef HAVE_LIBGNUTLS_OPENSSL int csync_conn_usessl = 0; SSL_METHOD *conn_ssl_meth; SSL_CTX *conn_ssl_ctx; SSL *conn_ssl; #endif int conn_open(const char *peername) { struct sockaddr_in sin; struct hostent *hp; int on = 1; hp = gethostbyname(peername); if ( ! hp ) { csync_debug(1, "Can't resolve peername.\n"); return -1; } conn_fd_in = socket(hp->h_addrtype, SOCK_STREAM, 0); if (conn_fd_in < 0) { csync_debug(1, "Can't create socket.\n"); return -1; } sin.sin_family = hp->h_addrtype; bcopy(hp->h_addr, &sin.sin_addr, hp->h_length); sin.sin_port = htons(csync_port); if (connect(conn_fd_in, (struct sockaddr *)&sin, sizeof (sin)) < 0) { csync_debug(1, "Can't connect to remote host.\n"); close(conn_fd_in); conn_fd_in = -1; return -1; } if (setsockopt(conn_fd_in, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on) ) < 0 ) { csync_debug(1, "Can't set TCP_NODELAY option on TCP socket.\n"); close(conn_fd_in); conn_fd_in = -1; return -1; } conn_fd_out = conn_fd_in; conn_clisok = 1; #ifdef HAVE_LIBGNUTLS_OPENSSL csync_conn_usessl = 0; #endif return 0; } int conn_set(int infd, int outfd) { int on = 1; conn_fd_in = infd; conn_fd_out = outfd; conn_clisok = 1; #ifdef HAVE_LIBGNUTLS_OPENSSL csync_conn_usessl = 0; #endif // when running in server mode, this has been done already // in csync2.c with more restrictive error handling.. if ( setsockopt(conn_fd_out, IPPROTO_TCP, TCP_NODELAY, &on, (socklen_t) sizeof(on)) < 0 ) csync_debug(1, "Can't set TCP_NODELAY option on TCP socket.\n"); return 0; } #ifdef HAVE_LIBGNUTLS_OPENSSL char *ssl_keyfile = ETCDIR "/csync2_ssl_key.pem"; char *ssl_certfile = ETCDIR "/csync2_ssl_cert.pem"; int conn_activate_ssl(int server_role) { static int sslinit = 0; if (csync_conn_usessl) return 0; if (!sslinit) { SSL_load_error_strings(); SSL_library_init(); sslinit=1; } conn_ssl_meth = (server_role ? SSLv23_server_method : SSLv23_client_method)(); conn_ssl_ctx = SSL_CTX_new(conn_ssl_meth); if (SSL_CTX_use_PrivateKey_file(conn_ssl_ctx, ssl_keyfile, SSL_FILETYPE_PEM) <= 0) csync_fatal("SSL: failed to use key file %s.\n", ssl_keyfile); if (SSL_CTX_use_certificate_file(conn_ssl_ctx, ssl_certfile, SSL_FILETYPE_PEM) <= 0) csync_fatal("SSL: failed to use certificate file %s.\n", ssl_certfile); if (! (conn_ssl = SSL_new(conn_ssl_ctx)) ) csync_fatal("Creating a new SSL handle failed.\n"); gnutls_certificate_server_set_request(conn_ssl->gnutls_state, GNUTLS_CERT_REQUIRE); SSL_set_rfd(conn_ssl, conn_fd_in); SSL_set_wfd(conn_ssl, conn_fd_out); if ( (server_role ? SSL_accept : SSL_connect)(conn_ssl) < 1 ) csync_fatal("Establishing SSL connection failed.\n"); csync_conn_usessl = 1; return 0; } int conn_check_peer_cert(const char *peername, int callfatal) { const X509 *peercert; int i, cert_is_ok = -1; if (!csync_conn_usessl) return 1; peercert = SSL_get_peer_certificate(conn_ssl); if (!peercert || peercert->size <= 0) { if (callfatal) csync_fatal("Peer did not provide an SSL X509 cetrificate.\n"); csync_debug(1, "Peer did not provide an SSL X509 cetrificate.\n"); return 0; } { char certdata[peercert->size*2 + 1]; for (i=0; isize; i++) sprintf(certdata+i*2, "%02X", peercert->data[i]); certdata[peercert->size*2] = 0; SQL_BEGIN("Checking peer x509 certificate.", "SELECT certdata FROM x509_cert WHERE peername = '%s'", url_encode(peername)) { if (!strcmp(SQL_V[0], certdata)) cert_is_ok = 1; else cert_is_ok = 0; } SQL_END; if (cert_is_ok < 0) { csync_debug(1, "Adding peer x509 certificate to db: %s\n", certdata); SQL("Adding peer x509 sha1 hash to database.", "INSERT INTO x509_cert (peername, certdata) VALUES ('%s', '%s')", url_encode(peername), url_encode(certdata)); return 1; } csync_debug(2, "Peer x509 certificate is: %s\n", certdata); if (!cert_is_ok) { if (callfatal) csync_fatal("Peer did provide a wrong SSL X509 cetrificate.\n"); csync_debug(1, "Peer did provide a wrong SSL X509 cetrificate.\n"); return 0; } } return 1; } #else int conn_check_peer_cert(const char *peername, int callfatal) { return 1; } #endif /* HAVE_LIBGNUTLS_OPENSSL */ int conn_close() { if ( !conn_clisok ) return -1; #ifdef HAVE_LIBGNUTLS_OPENSSL if ( csync_conn_usessl ) SSL_free(conn_ssl); #endif if ( conn_fd_in != conn_fd_out) close(conn_fd_in); close(conn_fd_out); conn_fd_in = -1; conn_fd_out = -1; conn_clisok = 0; return 0; } static inline int READ(void *buf, size_t count) { #ifdef HAVE_LIBGNUTLS_OPENSSL if (csync_conn_usessl) return SSL_read(conn_ssl, buf, count); else #endif return read(conn_fd_in, buf, count); } static inline int WRITE(const void *buf, size_t count) { static int n, total; #ifdef HAVE_LIBGNUTLS_OPENSSL if (csync_conn_usessl) return SSL_write(conn_ssl, buf, count); else #endif { total = 0; while (count > total) { n = write(conn_fd_out, ((char *) buf) + total, count - total); if (n >= 0) total += n; else { if (errno == EINTR) continue; else return -1; } } return total; } } int conn_raw_read(void *buf, size_t count) { static char buffer[512]; static int buf_start=0, buf_end=0; if ( buf_start == buf_end ) { if (count > 128) return READ(buf, count); else { buf_start = 0; buf_end = READ(buffer, 512); if (buf_end < 0) { buf_end=0; return -1; } } } if ( buf_start < buf_end ) { size_t real_count = buf_end - buf_start; if ( real_count > count ) real_count = count; memcpy(buf, buffer+buf_start, real_count); buf_start += real_count; return real_count; } return 0; } void conn_debug(const char *name, const unsigned char*buf, size_t count) { int i; if ( csync_debug_level < 3 ) return; fprintf(csync_debug_out, "%s> ", name); for (i=0; i= 127) fprintf(csync_debug_out, "\\%03o", buf[i]); else fprintf(csync_debug_out, "%c", buf[i]); break; } } fprintf(csync_debug_out, "\n"); } int conn_read(void *buf, size_t count) { int pos, rc; for (pos=0; pos < count; pos+=rc) { rc = conn_raw_read(buf+pos, count-pos); if (rc <= 0) return pos; } conn_debug("Peer", buf, pos); return pos; } int conn_write(const void *buf, size_t count) { conn_debug("Local", buf, count); return WRITE(buf, count); } void conn_printf(const char *fmt, ...) { char dummy, *buffer; va_list ap; int size; va_start(ap, fmt); size = vsnprintf(&dummy, 1, fmt, ap); buffer = alloca(size+1); va_end(ap); va_start(ap, fmt); vsnprintf(buffer, size+1, fmt, ap); va_end(ap); conn_write(buffer, size); } int conn_gets(char *s, int size) { int i=0; while (i * Copyright (C) 2004, 2005, 2006 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include #include #include #include #include #include #include static int connection_closed_error = 1; int read_conn_status(const char *file, const char *host) { char line[4096]; if ( conn_gets(line, 4096) ) { if ( !strncmp(line, "OK (", 4) ) return 0; } else { connection_closed_error = 1; strcpy(line, "Connection closed.\n"); } if ( file ) csync_debug(0, "While syncing file %s:\n", file); csync_debug(0, "ERROR from peer %s: %s", host, line); csync_error_count++; return !strcmp(line, "File is also marked dirty here!") ? 1 : 2; } int connect_to_host(const char *peername) { int use_ssl = 1; struct csync_nossl *t; connection_closed_error = 0; for (t = csync_nossl; t; t=t->next) { if ( !fnmatch(t->pattern_from, myhostname, 0) && !fnmatch(t->pattern_to, peername, 0) ) { use_ssl = 0; break; } } csync_debug(1, "Connecting to host %s (%s) ...\n", peername, use_ssl ? "SSL" : "PLAIN"); if ( conn_open(peername) ) return -1; if ( use_ssl ) { #if HAVE_LIBGNUTLS_OPENSSL conn_printf("SSL\n"); if ( read_conn_status(0, peername) ) { csync_debug(1, "SSL command failed.\n"); conn_close(); return -1; } conn_activate_ssl(0); conn_check_peer_cert(peername, 1); #else csync_debug(0, "ERROR: Config request SSL but this csync2 is built without SSL support.\n"); csync_error_count++; return -1; #endif } conn_printf("CONFIG %s\n", url_encode(cfgname)); if ( read_conn_status(0, peername) ) { csync_debug(1, "Config command failed.\n"); conn_close(); return -1; } if (active_grouplist) { conn_printf("GROUP %s\n", url_encode(active_grouplist)); if ( read_conn_status(0, peername) ) { csync_debug(1, "Group command failed.\n"); conn_close(); return -1; } } return 0; } static int get_auto_method(const char *peername, const char *filename) { const struct csync_group *g = 0; const struct csync_group_host *h; while ( (g=csync_find_next(g, filename)) ) { for (h = g->host; h; h = h->next) { if (!strcmp(h->hostname, peername)) { if (g->auto_method == CSYNC_AUTO_METHOD_LEFT && h->on_left_side) return CSYNC_AUTO_METHOD_LEFT_RIGHT_LOST; if (g->auto_method == CSYNC_AUTO_METHOD_RIGHT && !h->on_left_side) return CSYNC_AUTO_METHOD_LEFT_RIGHT_LOST; return g->auto_method; } } } return CSYNC_AUTO_METHOD_NONE; } static int get_master_slave_status(const char *peername, const char *filename) { const struct csync_group *g = 0; const struct csync_group_host *h; while ( (g=csync_find_next(g, filename)) ) { if (g->local_slave) continue; for (h = g->host; h; h = h->next) { if (h->slave && !strcmp(h->hostname, peername)) return 1; } } return 0; } void csync_update_file_del(const char *peername, const char *filename, int force, int dry_run) { int last_conn_status = 0, auto_resolve_run = 0; const char *key = csync_key(peername, filename); if ( !key ) { csync_debug(2, "Skipping deletion %s on %s - not in my groups.\n", filename, peername); return; } auto_resolve_entry_point: csync_debug(1, "Deleting %s on %s ...\n", filename, peername); if ( force ) { if ( dry_run ) { printf("!D: %-15s %s\n", peername, filename); return; } conn_printf("FLUSH %s %s\n", url_encode(key), url_encode(filename)); if ( read_conn_status(filename, peername) ) goto got_error; } else { int i, found_diff = 0; int rs_check_result; const char *chk2 = "---"; char chk1[4096]; conn_printf("SIG %s %s\n", url_encode(key), url_encode(filename)); if ( read_conn_status(filename, peername) ) goto got_error; if ( !conn_gets(chk1, 4096) ) goto got_error; for (i=0; chk1[i] && chk1[i] != '\n' && chk2[i]; i++) if ( chk1[i] != chk2[i] ) { csync_debug(2, "File is different on peer (cktxt char #%d).\n", i); csync_debug(2, ">>> PEER: %s>>> LOCAL: %s\n", chk1, chk2); found_diff=1; break; } rs_check_result = csync_rs_check(filename, 0); if ( rs_check_result < 0 ) goto got_error; if ( rs_check_result ) { csync_debug(2, "File is different on peer (rsync sig).\n"); found_diff=1; } if ( read_conn_status(filename, peername) ) goto got_error; if ( !found_diff ) { csync_debug(1, "File is already up to date on peer.\n"); if ( dry_run ) { printf("?S: %-15s %s\n", peername, filename); return; } goto skip_action; } if ( dry_run ) { printf("?D: %-15s %s\n", peername, filename); return; } } conn_printf("DEL %s %s\n", url_encode(key), url_encode(filename)); if ( (last_conn_status=read_conn_status(filename, peername)) ) goto maybe_auto_resolve; skip_action: SQL("Remove dirty-file entry.", "DELETE FROM dirty WHERE filename = '%s' " "AND peername = '%s'", url_encode(filename), url_encode(peername)); if (auto_resolve_run) csync_error_count--; return; maybe_auto_resolve: if (!auto_resolve_run && last_conn_status == 2) { if (get_master_slave_status(peername, filename)) { csync_debug(0, "Auto-resolving conflict: Won 'master/slave' test.\n"); auto_resolve_run = 1; } else { int auto_method = get_auto_method(peername, filename); switch (auto_method) { case CSYNC_AUTO_METHOD_FIRST: auto_resolve_run = 1; csync_debug(0, "Auto-resolving conflict: Won 'first' test.\n"); break; case CSYNC_AUTO_METHOD_LEFT: case CSYNC_AUTO_METHOD_RIGHT: auto_resolve_run = 1; csync_debug(0, "Auto-resolving conflict: Won 'left/right' test.\n"); break; case CSYNC_AUTO_METHOD_LEFT_RIGHT_LOST: csync_debug(0, "Do not auto-resolve conflict: Lost 'left/right' test.\n"); break; case CSYNC_AUTO_METHOD_YOUNGER: case CSYNC_AUTO_METHOD_OLDER: case CSYNC_AUTO_METHOD_BIGGER: case CSYNC_AUTO_METHOD_SMALLER: csync_debug(0, "Do not auto-resolve conflict: This is a removal.\n"); break; } } if (auto_resolve_run) { force = 1; goto auto_resolve_entry_point; } } got_error: if (auto_resolve_run) csync_debug(0, "ERROR: Auto-resolving failed. Giving up.\n"); csync_debug(1, "File stays in dirty state. Try again later...\n"); } void csync_update_file_mod(const char *peername, const char *filename, int force, int dry_run) { struct stat st; int last_conn_status = 0, auto_resolve_run = 0; const char *key = csync_key(peername, filename); if ( !key ) { csync_debug(2, "Skipping file update %s on %s - not in my groups.\n", filename, peername); return; } auto_resolve_entry_point: csync_debug(1, "Updating %s on %s ...\n", filename, peername); if ( lstat_strict(prefixsubst(filename), &st) != 0 ) { csync_debug(0, "ERROR: Cant stat %s.\n", filename); csync_error_count++; goto got_error; } if ( force ) { if ( dry_run ) { printf("!M: %-15s %s\n", peername, filename); return; } conn_printf("FLUSH %s %s\n", url_encode(key), url_encode(filename)); if ( read_conn_status(filename, peername) ) goto got_error; } else { int i, found_diff = 0; int rs_check_result; char chk1[4096]; const char *chk2; conn_printf("SIG %s %s\n", url_encode(key), url_encode(filename)); if ( read_conn_status(filename, peername) ) goto got_error; if ( !conn_gets(chk1, 4096) ) goto got_error; chk2 = csync_genchecktxt(&st, filename, 1); for (i=0; chk1[i] && chk1[i] != '\n' && chk2[i]; i++) if ( chk1[i] != chk2[i] ) { csync_debug(2, "File is different on peer (cktxt char #%d).\n", i); csync_debug(2, ">>> PEER: %s>>> LOCAL: %s\n", chk1, chk2); found_diff=1; break; } rs_check_result = csync_rs_check(filename, S_ISREG(st.st_mode)); if ( rs_check_result < 0 ) goto got_error; if ( rs_check_result ) { csync_debug(2, "File is different on peer (rsync sig).\n"); found_diff=1; } if ( read_conn_status(filename, peername) ) goto got_error; if ( !found_diff ) { csync_debug(1, "File is already up to date on peer.\n"); if ( dry_run ) { printf("?S: %-15s %s\n", peername, filename); return; } goto skip_action; } if ( dry_run ) { printf("?M: %-15s %s\n", peername, filename); return; } } if ( S_ISREG(st.st_mode) ) { conn_printf("PATCH %s %s\n", url_encode(key), url_encode(filename)); if ( (last_conn_status = read_conn_status(filename, peername)) ) goto maybe_auto_resolve; if ( csync_rs_delta(filename) ) { read_conn_status(filename, peername); goto got_error; } if ( read_conn_status(filename, peername) ) goto got_error; } else if ( S_ISDIR(st.st_mode) ) { conn_printf("MKDIR %s %s\n", url_encode(key), url_encode(filename)); if ( (last_conn_status = read_conn_status(filename, peername)) ) goto maybe_auto_resolve; } else if ( S_ISCHR(st.st_mode) ) { conn_printf("MKCHR %s %s\n", url_encode(key), url_encode(filename)); if ( (last_conn_status = read_conn_status(filename, peername)) ) goto maybe_auto_resolve; } else if ( S_ISBLK(st.st_mode) ) { conn_printf("MKBLK %s %s\n", url_encode(key), url_encode(filename)); if ( (last_conn_status = read_conn_status(filename, peername)) ) goto maybe_auto_resolve; } else if ( S_ISFIFO(st.st_mode) ) { conn_printf("MKFIFO %s %s\n", url_encode(key), url_encode(filename)); if ( (last_conn_status = read_conn_status(filename, peername)) ) goto maybe_auto_resolve; } else if ( S_ISLNK(st.st_mode) ) { char target[1024]; int rc; rc = readlink(prefixsubst(filename), target, 1023); if ( rc >= 0 ) { target[rc]=0; conn_printf("MKLINK %s %s %s\n", url_encode(key), url_encode(filename), url_encode(target)); if ( (last_conn_status = read_conn_status(filename, peername)) ) goto maybe_auto_resolve; } else { csync_debug(1, "File is a symlink but radlink() failed.\n", st.st_mode); goto got_error; } } else if ( S_ISSOCK(st.st_mode) ) { conn_printf("MKSOCK %s %s\n", url_encode(key), url_encode(filename)); if ( (last_conn_status = read_conn_status(filename, peername)) ) goto maybe_auto_resolve; } else { csync_debug(1, "File type (mode=%o) is not supported.\n", st.st_mode); goto got_error; } conn_printf("SETOWN %s %s %d %d\n", url_encode(key), url_encode(filename), st.st_uid, st.st_gid); if ( read_conn_status(filename, peername) ) goto got_error; if ( !S_ISLNK(st.st_mode) ) { conn_printf("SETMOD %s %s %d\n", url_encode(key), url_encode(filename), st.st_mode); if ( read_conn_status(filename, peername) ) goto got_error; } skip_action: if ( !S_ISLNK(st.st_mode) ) { conn_printf("SETIME %s %s %Ld\n", url_encode(key), url_encode(filename), (long long)st.st_mtime); if ( read_conn_status(filename, peername) ) goto got_error; } SQL("Remove dirty-file entry.", "DELETE FROM dirty WHERE filename = '%s' " "AND peername = '%s'", url_encode(filename), url_encode(peername)); if (auto_resolve_run) csync_error_count--; return; maybe_auto_resolve: if (!auto_resolve_run && last_conn_status == 2) { if (get_master_slave_status(peername, filename)) { csync_debug(0, "Auto-resolving conflict: Won 'master/slave' test.\n"); auto_resolve_run = 1; } else { int auto_method = get_auto_method(peername, filename); switch (auto_method) { case CSYNC_AUTO_METHOD_FIRST: auto_resolve_run = 1; csync_debug(0, "Auto-resolving conflict: Won 'first' test.\n"); break; case CSYNC_AUTO_METHOD_LEFT: case CSYNC_AUTO_METHOD_RIGHT: auto_resolve_run = 1; csync_debug(0, "Auto-resolving conflict: Won 'left/right' test.\n"); break; case CSYNC_AUTO_METHOD_LEFT_RIGHT_LOST: csync_debug(0, "Do not auto-resolve conflict: Lost 'left/right' test.\n"); break; case CSYNC_AUTO_METHOD_YOUNGER: case CSYNC_AUTO_METHOD_OLDER: case CSYNC_AUTO_METHOD_BIGGER: case CSYNC_AUTO_METHOD_SMALLER: { char buffer[1024], *type, *cmd; long remotedata, localdata; struct stat sbuf; if (auto_method == CSYNC_AUTO_METHOD_YOUNGER || auto_method == CSYNC_AUTO_METHOD_OLDER) { type = "younger/older"; cmd = "GETTM"; } else { type = "bigger/smaller"; cmd = "GETSZ"; } conn_printf("%s %s %s\n", cmd, url_encode(key), url_encode(filename)); if ( read_conn_status(filename, peername) ) goto got_error_in_autoresolve; if ( !conn_gets(buffer, 4096) ) goto got_error_in_autoresolve; remotedata = atol(buffer); if (remotedata == -1) goto remote_file_has_been_removed; if ( lstat_strict(prefixsubst(filename), &sbuf) ) goto got_error_in_autoresolve; if (auto_method == CSYNC_AUTO_METHOD_YOUNGER || auto_method == CSYNC_AUTO_METHOD_OLDER) localdata = sbuf.st_mtime; else localdata = sbuf.st_size; if ((localdata > remotedata) == (auto_method == CSYNC_AUTO_METHOD_YOUNGER || auto_method == CSYNC_AUTO_METHOD_BIGGER)) { remote_file_has_been_removed: auto_resolve_run = 1; csync_debug(0, "Auto-resolving conflict: Won '%s' test.\n", type); } else csync_debug(0, "Do not auto-resolve conflict: Lost '%s' test.\n", type); break; } } } if (auto_resolve_run) { force = 1; goto auto_resolve_entry_point; } } got_error: if (auto_resolve_run) got_error_in_autoresolve: csync_debug(0, "ERROR: Auto-resolving failed. Giving up.\n"); csync_debug(1, "File stays in dirty state. Try again later...\n"); } int compare_files(const char *filename, const char *pattern, int recursive) { int i; if (!strcmp(pattern, "/")) return 1; for (i=0; filename[i] && pattern[i]; i++) if (filename[i] != pattern[i]) return 0; if ( filename[i] == '/' && !pattern[i] && recursive) return 1; if ( !filename[i] && !pattern[i]) return 1; return 0; } void csync_update_host(const char *peername, const char **patlist, int patnum, int recursive, int dry_run) { struct textlist *tl = 0, *t, *next_t; struct textlist *tl_mod = 0, **last_tn=&tl; char *current_name = 0; struct stat st; SQL_BEGIN("Get files for host from dirty table", "SELECT filename, myname, force FROM dirty WHERE peername = '%s' " "ORDER by filename ASC", url_encode(peername)) { const char *filename = url_decode(SQL_V[0]); int i, use_this = patnum == 0; for (i=0; inext; if ( !lstat_strict(prefixsubst(t->value), &st) != 0 && !csync_check_pure(t->value)) { *last_tn = next_t; t->next = tl_mod; tl_mod = t; } else { if ( !current_name || strcmp(current_name, t->value2) ) { conn_printf("HELLO %s\n", url_encode(t->value2)); if ( read_conn_status(t->value, peername) ) goto ident_failed_1; current_name = t->value2; } if (!connection_closed_error) csync_update_file_del(peername, t->value, t->intvalue, dry_run); ident_failed_1: last_tn=&(t->next); } } for (t = tl_mod; t != 0; t = t->next) { if ( !current_name || strcmp(current_name, t->value2) ) { conn_printf("HELLO %s\n", url_encode(t->value2)); if ( read_conn_status(t->value, peername) ) goto ident_failed_2; current_name = t->value2; } if (!connection_closed_error) csync_update_file_mod(peername, t->value, t->intvalue, dry_run); ident_failed_2:; } textlist_free(tl_mod); textlist_free(tl); conn_printf("BYE\n"); read_conn_status(0, peername); conn_close(); } void csync_update(const char ** patlist, int patnum, int recursive, int dry_run) { struct textlist *tl = 0, *t; SQL_BEGIN("Get hosts from dirty table", "SELECT peername FROM dirty GROUP BY peername ORDER BY random()") { textlist_add(&tl, url_decode(SQL_V[0]), 0); } SQL_END; for (t = tl; t != 0; t = t->next) { if (active_peerlist) { int i=0, pnamelen = strlen(t->value); while (active_peerlist[i]) { if ( !strncmp(active_peerlist+i, t->value, pnamelen) && (active_peerlist[i+pnamelen] == ',' || !active_peerlist[i+pnamelen]) ) goto found_asactive; while (active_peerlist[i]) if (active_peerlist[i++]==',') break; } continue; } found_asactive: csync_update_host(t->value, patlist, patnum, recursive, dry_run); } textlist_free(tl); } int csync_diff(const char *myname, const char *peername, const char *filename) { FILE *p; void *old_sigpipe_handler; const struct csync_group *g = 0; const struct csync_group_host *h; char buffer[512]; size_t rc; while ( (g=csync_find_next(g, filename)) ) { if ( !g->myname || strcmp(g->myname, myname) ) continue; for (h = g->host; h; h = h->next) if (!strcmp(h->hostname, peername)) { goto found_host_check; } } csync_debug(0, "Host pair + file not found in configuration.\n"); csync_error_count++; return 0; found_host_check: if ( connect_to_host(peername) ) { csync_error_count++; csync_debug(0, "ERROR: Connection to remote host failed.\n"); return 0; } conn_printf("HELLO %s\n", myname); if ( read_conn_status(0, peername) ) goto finish; conn_printf("TYPE %s %s\n", g->key, filename); if ( read_conn_status(0, peername) ) goto finish; /* FIXME * verify type of file first! * (symlink vs. file vs. dir vs. whatever) */ /* avoid unwanted side effects due to special chars in filenames, * pass them in the environment */ snprintf(buffer,512,"%s:%s",myname,filename); setenv("my_label",buffer,1); snprintf(buffer,512,"%s:%s",peername,filename); setenv("peer_label",buffer,1); snprintf(buffer,512,"%s",filename); setenv("diff_file",buffer,1); /* XXX no error check on setenv * (could be insufficient space in environment) */ snprintf(buffer, 512, "diff -Nus --label \"$peer_label\" - --label \"$my_label\" \"$diff_file\""); old_sigpipe_handler = signal(SIGPIPE, SIG_IGN); p = popen(buffer, "w"); while ( (rc=conn_read(buffer, 512)) > 0 ) fwrite(buffer, rc, 1, p); fclose(p); signal(SIGPIPE, old_sigpipe_handler); finish: conn_close(); return 0; } int csync_insynctest_readline(char **file, char **checktxt) { char inbuf[2048], *tmp; if (*file) free(*file); if (*checktxt) free(*checktxt); *file = *checktxt = 0; if ( !conn_gets(inbuf, 2048) ) return 1; if ( inbuf[0] != 'v' ) { if ( !strncmp(inbuf, "OK (", 4) ) { csync_debug(2, "End of query results: %s", inbuf); return 1; } csync_error_count++; csync_debug(0, "ERROR from peer: %s", inbuf); return 1; } tmp = strtok(inbuf, "\t"); if (tmp) *checktxt=strdup(url_decode(tmp)); else { csync_error_count++; csync_debug(0, "Format error in reply: \\t not found!\n"); return 1; } tmp = strtok(0, "\n"); if (tmp) *file=strdup(url_decode(tmp)); else { csync_error_count++; csync_debug(0, "Format error in reply: \\n not found!\n"); return 1; } csync_debug(2, "Fetched tuple from peer: %s [%s]\n", *file, *checktxt); return 0; } int csync_insynctest(const char *myname, const char *peername, int init_run, int auto_diff, const char *filename) { struct textlist *diff_list = 0, *diff_ent; const struct csync_group *g; const struct csync_group_host *h; char *r_file=0, *r_checktxt=0; int remote_reuse = 0, remote_eof = 0; int rel, ret = 1; for (g = csync_group; g; g = g->next) { if ( !g->myname || strcmp(g->myname, myname) ) continue; for (h = g->host; h; h = h->next) if (!strcmp(h->hostname, peername)) goto found_host_check; } csync_debug(0, "Host pair not found in configuration.\n"); csync_error_count++; return 0; found_host_check: if ( connect_to_host(peername) ) { csync_error_count++; csync_debug(0, "ERROR: Connection to remote host failed.\n"); return 0; } conn_printf("HELLO %s\n", myname); read_conn_status(0, peername); conn_printf("LIST %s %s", peername, filename ? url_encode(filename) : "-"); for (g = csync_group; g; g = g->next) { if ( !g->myname || strcmp(g->myname, myname) ) continue; for (h = g->host; h; h = h->next) if (!strcmp(h->hostname, peername)) goto found_host; continue; found_host: conn_printf(" %s", g->key); } conn_printf("\n"); SQL_BEGIN("DB Dump - File", "SELECT checktxt, filename FROM file %s%s%s ORDER BY filename", filename ? "WHERE filename = '" : "", filename ? url_encode(filename) : "", filename ? "'" : "") { char *l_file = strdup(url_decode(SQL_V[1])), *l_checktxt = strdup(url_decode(SQL_V[0])); if ( csync_match_file_host(l_file, myname, peername, 0) ) { if ( remote_eof ) { got_remote_eof: if (auto_diff) textlist_add(&diff_list, strdup(l_file), 0); else printf("L\t%s\t%s\t%s\n", myname, peername, l_file); ret=0; if (init_run & 1) csync_mark(l_file, 0, (init_run & 4) ? peername : 0); } else { if ( !remote_reuse ) if ( csync_insynctest_readline(&r_file, &r_checktxt) ) { remote_eof = 1; goto got_remote_eof; } rel = strcmp(l_file, r_file); while ( rel > 0 ) { if (auto_diff) textlist_add(&diff_list, strdup(r_file), 0); else printf("R\t%s\t%s\t%s\n", myname, peername, r_file); ret=0; if (init_run & 2) csync_mark(r_file, 0, (init_run & 4) ? peername : 0); if ( csync_insynctest_readline(&r_file, &r_checktxt) ) { remote_eof = 1; goto got_remote_eof; } rel = strcmp(l_file, r_file); } if ( rel < 0 ) { if (auto_diff) textlist_add(&diff_list, strdup(l_file), 0); else printf("L\t%s\t%s\t%s\n", myname, peername, l_file); ret=0; if (init_run & 1) csync_mark(l_file, 0, (init_run & 4) ? peername : 0); remote_reuse = 1; } else { remote_reuse = 0; if ( !rel ) { if ( strcmp(l_checktxt, r_checktxt) ) { if (auto_diff) textlist_add(&diff_list, strdup(l_file), 0); else printf("X\t%s\t%s\t%s\n", myname, peername, l_file); ret=0; if (init_run & 1) csync_mark(l_file, 0, (init_run & 4) ? peername : 0); } } } } } free(l_checktxt); free(l_file); } SQL_END; if ( !remote_eof ) while ( !csync_insynctest_readline(&r_file, &r_checktxt) ) { if (auto_diff) textlist_add(&diff_list, strdup(r_file), 0); else printf("R\t%s\t%s\t%s\n", myname, peername, r_file); ret=0; if (init_run & 2) csync_mark(r_file, 0, (init_run & 4) ? peername : 0); } if (r_file) free(r_file); if (r_checktxt) free(r_checktxt); conn_printf("BYE\n"); read_conn_status(0, peername); conn_close(); for (diff_ent=diff_list; diff_ent; diff_ent=diff_ent->next) csync_diff(myname, peername, diff_ent->value); textlist_free(diff_list); return ret; } int csync_insynctest_all(int init_run, int auto_diff, const char *filename) { struct textlist *myname_list = 0, *myname; struct csync_group *g; int ret = 1; if (auto_diff && filename) { struct peer *pl = csync_find_peers(filename, 0); int pl_idx; for (pl_idx=0; pl && pl[pl_idx].peername; pl_idx++) csync_diff(pl[pl_idx].myname, pl[pl_idx].peername, filename); free(pl); return ret; } for (g = csync_group; g; g = g->next) { if ( !g->myname ) continue; for (myname=myname_list; myname; myname=myname->next) if ( !strcmp(g->myname, myname->value) ) goto skip_this_myname; textlist_add(&myname_list, g->myname, 0); skip_this_myname: ; } for (myname=myname_list; myname; myname=myname->next) { struct textlist *peername_list = 0, *peername; struct csync_group_host *h; for (g = csync_group; g; g = g->next) { if ( !g->myname || strcmp(myname->value, g->myname) ) continue; for (h=g->host; h; h=h->next) { for (peername=peername_list; peername; peername=peername->next) if ( !strcmp(h->hostname, peername->value) ) goto skip_this_peername; textlist_add(&peername_list, h->hostname, 0); skip_this_peername: ; } } for (peername=peername_list; peername; peername=peername->next) { csync_debug(1, "Running in-sync check for %s <-> %s.\n", myname->value, peername->value); if ( !csync_insynctest(myname->value, peername->value, init_run, auto_diff, filename) ) ret=0; } textlist_free(peername_list); } textlist_free(myname_list); return ret; } void csync_remove_old() { struct textlist *tl = 0, *t; SQL_BEGIN("Query dirty DB", "SELECT filename, myname, peername FROM dirty") { const struct csync_group *g = 0; const struct csync_group_host *h; const char *filename = url_decode(SQL_V[0]); while ((g=csync_find_next(g, filename)) != 0) { if (!strcmp(g->myname, SQL_V[1])) for (h = g->host; h; h = h->next) { if (!strcmp(h->hostname, SQL_V[2])) goto this_dirty_record_is_ok; } } textlist_add2(&tl, SQL_V[0], SQL_V[2], 0); this_dirty_record_is_ok: ; } SQL_END; for (t = tl; t != 0; t = t->next) { csync_debug(1, "Removing %s (%s) from dirty db.\n", t->value, t->value2); SQL("Remove old file from dirty db", "DELETE FROM dirty WHERE filename = '%s' AND peername = '%s'", t->value, t->value2); } textlist_free(tl); tl = 0; SQL_BEGIN("Query file DB", "SELECT filename FROM file") { if (!csync_find_next(0, url_decode(SQL_V[0]))) textlist_add(&tl, SQL_V[0], 0); } SQL_END; for (t = tl; t != 0; t = t->next) { csync_debug(1, "Removing %s from file db.\n", t->value); SQL("Remove old file from file db", "DELETE FROM file WHERE filename = '%s'", t->value); } textlist_free(tl); } csync2-1.34/error.c0000644000000000000000000000643210651464522012647 0ustar rootroot/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH * Copyright (C) 2004, 2005 Clifford Wolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "csync2.h" #include #include #include #include #include #include #include long csync_last_printtime = 0; FILE *csync_timestamp_out = 0; int csync_messages_printed = 0; time_t csync_startup_time = 0; void csync_printtime() { if (csync_timestamps || csync_timestamp_out) { time_t now = time(0); char ftbuffer[128]; if (!csync_startup_time) csync_startup_time = now; if (csync_last_printtime+300 < now) { csync_last_printtime = now; strftime(ftbuffer, 128, "%Y-%m-%d %H:%M:%S %Z (GMT%z)", localtime(&now)); if (csync_timestamp_out) fprintf(csync_timestamp_out, "<%d> TIMESTAMP: %s\n", (int)getpid(), ftbuffer); if (csync_timestamps) { if (csync_server_child_pid) fprintf(csync_debug_out, "<%d> ", csync_server_child_pid); fprintf(csync_debug_out, "TIMESTAMP: %s\n", ftbuffer); } } } } void csync_printtotaltime() { if (csync_timestamps || csync_timestamp_out) { time_t now = time(0); int seconds = now - csync_startup_time; csync_last_printtime = 0; csync_printtime(); if (csync_timestamp_out) fprintf(csync_timestamp_out, "<%d> TOTALTIME: %d:%02d:%02d\n", (int)getpid(), seconds / (60*60), (seconds/60) % 60, seconds % 60); if (csync_timestamps) { if (csync_server_child_pid) fprintf(csync_debug_out, "<%d> ", csync_server_child_pid); fprintf(csync_debug_out, "TOTALTIME: %d:%02d:%02d\n", seconds / (60*60), (seconds/60) % 60, seconds % 60); } } } void csync_printtime_prefix() { time_t now = time(0); char ftbuffer[32]; strftime(ftbuffer, 32, "%H:%M:%S", localtime(&now)); fprintf(csync_debug_out, "[%s] ", ftbuffer); } void csync_fatal(const char *fmt, ...) { va_list ap; if (csync_timestamps) csync_printtime_prefix(); if (csync_server_child_pid) fprintf(csync_debug_out, "<%d> ", csync_server_child_pid); va_start(ap, fmt); vfprintf(csync_debug_out, fmt, ap); va_end(ap); csync_db_close(); csync_last_printtime = 0; csync_printtime(); exit(1); } void csync_debug(int lv, const char *fmt, ...) { va_list ap; csync_printtime(); if ( csync_debug_level < lv ) return; if (csync_timestamps) csync_printtime_prefix(); if ( csync_server_child_pid ) fprintf(csync_debug_out, "<%d> ", csync_server_child_pid); va_start(ap, fmt); vfprintf(csync_debug_out, fmt, ap); va_end(ap); csync_messages_printed++; }