xsp-2.4.2/0000777000175000001440000000000011215541043007326 500000000000000xsp-2.4.2/COPYING0000644000175000001440000000214111145401174010275 00000000000000Copyright (c) 2002, 2003, 2004 Novell, Inc. and the individuals listed on the ChangeLog entries. 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 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. xsp-2.4.2/configure0000755000175000001440000034351311215541040011157 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # 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. ## --------------------- ## ## 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= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="src/Mono.WebServer.XSP/main.cs" 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA am__isrc CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PKG_CONFIG CSC MCS GMCS RUNTIME GACUTIL SN PLATFORM_WIN32_TRUE PLATFORM_WIN32_FALSE NET_2_0_TRUE NET_2_0_FALSE XSP_ONLY_TRUE XSP_ONLY_FALSE WEBTRACING GACUTIL_FLAGS XSP_VERSION LIBOBJS LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias host_alias target_alias' # 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}' 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 this package 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/PACKAGE] --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 System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-tracing enable producing XSP tracing messages Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-runtime use the specified runtime when xsp is installed _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 configure 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 $as_me, 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 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. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 echo "$as_me: error: invalid value of canonical build" >&2;} { (exit 1); exit 1; }; };; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 echo "$as_me: error: invalid value of canonical host" >&2;} { (exit 1); exit 1; }; };; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac { echo "$as_me:$LINENO: checking target system type" >&5 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } if test "${ac_cv_target+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "x$target_alias" = x; then ac_cv_target=$ac_cv_host else ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 echo "${ECHO_T}$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 echo "$as_me: error: invalid value of canonical target" >&2;} { (exit 1); exit 1; }; };; esac target=$ac_cv_target ac_save_IFS=$IFS; IFS='-' set x $ac_cv_target shift target_cpu=$1 target_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: target_os=$* IFS=$ac_save_IFS case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- am__api_version='1.10' # 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 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } if test -z "$MKDIR_P"; then if test "${ac_cv_path_mkdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P 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. test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fi fi { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 echo "${ECHO_T}$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac 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 if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if 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 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=xsp VERSION=2.4.2 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"} install_sh=${install_sh-"\$(SHELL) $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="\$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE # 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' # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-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_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_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_PKG_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_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$PKG_CONFIG" = "xno"; then { { echo "$as_me:$LINENO: error: You need to install pkg-config" >&5 echo "$as_me: error: You need to install pkg-config" >&2;} { (exit 1); exit 1; }; } fi # # --enable-tracing # { echo "$as_me:$LINENO: checking if tracing is requested" >&5 echo $ECHO_N "checking if tracing is requested... $ECHO_C" >&6; } # Check whether --enable-tracing was given. if test "${enable_tracing+set}" = set; then enableval=$enable_tracing; enable_tracing=$enableval else enable_tracing=no fi if test "x$enable_tracing" != "xno" ; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } WEBTRACING="-define:WEBTRACE -define:TRACE" else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } WEBTRACING="" fi # Check whether --with-runtime was given. if test "${with_runtime+set}" = set; then withval=$with_runtime; RUNTIME=$withval fi # Extract the first word of "csc", so it can be a program name with args. set dummy csc; 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_CSC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $CSC in [\\/]* | ?:[\\/]*) ac_cv_path_CSC="$CSC" # 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_CSC="$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_CSC" && ac_cv_path_CSC="no" ;; esac fi CSC=$ac_cv_path_CSC if test -n "$CSC"; then { echo "$as_me:$LINENO: result: $CSC" >&5 echo "${ECHO_T}$CSC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "mcs", so it can be a program name with args. set dummy mcs; 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_MCS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MCS in [\\/]* | ?:[\\/]*) ac_cv_path_MCS="$MCS" # 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_MCS="$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_MCS" && ac_cv_path_MCS="no" ;; esac fi MCS=$ac_cv_path_MCS if test -n "$MCS"; then { echo "$as_me:$LINENO: result: $MCS" >&5 echo "${ECHO_T}$MCS" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "gmcs", so it can be a program name with args. set dummy gmcs; 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_GMCS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $GMCS in [\\/]* | ?:[\\/]*) ac_cv_path_GMCS="$GMCS" # 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_GMCS="$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_GMCS" && ac_cv_path_GMCS="no" ;; esac fi GMCS=$ac_cv_path_GMCS if test -n "$GMCS"; then { echo "$as_me:$LINENO: result: $GMCS" >&5 echo "${ECHO_T}$GMCS" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$RUNTIME" = "x" ; then if test -x "${prefix}/bin/mono" ; then { echo "$as_me:$LINENO: checking for runtime in the installation prefix" >&5 echo $ECHO_N "checking for runtime in the installation prefix... $ECHO_C" >&6; } RUNTIME="${prefix}/bin/mono" { echo "$as_me:$LINENO: result: $RUNTIME" >&5 echo "${ECHO_T}$RUNTIME" >&6; } else # Extract the first word of "mono", so it can be a program name with args. set dummy mono; 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_RUNTIME+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $RUNTIME in [\\/]* | ?:[\\/]*) ac_cv_path_RUNTIME="$RUNTIME" # 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_RUNTIME="$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_RUNTIME" && ac_cv_path_RUNTIME="no" ;; esac fi RUNTIME=$ac_cv_path_RUNTIME if test -n "$RUNTIME"; then { echo "$as_me:$LINENO: result: $RUNTIME" >&5 echo "${ECHO_T}$RUNTIME" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi fi # Extract the first word of "gacutil", so it can be a program name with args. set dummy gacutil; 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_GACUTIL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $GACUTIL in [\\/]* | ?:[\\/]*) ac_cv_path_GACUTIL="$GACUTIL" # 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_GACUTIL="$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_GACUTIL" && ac_cv_path_GACUTIL="no" ;; esac fi GACUTIL=$ac_cv_path_GACUTIL if test -n "$GACUTIL"; then { echo "$as_me:$LINENO: result: $GACUTIL" >&5 echo "${ECHO_T}$GACUTIL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "sn", so it can be a program name with args. set dummy sn; 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_SN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $SN in [\\/]* | ?:[\\/]*) ac_cv_path_SN="$SN" # 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_SN="$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_SN" && ac_cv_path_SN="no" ;; esac fi SN=$ac_cv_path_SN if test -n "$SN"; then { echo "$as_me:$LINENO: result: $SN" >&5 echo "${ECHO_T}$SN" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi CS="C#" if test "x$CSC" = "xno" -a "x$MCS" = "xno" ; then { { echo "$as_me:$LINENO: error: No $CS compiler found" >&5 echo "$as_me: error: No $CS compiler found" >&2;} { (exit 1); exit 1; }; } fi if test "x$MCS" = "xno" ; then MCS=$CSC fi if test "x$GMCS" != "xno" ; then { echo "$as_me:$LINENO: checking whether gmcs is actually able to compile..." >&5 echo $ECHO_N "checking whether gmcs is actually able to compile...... $ECHO_C" >&6; } echo "class Foo { public static void Main() {} }" > test.cs if gmcs -r:System.Web.dll -out:test.exe test.cs > /dev/null 2>&1 then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else GMCS=no { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi rm -f test.cs test.exe fi case "$host" in *-*-mingw*|*-*-cygwin*) platform_win32=yes ;; esac if test x$platform_win32 = xyes; then PLATFORM_WIN32_TRUE= PLATFORM_WIN32_FALSE='#' else PLATFORM_WIN32_TRUE='#' PLATFORM_WIN32_FALSE= fi if test ! x$GMCS = xno; then NET_2_0_TRUE= NET_2_0_FALSE='#' else NET_2_0_TRUE='#' NET_2_0_FALSE= fi if test x$platform_win32 = xyes; then XSP_ONLY_TRUE= XSP_ONLY_FALSE='#' else XSP_ONLY_TRUE='#' XSP_ONLY_FALSE= fi GACUTIL_FLAGS='-root $(DESTDIR)$(prefix)/lib' # Put the version in the new required format (for svn revisions) export VERSION XSP_VERSION=$($AWK 'BEGIN { split (ENVIRON["VERSION"] ".0.0.0", vsplit, ".") if(length(vsplit [1]) > 4) { split (substr(ENVIRON["VERSION"], 0, 4) "." substr(ENVIRON["VERSION"], 5) ".0.0", vsplit, ".") } print vsplit [1] "." vsplit [2] "." vsplit [3] "." vsplit [4] }') ac_config_files="$ac_config_files Makefile man/xsp.1 man/dbsessmgr.1 man/asp-state.1 man/mono-asp-apps.1 man/Makefile packaging/Makefile packaging/opensuse/Makefile scripts/Makefile src/Makefile src/Mono.WebServer/AssemblyInfo.cs src/Mono.WebServer/AssemblyInfo2.cs src/Mono.WebServer/Makefile src/Mono.WebServer/xsp.pc src/Mono.WebServer/xsp-2.pc src/Mono.WebServer.Apache/Makefile src/Mono.WebServer.Apache/AssemblyInfo.cs src/Mono.WebServer.FastCgi/Makefile src/Mono.WebServer.FastCgi/AssemblyInfo.cs src/Mono.WebServer.XSP/Makefile src/Mono.WebServer.XSP/AssemblyInfo.cs test/Makefile test/controls/Makefile test/App_Code/Makefile test/1.1/Makefile test/1.1/authtest/Makefile test/1.1/asp.net/Makefile test/1.1/webcontrols/Makefile test/1.1/html/Makefile test/1.1/webservice/Makefile test/1.1/databind/Makefile test/1.1/handlers/Makefile test/1.1/customcontrol/Makefile test/2.0/Makefile test/2.0/menu/Makefile test/2.0/gridview/Makefile test/2.0/treeview/Makefile test/2.0/masterpages/Makefile tools/Makefile tools/asp_state/Makefile tools/asp_state/AssemblyInfo.cs tools/dbsessmgr/Makefile tools/dbsessmgr/AssemblyInfo.cs tools/mono-asp-apps/Makefile unittests/Makefile unittests/Tests.XSP.Security/Makefile unittests/webroot/Makefile docs/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}' # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. ac_script=' t clear :clear s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g t quote s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\[/\\&/g s/\]/\\&/g s/\$/$$/g H :any ${ g s/^\n// s/\n/ /g p } ' DEFS=`sed -n "$ac_script" confdefs.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 "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${NET_2_0_TRUE}" && test -z "${NET_2_0_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"NET_2_0\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"NET_2_0\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${XSP_ONLY_TRUE}" && test -z "${XSP_ONLY_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"XSP_ONLY\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"XSP_ONLY\" 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 $as_me, 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" _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 Configuration files: $config_files Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ config.status 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' MKDIR_P='$MKDIR_P' _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;; --he | --h | --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 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "man/xsp.1") CONFIG_FILES="$CONFIG_FILES man/xsp.1" ;; "man/dbsessmgr.1") CONFIG_FILES="$CONFIG_FILES man/dbsessmgr.1" ;; "man/asp-state.1") CONFIG_FILES="$CONFIG_FILES man/asp-state.1" ;; "man/mono-asp-apps.1") CONFIG_FILES="$CONFIG_FILES man/mono-asp-apps.1" ;; "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; "packaging/Makefile") CONFIG_FILES="$CONFIG_FILES packaging/Makefile" ;; "packaging/opensuse/Makefile") CONFIG_FILES="$CONFIG_FILES packaging/opensuse/Makefile" ;; "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/Mono.WebServer/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer/AssemblyInfo.cs" ;; "src/Mono.WebServer/AssemblyInfo2.cs") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer/AssemblyInfo2.cs" ;; "src/Mono.WebServer/Makefile") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer/Makefile" ;; "src/Mono.WebServer/xsp.pc") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer/xsp.pc" ;; "src/Mono.WebServer/xsp-2.pc") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer/xsp-2.pc" ;; "src/Mono.WebServer.Apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer.Apache/Makefile" ;; "src/Mono.WebServer.Apache/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer.Apache/AssemblyInfo.cs" ;; "src/Mono.WebServer.FastCgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer.FastCgi/Makefile" ;; "src/Mono.WebServer.FastCgi/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer.FastCgi/AssemblyInfo.cs" ;; "src/Mono.WebServer.XSP/Makefile") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer.XSP/Makefile" ;; "src/Mono.WebServer.XSP/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES src/Mono.WebServer.XSP/AssemblyInfo.cs" ;; "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; "test/controls/Makefile") CONFIG_FILES="$CONFIG_FILES test/controls/Makefile" ;; "test/App_Code/Makefile") CONFIG_FILES="$CONFIG_FILES test/App_Code/Makefile" ;; "test/1.1/Makefile") CONFIG_FILES="$CONFIG_FILES test/1.1/Makefile" ;; "test/1.1/authtest/Makefile") CONFIG_FILES="$CONFIG_FILES test/1.1/authtest/Makefile" ;; "test/1.1/asp.net/Makefile") CONFIG_FILES="$CONFIG_FILES test/1.1/asp.net/Makefile" ;; "test/1.1/webcontrols/Makefile") CONFIG_FILES="$CONFIG_FILES test/1.1/webcontrols/Makefile" ;; "test/1.1/html/Makefile") CONFIG_FILES="$CONFIG_FILES test/1.1/html/Makefile" ;; "test/1.1/webservice/Makefile") CONFIG_FILES="$CONFIG_FILES test/1.1/webservice/Makefile" ;; "test/1.1/databind/Makefile") CONFIG_FILES="$CONFIG_FILES test/1.1/databind/Makefile" ;; "test/1.1/handlers/Makefile") CONFIG_FILES="$CONFIG_FILES test/1.1/handlers/Makefile" ;; "test/1.1/customcontrol/Makefile") CONFIG_FILES="$CONFIG_FILES test/1.1/customcontrol/Makefile" ;; "test/2.0/Makefile") CONFIG_FILES="$CONFIG_FILES test/2.0/Makefile" ;; "test/2.0/menu/Makefile") CONFIG_FILES="$CONFIG_FILES test/2.0/menu/Makefile" ;; "test/2.0/gridview/Makefile") CONFIG_FILES="$CONFIG_FILES test/2.0/gridview/Makefile" ;; "test/2.0/treeview/Makefile") CONFIG_FILES="$CONFIG_FILES test/2.0/treeview/Makefile" ;; "test/2.0/masterpages/Makefile") CONFIG_FILES="$CONFIG_FILES test/2.0/masterpages/Makefile" ;; "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; "tools/asp_state/Makefile") CONFIG_FILES="$CONFIG_FILES tools/asp_state/Makefile" ;; "tools/asp_state/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES tools/asp_state/AssemblyInfo.cs" ;; "tools/dbsessmgr/Makefile") CONFIG_FILES="$CONFIG_FILES tools/dbsessmgr/Makefile" ;; "tools/dbsessmgr/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES tools/dbsessmgr/AssemblyInfo.cs" ;; "tools/mono-asp-apps/Makefile") CONFIG_FILES="$CONFIG_FILES tools/mono-asp-apps/Makefile" ;; "unittests/Makefile") CONFIG_FILES="$CONFIG_FILES unittests/Makefile" ;; "unittests/Tests.XSP.Security/Makefile") CONFIG_FILES="$CONFIG_FILES unittests/Tests.XSP.Security/Makefile" ;; "unittests/webroot/Makefile") CONFIG_FILES="$CONFIG_FILES unittests/webroot/Makefile" ;; "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/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 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 build!$build$ac_delim build_cpu!$build_cpu$ac_delim build_vendor!$build_vendor$ac_delim build_os!$build_os$ac_delim host!$host$ac_delim host_cpu!$host_cpu$ac_delim host_vendor!$host_vendor$ac_delim host_os!$host_os$ac_delim target!$target$ac_delim target_cpu!$target_cpu$ac_delim target_vendor!$target_vendor$ac_delim target_os!$target_os$ac_delim INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim INSTALL_DATA!$INSTALL_DATA$ac_delim am__isrc!$am__isrc$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 install_sh!$install_sh$ac_delim STRIP!$STRIP$ac_delim INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim mkdir_p!$mkdir_p$ac_delim AWK!$AWK$ac_delim SET_MAKE!$SET_MAKE$ac_delim am__leading_dot!$am__leading_dot$ac_delim AMTAR!$AMTAR$ac_delim am__tar!$am__tar$ac_delim am__untar!$am__untar$ac_delim MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim MAINT!$MAINT$ac_delim PKG_CONFIG!$PKG_CONFIG$ac_delim CSC!$CSC$ac_delim MCS!$MCS$ac_delim GMCS!$GMCS$ac_delim RUNTIME!$RUNTIME$ac_delim GACUTIL!$GACUTIL$ac_delim SN!$SN$ac_delim PLATFORM_WIN32_TRUE!$PLATFORM_WIN32_TRUE$ac_delim PLATFORM_WIN32_FALSE!$PLATFORM_WIN32_FALSE$ac_delim NET_2_0_TRUE!$NET_2_0_TRUE$ac_delim NET_2_0_FALSE!$NET_2_0_FALSE$ac_delim XSP_ONLY_TRUE!$XSP_ONLY_TRUE$ac_delim XSP_ONLY_FALSE!$XSP_ONLY_FALSE$ac_delim WEBTRACING!$WEBTRACING$ac_delim GACUTIL_FLAGS!$GACUTIL_FLAGS$ac_delim XSP_VERSION!$XSP_VERSION$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` = 92; 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 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 ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 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 s&@MKDIR_P@&$ac_MKDIR_P&;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 ;; 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 echo echo "Runtime: $RUNTIME" echo "$CS compiler: $MCS" test x$GMCS = xno || echo "$CS 2.0 compiler: $GMCS" xsp-2.4.2/config.guess0000755000175000001440000013012611022313147011563 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. timestamp='2008-01-08' # This file 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., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, 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 Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_MACHINE}" in i?86) test -z "$VENDOR" && VENDOR=pc ;; *) test -z "$VENDOR" && VENDOR=unknown ;; esac test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[456]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:[3456]*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T | authenticamd) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu else echo ${UNAME_MACHINE}-${VENDOR}-linux-gnueabi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-${VENDOR}-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-${VENDOR}-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-${VENDOR}-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-${VENDOR}-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-${VENDOR}-linux-gnu ;; PA8*) echo hppa2.0-${VENDOR}-linux-gnu ;; *) echo hppa-${VENDOR}-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-${VENDOR}-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-${VENDOR}-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-${VENDOR}-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp 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` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: xsp-2.4.2/aclocal.m40000644000175000001440000005412311215541036011111 00000000000000# generated automatically by aclocal 1.10.1 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008 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. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(AC_AUTOCONF_VERSION, [2.61],, [m4_warning([this file was generated for autoconf 2.61. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # Copyright (C) 2002, 2003, 2005, 2006, 2007 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. # 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. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.10.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 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. # 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. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 # 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. # serial 8 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl 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])]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008 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. # serial 13 # 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. # 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_PREREQ([2.60])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi 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 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])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_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # 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([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _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 AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])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_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 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. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 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. # serial 2 # 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])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # 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. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 # 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. # serial 5 # 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 AC_REQUIRE_AUX_FILE([missing])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 ]) # Copyright (C) 2003, 2004, 2005, 2006 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. # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 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. # serial 3 # _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. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # 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. # serial 4 # 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)]) # Copyright (C) 2001, 2003, 2005 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. # AM_PROG_INSTALL_STRIP # --------------------- # 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="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006 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. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 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. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR xsp-2.4.2/ChangeLog0000644000175000001440000031462111215541033011022 000000000000002009-06-08 Kornél Pál Backport of 135678. * src/Mono.WebServer.FastCgi/Request.cs (ParseParameterData): Fast test for directory with no trailing slash. Avoid testing last component twice. There is no need to call GetFullPath on the physical path info. Backport of 135595. * src/Mono.WebServer.FastCgi/Request.cs (ParseParameterData): More closely resemble Apache and PHP behavior provides better support for non-existent files, takes a fast path when there is no path info and tests earlier for Apache variables. Backport of 135200. * src/Mono.WebServer.FastCgi/Responder.cs (Process): Properly set status code when no application is found. * src/Mono.WebServer.FastCgi/Request.cs (ParseParameterData): Use a simple reverse scan of path components until the first existing file and allow non-existent files. 2009-04-09 Gonzalo Paniagua Javier * src/Mono.WebServer/XSPWebSource.cs: re-add the 2 parameter ctor. Compatibility with existing apps was broken. 2009-04-02 Gonzalo Paniagua Javier * configure.in: * test/2.0/gridview/Makefile.am: * test/2.0/Makefile.am: gridview sample was not being installed. * src/Mono.WebServer/ApplicationServer.cs: backport initial exception handling. * src/Mono.WebServer.XSP/main.cs: backport ApplicationSettings. * src/Mono.WebServer.Apache/main.cs: when running in single-app mode, corretly handle application restarts. * src/Mono.WebServer.Apache/WebSource.cs: remove unused variable. 2009-03-25 Marek Habersack * src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs: made GetServerVariable public and a bit safer. * src/Mono.WebServer.Apache/ApplicationHost.cs: do not use broker here, ModMonoWorkerRequest can do it for us if need be. Fixes bug #488630 2009-03-25 Rolf Bjarne Kvinge * src/Mono.WebServer/XSPWorkerRequest.cs: if send fails with EINTR, try to send again instead of throwing an exception. [Backport of r130198] 2009-03-13 Gonzalo Paniagua Javier * main.cs: fix error when --master is passed. Bug #481597 fixed. 2009-03-03 Marek Habersack * src/Mono.WebServer.Apache/ModMonoRequest.cs: removed a ShouldClientBlock () check from GetClientBlock (). Fixes bug #481370 2009-02-27 Gonzalo Paniagua Javier * src/Mono.WebServer.XSP/main.cs: * src/Mono.WebServer.FastCgi/main.cs: * src/Mono.WebServer.Apache/main.cs: do not sent the Trace output to the Console by default. 2009-02-25 Gonzalo Paniagua Javier * src/Mono.WebServer.XSP/main.cs: changes needed to run the Accept thread in the ASP.NET appdomain when there is a single application configured. * src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs: avoid the lock in RequestBroker for single applications. Implemented GetHeadersSent(). * src/Mono.WebServer.Apache/RequestBroker.cs: implemented GetHeadersSent (). * src/Mono.WebServer.Apache/WebSource.cs: propagate the single_app setting. * src/Mono.WebServer.Apache/ApplicationHost.cs: for single_app, pass the instance of ModMonoWorker to the worker request. * src/Mono.WebServer.Apache/ModMonoRequest.cs: reduced number of writes. Implemented GetHeadersSent (). * src/Mono.WebServer.Apache/main.cs: changes needed to run the Accept thread in the ASP.NET appdomain when there is a single application configured. * src/Mono.WebServer.Apache/Worker.cs: don't register/unregister the request for single application. Implemented GetHeadersSent (). * src/Mono.WebServer/VPathToHost.cs: for multiple application, set the request broker of the application host to one main appdomain. * src/Mono.WebServer/XSPWebSource.cs: propagate the single_app setting. * src/Mono.WebServer/ApplicationServer.cs: allow setting application host and broker. For single application, set the request broker of the application host to one created in the ASP.NET application domain. GetApplicationForPath just returns the registered application without checking the parameters. All these yadaa, yadaa can be summarized in: * Avoid remoting through the cross appdomain channel when there is only one ASP.NET application registered (single_app). * Avoid locking in RequestBroker for single_app. * Implement GetHeadersSent. * Reduced number of writes to mod_mono. 2009-01-30 Marek Habersack * src/Mono.WebServer/Paths.cs: path info with a dot is valid. Fixes bug #470662 2009-01-29 Marek Habersack * src/Mono.WebServer/Makefile.am (EXTRA_DIST): added $(monowebserver2_sources) 2009-01-27 Marek Habersack * src/Mono.WebServer/SearchPattern.cs: made the class reusable and removed the check for invalid characters, it doesn't make sense for virtual paths. * src/Mono.WebServer/ReaderWriterLockSlim.cs: made the class internal. * src/Mono.WebServer/BaseApplicationHost.cs: gotten rid of matched paths cache (and two locks with them). Regexps are no longer used to match handlers, we now use SearchPattern (copied from System.dll) instead. 2009-01-23 Marek Habersack * src/Mono.WebServer/ApplicationServer.cs: if fullPath passed to AddApplication doesn't end with a directory separator character, append it to the path. Fixes bug #463483. Patch from Chuck McCrobie , thanks! * src/Mono.WebServer/ReaderWriterLockSlim.cs: added to avoid having to link with System.Core * src/Mono.WebServer/Makefile.am (monowebserver_sources): added SearchPattern.cs * src/Mono.WebServer/SearchPattern.cs: added * src/Mono.WebServer/BaseApplicationHost.cs: use ReaderWriterLockSlim for handlersCacheLock. 2009-01-22 Marek Habersack * src/Mono.WebServer/Paths.cs: VirtualPathProvider.FileExists is called with an absolute uri. 2009-01-16 Gonzalo Paniagua Javier * src/Mono.WebServer.Apache/RequestReader.cs: * src/Mono.WebServer.Apache/ModMonoRequest.cs: remove unused ctors. 2009-01-08 Marek Habersack * configure.in: added the --with-runtime option to make it possible to specify a different runtime to be used with xsp than the first one found in the path. If --with-runtime is not specified and ${prefix}/bin/mono exists, then it is used as the runtime for compiled xsp 2008-12-29 Miguel de Icaza * src/Mono.WebServer/XSPWorker.cs: Exception to assist in debuggin reusable versions of Mono.WebServer. 2008-12-23 Gonzalo Paniagua Javier * src/Mono.WebServer.Apache/Worker.cs: don't display the exception if it's caused by a client-side close. Bug #462045 fixed. 2008-12-16 Marek Habersack * src/Mono.WebServer/BaseApplicationHost.cs: ignore catch-all handler entries in PathMatches. Fixes bug #459270 2008-12-12 Marek Habersack * packaging/opensuse/xsp.spec: rpm now creates the /var/run/xsp2/ directory and chowns it to wwwrun.www * packaging/opensuse/xsp2.init: modified the script to properly start the xsp process. * man/xsp.1.in: added documentation for --pidfile * src/Mono.WebServer.XSP/main.cs: added a --pidfile option which tells xsp to write its PID to the specified path. 2008-12-01 Marek Habersack * src/Mono.WebServer/BaseApplicationHost.cs: check if the key exists in the handlers cache after acquiring the lock and update it instead of adding. 2008-11-28 Marek Habersack * src/Mono.WebServer/BaseApplicationHost.cs: add locking to avoid races when two requests are being created at the same time. 2008-11-27 Marek Habersack * src/Mono.WebServer/IApplicationHost.cs: added new method - IsHttpHandler which checks whether the passed URI matches a HTTP handler definition. Fixes bug #448522 * src/Mono.WebServer/BaseApplicationHost.cs: implemented the new IApplicationHost method - IsHttpHandler (2.0+ only - need to figure out how to portably do the same for 1.1). Fixes bug #448522 * src/Mono.WebServer/Paths.cs: GetPathsFromUri now checks not only whether a path physically exists, but also whether it's a handler or a virtual file (on 2.0+). Fixes bug #448522 * src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs, src/Mono.WebServer/XSPWorkerRequest.cs: Paths.GetPathsFromUri now accepts two more arguments. 2008-10-03 Juraj Skripsky * src/Mono.WebServer/BaseRequestBroker.cs: Reverted part of the last commit. Use a pre-allocated buffer only when the size matches as it will be transferred across appdomain boundaries in full length. 2008-10-03 Juraj Skripsky * src/Mono.WebServer/BaseRequestBroker.cs: Actually use the allocated request buffers. Make the size of a request buffer equal INPUT_BUFFER_SIZE in System.Web.HttpRequest, so that it is used for requests >= 32kb as well (e.g. uploads of big files). Fixes bug #431675. 2008-10-01 Miguel de Icaza * Fix the scripts, my previous commit was untested, and some scripts ended up not pointing to the right place (xsp was trying to call 2.0/xsp.exe instead of 2.0/xsp2.exe and xsp1 was trying to call 1.0/xsp1.exe instead of 1.0/xsp.exe). Fixes #431121 2008-09-21 Miguel de Icaza * scripts/Makefile.am ($(tool_scripts)): Follow the naming pattern used in Mono 2.0. By default the `script' is a 2.0 script, `script1' is the 1.0 script, and `script2' is the 2.0 script. 2008-07-29 Marek Habersack * test/1.1/webcontrols/dbpage1.aspx: do not rely on the OnTextChanged to fire the Filter_Changed handler method. Doing that makes the sample miss situations when the user clicks Submit several times in a row without changing the filters - the result of this is that no table is show in the output. Filter_Changed is fired as the OnClick handler of the Submit button. Fixes bug #381972. Should the filter fail to return any results, an appropriate information is shown. 2008-07-14 Marek Habersack * src/Mono.WebServer.Apache/ModMonoRequest.cs: fill the buffer when reading the client block. Fixes bug #408723 2008-07-11 Marek Habersack * src/Mono.WebServer.Apache/Worker.cs: RequestReader is created with the client socket as parameter now. * src/Mono.WebServer.Apache/Mono.WebServer.Apache.sources: reflect changes in file names. * src/Mono.WebServer.Apache/ModMonoRequest.cs: renamed from Request.cs. Use Dictionary for caches for 2.0. Instead of using NetworkStream (which would invoke socket receive/send for every call to read/write an item) now using MemoryStreams which are paired with BinaryReaders. Data read/written from/to the client socket is put directly in the MemoryStreams. Protocol changes to sync with mod_mono changes (protocol version 9). * src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs: renamed from WorkerRequest.cs * src/Mono.WebServer.Apache/RequestReader.cs: added - moved the RequestReader public class to here from WorkerRequest.cs 2008-04-25 Marek Habersack * src/Mono.WebServer.Apache/WorkerRequest.cs: do not append the default index to the request path if a directory is requested. Fixes bug #324204 2008-03-19 Marek Habersack * src/Mono.WebServer.Apache/main.cs: Fix a CWL format typo, which causes the apache backend to fail when --port is used. Fixes bug #372220. Patch contributed by Daniel Cohen , thanks a lot! 2008-02-26 Kornél Pál * src/Mono.WebServer/XSPWorkerRequest.cs: Add a Date header because that's the responsibility of the web server rather than ASP.NET. Fixes bug #363404. 2008-02-08 Marek Habersack * test/Web.sitemap: /1.1/asp.net/transfer2.aspx removed from the tree - it is not supposed to be accessed directly. * test/1.1/asp.net/codebehind1.aspx: do not use automatic even wireup. Fixes bug #359783 2008-02-03 Pedro Martínez Juliá * ChangeLog: Convert to UTF8 and change my old email with the new. 2008-02-03 Pedro Martínez Juliá * man: Add new generated manual page to svn:ignore. 2008-01-30 Robert Jordan * src/Mono.WebServer.FastCgi/main.cs (Main): Replace Console.WriteLines with Logger.Write. Always log to console during Main (). Handle UnmagedSocket's exceptions gracefully. Fixes #350779. 2008-01-28 Wade Berrier * configure.in: version bump -> 1.9 2008-01-25 Marek Habersack * test/1.1/webcontrols/Makefile.am (EXTRA_DIST): include the .sqlite files in the generated tarball, so that the build system doesn't need to have sqlite installed. 2008-01-19 Joshua Tauberer * src/Mono.WebServer/BaseRequestBroker.cs: Read: Check the request ID is valid inside the lock. 2007-12-12 Marek Habersack * test/1.1/handlers/monodoc.ashx: fix the rendering of links. Apparently, firefox lowercases the leading X: sequence in links like 'N:System' and that, in turn, causes Monodoc to fail to parse the link properly. Code stolen from the monodoc version of monodoc.ashx. 2007-12-08 Marek Habersack * test/1.1/asp.net/Makefile.am (testfiles): added transfer{1,2}.aspx and serial.aspx * test/Web.sitemap: remove the .ascx controls from the menu. 2007-12-04 Marek Habersack * src/Mono.WebServer/ApplicationServer.cs: added a new property, Port, to report the actual port ApplicationServer is listening on * src/Mono.WebServer.XSP/main.cs: accept an extra parameter to attach XSP to a random port. The actual port is printed to the console instead of the configured one, as it was done before. 2007-11-21 Marek Habersack * Added several index.aspx files to avoid 404 errors on accessing directories. 2007-11-20 Marek Habersack * test/1.1/customcontrol/tabcontrol.aspx: explain how adding links works. * test/1.1/webcontrols/Makefile.am: generate the .sqlite files when needed. Fixes make dist. * test/1.1/webcontrols/web_linkbutton.aspx: make the sample work. Clicking 'Remove this link' actually does something now. Same for the 'Click me!' button. * All the samples are using common look now. A common header has been added to provide consistent look and sample navigation. 1.1 mode uses a poor man's implementation of the 2.0 SiteMap reader, to be able to read the samples map from the Web.sitemap file. * The test suite for 1.1 MUST now be ran from the directory into which 'make install' put the samples - it requires the SiteMapReader_1.1.dll to be present. If a user runs the test suite from the source directory (or from one missing the required components) a page explaining the steps to get it working is shown. The 2.0 profile isn't subject to this requirement, as it will run most samples from the source direcory. * The 1.1/webcontrols/dbpage*.aspx samples now use Sqlite databases installed along with the test suite. The databases are generated by the dbpage_test_setup.exe utility found in the same directory where the samples are. 2007-11-20 Juraj Skripsky * test/1.1/webcontrols/web_comparevalidator.aspx: add test page for the CompareValidator control. 2007-11-08 Wade Berrier * configure.in: version bump -> 1.2.6 2007-11-07 Marek Habersack * packaging/opensuse/xsp2.init, packaging/opensuse/Makefile.am, packaging/opensuse/xsp2.logrotate, tools/mono-asp-apps/Makefile.am, packaging/opensuse/sysconfig.xsp2, packaging/opensuse/xsp.spec, packaging/Makefile.am: added 2007-11-03 Marek Habersack * test/1.1/webcontrols/dbpage1.aspx, test/1.1/webcontrols/dbpage2.aspx: Account for missing database provider assemblies. 2007-11-02 Thomas Wiest * test/1.1/customcontrol/tabcontrol2.aspx: * test/1.1/html/htmlimage.aspx: * test/1.1/html/htmlinputimage.aspx: * test/1.1/webcontrols/web_hyperlink.aspx: * test/1.1/webcontrols/web_adrotator.xml: Changed http://www.ximian.com/images/index/button-top.gif to http://www.mono-project.com/files/8/8d/Mono-gorilla-aqua.100px.png 2007-10-30 Marek Habersack * man/Makefile.am (EXTRA_DIST): added mono-asp-apps.1.in (CLEANFILES): added mono-asp-apps.1 2007-10-30 Marek Habersack * configure.in: added man/mono-asp-apps.1 to the list of generated files. * man/mono-asp-apps.1.in: added 2007-10-30 Marek Habersack * tools/mono-asp-apps/README: added 2007-10-30 Marek Habersack * tools/mono-asp-apps/mono-asp-apps: added 2007-10-29 Robert Jordan * src/Mono.WebServer.FastCgi/WorkerRequest.cs: Implement IsSecure (). * src/Mono.WebServer.FastCgi/Server.cs: Use Type.IsAssignableFrom (). 2007-10-28 Robert Jordan * src/Mono.WebServer.FastCgi/ConfigurationManager.*: Implement an additional configuration source: environment. * src/Mono.WebServer.FastCgi/Request.cs: Take directory index (default documents) into account. 2007-10-28 Robert Jordan * src/Mono.WebServer.FastCgi/Request.cs: Compute PATH_INFO, PATH_TRANSLATED, SCRIPT_NAME, SCRIPT_FILENAME when running under Apache. 2007-10-26 Wade Berrier * configure.in: * src/AssemblyInfoModMono.cs.in: * src/AssemblyInfo.cs.in: * tools/asp_state/AssemblyInfo.cs.in: * tools/dbsessmgr/AssemblyInfo.cs.in: Split VERSION to VERSION and XSP_VERSION in order to allow svn revision in VERSION and still satisfy mcs's numbering scheme (recently changed to match csc) Didn't replace VERSION, because we need the tarball version to not have periods in the revision name. 2007-10-24 Marek Habersack * src/Mono.WebServer/XSPWorkerRequest.cs: gracefully handle exceptions in the constructor, by closing the connection when Exception happens. 2007-10-22 Robert Jordan * man/*: Generate fastcgi-mono-server(1). * doc/*: Temporarily fix for `make distcheck'. * src/Mono.WebServer.FastCgi/Makefile.am: Cleanups. 2007-10-22 Robert Jordan * src/*/*.am : Fix `make distcheck'. 2007-10-22 Robert Jordan * src/Mono.WebServer.FastCgi/Request.cs: Reverted temporary hack for mod_fastcgi. * src/Mono.WebServer.FastCgi/ConfigurationManager.cs: The XML default settings have less precedence. 2007-10-22 Robert Jordan * src/Mono.WebServer.Apache/Mono.WebServer.Apache.sources: Create. * src/Mono.WebServer.Apache/SecurityConfiguration.cs: Get rid of MODMONO. 2007-10-22 Robert Jordan * src/Makefile.am: FastCGI -> FastCgi. * src/Mono.WebServer.FastCgi/Makefile.am: * src/Mono.WebServer.FastCgi/*.sources: * src/Mono.WebServer.FastCgi/AssemblyInfo.cs.in: Create. * src/Mono.WebServer.FastCgi/ConfigurationManager.xml: Add some default values to be able to get rid of the exe.config file. Comment out the automapping settings. * src/Mono.WebServer.FastCgi/ConfigurationManager.cs: Implement ImportSettings (). Support for default settings specified in ConfigurationManaged.xml. * src/Mono.WebServer.FastCgi/main.cs: * src/Mono.WebServer.FastCgi/Responder.cs: Take the ApplicationManager out of the build until its automapping issues are fixed. * src/Mono.WebServer.FastCgi/server.cs: Rename to main.cs 2007-10-22 Robert Jordan * src/Mono.WebServer.FastCgi: Import Brian's files from his google repository. Flatten hierarchies to adhere to mono's standards. Disintegrate the Mono.FastCgi assembly. 2007-10-22 Robert Jordan * configure.in, scripts/Makefile.am: Reflect changes. * src/Makefile.am: Reflect changes. * src/Mono.WebServer.Apache/main.cs: Remove XSP-related code. * src/Mono.WebServer.XSP/main.cs: Remove ModMono-related code. * src/Mono.WebServer.Apache/Makefile.am: Create from .Makefile.am. * src/Mono.WebServer.XSP/Makefile.am: Create from Makefile.am. * src/server.cs: Copy as main.cs to Mono.WebServer.Apache and Mono.WebServer.XSP * src/ecurity.cs: Move to Mono.WebServer.XSP/SecurityConfiguration.cs * src/ModMono*.cs: Move to Mono.WebServer.Apache. * src/Mono.WebServer.Apache: Create. * src/Mono.WebServer.FastCgi: Create. * src/Mono.WebServer.XSP: Create. 2007-10-03 Juraj Skripsky * src/ModMonoRequest.cs: put the ModMonoConfig struct in charge to tracking its property "Changed". 2007-10-03 Marek Habersack * src/ModMonoRequestBroker.cs,src/ModMonoWorker.cs: added a method to support configuration of output buffering in mod_mono * src/ModMonoRequest.cs: added support for new mod_mono communication protocol, SET_CONFIGURATION. Configuration of mod_mono is updated before write commands, if necessary. Currently it supports only configuring the output buffering (based on the value of HttpResponse.BufferOutput) Bumped protocol version to 8 * src/ModMonoWorkerRequest.cs: added a method which updates the mod_mono/apache configuration if necessary. 2007-10-02 Marek Habersack * src/ModMonoRequest.cs: make the protocol mismatch error message more informative. 2007-09-21 Marek Habersack * src/ModMonoRequest.cs: use UTF8 when sending strings to Apache. Fixes bug #325448 2007-09-18 Daniel Nauck * src/server.cs: add a UnhandledExceptionEventHandler to handle an exception that is not handled by the application domain. 2007-08-18 Josh Tauberer * src/Mono.WebServer/BaseRequestBroker.cs: Correct a mistake in my previous patch: checking for wrap-around on requests_served counter, since we bitmask it 0x7FFF, wrap-around occurs at 0x8000. 2007-08-16 Wade Berrier * configure.in: version bump -> 1.2.5 2007-08-14 Marek Habersack * src/Mono.WebServer/XSPWorker.cs: do not rethrow an exception that might occur on write, write an error message to the console and close our end of the connection instead. Fixes bug #81699. * src/ModMonoWorkerRequest.cs: ReadEntityBody makes sure the number of bytes to copy is > 0 and that the read buffer is not null. 2007-08-09 Marek Habersack * src/ModMonoWorkerRequest.cs, src/Mono.WebServer/XSPWorkerRequest.cs: do not fail if default index files configuration cannot be retrieved. Based on patch from Juraj Skripsky , thanks! Fixes bug #82379. * src/ModMonoWorker.cs: move request unregister call from the finally block to the catch block. This is to avoid unregistering the request while it is still being processed by the HttpRuntime (asynchronously). Patch from Joshua Tauberer , thanks! 2007-08-08 Marek Habersack * src/Mono.WebServer/MonoWorkerRequest.cs: don't use the SendResponseFromFile (IntPtr, long, long) overload from the SendResponseFromFile (string, long, long) one - prevents double close of the file handle. * src/Mono.WebServer/ApplicationServer.cs: leave only the implementation of the ApplicationServer class here, the other classes are moved to own files, below. * src/Mono.WebServer/Paths.cs: new file, moved Paths class implementation here. * src/Mono.WebServer/HttpErrors.cs: new file, moved HttpErrors class implementation here. * src/Mono.WebServer/VPathToHost.cs: new file, moved VPathToHost class implementation here. * src/Mono.WebServer/XSPApplicationHost.cs: leave only the implementation of the XSPApplicationHost here, the other classes are moved to own files, below. * src/Mono.WebServer/XSPWorker.cs: new file, moved XSPWorker class implementation here. * src/Mono.WebServer/XSPWebSource.cs: new file, moved XSPWebSource class implementation here. * src/Mono.WebServer/XSPRequestBroker.cs: new file, moved XSPRequestBroker class implementation here. * src/Mono.WebServer/Makefile.am (monowebserver_sources): added new source files. * src/ModMonoApplicationHost.cs: leave only the implementation of the ModMonoApplicationHost class here, the other classes are moved to own files, below. * src/ModMonoWorker.cs: new file, moved ModMonoWorker class implementation here. * src/ModMonoWebSource.cs: new file, moved ModMonoWebSource class implementation here. * src/ModMonoRequestBroker.cs: new file, moved ModMonoRequestBroker class implementation here. * src/Makefile.am (modmono_only): added new source files. 2007-08-07 Marek Habersack * src/Mono.WebServer/BaseRequestBroker.cs: applied patch by Joshua Tauberer (with minor changes) proposed in bug #82057. The change turns request id into a compound of the unique request id in the upper 16 bits and the index into request array in the lower 16 bits. * src/Mono.WebServer/BaseApplicationHost.cs: fixed documentation. 2007-08-06 Marek Habersack * src/Mono.WebServer/BaseApplicationHost.cs: added some more documentation. * src/Mono.WebServer/BaseRequestBroker.cs: call the UnregisterRequest handlers before freeing the request data. 2007-07-17 Marek Habersack * src/ModMonoApplicationHost.cs: it's somewhat better to unregister an event handler when it's not needed. 2007-07-16 Marek Habersack * src/Mono.WebServer/BaseRequestBroker.cs: added an event fired when the request has just been unregistered. * src/ModMonoApplicationHost.cs: add an event handler for the UnregisterRequest event in the request broker to make sure that the same request is never unregistered twice. 2007-07-09 Wade Berrier * configure.in: * docs/Makefile.am: empty file so that this dir gets included so we can build from a tarball 2007-06-22 Marek Habersack * src/Mono.WebServer/MonoWorkerRequest.cs: docs from Brian Nickel. * src/Mono.WebServer/IWebSource.cs: more docs from Brian Nickel. * src/Mono.WebServer/IApplicationHost.cs: more docs from Brian Nickel. * src/Mono.WebServer/Makefile.am (MCSFLAGS): extract xml docs. * src/Mono.WebServer/BaseRequestBroker.cs: add some documentation and avoid reallocating request buffers. Patch from Brian Nickel , thanks! * src/Mono.WebServer/BaseApplicationHost.cs: do not assume that requestBroker is not null and that it is BaseRequestBroker. Modified patch from Brian Nickel , thanks! 2007-06-20 Marek Habersack * src/ModMonoRequest.cs: added support for virtual hosts (ServerAlias) Patch from Juraj Skripsky , thanks! Closes bug #81878. * src/ModMonoApplicationHost.cs: as above 2007-06-15 Marek Habersack * src/Mono.WebServer/ApplicationServer.cs: do not skip checking the path when vhost is '*'. Patch from Brian Nickel , thanks! 2007-05-06 Wade Berrier * tools/asp_state/Makefile.am: * tools/dbsessmgr/Makefile.am: Split DATA and SCRIPTS for .exe and .exe.config so that .config doesn't have the execute bit set (otherwise, causes warning in suse's rpmlint) 2007-05-04 Marek Habersack * src/Mono.WebServer/MonoWorkerRequest.cs: avoid possible NOR. 2007-04-24 Marek Habersack * src/Mono.WebServer/BaseApplicationHost.cs: put the worker's ProcessRequest in try/catch in order to handle uncaught exceptions more gracefully. * src/Mono.WebServer/MonoWorkerRequest.cs: more robust exception handling. We no longer leave the connection open and the browser spinning after an early exception (e.g. configuration exception while reading the top-level web.config file) ocurred. 2007-04-19 Wade Berrier * configure.in: version bump -> 1.2.4 2007-04-13 Marek Habersack * src/Mono.WebServer/BaseRequestBroker.cs: replace old code that used hashtables to store request data with arrays. Array is also used to acquire a unique request id. Previously the code used GetHashCode() to do that, incorrectly assuming that the return value from the method is unique. This caused frequent race conditions and crashes. The new code uses arrays sized at 200 slots initially - this means it can handle up to 200 _concurrent_ requests before it needs to resize the arrays. * src/Mono.WebServer/XSPApplicationHost.cs: make sure worker is not null before attempting to use it. * src/ModMonoApplicationHost.cs: make sure worker is not null before attempting to use it. 2007-03-30 Marek Habersack * src/Mono.WebServer/Tracing.cs: added a utility class to help in tracing. * src/server.cs: move a line of common code out of ifdefs * src/Mono.WebServer/Makefile.am (MCSFLAGS): support tracing if enabled. (monowebserver_sources): added Tracing.cs * src/Makefile.am (MCSFLAGS): support tracing if enabled * configure.in: add a parameter to enable conditional tracing. Define TRACE together with WEBTRACE. 2007-03-29 Miguel de Icaza * src/ModMonoApplicationHost.cs: Do not try to call Close on a null stream (Stream can become null inside InnerRun) and this makes debugging with gdb harder. 2007-03-28 Miguel de Icaza * src/ModMonoRequest.cs: Only compute the data once. (GetClientBlock): if we get a -1, return the -1 to the client, do not try to call Read. 2007-03-29 Marek Habersack * src/ModMonoApplicationHost.cs: make sure request id is reset to -1 after we have unregistered it. 2007-03-02 Wade Berrier * configure.in: * src/Mono.WebServer/xsp-2.pc.in: * src/Mono.WebServer/xsp.pc.in: Use VERSION from configure.in in the .pc files (they were always 0.1 and 0.2 before, but this isn't useful since the files are xsp and xsp-2) 2007-01-25 Wade Berrier * configure.in: version bump -> 1.2.3 2007-01-05 Marek Habersack * src/Mono.WebServer/XSPWorkerRequest.cs: use the configured header encoding when outputting the headers. * src/Mono.WebServer/MonoWorkerRequest.cs: implement support for response header encoding. 2006-12-23 Gonzalo Paniagua Javier * src/Mono.WebServer/ApplicationServer.cs: set the server as stopped early on to prevent a possible nullref. Closes bug #80230. 2006-11-17 Wade Berrier * configure.in: version bump -> 1.2.1 2006-11-16 Gonzalo Paniagua Javier * src/Mono.WebServer/XSPWorkerRequest.cs: close the connection if there's an error reading the headers (including assembly loading exceptions due to a bad installation). * src/ModMonoApplicationHost.cs: kill the warning that everyone is worried about. 2006-09-11 Gonzalo Paniagua Javier * src/Mono.WebServer/ApplicationServer.cs: don't run BeginAccept when the server has been stopped. Fixes bug #79361. 2006-09-03 Sebastien Pouliot * src/Mono.WebServer/XSPApplicationHost.cs: Read from the stream, not the socket as the socket data is encrypted when using SSL. Fix from Jean-Francois Burdet. 2006-08-23 Wade Berrier * configure.in: * src/Makefile.am: * src/Mono.WebServer/Makefile.am: Add GACUTIL_FLAGS to make gac root dir package friendly (Relative to DESTDIR) 2006-08-16 Gonzalo Paniagua Javier * configure.in: * src/mono.snk: * src/AssemblyInfo.cs.in: * src/Makefile.am: * src/Mono.WebServer/xsp-2.pc.in: * src/Mono.WebServer/xsp.pc.in: * src/Mono.WebServer/AssemblyInfo2.cs.in: * src/Mono.WebServer/AssemblyInfo.cs.in: * src/Mono.WebServer/Makefile.am: * src/AssemblyInfoModMono.cs.in: * src/mono.pub: * scripts/Makefile.am: xsp, xsp2, Mono.WebServer and Mono.WebServer2 are installed in the GAC now to avoid problems with the upcoming patch in the runtime. 2006-08-16 Gonzalo Paniagua Javier * src/Mono.WebServer/MonoWorkerRequest.cs: * src/Mono.WebServer/XSPApplicationHost.cs: * src/ModMonoApplicationHost.cs: display unexpected errors in ProcessRequest from the root domain, as it will help pinpoint deployment errors once the upcoming patch modifies the way assemblies are loaded in newly created domains. 2006-08-03 Sebastien Pouliot * src/Makefile.am: Add a reference to Mono.Security.dll for mod-mono-server.exe * src/ModMonoWorkerRequest.cs: Add support for client certificate validation using Apache and/or Mono. * src/ModMonoApplicationHost.cs: Add PEM (Privacy Enhanced Mail) base64 decoding for certificates and set the proper variables so HttpClientCertificate can be used with mod_mono. * src/Mono.WebServer/MonoWorkerRequest.cs: Add support for special SSL variables (moved from XSPWorkerRequest.cs). * src/Mono.WebServer/XSPWorkerRequest.cs: Removed support for special SSL variables (now shared in MonoWorkerRequest.cs). 2006-07-20 Gonzalo Paniagua Javier * src/ModMonoApplicationHost.cs: don't prepend the file:// scheme, as it's currently breaking mod-mono-server 2.0. 2006-06-14 Gonzalo Paniagua Javier * src/Mono.WebServer/ApplicationServer.cs: when stopping the server, reset the 'started' variable. Fixes bug #78621. 2006-06-01 Gonzalo Paniagua Javier * tools/asp_state/asp-state.exe.config: * tools/asp_state/asp-state2.exe.config: use FQDN. 2006-05-10 Gonzalo Paniagua Javier * src/server.cs: * src/Mono.WebServer/XSPWorkerRequest.cs: * src/Mono.WebServer/BaseRequestBroker.cs: * src/Mono.WebServer/ApplicationServer.cs: * src/Mono.WebServer/XSPApplicationHost.cs: * src/Mono.WebServer/InitialWorkerRequest.cs: * src/Mono.WebServer/LingeringNetworkStream.cs: * src/Mono.WebServer/IWebSource.cs: * src/ModMonoApplicationHost.cs: accepting a connection and the initial read are now done asynchronously. SocketPool class and that Select are over now and xsp/mod-mono-server behave much better when getting many simultaneous connections. 2006-04-25 Gonzalo Paniagua Javier * src/Mono.WebServer/MonoWorkerRequest.cs: remove all the duplicated slashes and don't do an extra Replace on non-windows. 2006-04-06 Gonzalo Paniagua Javier * src/server.cs: make the hash different when the last argument is an option (like a port number). Fixes bug #78034. Thanks to Hubert Fongarnand. 2006-03-05 Robert Jordan * tools/dbsessmgr/dbsessmgr.cs: * tools/dbsessmgr/dbsessmgr.exe.config: * man/dbsessmgr.1.in: make SQL statements and parameters provider independent/configurable. Fixes bug #77698. 2006-01-25 Chris Toshok * src/Mono.WebServer/Makefile.am: define NET_2_0 in the Mono.WebServer2.dll case. * src/Mono.WebServer/XSPWorkerRequest.cs: use ConfigurationManager in 2.0. * src/Makefile.am: define NET_2_0 in the xsp2.exe/mod-moon-server2.exe cases. * src/server.cs (AppSettings): use ConfigurationManager in 2.0, and isolate the ifdef here so everywhere else we can just use "AppSettings". (Main): s/ConfigurationSettings.AppSettings/AppSettings/ * src/ModMonoWorkerRequest.cs: use ConfigurationManager in 2.0 >>>>>>> .r59119 2005-12-27 Gonzalo Paniagua Javier * src/ModMonoRequest.cs: use UTF8 instead of the default encoding. Fixes bug #77074. 2005-11-02 Gonzalo Paniagua Javier * src/ModMonoWorkerRequest.cs: don't append the index file name after the path in presence of path_info. Fixes bug #76604. 2005-11-02 Gonzalo Paniagua Javier * src/ModMonoWorkerRequest.cs: * src/ModMonoRequest.cs: * src/server.cs: * src/Mono.WebServer/ApplicationServer.cs: * src/ModMonoApplicationHost.cs: added support for dynamically created ASP.NET applications. * man/xsp.1.in: documented the --master option. 2005-10-21 Gonzalo Paniagua Javier * src/ModMonoWorkerRequest.cs: * src/ModMonoRequest.cs: server variables are now read when getting the initial data. * src/Makefile.am: don't show warning 618. * src/Mono.WebServer/Makefile.am: Modified file. * src/ModMonoApplicationHost.cs: s/Mono.Posix/Mono.Unix/ 2005-10-11 Gonzalo Paniagua Javier * src/ModMonoRequest.cs: all the server variables are now written at once from mod_mono. 2005-09-29 Sebastien Pouliot * src/server.cs: Added *all* new options in --help. * man/xsp.1.in: Fixed typo. 2005-09-29 Sebastien Pouliot * src/Makefile.am: Added security.cs to the build. * src/server.cs: Removed security configuration from the source. Added new options for client certificates and pkcs#12 support. * src/security.cs: New. Keep all security configuration in a single place. Added support (and logic) to support certificates and keys inside PKCS#12 files. * src/Mono.WebServer/XSPApplicationHost.cs: Add support for mandatory client certificates. * man/xsp.1.in: Updated man page with the new options for client side certificates and pkcs#12 files support. 2005-09-26 Gonzalo Paniagua Javier * src/Mono.WebServer/XSPWorkerRequest.cs: when the connection is secure, use the regular stream. 2005-09-19 Gonzalo Paniagua Javier * src/Mono.WebServer/XSPWorkerRequest.cs: return 0 when trying to read the entity body from a GET/HEAD request. * src/Mono.WebServer/XSPApplicationHost.cs: * src/ModMonoApplicationHost.cs: moved Run into InnerRun. MS was throwing a TypeLoadException before running the method and we didn't catch that one, so the connection wasn't being closed. 2005-09-19 Gonzalo Paniagua Javier * src/ModMonoRequest.cs: when reading a string from mod_mono, handle short reads. From a patch by Mathias Herberts. 2005-09-19 Gonzalo Paniagua Javier * src/ModMonoRequest.cs: avoid 500 response when the body was actually sent. Patch by dean@brettle.com that fixes bug #76124. 2005-09-07 Gonzalo Paniagua Javier * src/Mono.WebServer/MonoWorkerRequest.cs: * src/Mono.WebServer/XSPWorkerRequest.cs: * src/Mono.WebServer/XSPApplicationHost.cs: added support for client certificates. Patch by Sebastien Pouliot. 2005-09-05 Gonzalo Paniagua Javier * src/Mono.WebServer/XSPWorkerRequest.cs: sendfile() might need to be called more than once for big files (tried with a 1GiB one). Fixes bug #75926. 2005-09-01 Gonzalo Paniagua Javier * src/ModMonoRequest.cs: write all the headers at once. 2005-08-28 Gonzalo Paniagua Javier * src/ModMonoWorkerRequest.cs: pretend the client is HTTP/1.0 so that System.Web does not tries to send chunked content. Apache will take care of that. If the Flush is final, call CloseConnection. Implemented sendfile support * src/ModMonoRequest.cs: added SEND_FILE command an increased version number. * src/Mono.WebServer/MonoWorkerRequest.cs: use the IntPtr version of SendResponseFromFile if no override is available. * src/Mono.WebServer/XSPWorkerRequest.cs: removed TODO. * src/ModMonoApplicationHost.cs: SendFile support. 2005-08-26 Gonzalo Paniagua Javier * src/Mono.WebServer/MonoWorkerRequest.cs: default encoding will be latin1. * src/Mono.WebServer/XSPWorkerRequest.cs: if we're running on linux, use send, setsockopt and sendfile from libc. No more buffering done but for the headers. Use TCP_CORK. Use sendfile() for SendResponseFromFile when possible. * src/Mono.WebServer/ApplicationServer.cs: catch a possible error. * src/Mono.WebServer/XSPApplicationHost.cs: pass the socket handle to the worker request. * src/Mono.WebServer/InitialWorkerRequest.cs: work directly on the input buffer instead of calling ReadByte(). * src/Mono.WebServer/Makefile.am: add -unsafe flag. 2005-08-26 Gonzalo Paniagua Javier * src/Mono.WebServer/XSPWorkerRequest.cs: if we get a 0, don't pretend we read up to 'size'. * src/Mono.WebServer/XSPApplicationHost.cs: returning 0 in Read is fine. 2005-08-26 Gonzalo Paniagua Javier * src/Mono.WebServer/XSPWorkerRequest.cs: if we get a -1 when reading the request, the client closed or there was an error. For a 0 we just return what we have so far. 2005-07-26 Gonzalo Paniagua Javier * configure.in: * src/Makefile.am: * src/Mono.WebServer/xsp-2.pc.in: * src/Mono.WebServer/xsp.pc.in: * src/Mono.WebServer/key.snk: * src/Mono.WebServer/AssemblyInfo2.cs.in: * src/Mono.WebServer/AssemblyInfo.cs.in: * src/Mono.WebServer/Makefile.am: * scripts/Makefile.am: bye bye gacutil, welcome "Application Deployment Guidelines". 2005-06-22 Gonzalo Paniagua Javier * src/Mono.WebServer/XSPApplicationHost.cs: if reading from the socket returns 0 bytes, signal it returning a -1 in Read. 2005-06-17:2 Rafael Teixeira * test/button-vb.aspx: small typo correction 2005-06-17 Rafael Teixeira * tools/asp_state/asp_state.cs: find configuration filename to match the executable name and path plus ".config", that fix not finding the oldnamed "asp_state.exe.config" what make it work for asp-state2.exe, besides it was looking for the configuration file in the current dir, not the dir containing the executable. Also for first timers like me be a bit more verbose and don't start if some command line arguments are passed (I tried a asp-state --help and got baffled). 2005-06-11 Gonzalo Paniagua Javier * src/Mono.WebServer/BaseRequestBroker.cs: keep a cache of the buffers passed through remoting instead of creating a new one in all the cases. 2005-06-11 Gonzalo Paniagua Javier * src/Mono.WebServer/XSPWorkerRequest.cs: platform check. 2005-06-10 Gonzalo Paniagua Javier * src/Mono.WebServer/LingeringNetworkStream.cs: really keep lingering for 30s. 2005-06-05 Ben Maurer * configure.in: handle gacutil more correctly :-) 2005-06-02 Ben Maurer * src/Mono.WebServer/Makefile.am: Handle gacutil and destdir correctly. * configure.in: GACUTIL flags 2005-06-01 Gonzalo Paniagua Javier * configure.in: * src/Mono.WebServer/AssemblyInfo.cs: renamed into... * src/Mono.WebServer/AssemblyInfo.cs.in: ...this. * src/Mono.WebServer/Makefile.am: don't use -keyfile, as csc does not support it. Now 'distcheck' passes and the build works on windows. 2005-06-01 Gonzalo Paniagua Javier * src/XSPApplicationHost.cs: Removed file. * src/InitialWorkerRequest.cs: Removed file. * src/XSPWorkerRequest.cs: Removed file. * src/Makefile.am: Modified file. * src/Mono.WebServer/Makefile.am: moved some 'meat' to Mono.WebServer. xsp.exe is now just 'server.cs' + classes in Mono.WebServer. 2005-05-31 Raja R Harinath Fix 'make distcheck'. * src/Mono.WebServer/Makefile.am (EXTRA_DIST): Add key.snk. (Mono.WebServer.dll): Pass /keyfile: option. * src/Mono.WebServer/AssemblyInfo.cs (AssemblyKeyFile): Disable. 2005-05-30 Gonzalo Paniagua Javier * configure.in: * server/MonoWorkerRequest.cs: * server/ModMonoWorkerRequest.cs: * server/XSPWorkerRequest.cs: * server/Tracing.cs: * server/BaseRequestBroker.cs: * server/ApplicationServer.cs: * server/BaseApplicationHost.cs: * server/LingeringNetworkStream.cs: * server/Makefile.am: * server/IWebSource.cs: * server/Mono.WebServer: * server/Mono.WebServer/AssemblyInfo.cs: * server/Mono.WebServer/Makefile.am: * server/IApplicationHost.cs: * server/Mono.WebServer/*: moved Mono.WebServer.dll files into a new directory. 2005-05-16 Gonzalo Paniagua Javier * configure.in: HEAD is now 1.1.x * server/AssemblyInfoModMono.cs.in: * server/XSPApplicationHost.cs: * server/InitialWorkerRequest.cs: * server/AssemblyInfo.cs.in: * server/Makefile.am: * server/server.cs: this is now Mono.WebServer.dll. xsp.exe is there just to pass the options to the new assembly. Most of the patch by Brian Ritchie. 2005-05-08 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: call the EndOfSend notification when the request is told to be ended. 2005-05-07 Ben Maurer * configure.in: put the full path to mono in RUNTIME * */Makefile.am: s.$libdir.$prefix/lib, since that's what mono uses. Also, for scripts, use RUNTIME rather than just `mono'. 2005-05-07 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: implemented IsClientConnected. * server/ModMonoRequest.cs: added IsConnected and increased version number. * server/BaseRequestBroker.cs: * server/ModMonoApplicationHost.cs: Close the current connection before stopping the server when a shutdown request is received. * server/XSPApplicationHost.cs: * server/IWebSource.cs: IsConnected is now part if IWorker interface. 2005-05-03 Ben Maurer * configure.in: 1.0.9 2005-04-27 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: * server/XSPWorkerRequest.cs: * server/ModMonoRequest.cs: Default -> DefaultInvariant. Also don't send a FLUSH command to mod_mono, as it's ignored. 2005-04-20 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: * server/XSPApplicationHost.cs: fix warnings and ensure we call Close if an error happens when writing to the stream. 2005-04-19 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: * server/XSPWorkerRequest.cs: we can set a few server variables here. * server/ApplicationServer.cs: remove the socket from the active list on timeout so that we don't attempt to use it and delay the error. 2005-04-01 Gonzalo Paniagua Javier * server/ApplicationServer.cs: use a foreground thread to stop the server instead of one from the threadpool. Patch from Rob Lyon that fixes bug #73357. 2005-03-18 Gonzalo Paniagua Javier * server/ModMonoApplicationHost.cs: the lockfile is to be removed even for TCP sockets. Also return immediately if the module wants us to die. * server/ApplicationServer.cs: call Dispose on the web source so that removing the lockfile and the unix socket is done asap. * server/XSPApplicationHost.cs: added empty Dispose(). * server/IWebSource.cs: IWebSource inherits from IDisposable now. This fixes bug #73619. 2005-03-18 Gonzalo Paniagua Javier * server/InitialWorkerRequest.cs: prevent empty lines before the actual request from causing an error. Fixes bug #73048. 2005-03-05 Gonzalo Paniagua Javier * server/ModMonoApplicationHost.cs: don't print the exception to apache logs so that connection probing does not polute them. 2005-03-05 Gonzalo Paniagua Javier * server/ApplicationServer.cs: prevent premature stop from mod_mono from not doing the clean up. Patch from Rob Lyon. 2005-03-05 Gonzalo Paniagua Javier * server/server.cs: fix lockfile name generation. Patch by Mike Lasky. Closes bug #73234. 2005-03-02 Gonzalo Paniagua Javier * server/ModMonoApplicationHost.cs: ensure we close the stream to the mod_mono socket after Decline, NotFound and in Close. Thanks to Mike Lasky for spotting the bug. 2005-02-24 Gonzalo Paniagua Javier * configure.in: mktemp failed on *BSD. 2005-02-20 Gonzalo Paniagua Javier * server/ModMonoApplicationHost.cs: * server/ModMonoTCPWebSource.cs: * server/server.cs: use a FileStream as a lock to prevent running more than one mod-mono-server with the same arguments. 2005-02-20 Gonzalo Paniagua Javier * Released 1.0.6 2005-02-11 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: override IsSecure and implement it. Part of the fix for bug #71680. 2005-02-11 Gonzalo Paniagua Javier * configure.in: detect if gmcs actually works. Patch by Robert Jordan. 2005-02-08 Raja R Harinath * test/2.0/treeview/Makefile.am (install-data-hook,uninstall-hook): Support $(DESTDIR). 2005-02-04 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: * server/XSPWorkerRequest.cs: now they use a common method to get the pathinfo and pathinfo works with apache too. * server/ModMonoRequest.cs: when there's a version mismatch, print it everywhere so that it gets to apache logs. * server/ApplicationServer.cs: new Paths class containing a method for getting the path and pathinfo from an uri. * server/InitialWorkerRequest.cs: no pathinfo computation here. * server/XSPApplicationHost.cs: removed pathinfo parameter. * server/Makefile.am: xsp2.exe was being installed to xsp directory !? 2005-02-01 Gonzalo Paniagua Javier * server/ApplicationServer.cs: added BadRequest () to HttpErrors. * server/XSPApplicationHost.cs: if there's a failure reading the request, write back a 400 error to the client. Patch by Russ Young. 2005-01-26 Lluis Sanchez Gual * configure.in: Added masterpages test directory. * test/2.0/masterpages: New master page tests. * test/2.0/menu/menu1.aspx: Updated. 2005-01-21 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: if the headers have not been sent and someone closes the connection, don't try to reuse it. Discovered thanks to buggy user code. 2005-01-20 Gonzalo Paniagua Javier * server/ApplicationServer.cs: locks in SocketPool. Fixes bug #70388. 2005-01-20 Gonzalo Paniagua Javier * configure.in: * server/Makefile.am: don't build mod-mono-server if compiling with csc. 2005-01-20 Lluis Sanchez Gual * configure.in: Added new test makefiles. 2005-01-20 Lluis Sanchez Gual * server/InitialWorkerRequest.cs: Fix parsing of PathInfo. 2005-01-19 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: when Content-Length is set only allow sending that amount of bytes in the body. Fixes bug #71092. 2005-01-13 Raja R Harinath * server/MonoWorkerRequest.cs: Update to compile with the stricter name-resolution of MCS. 2004-12-21 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: * server/XSPApplicationHost.cs: * server/LingeringNetworkStream.cs: the connection is now closed if we get an error writing to the socket. 2004-12-15 Raja R Harinath * server/Makefile.am (CLEANFILES): Clean up *.exe and *.mdb. * tools/dbsessmgr/Makefile.am (EXTRA_DIST): Add dbsessmgr2.exe.config. (CLEANFILES): Clean up *.exe and *.mdb. * tools/asp_state/Makefile.am (EXTRA_DIST): Add asp-state2.exe.config. (CLEANFILES): Clean up *.exe and *.mdb. * scripts/Makefile.am (CLEANFILES): Fix typos. Clean up all the scripts. 2004-12-13 Gonzalo Paniagua Javier * configure.in: * server/Makefile.am: if gmcs is available, build xsp2.exe and mod-mono-server2.exe using the 2.0 assemblies. 2004-12-11 Gonzalo Paniagua Javier * server/XSPApplicationHost.cs: first remove the socket, then close it. Seems like the GetHashCode method returns a different value after the socket is closed. Fixes bug #70449. 2004-12-10 Raja R Harinath * doc/Makefile.am (mod-mono-server.1): Fix non-srcdir build. * scripts/Makefile.am ($(bin_SCRIPTS)): Likewise. * server/Makefile.am (xsp_only): Remove AssemblyInfo.cs.in. (xsp_build_sources): Add AssemblyInfo.cs. (modmono_only): Remove AssemblyInfoModMono.cs.in. (modmono_build_sources): Add AssemblyInfoModMono.cs. (EXTRA_DIST): Add AssemblyInfo.cs.in and AssemblyInfoModMono.cs.in. (xsp.exe, mod-mono-server.exe): Remove GNU-makeism. 2004-12-10 Gonzalo Paniagua Javier * server/XSPApplicationHost.cs: don't print IOExceptions caused by socket read/write errors and don't send back a 500 error on IOExceptions or error reading request line. Fixes bug #70391. 2004-12-07 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: if we don't have a Content-Length, force closing the connection. 2004-12-02 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: this typo prevented the underlying sys.web from knowing the real http version used. If you've seen stack traces showing ChunkStream when running *xsp*, that's over now. 2004-11-24 Alp Toker * server/XSPApplicationHost.cs: remove slash. 2004-11-24 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: * server/ModMonoWorkerRequest.cs: * server/XSPWorkerRequest.cs: * server/ModMonoRequest.cs: * server/BaseRequestBroker.cs: * server/AssemblyInfoModMono.cs.in: * server/ModMonoApplicationHost.cs: * server/ApplicationServer.cs: * server/InitialWorkerRequest.cs: * server/BaseApplicationHost.cs: * server/XSPApplicationHost.cs: * server/ModMonoTCPWebSource.cs: * server/AssemblyInfo.cs.in: * server/LingeringNetworkStream.cs: * server/server.cs: * server/IWebSource.cs: * server/IApplicationHost.cs: * COPYING: relicensed under MIT style license. 2004-11-24 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: max. line length for headers is now 8kB. * server/ApplicationServer.cs: don't Exit in Stop(). Call the new AppHost.Unload instead of just AppDomain.Unload, as that does not seem to trigger the Application_End event under MS runtime. Fixes bug #68709. * server/BaseApplicationHost.cs: new method Unload() that calls HttpRuntime.UnloadAppDomain for the current application. * server/InitialWorkerRequest.cs: maximum length for the request line is now 8kB. * server/IApplicationHost.cs: added Unload() to the interface. 2004-11-21 Gonzalo Paniagua Javier * test/global.asax: added code here. * doc/xsp.1.in: added information on --terminate and for .webapp files. * test/sample.webapp: aded * server/ApplicationServer.cs: don't bail out if the directory given in --appconfigdir does not exist. If the no exists and is 'false', don't set up that application. 2004-11-21 Gonzalo Paniagua Javier * server/ModMonoApplicationHost.cs: support for --terminate. Ensure that no one else is listening on the same unix socket. * server/ModMonoTCPWebSource.cs: support for --terminate. * server/server.cs: added --terminate option to mod-mono-server. You can use it to gracefully terminate a running mod-mono-server. 2004-11-12 Gonzalo Paniagua Javier * configure.in: remove MKDIR_P * server/InitialWorkerRequest.cs: don't print the exception if the stream is not reused. * autogen.sh: aclocal goes first. 2004-11-11 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: if the client is HTTP/1.1 or sends a keep-alive connection header, we keep the connection opened for 15 seconds waiting for more requests. * server/ApplicationServer.cs: Modified file. * server/InitialWorkerRequest.cs: throw a different exception if something fails reading the request line. * server/XSPApplicationHost.cs: Don't print errors due to socket read timeout. Handle keep-alive connections. 2004-11-02 Gonzalo Paniagua Javier * server/ApplicationServer.cs: workaround a bug in MS socket Select implementation. * server/server.cs: undo workaround for bug #65533. 2004-10-29 Gonzalo Paniagua Javier * Released 1.0.4. 2004-10-29 Gonzalo Paniagua Javier * server/XSPApplicationHost.cs: redirect on directories that are not the root virtual directory when the path does not end in '/'. Fixes bug #68082. 2004-10-17 Ben Maurer * server/MonoWorkerRequest.cs (MapPath): avoid the concat here. 2004-10-14 Gonzalo Paniagua Javier * server/ApplicationServer.cs: set the accepted socket to Blocking. 2004-10-03 Ben Maurer * server/ApplicationServer.cs: use UtcNow 2004-09-30 Gonzalo Paniagua Javier * test/web_regularexpressionvalidator.aspx: improved example. Patch by Tomasz Rybak. 2004-09-29 Ben Maurer * server/LingeringNetworkStream.cs: make the byte [] buffer static here. It is not of consequence what we write to the buffer so we may as well cache it. * server/XSPWorkerRequest.cs: Avoid String.Format related stuff, just append to the stringbuilder. 2004-09-28 Ben Maurer * server/XSPApplicationHost.cs: rather than pass an ip addr across appdomains as a string, pass it as a long. this avoids the cost of making it into a string, and related allocations. 2004-09-28 Gonzalo Paniagua Javier * server/ApplicationServer.cs: application server never dies. * test/web_table2.aspx: added missing runat attributes. 2004-09-24 Gonzalo Paniagua Javier * configure.in: 1.0.2.99 * server/ApplicationServer.cs: allow unloading applications. Fixed warnings. * server/BaseApplicationHost.cs: when the domain is unloaded, tell the application server we don't exist any more. * server/BaseRequestBroker.cs: added some sanity checks. * server/IApplicationHost.cs: added Server to the interface. * server/ModMonoRequest.cs: * server/ModMonoWorkerRequest.cs: * server/ModMonoApplicationHost.cs: if apache is stopping, tell the application server to finish everything off. * server/XSPWorkerRequest.cs: * server/XSPApplicationHost.cs: fixed warnings. * server/server.cs: if running interactive, unload all applications before exiting. 2004-09-12 Gonzalo Paniagua Javier * server/ApplicationServer.cs: make the server socket non-blocking and ignore any exception on Accept. 2004-09-12 Ben Maurer * server/server.cs: allow for clean exit (workaround) * server/XSPWorkerRequest.cs: avoid a remoting call. cache MemoryStreams * InitialWorkerRequest.cs: cache byte [] buffers. 2004-09-04 Gonzalo Paniagua Javier * configure.in: added AM_MKDIR_P to make automake 1.8 happier. 2004-08-31 Gonzalo Paniagua Javier * server/ApplicationServer.cs: don't set the socket timeout for mod-mono-server. Apache should take care of that. * server/BaseApplicationHost.cs: * server/BaseRequestBroker.cs: * server/ModMonoApplicationHost.cs: unregister the request in EndOfRequest event because under heavy load HttpRuntime.ProcessRequest might return immediately and queue the request for later processing. * server/XSPApplicationHost.cs: unregister the request when redirecting * server/MonoWorkerRequest.cs: * server/ModMonoWorkerRequest.cs: * server/XSPWorkerRequest.cs: RequestId is now part of MonoWorkerRequest interface. 2004-08-17 Gonzalo Paniagua Javier * server/ApplicationServer.cs: ignore exceptions when setting socket options as there are systems that don't support them. Fixes bug #63031. 2004-08-04 Gonzalo Paniagua Javier * nunit-tests/standalone/Makefile.am: * tools/nunitasp/source/NUnitAspTest/Makefile.am: fix distcheck on a clean system and remove warnings. 2004-08-04 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: GetRequestHeader is case insensitive now. Thanks to Jan Jaros. 2004-08-02 Gonzalo Paniagua Javier * Makefile.am: * configure.in: * nunit-tests/standalone/Makefile.am: * scripts/.cvsignore: * scripts/Makefile.am: * scripts/script.in: * server/Makefile.am: * tools/asp_state/Makefile.am: * tools/dbsessmgr/Makefile.am: * tools/nunitasp/source/NUnitAsp/Makefile.am: * tools/nunitasp/source/NUnitAspTest/Makefile.am: added xsp and mod-mono-server scripts, remove .mdb files when cleaning. 2004-07-30 Gonzalo Paniagua Javier * server/ApplicationServer.cs: fix host matching in presence of *. Closes bug #61275. * server/ModMonoWorkerRequest.cs: don't duplicate the slash when setting a default file name that we know is not present. 2004-07-29 Gonzalo Paniagua Javier * configure.in: 1.0.1. * server/ApplicationServer.cs: don't timeout in Select when we only have the listener socket. Use real times for timeout. 2004-07-28 Gonzalo Paniagua Javier * server/ApplicationServer.cs: increased the backlog for listen, set accepted sockets read/write timeout to 15s and handle timeouts when reading request data before submitting the work item to the threadpool. * server/XSPApplicationHost.cs: don't write a 500 error response if we got an IOException when reading from the network stream. * server/XSPWorkerRequest.cs: if there's an IOException when reading the headers, just rethrow it. 2004-07-19 Gonzalo Paniagua Javier * server/ModMonoApplicationHost.cs: don't write the 50x error response to the stream. Just closing works and doesn't drive mod_mono crazy. 2004-07-14 Gonzalo Paniagua Javier * test/Makefile.am: * test/chunked.ashx: the output of this handler should be chunked for 1.1 clients and 1.0 clients that send the Accept-Encoding to 'chunked'. 2004-07-13 Gonzalo Paniagua Javier * server/ModMonoApplicationHost.cs: * server/ModMonoRequest.cs: * server/ModMonoWorkerRequest.cs: when we can't find a suitable application, return NOT_FOUND to mod_mono. 2004-07-10 Gonzalo Paniagua Javier * server/Makefile.am: added ModMonoTCPWebSource. * server/ModMonoApplicationHost.cs: in ModMonoWebSource, CreateSocket is now virtual and the .ctor receives the file name as parameter. * server/ModMonoRequest.cs: prevent absurd string sizes if the socket is not in a expected state. * server/ModMonoTCPWebSource.cs: supports mod_mono communication over a TCP socket. * server/XSPApplicationHost.cs: XSPWebSource .ctor receives address and port as parameters. * server/server.cs: updated help, handle address and port in mod-mono-server. Choose TCP or unix socket IWebSource depending on the arguments. 2004-07-09 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: made the headers Hashtable case insensitive. 2004-07-08 Gonzalo Paniagua Javier * server/BaseRequestBroker.cs: Modified file. * server/ModMonoRequest.cs: more data cached on first read. * server/ModMonoWorkerRequest.cs: use Buffer.BlockCopy instead of Array.Copy. 2004-07-07 Gonzalo Paniagua Javier * server/ModMonoApplicationHost.cs: remove the unix socket file when finishing. * test/Makefile.am: added missing files. * test/mono-xsp.css: * test/index.aspx: reduced size of the generated page. 2004-07-07 Gonzalo Paniagua Javier * server/ModMonoApplicationHost.cs: * server/ModMonoWorkerRequest.cs: * server/ModMonoRequest.cs: removed unused method/options and the ack sent back after writing something. Unified setting status code and message into 1 single command. 2004-06-30 Gonzalo Paniagua Javier * Released 1.0. 2004-06-24 Gonzalo Paniagua Javier * configure.in: 0.15.99. * server/ApplicationServer.cs: added method in VPathToHost that tells if we're trying /xxx where xxx is a directory (ie, we need to redirec). * server/InitialWorkerRequest.cs: don't remove trailing '/' in GetSafePath (). * server/XSPApplicationHost.cs: handle redirects and fixed nullref. Closes bug #60478. * ChangeLog: style. * server/ModMonoApplicationHost.cs: splitted long lines. * server/MonoWorkerRequest.cs: style. 2004-06-20 Lluis Sanchez Gual * IApplicationHost.cs: Added RequestBroker property to IApplicationHost. The application host will query for information through this object, which lives in the main domain. * Makefile.am: Added new files. * ModMonoRequest.cs: Added position parameter in SendResponseFromMemory, so we can send partially filled buffers. GetClientBlock(): Some checks that where done in ModMonoWorkerRequest have been moved here. We can avoid two cross-app domain calls in this way. Merged SetStatusCode and SetStatusLine into SetStatusCodeLine. We avoid another cross-app domain call. * ModMonoWorkerRequest.cs: Renamed to ModMonoWorkerRequest, to make things more understandable. Removed all references to ModMonoRequest. All request information is now available as input parameters or through the IRequestBroker. Some old calls to ModMonoRequest have been merged into a single IRequestBroker call, to avoid the overhead of a cross-app domain call. * XSPApplicationHost.cs: Most of the code has been moved to other classes: ApplicationServer, WebSource, XSPWebSource, ModMonoWebSource... * XSPWorkerRequest.cs: Removed dependency to RequestData, since passing it through the cross-app domain channel requires serialization support. The same information is passed as primitive parameters. In general, calls to the network stream are now done through the IRequestBroker. * server.cs: Create the ApplicationServer by providing a ModMonoWebSource or a XSPWebSource instance. * ApplicationServer.cs: New file. Moved here the old XSPApplicationServer. Almost all code is now shared between XSP and mod_mono. Specific behavior is now encapsulated in an IWebSource object. * LingeringNetworkStream.cs: New file. Moved here the old MyNetworkStream. * BaseApplicationHost.cs: New file. Moved here the old XSPApplicationHost. * WebSource.cs: New file. Defines the IWebSource and IWorker interfaces. * XSPApplicationHost.cs: New file. Provides an implementation for XSP of a IWebSource, an IRequestBroker, an IApplicationHost and an IWorker. * ModMonoApplicationHost.cs: New file. Provides an implementation for mod_mono of a IWebSource, an IRequestBroker, an IApplicationHost and an IWorker. 2004-06-19 Gonzalo Paniagua Javier * test/Makefile.am: install extensions.dll into test directory so that ServiceClient.exe runs fine. 2004-06-15 Gonzalo Paniagua Javier * test/favicon.ico: * test/index.aspx: * test/mono-powered-big.png: * test/mono-xsp.css: * test/monobutton.png: * test/small-icon.png: better appearance. Patch from Antonio Ognio. 2004-06-14 Gonzalo Paniagua Javier * server/XSPApplicationHost.cs: allow wilcard for vhosts, fixed matching of /xxx when we have a vhost for /xxx/, matching moved to VPathToHost class and improved. When creating a new host, lock on the VPathToHost object, not the entire array of vhosts. * server/server.cs: don't allow duplicated options passed in the command line. No need to wait on a handle when --nonstop. Just make the runner thread have IsBackGround to false and finish the main one. 2004-06-12 Gonzalo Paniagua Javier * test/dbpage1.aspx: * test/dbpage2.aspx: fixed connection leaks by adding a Page_Unload method that closes the connection. 2004-06-11 Gonzalo Paniagua Javier * test/Makefile.am: added typedesc.* * test/typedesc.(aspx|cs): sample test control showing how a Type that has a TypeDescriptor can be saved/restored to/from ViewState. 2004-06-10 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: only send the Close to the module once. * server/XSPApplicationHost.cs: added new class MyNetworkStream that handles lingering close for xsp standalone like apache does. Fixes bug #59688. BIG THANKS to David Taylor. * server/XSPWorkerRequest.cs: ensure we read all the data requested for the request body. Only call stream.Close once. 2004-06-05 Gonzalo Paniagua Javier * test/web.config: commented out gzip and mono.aspnet. It's causing troubles some times. 2004-06-03 Gonzalo Paniagua Javier * doc/xsp.1.in: * server/server.cs: don't flag --applications as deprecated. 2004-06-03 Gonzalo Paniagua Javier * test/serial.aspx: test that I used when gathering information to fix bug #59495. 2004-06-02 Gonzalo Paniagua Javier * INSTALL: added note for windows users. * configure.in: 0.14.99 * server/InitialWorkerRequest.cs: UrlDecode the path and check safety. Fixes bug #59429. 2004-06-02 Gonzalo Paniagua Javier * Released 0.14 2004-05-30 Jackson Harper * configure.in: * doc/.cvsignore: * doc/Makefile.am: * doc/asp_state.1.in: Add asp_state man page. 2004-05-28 Gonzalo Paniagua Javier * configure.in: * doc/.cvsignore: * doc/Makefile.am: * doc/dbsessmgr.1.in: * doc/xsp.1.in: added dbsessmgr manual page. * nunit-tests/standalone/Makefile.am: * tools/dbsessmgr/AssemblyInfo.cs.in: * tools/nunitasp/source/NUnitAsp/Makefile.am: * tools/nunitasp/source/NUnitAspTest/Makefile.am: build fixes. * tools/asp_state/asp_state.exe.config: added ?xml stuff. * tools/dbsessmgr/dbsessmgr.cs: use LoadWithPartialName. 2004-05-28 Gonzalo Paniagua Javier * INSTALL: * README: updated. 2004-05-28 Gonzalo Paniagua Javier * doc/xsp.1.in: added .webapp file format details and updated. * server/server.cs: UnixSocketFileName -> MonoUnixSocket. Mark --applications as deprecated. 2004-05-26 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: only support HTTP 1.0 in xsp.exe. 2004-05-20 Gonzalo Paniagua Javier * server/AssemblyInfo.cs.in: * server/AssemblyInfoModMono.cs.in: upadted year. * server/InitialWorkerRequest.cs: don't UrlDecode the path at this stage. 2004-05-19 Gonzalo Paniagua Javier * NEWS: * README: updated. * configure.in: * doc/Makefile.am: * doc/xsp.1.in: updated manual page and install the same one for mod-mono-server. * doc/xsp.1: Removed. 2004-05-19 Gonzalo Paniagua Javier * server/Makefile.am: InitialWorkerRequest.cs is only needed for xsp. * server/XSPApplicationHost.cs: * server/server.cs: support for virtual hosts in mod-mono-server by Jaroslaw Kowalsky. * test/Makefile.am: * test/datalist.aspx: * test/sample.webapp: added new files. 2004-05-14 Gonzalo Paniagua Javier * ChangeLog: forgot an entry. * configure.in: 0.13.99 * test/tabcontrol.cs: don't try to serialize a StateBag. 2004-05-06 Sebastien Pouliot * INSTALL: Removed notes about RNG on Windows as this had been fixed for some times. 2004-05-04 Gonzalo Paniagua Javier * test/dbpage1.aspx: * test/dbpage2.aspx: * test/mod-mono-server.exe.config: * test/web.config: don't use the deprecated Mono.Data.PostgresqlClient, but Npgsql. 2004-05-03 Gonzalo Paniagua Javier * test/Makefile.am: install the sample dlls to the right place. Thanks to Pablo Baena. 2004-05-03 Gonzalo Paniagua Javier * tools/nunitasp/source/NUnitAspTest/Makefile.am: fixed distcheck and don't install NUnitAspTest.dll. 2004-05-03 Gonzalo Paniagua Javier * INSTALL: added note on building using CSC. * test/mod-mono-server.exe.config: * test/web.config: use Version and PublicKeyToken where applicable. 2004-04-22 Gonzalo Paniagua Javier * NEWS: * ChangeLog: updated. * server/ModMonoWorkerRequest.cs: fixed buglet that made unknown headers not pass from mod_mono to System.Web. Shame on me. 2004-04-21 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: fixed PathInfo for mod_mono. Smells like a new release. Released 0.11. 2004-04-21 Gonzalo Paniagua Javier * NEWS: updated. * server/ModMonoRequest.cs: * server/ModMonoWorkerRequest.cs: marshal 2 string arrays instead of a Hashtable for request headers. Released 0.10. 2004-04-08 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: try the default index pages as the standalone xsp does. 2004-04-06 Gonzalo Paniagua Javier * AUTHORS: * configure.in: * nunit-tests/Makefile.am: * nunit-tests/standalone/Makefile.am: * server/Makefile.am: * test/.cvsignore: * test/Makefile.am: * test/TestService.asmx: * test/authtest/.cvsignore: * test/authtest/Makefile.am: * tools/asp_state/.cvsignore: * tools/asp_state/Makefile.am: * tools/dbsessmgr/.cvsignore: * tools/dbsessmgr/Makefile.am: * tools/nunitasp/source/Makefile.am: * tools/nunitasp/source/NUnitAsp/.cvsignore: * tools/nunitasp/source/NUnitAsp/Makefile.am: * tools/nunitasp/source/NUnitAsp/AspTester/.cvsignore: * tools/nunitasp/source/NUnitAsp/AspTester/Makefile.am: * tools/nunitasp/source/NUnitAsp/HtmlTester/.cvsignore: * tools/nunitasp/source/NUnitAspTest/.cvsignore: * tools/nunitasp/source/NUnitAspTest/Makefile.am: * tools/nunitasp/source/NUnitAspTest/AspTester/.cvsignore: * tools/nunitasp/source/NUnitAspTest/AspTester/Makefile.am: * tools/nunitasp/source/NUnitAspTest/HtmlTester/.cvsignore: makefile love. distcheck works now. Fixes bug #53652. * nunit-tests/standalone/Makefile.in: * server/Makefile.in: * test/Makefile.in: * tools/asp_state/Makefile.in: * tools/dbsessmgr/Makefile.in: * tools/nunitasp/source/NUnitAsp/Makefile.in: * tools/nunitasp/source/NUnitAspTest/Makefile.in: removed 2004-04-04 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: HostVPath treated as HostVPath + "/". * server/XSPApplicationHost.cs: replaced CR by CRLF in error messages sent to the client. Close the connection if we're writing an error. * server/XSPWorkerRequest.cs: replaced CR by CRLF and added the server header to the error. * server/server.cs: removed useless line. 2004-03-22 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: really close the opened connection. Patch from Jan Jaros. 2004-01-16 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: apply the same changes as in XSPWorkerRequest.cs related to PathInfo. Patch by Chris Turchin. This makes blogx work with mod_mono. 2004-01-08 Martin Willemoes Hansen * test/web_adrotator.xml: Added a ad for Mono, now the control realy shows its rotation capability. 2004-01-03 Gonzalo Paniagua Javier * Makefile.am: added nunit-tests to SUBDIRS. * server/Makefile.in: * test/Makefile.in: * tools/asp_state/Makefile.in: * tools/dbsessmgr/Makefile.in: * tools/nunitasp/source/NUnitAsp/Makefile.in: * tools/nunitasp/source/NUnitAspTest/Makefile.in: added distclean target. 2003-12-16 Gonzalo Paniagua Javier * server/server.cs: beutified error on --address argument. Fixes bug #52208. 2003-12-11 Gonzalo Paniagua Javier * configure.in: * nunit-tests/Makefile.am: * nunit-tests/standalone/Makefile.in: * nunit-tests/standalone/bug51682-1.aspx: * nunit-tests/standalone/bug51682-1.cs: added first standalone test. 2003-12-11 Gonzalo Paniagua Javier * configure.in: * tools/Makefile.am: added nunitasp to the build. 2003-12-02 Gonzalo Paniagua Javier * Released 0.8. 2003-11-26 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: added EndOfRequestEvent and invoke it in the override of EndOfRequest. * server/XSPApplicationHost.cs: use the new event and close the socket when notified of request end. This makes xsp work under heavy load too, when HttpRuntime.ProcessRequest returns inmediately. 2003-11-24 Jackson Harper * tools/asp_state/asp_state.exe.config: Use same port as MS, load the RemoteStateServer from System.Web. 2003-11-24 Jackson Harper * server/ModMonoRequest.cs: cache the result of the first (and unique) SetupClientBlock. Return false when should not block. * server/ModMonoWorkerRequest.cs: removed staled stuff. First do a 'should' and then setup the client block. 2003-11-17 Duncan Mak * server/Makefile.in (LOCAL_BIN_DIR): * test/Makefile.in (SAMPLES_DIR, SAMPLES_BIN_DIR): Use $(DESTDIR)$(prefix) instead of @prefix@. This is needed for the build system. 2003-11-16 Gonzalo Paniagua Javier * doc/xsp.1: updated. * server/AssemblyInfo.cs.in: * server/AssemblyInfoModMono.cs.in: Novell. * server/server.cs: handle wrong --root directories. 2003-11-05 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: no need to create a full WorkerRequest when we just want to get the uri information. * server/XSPApplicationHost.cs: removed workaround for the bug. 2003-10-28 Pedro Martínez Juliá * server/XSPApplicationHost.cs: add a few lines to set the domain data requested by XSPWorkerReqest (SimpleWorkerRequest). These are garbage lines because they are used only for the main application and there must be other way to get mod-mono-server working without this little hack. * test/Makefile.in: add "*.inc" and "*.xsl" to the install wildcard list. These files are needed by other "*.aspx" files. 2003-10-23 Gonzalo Paniagua Javier * server/IApplicationHost.cs: reduced to the minimum. * server/ModMonoRequest.cs: removed unused Hashtable and make the headers hashtable case insensitive. * server/XSPApplicationHost.cs: new class HttpErrors. Splitted XSPApplicationHost. Now there's a XSPApplicationServer which does the server work and creates the XSPApplicationHosts. Lock when adding new applications to dirToHost (thanks Lluis!) * server/server.cs: use XSPApplicationServer. 2003-10-09 Gonzalo Paniagua Javier * server/InitialWorkerRequest.cs: reduced up to the minimum needed before it's serialized, as suggested by Lluis. * server/XSPApplicationHost.cs: make worker serializable again. Fixes bug #49354. * server/XSPWorkerRequest.cs: read the headers here. 2003-10-06 Gonzalo Paniagua Javier * configure.in: output the assemblyinfos too. * doc/Makefile.am: extradist. * server/AssemblyInfoModMono.cs.in: for mod-mono-server. * server/InitialWorkerRequest.cs: PathInfo should work now. * server/Makefile.in: use the assemblyinfo*.in files. * server/server.cs: added --version. * test/Makefile.in: simplified. 2003-10-05 Pedro Martínez Juliá * test/index.aspx: change directory where files are searched because if test directory is not the root directory of the server, the index page will have other files. 2003-10-04 Gonzalo Paniagua Javier * configure.in: * doc/Makefile.am: * server/Makefile.in: * test/Makefile.in: use automake. * Makefile.in: * doc/Makefile.in: Removed files. 2003-10-04 Gonzalo Paniagua Javier * Makefile.in: fix dist target. * server/XSPApplicationHost.cs: re-added line removed by mistake. * server/server.cs: added --nonstop argument to allow xsp be run with no controlling tty. 2003-10-03 Gonzalo Paniagua Javier * INSTALL: updated. * NEWS: updated. * Makefile.in: * doc/Makefile.in: * server/Makefile.in: * test/Makefile.in: * autogen.sh: * configure.in: do a real dist target. Make it work on windows. * server/ModMonoRequest.cs: read basic request data upon connection. * server/ModMonoWorkerRequest.cs: implemented GetUnknownHeaders. * server/MonoWorkerRequest.cs: minimize cross-appdomain calls. * server/XSPApplicationHost.cs: Worker is now MarshalByRef, not [Serializable]. Set the server thread as background. * server/server.cs: the server is now stopped by pressing enter. You can disable this behavior with --nonstop argument. * test/DefaultWsdlHelpGenerator.aspx: this has been moved to mono/data. 2003-10-01 Gonzalo Paniagua Javier * Makefile.in: * autogen.sh: * configure.in: * doc/Makefile.in: * server/Makefile.in: * test/Makefile.in: added 'dist' target to make a tarball. 2003-09-27 Gonzalo Paniagua Javier * server/XSPApplicationHost.cs: really add the sponsors now. 2003-09-22 Gonzalo Paniagua Javier * ChangeLog: unified all ChangeLog. * NEWS: * INSTALL: updated. * Makefile: * doc/Makefile.in: * doc/directives-syntax.txt: * doc/generated-code.txt: * doc/helping.txt: * server/ChangeLog: * server/Makefile: * server/Makefile.in: * server/global.asax: * server/mod-mono-server.exe.config: * server/xsp.exe.config: * test/ChangeLog: * test/Makefile: * test/Makefile.in: * test/global.asax: * test/mod-mono-server.exe.config: * test/xsp.exe.config: * test/authtest/ChangeLog: use auto* stuff forthe build and unified ChangeLog. * server/XSPApplicationHost.cs: added a couple of catches. 2003-09-22 Gonzalo Paniagua Javier * server/XSPApplicationHost.cs: added a ISponsor for NetworkStream and don't crash xsp.exe if RemoteEndPoint throws an exception. 2003-09-19 Gonzalo Paniagua Javier * server/ModMonoWorkerRequest.cs: don't cache the values from mod_mono_unix here... * server/ModMonoRequest.cs: ...and do it here. (GetClientBlock): mark the array as an Out parameter so that the modified array is passed back to the caller by remoting. This fixes POST when using mod_mono_unix. 2003-09-18 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: don't crash when no Host header is received or if it has an invalid port. 2003-09-14 Lluis Sanchez Gual * test/DefaultWsdlHelpGenerator.aspx. Added support for C# proxy generation. 2003-09-04 Lluis Sanchez Gual * test/Added DefaultWsdlHelpGenerator.aspx. 2003-09-04 Lluis Sanchez Gual * server/XSPWorkerRequest.cs: GetServerName(): reverted previous patch. There was a conflict with previous changes. Also modified implementation of GetLocalAddress(). It should get the value from the request header. 2003-09-04 Lluis Sanchez Gual * server/XSPWorkerRequest.cs: GetServerName(): return the address of the local server. 2003-08-29 Gonzalo Paniagua Javier * server/InitialWorkerRequest.cs: removed Console... * server/ModMonoRequest.cs: removed debug output. * server/ModMonoWorkerRequest.cs: added pathinfo support. * server/MonoWorkerRequest.cs: removed GetRawUrl from here. * server/XSPApplicationHost.cs: read the request data needed to get the Uri. 2003-08-29 Gonzalo Paniagua Javier * server/InitialWorkerRequest.cs: added PathInfo support. * server/MonoWorkerRequest.cs: removed unused GetPathInfo. Don't cache the mapped path as it may change (ie., / -> /index.aspx). * server/XSPWorkerRequest.cs: support pathinfo. Works with MS. Always send the 'Connection: close' header. Added support for GetLocal*. 2003-08-27 Gonzalo Paniagua Javier * server/InitialWorkerRequest.cs: fixed bugs 47937 and 47938. * server/XSPApplicationHost.cs: close the socket when finished. * server/XSPWorkerRequest.cs: small fixes in ReadEntityBody. Removed the 302 redirection, handle it faking the path. 2003-08-26 Gonzalo Paniagua Javier * server/XSPApplicationHost.cs: infinite lifetime for XSPApplicationHost. 2003-08-25 Gonzalo Paniagua Javier * server/InitialWorkerRequest.cs: * server/XSPWorkerRequest.cs: keep the read buffer, its length and the position around (used in POST). Somehow this bug didnn't show up under MS runtime. * server/XSPApplicationHost.cs: fixed warning and commented out WriteLines. 2003-08-25 Gonzalo Paniagua Javier * server/IApplicationHost.cs: added 2 methods and 1 property to the interface. * server/InitialWorkerRequest.cs: used to read the request data before determining which application (if at all) is gonna process it. * server/Makefile: added new source file. * server/ModMonoRequest.cs: removed AliasMatches and added Decline. * server/ModMonoWorkerRequest.cs: new .ctor and Decline method that tells apache that we won't handle the request. * server/MonoWorkerRequest.cs: variable renamed. * server/XSPApplicationHost.cs: it can now handle multiple applications. * server/XSPWorkerRequest.cs: simplified as reading the request data is done in InitialWorkerRequest. * server/xsp.exe.config: * server/mod-mono-server.exe.config: added MonoApplications default setting. * server/server.cs: updated help and set the applications registered. 2003-08-21 Gonzalo Paniagua Javier * server/XSPApplicationHost.cs: handle possible exceptions in ProcessRequest. * server/XSPWorkerRequest.cs: don't do any check on the verb. If an error happens reading the request or the headers, send a 500 back and terminate. 2003-08-17 Gonzalo Paniagua Javier * server/AssemblyInfo.cs: updated version number. 2003-08-07 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: write the correct number of bytes when flushing the response. 2003-08-01 Gonzalo Paniagua Javier * test/monodoc.ashx: added this file that contains a couple of directives plus monodoc/browser/website-handler.cs. Yeah! BenM rules. 2003-08-01 Gonzalo Paniagua Javier * test/index.aspx: also list .ashx files. * test/webhandler.ashx: added new sample. 2003-08-01 Gonzalo Paniagua Javier * server/mod-mono-server.exe.config: New file. * server/Makefile: * server/ModMonoRequest.cs: new class that communicate with the new mod_mono_unix apache2 module. * server/ModMonoWorkerRequest.cs: HttpWorkerRequest for unix socket. * server/server.cs: * server/XSPApplicationHost.cs: updated for new apache2 module. 2003-07-30 Sebastien Pouliot * test/Makefile: Corrected extensions.dll for csc, error: Options '/out' and '/target' must appear before source file names 2003-07-24 Gonzalo Paniagua Javier * test/web.config: update to new type/assembly name and make it use gzip by default. 2003-07-24 Gonzalo Paniagua Javier * server/AcceptEncodingConfig.cs: * server/AcceptEncodingModule.cs: * server/AcceptEncodingSectionHandler.cs: * server/GZipFilter.cs: * server/Makefile: these .cs files have been moved to Mono.Http.dll. * server/AssemblyInfo.cs: upgrade version. 2003-07-23 Gonzalo Paniagua Javier * test/web.config: the new mono.aspnet configuration section has been added and other contents from ../server/web.config file. 2003-07-23 Gonzalo Paniagua Javier * server/AcceptEncodingConfig.cs: class to hold the configuration for the filters enabled in web.config. * server/AcceptEncodingModule.cs: IHttpModule to plug the filters. * server/AcceptEncodingSectionHandler.cs: configuration file section handler for accept-encoding filters. * server/GZipFilter.cs: sample filter for gzip encoding. * server/Makefile: reference ICSharpCode.SharpZipLib, added new files and renamed executable to xsp.exe * server/server.exe.config: removed and renamed to... * server/xsp.exe.config: ...this one. * server/web.config: Removed file. It's been merged with ../test/ 2003-07-09 Lluis Sanchez Gual * test/README: added descrption of web service samples. * test/Makefile: added compilation of extensions and service client. * test/web.config: Copied from the server directory. It includes soap extension configuration. * test/TestService.asmx: New file. A simple test service. * test/ConverterService.asmx: New file. Currency conversion test service. * test/TraceExtension.cs: New file. Trace soap extension. * test/EncryptExtension.cs: New file. A Soap extension that encrypts the info. * test/DumpExtension.cs: New file. Dump soap extension. * test/ServiceClient.cs: New file. Web service test app. * test/ServiceClient.exe.config: New file. Config file for the ServiceClient test app. * test/Reference.cs: New file. Web service client proxy implementation. 2003-07-09 Lluis Sanchez Gual * server/Makefile: install target: copy web service files. 2003-06-20 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: reverted latest Ben's patch as it causes an annoying bug when testing under windows. 2003-05-31 Gonzalo Paniagua Javier * server/XSPApplicationHost.cs: * server/XSPWorkerRequest.cs: support GetRemoteName, GetRemoteAddress and GetRemotePort. Fixes bug #43985. 2003-05-24 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: when redirecting to an index page, also use the query string. Fixes bug #43598. 2003-05-24 Ben Maurer * server/XSPWorkerRequest.cs: Now /foo/ does not redirect to /foo/index.aspx, it just does a Response.Transfer () sort of thing. 2003-05-06 Gonzalo Paniagua Javier * test/body.inc: New file. * test/header.inc: New file. * test/includetest.aspx: New file. 2003-05-05 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: * server/server.cs: * server/server.exe.config: * server/web.config: the index files must be set in the proper AppDomain. Fixes #42309. 2003-05-04 Gonzalo Paniagua Javier * server/web.config: removed server.exe keys. * server/Makefile: readded server.exe.config. * server/XSPWorkerRequest.cs: * server/server.cs: * server/server.exe.config: made the default index files list configurable. 2003-05-03 Pedro Martínez Juliá * server/server.cs: new options to set listen address. 2003-03-27 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: added a MapPathEvent that is fired before doing the normal MapPath stuff and can provide alternate mappings. 2003-02-17 Gonzalo Paniagua Javier * server/Makefile: .dbg files are gone. * server/MonoWorkerRequest.cs: fixed MapPath to deal with virtual directories. * server/XSPWorkerRequest.cs: some cosmetic changes along with a fix when redirecting to location page. * server/server.cs: new options to set the root and virtual directory for the application. * server/XSPApplicationHost.cs: keep path and virtual path in instance fields. 2003-02-15 Gonzalo Paniagua Javier * test/web_datagrid_command.aspx: added sample that allows deleting rows from a data source. 2003-02-12 Gonzalo Paniagua Javier * test/authtest/index.aspx: * test/authtest/login.aspx: * test/authtest/web.config: authorization test from http://www.asp.net. 2003-02-12 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: when running under MS runtime, closing 'stream' is required too. 2003-02-06 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: fixed buglet in GetAppPath. 2003-02-04 Gonzalo Paniagua Javier * server/Makefile: removed installation of server.exe.config. * server/XSPWorkerRequest.cs: buffered input from the socket. * server/server.exe.config: Removed file. Yahoo! * server/web.config: authentication mode set to Forms. 2003-02-02 Gonzalo Paniagua Javier * server/XSPWorkerRequest.cs: fixed ReadEntityBody. Thanks to Brian Ritchie. Don't use a StreamReader to read from the stream cause it may buffer some data. TODO -> now we're using ReadByte to read from the stream. We should use Read and do some buffering. 2003-01-15 Gonzalo Paniagua Javier * test/dbpage1.aspx: * test/dbpage2.aspx: make the database accessing samples take some parameters from the configuration file to choose the IDbConnection and documented it. 2003-01-15 Gonzalo Paniagua Javier * server/Makefile: * server/server.exe.config: * server/web.config: make the database accessing samples take some parameters from the configuration file to choose the IDbConnection and documented it. 2003-01-14 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: * server/XSPWorkerRequest.cs: moved GetUnknownHeader(s) here. 2003-01-14 Gonzalo Paniagua Javier * server/IApplicationHost.cs: * server/MonoWorkerRequest.cs: the same files as in mod_mono. They must be kept in synch. * server/XSPApplicationHost.cs: same as previous MonoApplicationHost, but implements IApplicationHost. * server/XSPWorkerRequest.cs: it derives now from MonoWorkerRequest. Removed some overrides that are already present in the base class. * server/server.cs: use XSPApplicationHost. * server/Makefile: added/removed files to SOURCES. Install the .dbg file. * server/MonoApplicationHost.cs: Removed file. Now mod_mono and xsp share IApplicationHost and MonoWorkerRequest. 2003-01-12 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: fixed GetRawUrl. 2003-01-08 Gonzalo Paniagua Javier * test/web_datagrid.aspx: simple datagrid test. 2003-01-07 Gonzalo Paniagua Javier * test/registertest.aspx: * test/registertest1.ascx: * test/registertest2.ascx: new test for @ Register directive. 2003-01-07 Gonzalo Paniagua Javier * server/Makefile: also copy .ascx files. 2003-01-06 Gonzalo Paniagua Javier * test/Makefile: added codebehind1 test. * test/codebehind1.[aspx|cs]: codebehind test by David B. Bitton . 2002-12-20 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: it know handles directory requests either redirecting to a / terminated url for directories or searching for one of the default index files for / terminated urls. 2002-12-19 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: changes to match recent MapPath fixing in System.Web. 2002-12-13 Juli Mallett * server/Makefile, server/Makefile, src/Makefile: Spell `make' as `$(MAKE)'. * server/README: Fix typo. 2002-12-12 Gonzalo Paniagua Javier * server/AssemblyInfo.cs: New file. * server/Makefile: added AssemblyInfo.cs. * server/MonoWorkerRequest.cs: create Server header from assembly attributes. Thanks to alp and danmorg. Some path handling fixes and kludges. 2002-12-10 Alp Toker * server/server/MonoWorkerRequest.cs: send a 'Server' HTTP header 2002-12-05 Gonzalo Paniagua Javier * server/server/Makefile: updated. * server/server/MonoWorkerRequest.cs: give credits to Opless (Simon White). * server/server/server.cs: get the port from a config file. * server/server/server.exe.config: configuration file. * server/server/web.config: added appSettings. 2002-11-24 Daniel Morgan * test/dbpage1.aspx: modify to dynamically load the Mono.Data.PostgreSqlClient assembly and Connection class Mono.Data.PostgreSqlClient.PgSqlConnection. This is a temporary solution until global.asax has support for this. 2002-10-31 Gonzalo Paniagua Javier * server/MonoWorkerRequest.cs: use a default encoding without markers. * server/server.cs: Trace output goes to Console.Out. 2002-10-27 Gonzalo Paniagua Javier * server/Makefile: added Tracing.cs * server/MonoApplicationHost.cs: use WebTrace. * server/MonoWorkerRequest.cs: use WebTrace. Also changed FlushResponse. Now it outputs correctly the status and the headers. * server/Tracing.cs: new file. Almost the same as System.Web.Util.WebTrace. It's used to get some output under MS runtime, which disables normal tracing for System.Web. * server/server.cs: removed Trace stuff. 2002-10-23 Gonzalo Paniagua Javier * test/Makefile: used to build the .cs files for user controls. 2002-10-23 Gonzalo Paniagua Javier * server/Makefile: added 'trace' target. * server/index.aspx: removed file added by mistake. 2002-10-22 Gonzalo Paniagua Javier * server/ChangeLog: * server/Makefile: * server/MonoApplicationHost.cs: * server/MonoWorkerRequest.cs: * server/global.asax: * server/index.aspx: * server/server.cs: * server/web.config: new web server that uses ASP.NET hosting capabilities. It works with MS runtime and will be used to debug our classes from now on. xsp/src/* is now obsoleted and will stop working some time soon. 2002-09-27 Gonzalo Paniagua Javier * test/databind-arraylist.aspx: fixed variable name. * test/htmlimage.aspx: * test/htmlinputimage.aspx: * test/tabcontrol2.aspx: * test/web_adrotator.xml: * test/web_hyperlink.aspx: * test/web_image.aspx: * test/web_imagebutton.aspx: modify the img url. Ximian site changed. 2002-09-04 Gonzalo Paniagua Javier * test/index.aspx: now we have a working Path... 2002-08-12 Gonzalo Paniagua Javier * test/dbpage2.aspx: fixes to make mcs happy. 2002-08-01 Gonzalo Paniagua Javier * test/temperature.aspx: Duncan asked for this temperature converter. 2002-07-31 Gonzalo Paniagua Javier * test/web_dropdownlist.aspx: New file. 2002-07-28 Gonzalo Paniagua Javier * test/mono.png: image for the index page. * test/index.aspx: index.aspx page which shows the list of available .aspx files in the current directory. Contributed by Alp Toker. * test/validator1.aspx: first validator test working! 2002-07-23 Gonzalo Paniagua Javier * test/dbpage2.aspx: new sample. It uses tabcontrol2 and sets up a page with 4 tabs (Browse, Insert, Update, Delete) for maintenance of a simple PostgreSQL database using ADO.NET. 2002-07-22 Gonzalo Paniagua Javier * test/tabcontrol.aspx: removed .dll extension from assembly file name. * test/tabcontrol2.aspx: now it does not set up the contents of each tab programatically. It uses . * test/tabcontrol2.cs: added TabContent control. TabContent can contain any control (excluding HtmlForm, of course). Modified Tabs2 to use TabContent and maintaining state of all tabs. 2002-07-21 Gonzalo Paniagua Javier * test/tabcontrol2.aspx: page to test tabcontrol2.cs * test/tabcontrol2.cs: almost the same as tabcontrol1, but this one handles postback events an stores a ControlCollection associatted to each tab. 2002-07-21 Gonzalo Paniagua Javier * test/tabcontrol.aspx: sample using a user control that allows modifying its properties and display the resulting control. * test/tabcontrol.cs: the user control for the above page. It must be compiled and the dll copied to output directory if testing with our test server. 2002-07-06 Gonzalo Paniagua Javier * test/dbpage1.aspx: displays data from a database in a Table. 2002-07-03 Gonzalo Paniagua Javier * test/server-side-object.aspx: New file. 2002-06-29 Gonzalo Paniagua Javier * test/session1.aspx: used to play with session tracking. 2002-06-20 Gonzalo Paniagua Javier * test/web_repeater.aspx: rendered ok. Includes data binding! 2002-06-19 Gonzalo Paniagua Javier * test/web_radiobuttonlist.aspx: another one. 2002-06-18 Gonzalo Paniagua Javier * test/web_checkboxlist.aspx: New file. Still have to fix the Name property to assign name attribute depending on parent name. 2002-06-18 Gonzalo Paniagua Javier * test/web_listbox.aspx: new file rendered ok. 2002-06-17 Gonzalo Paniagua Javier * test/web_table.aspx: New file. Renders Table, TableRow and TableCell. 2002-06-16 Gonzalo Paniagua Javier * test/web_panel.aspx: New file. 2002-06-12 Gonzalo Paniagua Javier * test/web_radiobutton.aspx: * test/web_textbox.aspx: 2 more. 2002-06-12 Gonzalo Paniagua Javier * test/web_imagebutton.aspx: rendered ok. 2002-06-12 Gonzalo Paniagua Javier * test/web_linkbutton.aspx: 17 more to go! 2002-06-12 Gonzalo Paniagua Javier * test/web_label.aspx: fixed cut&paste error in title. * test/web_literal.aspx: * test/web_placeholder.aspx: New files. 2002-06-12 Gonzalo Paniagua Javier * test/web_label.aspx: one more. 2002-06-12 Gonzalo Paniagua Javier * test/web_button.aspx: * test/web_checkbox.aspx: another couple rendered ok. 2002-06-11 Gonzalo Paniagua Javier * test/web_adrotator.aspx: * test/web_hyperlink.aspx: * test/web_image.aspx: new tests that render fine with our System.Web. * test/web_adrotator.xml: needed by web_adrotator.aspx. 2002-06-09 Gonzalo Paniagua Javier * test/htmltable.aspx: * test/htmltextarea.aspx: New files. Rendered ok. 2002-06-09 Gonzalo Paniagua Javier * test/htmlselect.aspx: another one that is rendered by our System.Web. 2002-06-06 Gonzalo Paniagua Javier * test/htmlinputbutton.aspx: New file. Renders fine with our System.Web. * test/htmlinputcheckbox.aspx: another one. * test/htmlinputfile.aspx: another one. 2002-06-05 Gonzalo Paniagua Javier * test/htmlimage.aspx: New file. Renders fine with our System.Web. 2002-06-05 Gonzalo Paniagua Javier * test/htmlanchor.aspx: New file. * test/htmlbutton.aspx: New file. * test/htmlgeneric.aspx: New file. These render fine using xsp + server + mono System.Web. 2002-05-25 Gonzalo Paniagua Javier * test/code-render.aspx: new file. 2002-05-24 Gonzalo Paniagua Javier * test/databind-attribute.aspx: new file. 2002-05-22 Gonzalo Paniagua Javier * test/databind-template.aspx: added another template (previously, this failed to generate proper code). 2002-05-22 Gonzalo Paniagua Javier * test/databind-template.aspx: new file. 2002-05-22 Gonzalo Paniagua Javier * test/databind-class.aspx: new file. 2002-05-21 Gonzalo Paniagua Javier * test/listitem.aspx: new file. 2002-05-16 Gonzalo Paniagua Javier * test/calendar.aspx: new file. Style properties inside component. 2002-05-15 Gonzalo Paniagua Javier * test/README, ChangeLog: changed line ending to unix format. * test/databind-arraylist.aspx: added an ArrayList as server object. Also changed to unix format. 2002-05-14 Gonzalo Paniagua Javier Created directory and added a couple of samples. xsp-2.4.2/config.sub0000755000175000001440000010115311022313147011224 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. timestamp='2008-01-16' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file 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., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, 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. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | score \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tile*) basic_machine=tile-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: xsp-2.4.2/missing0000755000175000001440000002557711022313147010657 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # 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., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, 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=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # 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 msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -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' autom4te touch the output file, or create a stub one 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] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. 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) echo 1>&2 "\ WARNING: \`$1' is $msg. 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) echo 1>&2 "\ WARNING: \`$1' is $msg. 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*) echo 1>&2 "\ WARNING: \`$1' is $msg. 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) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. 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 "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` 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' $msg. 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 test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. 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 test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. 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 "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. 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." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # 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 is $msg. 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 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: xsp-2.4.2/Makefile.am0000644000175000001440000000007511145401174011302 00000000000000SUBDIRS=man src test tools scripts docs packaging unittests xsp-2.4.2/README0000644000175000001440000000121611145401174010124 00000000000000* Welcome to XSP! ----------------- The XSP server is a small web server that hosts the Mono System.Web classes for running what is commonly known as ASP.NET. See INSTALL for details on how to install XSP. * Directory Layout ------------------ doc/ Some documentation about the XSP server. test/ Little sample ASP.NET pages server/ A stand alone web server that works with mono and MS runtime. We are using it to debug/complete our classes. MonoApplicationHost and MonoWorkerRequest can be used to embed an ASP.NET serve in your application. tools/ asp_state, dbsessmgr and nunit-asp Maintainer: gonzalo@ximian.com xsp-2.4.2/configure.in0000644000175000001440000000751411213246306011564 00000000000000AC_PREREQ(2.57) AC_INIT(src/Mono.WebServer.XSP/main.cs) AC_CANONICAL_SYSTEM AM_INIT_AUTOMAKE(xsp, 2.4.2) AM_MAINTAINER_MODE AC_PROG_INSTALL AC_PATH_PROG(PKG_CONFIG, pkg-config, no) if test "x$PKG_CONFIG" = "xno"; then AC_MSG_ERROR([You need to install pkg-config]) fi # # --enable-tracing # AC_MSG_CHECKING([if tracing is requested]) AC_ARG_ENABLE([tracing], AC_HELP_STRING([--enable-tracing],[enable producing XSP tracing messages]), [enable_tracing=$enableval], [enable_tracing=no]) if test "x$enable_tracing" != "xno" ; then AC_MSG_RESULT([yes]) WEBTRACING="-define:WEBTRACE -define:TRACE" else AC_MSG_RESULT([no]) WEBTRACING="" fi AC_ARG_WITH([runtime], AC_HELP_STRING([--with-runtime],[use the specified runtime when xsp is installed]), [RUNTIME=$withval]) AC_PATH_PROG(CSC, csc, no) AC_PATH_PROG(MCS, mcs, no) AC_PATH_PROG(GMCS, gmcs, no) if test "x$RUNTIME" = "x" ; then if test -x "${prefix}/bin/mono" ; then AC_MSG_CHECKING([for runtime in the installation prefix]) RUNTIME="${prefix}/bin/mono" AC_MSG_RESULT([$RUNTIME]) else AC_PATH_PROG(RUNTIME, mono, no) fi fi AC_PATH_PROG(GACUTIL, gacutil, no) AC_PATH_PROG(SN, sn, no) CS="C#" if test "x$CSC" = "xno" -a "x$MCS" = "xno" ; then dnl AC_MSG_ERROR([You need to install a C# compiler]) AC_MSG_ERROR([No $CS compiler found]) fi if test "x$MCS" = "xno" ; then MCS=$CSC fi if test "x$GMCS" != "xno" ; then AC_MSG_CHECKING([whether gmcs is actually able to compile...]) echo "class Foo { public static void Main() {} }" > test.cs if [ gmcs -r:System.Web.dll -out:test.exe test.cs > /dev/null 2>&1 ] then AC_MSG_RESULT(yes) else GMCS=no AC_MSG_RESULT(no) fi rm -f test.cs test.exe fi case "$host" in *-*-mingw*|*-*-cygwin*) platform_win32=yes ;; esac AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes) AM_CONDITIONAL(NET_2_0, test ! x$GMCS = xno) AM_CONDITIONAL(XSP_ONLY, test x$platform_win32 = xyes) GACUTIL_FLAGS='-root $(DESTDIR)$(prefix)/lib' # Put the version in the new required format (for svn revisions) export VERSION [XSP_VERSION=$($AWK 'BEGIN { split (ENVIRON["VERSION"] ".0.0.0", vsplit, ".") if(length(vsplit [1]) > 4) { split (substr(ENVIRON["VERSION"], 0, 4) "." substr(ENVIRON["VERSION"], 5) ".0.0", vsplit, ".") } print vsplit [1] "." vsplit [2] "." vsplit [3] "." vsplit [4] }')] AC_SUBST(WEBTRACING) AC_SUBST(MCS) AC_SUBST(GMCS) AC_SUBST(RUNTIME) AC_SUBST(GACUTIL) AC_SUBST(GACUTIL_FLAGS) AC_SUBST(SN) AC_SUBST(VERSION) AC_SUBST(XSP_VERSION) AC_OUTPUT([ Makefile man/xsp.1 man/dbsessmgr.1 man/asp-state.1 man/mono-asp-apps.1 man/Makefile packaging/Makefile packaging/opensuse/Makefile scripts/Makefile src/Makefile src/Mono.WebServer/AssemblyInfo.cs src/Mono.WebServer/AssemblyInfo2.cs src/Mono.WebServer/Makefile src/Mono.WebServer/xsp.pc src/Mono.WebServer/xsp-2.pc src/Mono.WebServer.Apache/Makefile src/Mono.WebServer.Apache/AssemblyInfo.cs src/Mono.WebServer.FastCgi/Makefile src/Mono.WebServer.FastCgi/AssemblyInfo.cs src/Mono.WebServer.XSP/Makefile src/Mono.WebServer.XSP/AssemblyInfo.cs test/Makefile test/controls/Makefile test/App_Code/Makefile test/1.1/Makefile test/1.1/authtest/Makefile test/1.1/asp.net/Makefile test/1.1/webcontrols/Makefile test/1.1/html/Makefile test/1.1/webservice/Makefile test/1.1/databind/Makefile test/1.1/handlers/Makefile test/1.1/customcontrol/Makefile test/2.0/Makefile test/2.0/menu/Makefile test/2.0/gridview/Makefile test/2.0/treeview/Makefile test/2.0/masterpages/Makefile tools/Makefile tools/asp_state/Makefile tools/asp_state/AssemblyInfo.cs tools/dbsessmgr/Makefile tools/dbsessmgr/AssemblyInfo.cs tools/mono-asp-apps/Makefile unittests/Makefile unittests/Tests.XSP.Security/Makefile unittests/webroot/Makefile docs/Makefile ]) echo echo "Runtime: $RUNTIME" echo "$CS compiler: $MCS" test x$GMCS = xno || echo "$CS 2.0 compiler: $GMCS" xsp-2.4.2/Makefile.in0000644000175000001440000004441211215541040011311 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ ChangeLog INSTALL NEWS config.guess config.sub install-sh \ missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = man src test tools scripts docs packaging unittests all: all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done 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; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ 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; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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; nonempty = 1; } \ END { if (nonempty) { 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 distdir: $(DISTFILES) $(am__remove_distdir) test -d $(distdir) || mkdir $(distdir) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || 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 $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | 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 case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac 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 ../.. && umask 077 && mkdir "$$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 \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$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: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive 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: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ tags-recursive uninstall uninstall-am # 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: xsp-2.4.2/NEWS0000644000175000001440000000414111145401174007743 00000000000000May 16, 2005 -------------- Ew, long time, no updates here. As of today, xsp standalone supports SSL. [...] Jun 1, 2004 - Gonzalo Paniagua --------------------------------------- * Released 0.14 May 19, 2004 - Gonzalo Paniagua --------------------------------------- * Added support for virtual hosts in mod-mono-server. April 22, 2004 - Gonzalo Paniagua --------------------------------------- * Released 0.12 April 21, 2004 - Gonzalo Paniagua --------------------------------------- * Released 0.10 and 0.11. December 11, 2003 - Gonzalo Paniagua --------------------------------------- * Added nunit-asp. December 2, 2003 - Gonzalo Paniagua --------------------------------------- * Released 0.8 November 24, 2003 - Gonzalo Paniagua --------------------------------------- * Jackson added an ASP.NET state server. October 23, 2003 - Gonzalo Paniagua --------------------------------------- * More speed improvements in serialization. October 3, 2003 - Gonzalo Paniagua --------------------------------------- * Speed improvements. * Ability to stop the server pressing enter. September 22, 2003 - Gonzalo Paniagua --------------------------------------- * Use autogen. * Fixed some bugs based on our dogfooding. August 29, 2003 - Gonzalo Paniagua ---------------------------------- * Added PATH_INFO support for both servers. August 25, 2003 - Gonzalo Paniagua ---------------------------------- * Added multiple applications support for both xsp.exe and mod-mono-server.exe. July 31, 2003 - Gonzalo Paniagua ---------------------------------- * From now on, we also generate a mod-mono-server.exe executable that is used along with mod_mono_unix to serve ASP.NET pages under apache2. July 24, 2003 - Gonzalo Paniagua ---------------------------------- * The gzip compression related classes are now in Mono.Http.dll July 23, 2003 - Gonzalo Paniagua ---------------------------------- I should have started writing this before... * Changed executable name to xsp.exe (yeah!) * Added gzip encoding support. It's enabled by default. You can disable it in test/web.config file. xsp-2.4.2/unittests/0000777000175000001440000000000011215541044011371 500000000000000xsp-2.4.2/unittests/NOACCESS0000644000175000001440000000007711145401174012433 00000000000000This file shouldn't be accessible from XSP running in /webroot xsp-2.4.2/unittests/ChangeLog0000644000175000001440000000033211145401174013056 000000000000002007-01-08 Sebastien Pouliot * webroot/*: Web files used for the tests. * NOACCESS: Test file that resides outside the web root directory. * README: Instruction about how to run the tests. xsp-2.4.2/unittests/Makefile.am0000644000175000001440000000022311145401174013337 00000000000000SUBDIRS = Tests.XSP.Security webroot EXTRA_DIST = ChangeLog NOACCESS README unittestsdir = $(pkglibdir)/unittests unittests_DATA = $(EXTRA_DIST) xsp-2.4.2/unittests/README0000644000175000001440000000147311145401174012173 00000000000000This directory contains a small test suite to check for any regressions in XSP that could cause security vulnerabilities. Contributions are welcome! Directory structure for the tests /NOACCESS /webroot/ index.aspx Some tests try to access index.aspx to retrieve its source code. Other tests try to access the file NOACCESS that resides outside the root of the web server. * Tests execution (using the same computer) From a terminal window: cd xsp/unittests/webroot xsp From another terminal window: cd xsp/unittests/Tests.XSP.Security make run-test-local * Tests execution (using different computers) From the server computer (e.g. named "server.test.my"): cd xsp/unittests/webroot xsp --port 80 From the client computer cd xsp/unittests/Tests.XSP.Security XSP_TEST_HOST=server.test.my:80 make run-test xsp-2.4.2/unittests/Makefile.in0000644000175000001440000003565311215541040013362 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = unittests DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ ChangeLog ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(unittestsdir)" unittestsDATA_INSTALL = $(INSTALL_DATA) DATA = $(unittests_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = Tests.XSP.Security webroot EXTRA_DIST = ChangeLog NOACCESS README unittestsdir = $(pkglibdir)/unittests unittests_DATA = $(EXTRA_DIST) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu unittests/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu unittests/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-unittestsDATA: $(unittests_DATA) @$(NORMAL_INSTALL) test -z "$(unittestsdir)" || $(MKDIR_P) "$(DESTDIR)$(unittestsdir)" @list='$(unittests_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(unittestsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(unittestsdir)/$$f'"; \ $(unittestsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(unittestsdir)/$$f"; \ done uninstall-unittestsDATA: @$(NORMAL_UNINSTALL) @list='$(unittests_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(unittestsdir)/$$f'"; \ rm -f "$(DESTDIR)$(unittestsdir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done 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; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ 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; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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; nonempty = 1; } \ END { if (nonempty) { 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 distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(unittestsdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive 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: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-unittestsDATA install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-unittestsDATA .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic ctags \ ctags-recursive distclean distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip install-unittestsDATA installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-unittestsDATA # 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: xsp-2.4.2/unittests/webroot/0000777000175000001440000000000011215541044013052 500000000000000xsp-2.4.2/unittests/webroot/Makefile.am0000644000175000001440000000014511145401174015023 00000000000000EXTRA_DIST = index.aspx unittestsdir = $(pkglibdir)/unittests/webroot unittests_DATA = $(EXTRA_DIST) xsp-2.4.2/unittests/webroot/Makefile.in0000644000175000001440000002257011215541040015035 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = unittests/webroot DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(unittestsdir)" unittestsDATA_INSTALL = $(INSTALL_DATA) DATA = $(unittests_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = index.aspx unittestsdir = $(pkglibdir)/unittests/webroot unittests_DATA = $(EXTRA_DIST) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu unittests/webroot/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu unittests/webroot/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-unittestsDATA: $(unittests_DATA) @$(NORMAL_INSTALL) test -z "$(unittestsdir)" || $(MKDIR_P) "$(DESTDIR)$(unittestsdir)" @list='$(unittests_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(unittestsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(unittestsdir)/$$f'"; \ $(unittestsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(unittestsdir)/$$f"; \ done uninstall-unittestsDATA: @$(NORMAL_UNINSTALL) @list='$(unittests_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(unittestsdir)/$$f'"; \ rm -f "$(DESTDIR)$(unittestsdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(unittestsdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-unittestsDATA install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-unittestsDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip install-unittestsDATA installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-unittestsDATA # 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: xsp-2.4.2/unittests/webroot/index.aspx0000644000175000001440000000003211145401174014766 00000000000000<%= Request.Form.Count %> xsp-2.4.2/unittests/Tests.XSP.Security/0000777000175000001440000000000011215541044014752 500000000000000xsp-2.4.2/unittests/Tests.XSP.Security/ChangeLog0000644000175000001440000000105711145401174016444 000000000000002008-02-25 Raja R Harinath * Makefile.am (security_test_sources): Files are in $(srcdir). 2007-01-08 Sebastien Pouliot * ChangeLog: Track changes in tests. * Makefile: Build/run unit tests. * FileExtensionsTest.cs: Tests that try, by messing with the file extensions, to retrieve the original source code of the web page. * DirectoryTraversalTest.cs: Tests that try, by messing with the path, to retrieve a file outside the webroot. * WebTestHelper.cs: Base class with helper methods for tests. xsp-2.4.2/unittests/Tests.XSP.Security/Makefile.am0000644000175000001440000000125111145401174016722 00000000000000noinst_SCRIPTS = Tests.XSP.Security.dll security_test_sources = \ $(srcdir)/DirectoryTraversalTest.cs \ $(srcdir)/FileExtensionsTest.cs \ $(srcdir)/WebTestHelper.cs CLEANFILES = Tests.XSP.Security.dll* EXTRA_DIST = $(security_test_sources) unittestsdir = $(pkglibdir)/unittests/Tests.XSP.Security unittests_DATA = $(security_test_sources) Tests.XSP.Security.dll Makefile Tests.XSP.Security.dll: $(security_test_sources) mcs -debug -pkg:mono-nunit -out:$@ -t:library $(security_test_sources) run-test: Tests.XSP.Security.dll nunit-console Tests.XSP.Security.dll run-test-local: Tests.XSP.Security.dll XSP_TEST_HOST=localhost:8080 nunit-console Tests.XSP.Security.dll xsp-2.4.2/unittests/Tests.XSP.Security/FileExtensionsTest.cs0000644000175000001440000001405711145401174021024 00000000000000// // FileExtensionsTest.cs // // Author: // Sebastien Pouliot // // Copyright (C) 2007 Novell, Inc (http://www.novell.com) // // 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 AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.IO; using System.Net; using System.Text; using NUnit.Framework; namespace Tests.XSP.Security { // We try to manipulate the file extension so the web server doesn't // process (compile) the ASPX source code but load the file and // return it (uncompiled source code) to the attacker. [TestFixture] public class FileExtensionsTest : WebTestHelper { // NTFS support multiple data stream // using ::$DATA could reveal the web page source code // http://support.microsoft.com/default.aspx?scid=kb;EN-US;188806 [Test] public void AlternateDataStream_188806 () { string url = Url ("index.aspx::$DATA"); HttpWebResponse response = Get (url); switch (response.StatusCode) { case HttpStatusCode.NotFound: case HttpStatusCode.InternalServerError: break; default: // report any other error for analysis Report (url, response.StatusCode); break; } CheckForSourceCodeInResult (response); } // NTFS support multiple data stream // using :$DATA could reveal the web page source code // http://support.microsoft.com/default.aspx?scid=kb;EN-US;193793 [Test] public void AlternateDataStream_193793 () { string url = Url ("index.aspx:$DATA"); HttpWebResponse response = Get (url); switch (response.StatusCode) { case HttpStatusCode.NotFound: case HttpStatusCode.InternalServerError: break; default: // report any other error for analysis Report (url, response.StatusCode); break; } CheckForSourceCodeInResult (response); } // Here we're trying to mess with the file extension decoding // algorithm by adding "ignored" characters (by some file // systems) at the end of the URL and possibly receive the // uncompiled source code. [Test] public void TrailingDot () { string url = Url ("index.aspx."); HttpWebResponse response = Get (url); switch (response.StatusCode) { case HttpStatusCode.OK: case HttpStatusCode.NotFound: break; default: // report any other error for analysis Report (url, response.StatusCode); break; } CheckForSourceCodeInResult (response); } // Here we're trying to mess with the file extension decoding // algorithm by adding "ignored" characters (by some file // systems) at the end of the URL and possibly receive the // uncompiled source code. [Test] public void TrailingSlash () { string url = Url ("index.aspx/"); HttpWebResponse response = Get (url); switch (response.StatusCode) { case HttpStatusCode.OK: break; default: // report any other error for analysis Report (url, response.StatusCode); break; } CheckForSourceCodeInResult (response); } // Here we're trying to mess with the file extension decoding // algorithm by adding "ignored" characters (by some file // systems) at the end of the URL and possibly receive the // uncompiled source code. [Test] public void TrailingBackslash () { string url = Url ("index.aspx\\"); HttpWebResponse response = Get (url); switch (response.StatusCode) { case HttpStatusCode.OK: break; default: // report any other error for analysis Report (url, response.StatusCode); break; } CheckForSourceCodeInResult (response); } // Here we're trying to mess with the file extension decoding // algorithm by adding "ignored" characters (by some file // systems) at the end of the URL and possibly receive the // uncompiled source code. [Test] public void TrailingEncodedSpace () { string url = Url ("index.aspx%20"); HttpWebResponse response = Get (url); switch (response.StatusCode) { case HttpStatusCode.NotFound: break; default: // report any other error for analysis Report (url, response.StatusCode); break; } CheckForSourceCodeInResult (response); } // Here we're trying to mess with the file extension decoding // algorithm by encoding the '.aspx' extension. // public void EncodedExtension () { string url = Url ("index.%61%73%70%78"); HttpWebResponse response = Get (url); switch (response.StatusCode) { case HttpStatusCode.OK: break; default: // report any other error for analysis Report (url, response.StatusCode); break; } CheckForSourceCodeInResult (response); } // Here we're trying to mess with the file extension decoding // algorithm by playing with the case. [Test] public void CaseSensitiveness () { string url = Url ("index.AsPx"); HttpWebResponse response = Get (url); switch (response.StatusCode) { case HttpStatusCode.NotFound: // some file system are case-sensitive break; case HttpStatusCode.OK: // some file system are not case-sensitive break; default: // report any other error for analysis Report (url, response.StatusCode); break; } CheckForSourceCodeInResult (response); } } } xsp-2.4.2/unittests/Tests.XSP.Security/Makefile.in0000644000175000001440000002407511215541040016737 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = unittests/Tests.XSP.Security DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = SCRIPTS = $(noinst_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(unittestsdir)" unittestsDATA_INSTALL = $(INSTALL_DATA) DATA = $(unittests_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ noinst_SCRIPTS = Tests.XSP.Security.dll security_test_sources = \ $(srcdir)/DirectoryTraversalTest.cs \ $(srcdir)/FileExtensionsTest.cs \ $(srcdir)/WebTestHelper.cs CLEANFILES = Tests.XSP.Security.dll* EXTRA_DIST = $(security_test_sources) unittestsdir = $(pkglibdir)/unittests/Tests.XSP.Security unittests_DATA = $(security_test_sources) Tests.XSP.Security.dll Makefile all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu unittests/Tests.XSP.Security/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu unittests/Tests.XSP.Security/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-unittestsDATA: $(unittests_DATA) @$(NORMAL_INSTALL) test -z "$(unittestsdir)" || $(MKDIR_P) "$(DESTDIR)$(unittestsdir)" @list='$(unittests_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(unittestsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(unittestsdir)/$$f'"; \ $(unittestsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(unittestsdir)/$$f"; \ done uninstall-unittestsDATA: @$(NORMAL_UNINSTALL) @list='$(unittests_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(unittestsdir)/$$f'"; \ rm -f "$(DESTDIR)$(unittestsdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(unittestsdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-unittestsDATA install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-unittestsDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip install-unittestsDATA installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-unittestsDATA Tests.XSP.Security.dll: $(security_test_sources) mcs -debug -pkg:mono-nunit -out:$@ -t:library $(security_test_sources) run-test: Tests.XSP.Security.dll nunit-console Tests.XSP.Security.dll run-test-local: Tests.XSP.Security.dll XSP_TEST_HOST=localhost:8080 nunit-console Tests.XSP.Security.dll # 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: xsp-2.4.2/unittests/Tests.XSP.Security/WebTestHelper.cs0000644000175000001440000000732611145401174017743 00000000000000// // WebTestHelper.cs // // Author: // Sebastien Pouliot // // Copyright (C) 2007 Novell, Inc (http://www.novell.com) // // 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 AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.IO; using System.Net; using System.Text; using NUnit.Framework; namespace Tests.XSP.Security { public class WebTestHelper { private static string server; private bool teststatus; private StringBuilder sb; public string Server { get { if (server == null) { string host = Environment.GetEnvironmentVariable ("XSP_TEST_HOST"); if ((host == null) || (host.Length == 0)) host = "localhost"; server = String.Concat ("http://", host, "/"); } return server; } } public string Url (string path) { return Server + path; } public HttpWebResponse Get (string url) { HttpWebRequest wreq = (HttpWebRequest) WebRequest.Create (url); HttpWebResponse wresp = null; try { wresp = (HttpWebResponse) wreq.GetResponse (); } catch (WebException we) { wresp = (HttpWebResponse) we.Response; } if (wresp == null) { Assert.Ignore ("Couldn't reach url {0}{1}Check that the web server is up and running.", new object[] { url, Environment.NewLine }); } return wresp; } [SetUp] public void SetUp () { teststatus = true; sb = new StringBuilder (); } [TearDown] public void TearDown () { if (!teststatus) { Assert.Fail (sb.ToString ()); } } public void Report (string url, string message) { teststatus = false; sb.AppendFormat ("{1}{2}URL\t\t{0}{2}", url, message, Environment.NewLine); } public void Report (string url, HttpStatusCode status) { teststatus = false; sb.AppendFormat ("WARNING: Unexpected HTTP Status Code{3}URL\t\t{0}{3}Status Code\t<{1}> {2}{3}", url, status, (int)status, Environment.NewLine); } private string SaveData (string data) { string filename = Path.GetTempFileName (); using (StreamWriter sw = new StreamWriter (filename)) { sw.Write (data); sw.Close (); } return filename; } // verify that we we receive (if any) isn't the ASPX // source code (which should contain '<%' somewhere) public bool CheckForSourceCodeInResult (HttpWebResponse response) { if (response == null) return false; Stream s = response.GetResponseStream (); StreamReader sr = new StreamReader (s, Encoding.UTF8); string data = sr.ReadToEnd (); bool source = (data.IndexOf ("<%") >= 0); if (source) { teststatus = false; sb.Append ("WARNING: Probable Source Code Disclosure"); string file = SaveData (data); sb.AppendFormat ("{0}Content saved in {1}", Environment.NewLine, file); } return source; } } } xsp-2.4.2/unittests/Tests.XSP.Security/DirectoryTraversalTest.cs0000644000175000001440000000711211145401174021707 00000000000000// // DirectoryTraversalTest.cs // // Author: // Sebastien Pouliot // // Copyright (C) 2007 Novell, Inc (http://www.novell.com) // // 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 AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.IO; using System.Net; using System.Text; using NUnit.Framework; namespace Tests.XSP.Security { // Here we try to manipulate the URL path so we can go outside the // web server root and access some interesting files (e.g. passwords). // The file NOACCESS must be installed for the test results to be // meaningful. [TestFixture] public class DirectoryTraversalTest : WebTestHelper { // helper for directory traversals private HttpWebResponse AccessOutsideRoot (string url) { string completeUrl = Url (url); HttpWebResponse response = Get (completeUrl); switch (response.StatusCode) { case HttpStatusCode.InternalServerError: case HttpStatusCode.NotFound: break; case HttpStatusCode.OK: Report (url, "ERROR: Access to outside the web root directory was possible!"); break; default: // report any other error for analysis Report (url, response.StatusCode); break; } return response; } // Here we're trying to access a file outside the web root // path. [Test] public void DotDot () { AccessOutsideRoot (Url ("../NOACCESS")); } // Here we're trying to access a file outside the web root // path using encoded '..'. [Test] public void DotDotEncoded () { AccessOutsideRoot (Url ("%2e%2e/NOACCESS")); } // Here we're trying to access a file outside the web root // path using encoded '../'. [Test] public void DotDotSlashEncoded () { AccessOutsideRoot (Url ("%2e%2e%2fNOACCESS")); } // Here we're trying to access a file outside the web root // path using '..\' (backslash). [Test] public void Backslash () { AccessOutsideRoot (Url ("..\\NOACCESS")); } // Here we're trying to access a file outside the web root // path using encoded '\'. [Test] public void EncodedBackslash () { AccessOutsideRoot (Url ("..%5CNOACCESS")); } // Here we're trying to access a file outside the web root // path using an overlong UTF8 sequence (resolving to '/'). [Test] public void EncodedOverlongUTF8Slash () { AccessOutsideRoot (Url ("..%c0%af5CNOACCESS")); } // Here we're trying to access a file from the root of the // server (but using a lot of slashes). // ref: http://bugzilla.ximian.com/show_bug.cgi?id=78119 [Test] public void MultipleSlash () { AccessOutsideRoot (Url ("appl/(2001992881)////etc/passwd")); } } } xsp-2.4.2/INSTALL0000644000175000001440000000233611145401174010301 00000000000000* Compiling and installing XSP ------------------------------- We will assume you want to install XSP in /usr. To compile XSP type and install it to /usr: ./configure --prefix=/usr make make install If you don't specify --prefix, it will default to /usr/local. If ./configure finds a working 'gmcs' it will automatically build a 2.0 profile version of xsp, named xsp2. * Running XSP with the bundled tests ------------------------------------ Go to /usr/lib/xsp/test directory and run: mono /usr/bin/xsp.exe You can optionally provide a port where the server should listen on: mono /usr/bin/xsp.exe --port 80 The default port is 8080. There are other command line options. Run: mono /usr/bin/xsp.exe --help to display all of them. Notes for MS runtime users ---------------------------- If you're compiling under windows, you may need to copy xsp.exe, ICSharpCode.SharpZipLib.dll and Mono.Http.dll (distributed with mono) to xsp/server and xsp/server/test/bin directories if it's not installed for the system. (*) In windows, if you want to build xsp using csc, do: MCS=csc make You will also need IIS with support for ASP.NET for xsp to work with the MS runtime. xsp-2.4.2/install-sh0000755000175000001440000003246411022313147011255 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # 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. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # Protect names starting with `-'. case $dst in -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; -*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$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 $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # 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. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: xsp-2.4.2/scripts/0000777000175000001440000000000011215541043011015 500000000000000xsp-2.4.2/scripts/Makefile.am0000644000175000001440000000431511145401173012771 00000000000000EXTRA_DIST = script.in bin2_scripts_real = xsp2 mod-mono-server2 fastcgi-mono-server2 if NET_2_0 bin2_scripts = $(bin2_scripts_real) tool2_scripts = asp-state2 dbsessmgr2 endif bin_scripts = xsp mod-mono-server fastcgi-mono-server tool_scripts = asp-state dbsessmgr bin1_scripts = xsp1 mod-mono-server1 fastcgi-mono-server1 tool1_scripts = asp-state1 dbsessmgr1 bin_SCRIPTS = $(bin1_scripts) $(bin2_scripts) $(tool1_scripts) $(tool2_scripts) $(tool_scripts) $(bin_scripts) CLEANFILES = $(bin1_scripts) $(bin2_scripts_real) $(tool1_scripts) $(tool2_scripts) $(bin_scripts) $(tool_scripts) plat_bindir = $(prefix)/lib/mono/1.0 plat_bindir2 = $(prefix)/lib/mono/2.0 plat_tooldir = $(prefix)/lib/xsp/1.0 plat_tooldir2 = $(prefix)/lib/xsp/2.0 REWRITE = sed \ -e 's,@''plat_bindir@,$(plat_bindir),g' \ -e 's,@''exe_file@,'`basename $@ 1`'.exe,g' \ -e 's,@''RUNTIME@,@RUNTIME@,g' REWRITE2 = sed \ -e 's,@''plat_bindir@,$(plat_bindir2),g' \ -e 's,@''exe_file@,'`basename $@ 2`'2.exe,g' \ -e 's,@''RUNTIME@,@RUNTIME@,g' REWRITE_TOOLS = sed \ -e 's,@''plat_bindir@,$(plat_tooldir),g' \ -e 's,@''exe_file@,'`basename $@ 1`'.exe,g' \ -e 's,@''RUNTIME@,@RUNTIME@,g' REWRITE_TOOLS2 = echo dd $@ dd; sed \ -e 's,@''plat_bindir@,$(plat_tooldir2),g' \ -e 's,@''exe_file@,'`basename $@ 2`'2.exe,g' \ -e 's,@''RUNTIME@,@RUNTIME@,g' $(bin1_scripts): $(srcdir)/script.in Makefile.am e=`basename $@ 1`; $(REWRITE) $(srcdir)/script.in > $@.tmp mv $@.tmp $@ $(tool1_scripts): $(srcdir)/script.in Makefile.am $(REWRITE_TOOLS) $(srcdir)/script.in > $@.tmp mv $@.tmp $@ if NET_2_0 $(bin2_scripts): $(srcdir)/script.in Makefile.am $(REWRITE2) $(srcdir)/script.in > $@.tmp mv $@.tmp $@ $(tool2_scripts): $(srcdir)/script.in Makefile.am $(REWRITE_TOOLS2) $(srcdir)/script.in > $@.tmp mv $@.tmp $@ $(bin_scripts): $(srcdir)/script.in Makefile.am $(REWRITE2) $(srcdir)/script.in > $@.tmp mv $@.tmp $@ $(tool_scripts): $(srcdir)/script.in Makefile.am $(REWRITE_TOOLS2) $(srcdir)/script.in > $@.tmp mv $@.tmp $@ else $(bin_scripts): $(srcdir)/script.in Makefile.am $(REWRITE) $(srcdir)/script.in > $@.tmp mv $@.tmp $@ $(tool_scripts): $(srcdir)/script.in Makefile.am $(REWRITE_TOOLS) $(srcdir)/script.in > $@.tmp mv $@.tmp $@ endif xsp-2.4.2/scripts/Makefile.in0000644000175000001440000002701611215541037013007 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = scripts DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" binSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = script.in bin2_scripts_real = xsp2 mod-mono-server2 fastcgi-mono-server2 @NET_2_0_TRUE@bin2_scripts = $(bin2_scripts_real) @NET_2_0_TRUE@tool2_scripts = asp-state2 dbsessmgr2 bin_scripts = xsp mod-mono-server fastcgi-mono-server tool_scripts = asp-state dbsessmgr bin1_scripts = xsp1 mod-mono-server1 fastcgi-mono-server1 tool1_scripts = asp-state1 dbsessmgr1 bin_SCRIPTS = $(bin1_scripts) $(bin2_scripts) $(tool1_scripts) $(tool2_scripts) $(tool_scripts) $(bin_scripts) CLEANFILES = $(bin1_scripts) $(bin2_scripts_real) $(tool1_scripts) $(tool2_scripts) $(bin_scripts) $(tool_scripts) plat_bindir = $(prefix)/lib/mono/1.0 plat_bindir2 = $(prefix)/lib/mono/2.0 plat_tooldir = $(prefix)/lib/xsp/1.0 plat_tooldir2 = $(prefix)/lib/xsp/2.0 REWRITE = sed \ -e 's,@''plat_bindir@,$(plat_bindir),g' \ -e 's,@''exe_file@,'`basename $@ 1`'.exe,g' \ -e 's,@''RUNTIME@,@RUNTIME@,g' REWRITE2 = sed \ -e 's,@''plat_bindir@,$(plat_bindir2),g' \ -e 's,@''exe_file@,'`basename $@ 2`'2.exe,g' \ -e 's,@''RUNTIME@,@RUNTIME@,g' REWRITE_TOOLS = sed \ -e 's,@''plat_bindir@,$(plat_tooldir),g' \ -e 's,@''exe_file@,'`basename $@ 1`'.exe,g' \ -e 's,@''RUNTIME@,@RUNTIME@,g' REWRITE_TOOLS2 = echo dd $@ dd; sed \ -e 's,@''plat_bindir@,$(plat_tooldir2),g' \ -e 's,@''exe_file@,'`basename $@ 2`'2.exe,g' \ -e 's,@''RUNTIME@,@RUNTIME@,g' all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu scripts/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu scripts/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_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 " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-binSCRIPTS install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binSCRIPTS .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-binSCRIPTS $(bin1_scripts): $(srcdir)/script.in Makefile.am e=`basename $@ 1`; $(REWRITE) $(srcdir)/script.in > $@.tmp mv $@.tmp $@ $(tool1_scripts): $(srcdir)/script.in Makefile.am $(REWRITE_TOOLS) $(srcdir)/script.in > $@.tmp mv $@.tmp $@ @NET_2_0_TRUE@$(bin2_scripts): $(srcdir)/script.in Makefile.am @NET_2_0_TRUE@ $(REWRITE2) $(srcdir)/script.in > $@.tmp @NET_2_0_TRUE@ mv $@.tmp $@ @NET_2_0_TRUE@$(tool2_scripts): $(srcdir)/script.in Makefile.am @NET_2_0_TRUE@ $(REWRITE_TOOLS2) $(srcdir)/script.in > $@.tmp @NET_2_0_TRUE@ mv $@.tmp $@ @NET_2_0_TRUE@$(bin_scripts): $(srcdir)/script.in Makefile.am @NET_2_0_TRUE@ $(REWRITE2) $(srcdir)/script.in > $@.tmp @NET_2_0_TRUE@ mv $@.tmp $@ @NET_2_0_TRUE@$(tool_scripts): $(srcdir)/script.in Makefile.am @NET_2_0_TRUE@ $(REWRITE_TOOLS2) $(srcdir)/script.in > $@.tmp @NET_2_0_TRUE@ mv $@.tmp $@ @NET_2_0_FALSE@$(bin_scripts): $(srcdir)/script.in Makefile.am @NET_2_0_FALSE@ $(REWRITE) $(srcdir)/script.in > $@.tmp @NET_2_0_FALSE@ mv $@.tmp $@ @NET_2_0_FALSE@$(tool_scripts): $(srcdir)/script.in Makefile.am @NET_2_0_FALSE@ $(REWRITE_TOOLS) $(srcdir)/script.in > $@.tmp @NET_2_0_FALSE@ mv $@.tmp $@ # 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: xsp-2.4.2/scripts/script.in0000644000175000001440000000010711145401173012564 00000000000000#!/bin/sh exec @RUNTIME@ $MONO_OPTIONS "@plat_bindir@/@exe_file@" "$@" xsp-2.4.2/tools/0000777000175000001440000000000011215541043010466 500000000000000xsp-2.4.2/tools/dbsessmgr/0000777000175000001440000000000011215541043012457 500000000000000xsp-2.4.2/tools/dbsessmgr/dbsessmgr.cs0000644000175000001440000001577211145401174014731 00000000000000// // Mono.ASPNET.Tools.DbSession // // Author(s): // Jackson Harper (jackson@ximian.com) // // (C) 2003 Novell, Inc (http://www.novell.com) // using System; using System.Data; using System.Reflection; using System.Configuration; using System.Collections.Specialized; namespace Mono.ASPNET.Tools { internal sealed class DbSession { static string paramPrefix; private delegate void DbSessionCommand (IDbConnection conn); private static int Main (string [] args) { IDbConnection conn = GetConnection (); DbSessionCommand command = GetCommand (args); try { conn.Open (); command (conn); } catch { throw; } finally { if (conn != null) conn.Close (); } return 0; } private static void Clean (IDbConnection conn) { using (IDbCommand command = conn.CreateCommand ()) { IDataParameterCollection param; command.CommandText = "DELETE FROM ASPStateTempSessions WHERE Expires < " + paramPrefix + "Now"; param = command.Parameters; param.Add (CreateParam (command, DbType.DateTime, "Now", DateTime.Now)); command.ExecuteNonQuery (); } } private static void Delete (IDbConnection conn) { using (IDbCommand command = conn.CreateCommand ()) { command.CommandText = "DELETE FROM ASPStateTempSessions"; command.ExecuteNonQuery (); } } private static void Show (IDbConnection conn) { Console.Write ("ID "); Console.Write ("Created "); Console.Write ("Expires "); Console.Write ("Timeout "); Console.Write ("Data Size "); Console.Write ("Static Objects Size"); Console.WriteLine (); using (IDbCommand command = conn.CreateCommand ()) { command.CommandText = "SELECT * FROM ASPStateTempSessions"; using (IDataReader reader = command.ExecuteReader ()) { while (reader.Read ()) { Console.Write (reader.GetString (0) + "\t"); Console.Write (reader.GetDateTime (1) + "\t"); Console.Write (reader.GetDateTime (2) + "\t"); Console.Write (reader.GetInt32 (3) + "\t"); Console.Write (reader.GetBytes (4, -1, null, -1, -1) + "\t\t"); Console.Write (reader.GetBytes (5, -1, null, -1, -1) + "\t"); Console.WriteLine (); } } } } private static void Usage () { Console.WriteLine ("usage: dbsessmgr "); Console.WriteLine ("Commands:"); Console.WriteLine ("If no command is specified --clean will be used."); Console.WriteLine ("--clean Remove all expired sessions"); Console.WriteLine ("--delete Delete all sessions"); Console.WriteLine ("--show Display session data"); Environment.Exit (1); } private static IDbConnection GetConnection () { string asm, type, conn_str; IDbConnection conn; GetConnectionData (out asm, out type, out conn_str, out paramPrefix); Assembly dbAssembly = Assembly.LoadWithPartialName (asm); Type cnc_type = dbAssembly.GetType (type, true); if (!typeof (IDbConnection).IsAssignableFrom (cnc_type)) throw new ApplicationException ("The type '" + cnc_type + "' does not implement IDB Connection.\n" + "Check 'DbConnectionType' in dbsessmgr.exe.config."); conn = (IDbConnection) Activator.CreateInstance (cnc_type); conn.ConnectionString = conn_str; return conn; } private static void GetConnectionData (out string asm, out string type, out string conn_str, out string param_prefix) { asm = null; type = null; conn_str = null; param_prefix = null; NameValueCollection config = ConfigurationSettings.AppSettings; if (config != null) { asm = config ["DBProviderAssembly"]; type = config ["DBConnectionType"]; conn_str = config ["DBConnectionString"]; param_prefix = config ["DBParamPrefix"]; } if (asm == null || asm == String.Empty) asm = "Npgsql.dll"; if (type == null || type == String.Empty) type = "Npgsql.NpgsqlConnection"; if (conn_str == null || conn_str == String.Empty) conn_str = "SERVER=127.0.0.1;USER ID=monostate;PASSWORD=monostate;dbname=monostate"; if (param_prefix == null || param_prefix == String.Empty) param_prefix = ":"; } private static DbSessionCommand GetCommand (string [] args) { DbSessionCommand cmd = null; if (args.Length != 1) return new DbSessionCommand (Clean); switch (args [0]) { case "--delete": cmd = new DbSessionCommand (Delete); break; case "--show": cmd = new DbSessionCommand (Show); break; case "--clean": cmd = new DbSessionCommand (Clean); break; case "--help": default: Usage (); break; } return cmd; } private static IDataParameter CreateParam (IDbCommand command, DbType type, string name, object value) { IDataParameter result = command.CreateParameter (); result.DbType = type; result.ParameterName = paramPrefix + name; result.Value = value; return result; } } } xsp-2.4.2/tools/dbsessmgr/Makefile.am0000644000175000001440000000127311145401174014434 00000000000000MCSFLAGS= -debug+ -debug:full -nologo dbsessmgrdir = $(prefix)/lib/xsp/1.0 dbsessmgr_SCRIPTS = dbsessmgr.exe dbsessmgr_DATA = dbsessmgr.exe.config if NET_2_0 scripts2 = dbsessmgr2.exe data2 = dbsessmgr2.exe.config endif dbsessmgr2dir = $(prefix)/lib/xsp/2.0 dbsessmgr2_SCRIPTS = $(scripts2) dbsessmgr2_DATA = $(data2) EXTRA_DIST = $(dbsessmgr_input) dbsessmgr.exe.config dbsessmgr2.exe.config CLEANFILES = *.exe *.mdb dbsessmgr_input = AssemblyInfo.cs.in \ dbsessmgr.cs dbsessmgr_sources = $(dbsessmgr_input:.in=) dbsessmgr.exe: $(dbsessmgr_sources) $(MCS) $(MCSFLAGS) -r:System.Data.dll -out:$@ $^ dbsessmgr2.exe: $(dbsessmgr_sources) $(GMCS) $(MCSFLAGS) -r:System.Data.dll -out:$@ $^ xsp-2.4.2/tools/dbsessmgr/dbsessmgr2.exe.config0000644000175000001440000000053711145401174016424 00000000000000 xsp-2.4.2/tools/dbsessmgr/Makefile.in0000644000175000001440000003204111215541040014435 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = tools/dbsessmgr DIST_COMMON = $(srcdir)/AssemblyInfo.cs.in $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = AssemblyInfo.cs am__installdirs = "$(DESTDIR)$(dbsessmgrdir)" \ "$(DESTDIR)$(dbsessmgr2dir)" "$(DESTDIR)$(dbsessmgrdir)" \ "$(DESTDIR)$(dbsessmgr2dir)" dbsessmgrSCRIPT_INSTALL = $(INSTALL_SCRIPT) dbsessmgr2SCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(dbsessmgr_SCRIPTS) $(dbsessmgr2_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; dbsessmgrDATA_INSTALL = $(INSTALL_DATA) dbsessmgr2DATA_INSTALL = $(INSTALL_DATA) DATA = $(dbsessmgr_DATA) $(dbsessmgr2_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ MCSFLAGS = -debug+ -debug:full -nologo dbsessmgrdir = $(prefix)/lib/xsp/1.0 dbsessmgr_SCRIPTS = dbsessmgr.exe dbsessmgr_DATA = dbsessmgr.exe.config @NET_2_0_TRUE@scripts2 = dbsessmgr2.exe @NET_2_0_TRUE@data2 = dbsessmgr2.exe.config dbsessmgr2dir = $(prefix)/lib/xsp/2.0 dbsessmgr2_SCRIPTS = $(scripts2) dbsessmgr2_DATA = $(data2) EXTRA_DIST = $(dbsessmgr_input) dbsessmgr.exe.config dbsessmgr2.exe.config CLEANFILES = *.exe *.mdb dbsessmgr_input = AssemblyInfo.cs.in \ dbsessmgr.cs dbsessmgr_sources = $(dbsessmgr_input:.in=) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/dbsessmgr/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu tools/dbsessmgr/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh AssemblyInfo.cs: $(top_builddir)/config.status $(srcdir)/AssemblyInfo.cs.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-dbsessmgrSCRIPTS: $(dbsessmgr_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(dbsessmgrdir)" || $(MKDIR_P) "$(DESTDIR)$(dbsessmgrdir)" @list='$(dbsessmgr_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 " $(dbsessmgrSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(dbsessmgrdir)/$$f'"; \ $(dbsessmgrSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(dbsessmgrdir)/$$f"; \ else :; fi; \ done uninstall-dbsessmgrSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(dbsessmgr_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(dbsessmgrdir)/$$f'"; \ rm -f "$(DESTDIR)$(dbsessmgrdir)/$$f"; \ done install-dbsessmgr2SCRIPTS: $(dbsessmgr2_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(dbsessmgr2dir)" || $(MKDIR_P) "$(DESTDIR)$(dbsessmgr2dir)" @list='$(dbsessmgr2_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 " $(dbsessmgr2SCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(dbsessmgr2dir)/$$f'"; \ $(dbsessmgr2SCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(dbsessmgr2dir)/$$f"; \ else :; fi; \ done uninstall-dbsessmgr2SCRIPTS: @$(NORMAL_UNINSTALL) @list='$(dbsessmgr2_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(dbsessmgr2dir)/$$f'"; \ rm -f "$(DESTDIR)$(dbsessmgr2dir)/$$f"; \ done install-dbsessmgrDATA: $(dbsessmgr_DATA) @$(NORMAL_INSTALL) test -z "$(dbsessmgrdir)" || $(MKDIR_P) "$(DESTDIR)$(dbsessmgrdir)" @list='$(dbsessmgr_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(dbsessmgrDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(dbsessmgrdir)/$$f'"; \ $(dbsessmgrDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(dbsessmgrdir)/$$f"; \ done uninstall-dbsessmgrDATA: @$(NORMAL_UNINSTALL) @list='$(dbsessmgr_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(dbsessmgrdir)/$$f'"; \ rm -f "$(DESTDIR)$(dbsessmgrdir)/$$f"; \ done install-dbsessmgr2DATA: $(dbsessmgr2_DATA) @$(NORMAL_INSTALL) test -z "$(dbsessmgr2dir)" || $(MKDIR_P) "$(DESTDIR)$(dbsessmgr2dir)" @list='$(dbsessmgr2_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(dbsessmgr2DATA_INSTALL) '$$d$$p' '$(DESTDIR)$(dbsessmgr2dir)/$$f'"; \ $(dbsessmgr2DATA_INSTALL) "$$d$$p" "$(DESTDIR)$(dbsessmgr2dir)/$$f"; \ done uninstall-dbsessmgr2DATA: @$(NORMAL_UNINSTALL) @list='$(dbsessmgr2_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(dbsessmgr2dir)/$$f'"; \ rm -f "$(DESTDIR)$(dbsessmgr2dir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(dbsessmgrdir)" "$(DESTDIR)$(dbsessmgr2dir)" "$(DESTDIR)$(dbsessmgrdir)" "$(DESTDIR)$(dbsessmgr2dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dbsessmgr2DATA install-dbsessmgr2SCRIPTS \ install-dbsessmgrDATA install-dbsessmgrSCRIPTS install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dbsessmgr2DATA uninstall-dbsessmgr2SCRIPTS \ uninstall-dbsessmgrDATA uninstall-dbsessmgrSCRIPTS .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-dbsessmgr2DATA install-dbsessmgr2SCRIPTS \ install-dbsessmgrDATA install-dbsessmgrSCRIPTS install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-dbsessmgr2DATA uninstall-dbsessmgr2SCRIPTS \ uninstall-dbsessmgrDATA uninstall-dbsessmgrSCRIPTS dbsessmgr.exe: $(dbsessmgr_sources) $(MCS) $(MCSFLAGS) -r:System.Data.dll -out:$@ $^ dbsessmgr2.exe: $(dbsessmgr_sources) $(GMCS) $(MCSFLAGS) -r:System.Data.dll -out:$@ $^ # 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: xsp-2.4.2/tools/dbsessmgr/dbsessmgr.exe.config0000644000175000001440000000061411145401174016336 00000000000000 xsp-2.4.2/tools/dbsessmgr/AssemblyInfo.cs.in0000644000175000001440000000054411145401174015727 00000000000000using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyVersion("@XSP_VERSION@")] [assembly: AssemblyTitle ("Mono DB Session Tool")] [assembly: AssemblyDescription ("Tool for removing expired sessions from the session DB")] [assembly: AssemblyCopyright ("2003, 2004 Novell, Inc.")] [assembly: AssemblyCompany ("Novell, Inc.")] xsp-2.4.2/tools/Makefile.am0000644000175000001440000000005511145401174012440 00000000000000 SUBDIRS = asp_state dbsessmgr mono-asp-apps xsp-2.4.2/tools/mono-asp-apps/0000777000175000001440000000000011215541043013160 500000000000000xsp-2.4.2/tools/mono-asp-apps/Makefile.am0000644000175000001440000000004211145401174015126 00000000000000EXTRA_DIST = mono-asp-apps README xsp-2.4.2/tools/mono-asp-apps/mono-asp-apps0000755000175000001440000001045411145401174015522 00000000000000#!/bin/bash ASP_APPS_ROOT=/usr/share/mono/asp.net ASP_APPS_APPS=$ASP_APPS_ROOT/apps ASP_APPS_DATA=$ASP_APPS_ROOT/data XSP_CONFIGS_ROOT=/etc/xsp/2.0 XSP_ENABLED_APPS=$XSP_CONFIGS_ROOT/applications-enabled XSP_AVAILABLE_APPS=$XSP_CONFIGS_ROOT/applications-available PG_HBA_LOCATIONS="/var/lib/pgsql/data" APP_NAME="" APP_INFO="" APP_ROOT="" APP_DATA="" COMMAND="" function die () { echo Error executing the script: echo $* echo exit 1 } function findApplication () { if [ -z "$1" ]; then die "Missing application name on the command line" fi if [ ! -f "$ASP_APPS_DATA/$1/info" -o ! -d "$ASP_APPS_APPS/$1" ]; then die "Application '$1' not found" fi APP_NAME="$1" APP_DATA="$ASP_APPS_DATA/$1" APP_INFO="$APP_DATA/info" APP_ROOT="$ASP_APPS_APPS/$1" } function load_app_info () { . "$APP_INFO" APP_NEEDS_INIT="`echo ${NeedsInit:-false} | tr A-Z a-z`" APP_INITIALIZED="`echo ${Initialized:-false} | tr A-Z a-z`" if [ "$COMMAND" != "init" -a "$APP_NEEDS_INIT" = "true" -a "$APP_INITIALIZED" = "false" ]; then die -e "Application '$APP_NAME' needs to be initialized with command:\n\t/usr/bin/mono-asp-apps init $APP_NAME" fi if [ -z "$WebappFile" -o ! -f "$WebappFile" ]; then die "Missing webapp file for application '$1'" fi if [ -z "$Version" ]; then die "Missing application '$1' version information" fi } function check_postgres_access () { local ok=0 local hbaloc for l in $PG_HBA_LOCATIONS; do if [ ! -f "$l/pg_hba.conf" ]; then continue fi hbaloc="$l/pg_hba.conf" if egrep "^host[[:space:]]+all[[:space:]]+test[[:space:]]+127\.0\.0\.1/32[[:space:]]+md5" "$hbaloc" > /dev/null 2>&1; then ok=1 break fi done if [ $ok -ne 1 ]; then if [ -z "$hbaloc" ]; then cat < /dev/null 2>&1 cd "$APP_DATA" su -c "$initfile" -p postgres popd > /dev/null 2>&1 sed -e 's/^Initialized="\(.*\)"/Initialized="true"/g' < "$APP_INFO" > "$APP_INFO".new mv "$APP_INFO".new "$APP_INFO" } function command_enable () { load_app_info ln -sf "$WebappFile" "$XSP_ENABLED_APPS/`basename $WebappFile`" } function command_disable () { local linkfile load_app_info linkfile="$XSP_ENABLED_APPS/`basename $WebappFile`" if [ -L "$linkfile" ]; then rm "$linkfile" fi } function command_start () { load_app_info export MONO_IOMAP=all if [ -x "$APP_DATA/start" ]; then cd "$APP_DATA" exec "$APP_DATA/start" $* fi exec xsp2 --appconfigfile "$WebappFile" $* } function command_list () { local appname local appversion echo "Installed apps:" for d in "$ASP_APPS_DATA"/*; do if [ ! -d "$d" ]; then continue fi if [ ! -f "$d"/info ]; then continue fi appname="`cat \"$d\"/info | grep ^Name= | cut -d '\"' -f 2`" appversion="`cat \"$d\"/info | grep ^Version= | cut -d '\"' -f 2`" echo $appname-$appversion done } function show_commands () { cat </dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ 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; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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; nonempty = 1; } \ END { if (nonempty) { 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 distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive 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: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic ctags \ ctags-recursive distclean distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ tags-recursive uninstall uninstall-am # 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: xsp-2.4.2/tools/asp_state/0000777000175000001440000000000011215541043012451 500000000000000xsp-2.4.2/tools/asp_state/Makefile.am0000644000175000001440000000121111145401173014415 00000000000000MCSFLAGS= -debug+ -debug:full -nologo aspstatedir = $(prefix)/lib/xsp/1.0 aspstate_SCRIPTS = asp-state.exe aspstate_DATA = asp-state.exe.config if NET_2_0 scripts2 = asp-state2.exe data2 = asp-state2.exe.config endif aspstate2dir = $(prefix)/lib/xsp/2.0 aspstate2_SCRIPTS = $(scripts2) aspstate2_DATA = $(data2) EXTRA_DIST = $(aspstate_input) asp-state.exe.config asp-state2.exe.config CLEANFILES = *.exe *.mdb aspstate_input = AssemblyInfo.cs.in \ asp_state.cs aspstate_sources = $(aspstate_input:.in=) asp-state.exe: $(aspstate_sources) $(MCS) $(MCSFLAGS) /out:$@ $^ asp-state2.exe: $(aspstate_sources) $(GMCS) $(MCSFLAGS) /out:$@ $^ xsp-2.4.2/tools/asp_state/asp-state.exe.config0000644000175000001440000000134011145401173016234 00000000000000 xsp-2.4.2/tools/asp_state/Makefile.in0000644000175000001440000003163611215541040014440 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = tools/asp_state DIST_COMMON = $(srcdir)/AssemblyInfo.cs.in $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = AssemblyInfo.cs am__installdirs = "$(DESTDIR)$(aspstatedir)" \ "$(DESTDIR)$(aspstate2dir)" "$(DESTDIR)$(aspstatedir)" \ "$(DESTDIR)$(aspstate2dir)" aspstateSCRIPT_INSTALL = $(INSTALL_SCRIPT) aspstate2SCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(aspstate_SCRIPTS) $(aspstate2_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; aspstateDATA_INSTALL = $(INSTALL_DATA) aspstate2DATA_INSTALL = $(INSTALL_DATA) DATA = $(aspstate_DATA) $(aspstate2_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ MCSFLAGS = -debug+ -debug:full -nologo aspstatedir = $(prefix)/lib/xsp/1.0 aspstate_SCRIPTS = asp-state.exe aspstate_DATA = asp-state.exe.config @NET_2_0_TRUE@scripts2 = asp-state2.exe @NET_2_0_TRUE@data2 = asp-state2.exe.config aspstate2dir = $(prefix)/lib/xsp/2.0 aspstate2_SCRIPTS = $(scripts2) aspstate2_DATA = $(data2) EXTRA_DIST = $(aspstate_input) asp-state.exe.config asp-state2.exe.config CLEANFILES = *.exe *.mdb aspstate_input = AssemblyInfo.cs.in \ asp_state.cs aspstate_sources = $(aspstate_input:.in=) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/asp_state/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu tools/asp_state/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh AssemblyInfo.cs: $(top_builddir)/config.status $(srcdir)/AssemblyInfo.cs.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-aspstateSCRIPTS: $(aspstate_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(aspstatedir)" || $(MKDIR_P) "$(DESTDIR)$(aspstatedir)" @list='$(aspstate_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 " $(aspstateSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(aspstatedir)/$$f'"; \ $(aspstateSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(aspstatedir)/$$f"; \ else :; fi; \ done uninstall-aspstateSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(aspstate_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(aspstatedir)/$$f'"; \ rm -f "$(DESTDIR)$(aspstatedir)/$$f"; \ done install-aspstate2SCRIPTS: $(aspstate2_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(aspstate2dir)" || $(MKDIR_P) "$(DESTDIR)$(aspstate2dir)" @list='$(aspstate2_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 " $(aspstate2SCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(aspstate2dir)/$$f'"; \ $(aspstate2SCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(aspstate2dir)/$$f"; \ else :; fi; \ done uninstall-aspstate2SCRIPTS: @$(NORMAL_UNINSTALL) @list='$(aspstate2_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(aspstate2dir)/$$f'"; \ rm -f "$(DESTDIR)$(aspstate2dir)/$$f"; \ done install-aspstateDATA: $(aspstate_DATA) @$(NORMAL_INSTALL) test -z "$(aspstatedir)" || $(MKDIR_P) "$(DESTDIR)$(aspstatedir)" @list='$(aspstate_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(aspstateDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aspstatedir)/$$f'"; \ $(aspstateDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aspstatedir)/$$f"; \ done uninstall-aspstateDATA: @$(NORMAL_UNINSTALL) @list='$(aspstate_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(aspstatedir)/$$f'"; \ rm -f "$(DESTDIR)$(aspstatedir)/$$f"; \ done install-aspstate2DATA: $(aspstate2_DATA) @$(NORMAL_INSTALL) test -z "$(aspstate2dir)" || $(MKDIR_P) "$(DESTDIR)$(aspstate2dir)" @list='$(aspstate2_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(aspstate2DATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aspstate2dir)/$$f'"; \ $(aspstate2DATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aspstate2dir)/$$f"; \ done uninstall-aspstate2DATA: @$(NORMAL_UNINSTALL) @list='$(aspstate2_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(aspstate2dir)/$$f'"; \ rm -f "$(DESTDIR)$(aspstate2dir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(aspstatedir)" "$(DESTDIR)$(aspstate2dir)" "$(DESTDIR)$(aspstatedir)" "$(DESTDIR)$(aspstate2dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-aspstate2DATA install-aspstate2SCRIPTS \ install-aspstateDATA install-aspstateSCRIPTS install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-aspstate2DATA uninstall-aspstate2SCRIPTS \ uninstall-aspstateDATA uninstall-aspstateSCRIPTS .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-aspstate2DATA \ install-aspstate2SCRIPTS install-aspstateDATA \ install-aspstateSCRIPTS install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-aspstate2DATA \ uninstall-aspstate2SCRIPTS uninstall-aspstateDATA \ uninstall-aspstateSCRIPTS asp-state.exe: $(aspstate_sources) $(MCS) $(MCSFLAGS) /out:$@ $^ asp-state2.exe: $(aspstate_sources) $(GMCS) $(MCSFLAGS) /out:$@ $^ # 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: xsp-2.4.2/tools/asp_state/asp-state2.exe.config0000644000175000001440000000133611145401173016323 00000000000000 xsp-2.4.2/tools/asp_state/AssemblyInfo.cs.in0000644000175000001440000000052111145401173015713 00000000000000using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyVersion("@XSP_VERSION@")] [assembly: AssemblyTitle ("Mono ASP.NET State Server")] [assembly: AssemblyDescription ("Out of process ASP.NET State Server ")] [assembly: AssemblyCopyright ("2003 Novell, Inc.")] [assembly: AssemblyCompany ("Novell, Inc.")] xsp-2.4.2/tools/asp_state/asp_state.cs0000644000175000001440000000363711145401173014711 00000000000000// // Mono.ASPNET.Tools.StateServer // // Author(s): // Jackson Harper (jackson@ximian.com) // // (C) 2003 Novell, Inc (http://www.novell.com) // using System; using System.IO; using System.Reflection; using System.Runtime.Remoting; namespace Mono.ASPNET.Tools { public class StateServer { private static string ServerName { get { return Path.GetFileNameWithoutExtension(Assembly.GetEntryAssembly ().CodeBase); } } private static string configurationfile; private static string ConfigurationFileName { get { if (configurationfile == null) { configurationfile = Assembly.GetEntryAssembly ().CodeBase + ".config"; if (configurationfile.StartsWith("file://")) configurationfile = configurationfile.Substring(7); } return configurationfile; } } private static void ShowUsage() { Console.WriteLine(@"ERROR: {0} doesn't recognize any command line arguments!!! Usage is: {0} It loads the remoting configuration file (will try from {1}) and works until is pressed. ", ServerName, ConfigurationFileName); } private static void ShowVerboseConfigurationInfo(string filename) { Console.WriteLine("Loaded configuration from {0} that contains", filename); Console.WriteLine("============================================="); try { StreamReader sr = new StreamReader(filename); Console.WriteLine(sr.ReadToEnd()); sr.Close(); } catch (Exception ex) { Console.WriteLine("ERROR reading configuration file:\n" + ex.ToString()); } Console.WriteLine("============================================="); } [STAThread] public static void Main (string [] args) { if (args.Length == 0) { RemotingConfiguration.Configure (ConfigurationFileName); ShowVerboseConfigurationInfo(ConfigurationFileName); Console.Write("Press to stop..."); Console.ReadLine (); } else { ShowUsage(); } } } } xsp-2.4.2/test/0000777000175000001440000000000011215541043010305 500000000000000xsp-2.4.2/test/1.1/0000777000175000001440000000000011215541043010604 500000000000000xsp-2.4.2/test/1.1/asp.net/0000777000175000001440000000000011215541042012153 500000000000000xsp-2.4.2/test/1.1/asp.net/server-side-object.aspx0000644000175000001440000000153111145401166016464 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Server-side object Here is a value: <%# Container.DataItem %> xsp-2.4.2/test/1.1/asp.net/codebehind1.aspx0000644000175000001440000000171311145401166015137 00000000000000<%@ Page language="c#" Inherits="MonoTest.Test" AutoEventWireup="false" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Test

Text will go here.

xsp-2.4.2/test/1.1/asp.net/transfer1.aspx0000644000175000001440000000072411145401166014700 00000000000000<%@ Page Language="C#" Debug="true" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Transfer test 1 This will never be seen on the browser. Miguel sucks. xsp-2.4.2/test/1.1/asp.net/codebehind1.cs0000644000175000001440000000236611145401166014576 00000000000000using System; using System.Collections; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace MonoTest { /// /// Summary description for Test. /// public class Test : System.Web.UI.Page { protected System.Web.UI.WebControls.Label Label1; protected System.Web.UI.WebControls.Button SubmitButton; protected System.Web.UI.WebControls.TextBox TextBox1; private void Page_Load(object sender, System.EventArgs e) { Label1.Text = "Page Loaded"; } #region Web Form Designer generated code override protected void OnInit(EventArgs e) { // // CODEGEN: This call is required by the ASP.NET Web Form Designer. // InitializeComponent(); base.OnInit(e); } /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.SubmitButton.Click += new System.EventHandler(this.SubmitButton_Click); this.Load += new System.EventHandler(this.Page_Load); } #endregion private void SubmitButton_Click(object sender, System.EventArgs e) { Label1.Text = TextBox1.Text; } } } xsp-2.4.2/test/1.1/asp.net/serial.aspx0000644000175000001440000000524111145401166014251 00000000000000<%@ Page language="C#" debug="true"%> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ Import namespace="System.ComponentModel" %> <%@ Import namespace="System.Globalization" %> ViewState + TypeConverter
xsp-2.4.2/test/1.1/asp.net/Makefile.am0000644000175000001440000000162011145401166014126 00000000000000samplesdir = $(pkglibdir)/test/1.1/asp.net testfiles = \ browsercaps.aspx \ codebehind1.aspx \ code-render.aspx \ body.inc \ header.inc \ registertest1.ascx \ registertest2.ascx \ includetest.aspx \ registertest.aspx \ server-side-object.aspx \ session1.aspx \ typedesc.aspx \ index.aspx \ transfer1.aspx \ transfer2.aspx \ serial.aspx typedesc_src = typedesc.cs codebehind_src = codebehind1.cs typedesc_build = $(addprefix $(srcdir)/, $(typedesc_src)) codebehind_build = $(addprefix $(srcdir)/, $(codebehind_src)) samplesbindir = $(pkglibdir)/test/bin samplesbin_SCRIPTS = codebehind1.dll typedesc.dll samples_DATA = $(testfiles) EXTRA_DIST = $(testfiles) \ $(codebehind_src) \ $(typedesc_src) CLEANFILES = $(samplesbin_SCRIPTS) %.dll: %.cs $(MCS) -r:System.Web.dll -t:library -out:$@ $^ typedesc.dll: $(typedesc_build) codebehind1.dll: $(codebehind_build) xsp-2.4.2/test/1.1/asp.net/typedesc.cs0000644000175000001440000000257711145401166014255 00000000000000// // typedsc_property.cs: control with a property whose Type has a Typeconverter // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Licensed under the terms of the GNU GPL // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // using System; using System.Collections; using System.ComponentModel; using System.Globalization; using System.Web.UI; using System.Web.UI.WebControls; namespace Mono.Controls { [ParseChildren(false)] public class WeirdControl : Label { public MyObject WeirdObject { get { object o = ViewState ["WeirdObject"]; if (o == null) return null; return (MyObject) o; } set { ViewState ["WeirdObject"] = value; base.Text = value.Text; } } } [TypeConverter (typeof (MyObjectConverter))] public class MyObject { string text; public MyObject (string text) { this.text = text; } public string Text { get { return text; } } } public class MyObjectConverter : TypeConverter { public MyObjectConverter () {} public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { return (sourceType == typeof (string)); } public override object ConvertFrom (ITypeDescriptorContext context, CultureInfo culture, object value) { if (!(value is string)) return base.ConvertFrom (context, culture, value); return new MyObject ((string) value); } } } xsp-2.4.2/test/1.1/asp.net/includetest.aspx0000755000175000001440000000100611145401166015313 00000000000000 This is pretty much the same as registertest.aspx, but splitted in 3 files.

xsp-2.4.2/test/1.1/asp.net/transfer2.aspx0000644000175000001440000000065311145401166014702 00000000000000<%@ Page Language="C#" Debug="true" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Transfer test 2 FilePath: <%= Request.FilePath %>
CurrentExecutionFilePath: <%= Request.CurrentExecutionFilePath %>
xsp-2.4.2/test/1.1/asp.net/registertest.aspx0000755000175000001440000000242611145401166015523 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%-- we can even override the asp prefix with @ register --%> <%@ Register TagPrefix="Acme" namespace="System.Web.UI.WebControls" assembly="System.Web" %> <%@ Register TagPrefix="Acme" TagName="One" Src="registertest1.ascx" %> <%@ Register TagPrefix="Acme" TagName="Two" Src="registertest2.ascx" %> Register test

xsp-2.4.2/test/1.1/asp.net/body.inc0000644000175000001440000000055711145401166013532 00000000000000

xsp-2.4.2/test/1.1/asp.net/browsercaps.aspx0000644000175000001440000000443211145401166015325 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ Import namespace="System.Reflection" %>

HttpBrowserCapabilities

User agent: <%= Request.UserAgent %>

xsp-2.4.2/test/1.1/asp.net/registertest1.ascx0000755000175000001440000000030511145401166015561 00000000000000 <%=Text%> xsp-2.4.2/test/1.1/asp.net/header.inc0000644000175000001440000000077611145401166014030 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%-- we can even override the asp prefix with @ register --%> <%@ Register TagPrefix="Acme" namespace="System.Web.UI.WebControls" assembly="System.Web" %> <%@ Register TagPrefix="Acme" TagName="One" Src="registertest1.ascx" %> <%@ Register TagPrefix="Acme" TagName="Two" Src="registertest2.ascx" %> xsp-2.4.2/test/1.1/asp.net/Makefile.in0000644000175000001440000002626511215541037014153 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = test/1.1/asp.net DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(samplesbindir)" \ "$(DESTDIR)$(samplesdir)" samplesbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(samplesbin_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; samplesDATA_INSTALL = $(INSTALL_DATA) DATA = $(samples_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ samplesdir = $(pkglibdir)/test/1.1/asp.net testfiles = \ browsercaps.aspx \ codebehind1.aspx \ code-render.aspx \ body.inc \ header.inc \ registertest1.ascx \ registertest2.ascx \ includetest.aspx \ registertest.aspx \ server-side-object.aspx \ session1.aspx \ typedesc.aspx \ index.aspx \ transfer1.aspx \ transfer2.aspx \ serial.aspx typedesc_src = typedesc.cs codebehind_src = codebehind1.cs typedesc_build = $(addprefix $(srcdir)/, $(typedesc_src)) codebehind_build = $(addprefix $(srcdir)/, $(codebehind_src)) samplesbindir = $(pkglibdir)/test/bin samplesbin_SCRIPTS = codebehind1.dll typedesc.dll samples_DATA = $(testfiles) EXTRA_DIST = $(testfiles) \ $(codebehind_src) \ $(typedesc_src) CLEANFILES = $(samplesbin_SCRIPTS) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/1.1/asp.net/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu test/1.1/asp.net/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-samplesbinSCRIPTS: $(samplesbin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(samplesbindir)" || $(MKDIR_P) "$(DESTDIR)$(samplesbindir)" @list='$(samplesbin_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 " $(samplesbinSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(samplesbindir)/$$f'"; \ $(samplesbinSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(samplesbindir)/$$f"; \ else :; fi; \ done uninstall-samplesbinSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(samplesbin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(samplesbindir)/$$f'"; \ rm -f "$(DESTDIR)$(samplesbindir)/$$f"; \ done install-samplesDATA: $(samples_DATA) @$(NORMAL_INSTALL) test -z "$(samplesdir)" || $(MKDIR_P) "$(DESTDIR)$(samplesdir)" @list='$(samples_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(samplesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(samplesdir)/$$f'"; \ $(samplesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(samplesdir)/$$f"; \ done uninstall-samplesDATA: @$(NORMAL_UNINSTALL) @list='$(samples_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(samplesdir)/$$f'"; \ rm -f "$(DESTDIR)$(samplesdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(samplesbindir)" "$(DESTDIR)$(samplesdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-samplesDATA install-samplesbinSCRIPTS install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-samplesDATA uninstall-samplesbinSCRIPTS .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-samplesDATA install-samplesbinSCRIPTS install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-samplesDATA \ uninstall-samplesbinSCRIPTS %.dll: %.cs $(MCS) -r:System.Web.dll -t:library -out:$@ $^ typedesc.dll: $(typedesc_build) codebehind1.dll: $(codebehind_build) # 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: xsp-2.4.2/test/1.1/asp.net/code-render.aspx0000644000175000001440000000165711145401166015170 00000000000000<%@ Page Language = "C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Code Render <% for (int i = 0; i < 5; i++) {%> <%= msgs [i] %> message number <%= i %>.

<% } %>

<% for (int i = 4; i <= 0; i--) {%> <%= msgs [i] %> reverse message number <%= i %>. <% } %>

One more calendar

This should say hello: <%= msgs [1] %> xsp-2.4.2/test/1.1/asp.net/registertest2.ascx0000755000175000001440000000030611145401166015563 00000000000000 <%=Text%> xsp-2.4.2/test/1.1/asp.net/session1.aspx0000644000175000001440000000174411145401166014542 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Session Test




xsp-2.4.2/test/1.1/asp.net/index.aspx0000644000175000001440000000126711145401166014105 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ Register TagPrefix="mono" TagName="FileList" src="~/controls/FileList.ascx" %> Directory index

The following directories and files are found in this directory:

xsp-2.4.2/test/1.1/asp.net/typedesc.aspx0000644000175000001440000000072611145401166014615 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ Register TagPrefix="Mono" Namespace="Mono.Controls" assembly="typedesc" %> Property that needs TypeConverter xsp-2.4.2/test/1.1/webcontrols/0000777000175000001440000000000011215541043013145 500000000000000xsp-2.4.2/test/1.1/webcontrols/web_checkboxlist.aspx0000644000175000001440000000144611145401165017304 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> CheckBoxList
Flow layout:

One Two Three Five

Table layout:

One Two Three Five

xsp-2.4.2/test/1.1/webcontrols/dbpage_test_setup.cs0000644000175000001440000000440011145401165017111 00000000000000using System; using System.IO; using Mono.Data.SqliteClient; class App { static string[] emails = { "Joe Doe", "joe.doe@domain.com", "Jane Doe", "jane.doe@domain.com", "Bart Simpson", "bart@simpsons.com", "Donald Duck", "donald.duck@donaldinho.com", "Shrek Ogre", "shrek@farfaraway.com" }; static object[] addresses = { 1, "Joe Doe", "Somewhere, 12456", 2, "Jane Doe", "Somewhere Else, 12345", 3, "Bart Simpson", "Smallville, 12313", 4, "Donald Duck", "Metropolis 13141", 5, "Shrek Ogre", "The Swamp, 12314" }; public static int Main () { File.Delete ("dbpage1.sqlite"); SqliteConnection conn = new SqliteConnection (); conn.ConnectionString = "URI=file:dbpage1.sqlite, Version=3"; conn.Open (); SqliteCommand cmd = new SqliteCommand (); cmd.Connection = conn; cmd.CommandText = @"CREATE TABLE test ( person VARCHAR (256) NOT NULL, email VARCHAR (256) NOT NULL )"; cmd.ExecuteNonQuery (); cmd.CommandText = @"INSERT INTO test (person, email) VALUES (:person, :email)"; for (int i = emails.Length - 1; i > 0; i -= 2) { cmd.Parameters.Add (new SqliteParameter ("email", emails [i])); cmd.Parameters.Add (new SqliteParameter ("person", emails [i - 1])); cmd.ExecuteNonQuery (); cmd.Parameters.Clear (); } conn.Close (); File.Delete ("dbpage2.sqlite"); conn = new SqliteConnection (); conn.ConnectionString = "URI=file:dbpage2.sqlite, Version=3"; conn.Open (); cmd = new SqliteCommand (); cmd.Connection = conn; cmd.CommandText = @"CREATE TABLE customers ( id INTEGER NOT NULL, name VARCHAR (256) NOT NULL, address VARCHAR (256) NOT NULL )"; cmd.ExecuteNonQuery (); cmd.CommandText = @"INSERT INTO customers (id, name, address) VALUES (:id, :name, :address)"; for (int i = addresses.Length - 1; i > 0; i -= 3) { cmd.Parameters.Add (new SqliteParameter ("id", addresses [i - 2])); cmd.Parameters.Add (new SqliteParameter ("name", addresses [i - 1])); cmd.Parameters.Add (new SqliteParameter ("address", addresses [i])); cmd.ExecuteNonQuery (); cmd.Parameters.Clear (); } conn.Close (); return 0; } } xsp-2.4.2/test/1.1/webcontrols/web_literal.aspx0000644000175000001440000000057711145401165016262 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Literal
xsp-2.4.2/test/1.1/webcontrols/web_listbox.aspx0000644000175000001440000000231111145401165016276 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> ListBox
Single selection:

1 2 3 4 5 6 7 8 9 10

Multiple selection:

1 2 3 4 5 6 7 8 9 10

xsp-2.4.2/test/1.1/webcontrols/web_linkbutton.aspx0000644000175000001440000000201511145401165017004 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> LinkButton as submit and command

Remove this link. xsp-2.4.2/test/1.1/webcontrols/Makefile.am0000644000175000001440000000261611145401165015124 00000000000000samplesdir = $(pkglibdir)/test/1.1/webcontrols samples_DATA = \ listitem.aspx \ temperature.aspx \ validator1.aspx \ web_adrotator.aspx \ web_button.aspx \ web_checkbox.aspx \ web_checkboxlist.aspx \ web_datagrid.aspx \ web_datagrid_command.aspx \ web_dropdownlist.aspx \ web_hyperlink.aspx \ web_image.aspx \ web_imagebutton.aspx \ web_label.aspx \ web_linkbutton.aspx \ web_listbox.aspx \ web_literal.aspx \ web_panel.aspx \ web_placeholder.aspx \ web_radiobutton.aspx \ web_radiobuttonlist.aspx \ web_regularexpressionvalidator.aspx \ web_comparevalidator.aspx \ web_repeater.aspx \ web_table2.aspx \ web_table.aspx \ web_textbox.aspx \ web_xml.aspx \ calendar.aspx \ datalist.aspx \ dbpage1.aspx \ dbpage2.aspx \ people.xml \ web_adrotator.xml \ peopletable.xsl \ index.aspx sqlitedir = $(pkglibdir)/test/1.1/webcontrols sqlite_DATA = dbpage1.sqlite \ dbpage2.sqlite samplesbindir = $(pkglibdir)/test/1.1/webcontrols samplesbin_SCRIPTS = dbpage_test_setup.exe dbpage_test_setup_build = dbpage_test_setup.cs EXTRA_DIST = $(sqlite_DATA) $(samples_DATA) $(dbpage_test_setup_build) dbpage_test_setup.exe: $(dbpage_test_setup_build) $(MCS) -debug:full -r:Mono.Data.SqliteClient.dll -out:$@ $^ dbpage1.sqlite: dbpage_test_setup.exe $(RUNTIME) dbpage_test_setup.exe dbpage2.sqlite: dbpage_test_setup.exe $(RUNTIME) dbpage_test_setup.exe xsp-2.4.2/test/1.1/webcontrols/web_dropdownlist.aspx0000644000175000001440000000161511145401165017350 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> DropDownList

DropDownList test

Item 1 Item 2 Item 3 Item 4


xsp-2.4.2/test/1.1/webcontrols/people.xml0000644000175000001440000000320111145401165015065 00000000000000 Joe Suits
1800 Success Way Redmond WA 98052
CEO Wears the nice suit
Linda Sue
1302 American St. Paso Robles CA 93447
Attorney Stands up for justice
Jeremy Boards
34 Palm Avenue Waikiki HI 98052
Pro Surfer Rides the big waves
Joan Page
700 Webmaster Road Redmond WA 98073
Web Site Developer Writes the pretty pages
xsp-2.4.2/test/1.1/webcontrols/web_regularexpressionvalidator.aspx0000644000175000001440000000403411145401165022305 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> RegularExpressionValidator

RegularExpressionValidator returns true if input string is empty. So we added RequiredFieldValidator to make sure that all field are not empty and valid.















xsp-2.4.2/test/1.1/webcontrols/web_adrotator.aspx0000644000175000001440000000065111145401165016616 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> AdRotator
xsp-2.4.2/test/1.1/webcontrols/web_button.aspx0000644000175000001440000000074711145401165016140 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Button
xsp-2.4.2/test/1.1/webcontrols/web_image.aspx0000644000175000001440000000074511145401165015705 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Image
xsp-2.4.2/test/1.1/webcontrols/validator1.aspx0000644000175000001440000000245011145401165016027 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> The textboxes should be filled
Multiline:

Single:


Password:


xsp-2.4.2/test/1.1/webcontrols/web_xml.aspx0000644000175000001440000000073311145401165015420 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>

Xml Example

xsp-2.4.2/test/1.1/webcontrols/dbpage1.sqlite0000644000175000001440000000400011215541043015601 00000000000000SQLite format 3@  ##Z!‚}tabletesttestCREATE TABLE test ( person VARCHAR (256) NOT NULL, email VARCHAR (256) NOT NULL ) ¿¿p1ö¿5)UJoe Doejoe.doe@domain.com9-YJane Doejane.doe@domain.com==QBart Simpsonbart@simpsons.comM9uDonald Duckdonald.duck@donaldinho.com?5]Shrek Ogreshrek@farfaraway.comxsp-2.4.2/test/1.1/webcontrols/Makefile.in0000644000175000001440000003065411215541037015141 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = test/1.1/webcontrols DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(samplesbindir)" \ "$(DESTDIR)$(samplesdir)" "$(DESTDIR)$(sqlitedir)" samplesbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(samplesbin_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; samplesDATA_INSTALL = $(INSTALL_DATA) sqliteDATA_INSTALL = $(INSTALL_DATA) DATA = $(samples_DATA) $(sqlite_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ samplesdir = $(pkglibdir)/test/1.1/webcontrols samples_DATA = \ listitem.aspx \ temperature.aspx \ validator1.aspx \ web_adrotator.aspx \ web_button.aspx \ web_checkbox.aspx \ web_checkboxlist.aspx \ web_datagrid.aspx \ web_datagrid_command.aspx \ web_dropdownlist.aspx \ web_hyperlink.aspx \ web_image.aspx \ web_imagebutton.aspx \ web_label.aspx \ web_linkbutton.aspx \ web_listbox.aspx \ web_literal.aspx \ web_panel.aspx \ web_placeholder.aspx \ web_radiobutton.aspx \ web_radiobuttonlist.aspx \ web_regularexpressionvalidator.aspx \ web_comparevalidator.aspx \ web_repeater.aspx \ web_table2.aspx \ web_table.aspx \ web_textbox.aspx \ web_xml.aspx \ calendar.aspx \ datalist.aspx \ dbpage1.aspx \ dbpage2.aspx \ people.xml \ web_adrotator.xml \ peopletable.xsl \ index.aspx sqlitedir = $(pkglibdir)/test/1.1/webcontrols sqlite_DATA = dbpage1.sqlite \ dbpage2.sqlite samplesbindir = $(pkglibdir)/test/1.1/webcontrols samplesbin_SCRIPTS = dbpage_test_setup.exe dbpage_test_setup_build = dbpage_test_setup.cs EXTRA_DIST = $(sqlite_DATA) $(samples_DATA) $(dbpage_test_setup_build) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/1.1/webcontrols/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu test/1.1/webcontrols/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-samplesbinSCRIPTS: $(samplesbin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(samplesbindir)" || $(MKDIR_P) "$(DESTDIR)$(samplesbindir)" @list='$(samplesbin_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 " $(samplesbinSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(samplesbindir)/$$f'"; \ $(samplesbinSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(samplesbindir)/$$f"; \ else :; fi; \ done uninstall-samplesbinSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(samplesbin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(samplesbindir)/$$f'"; \ rm -f "$(DESTDIR)$(samplesbindir)/$$f"; \ done install-samplesDATA: $(samples_DATA) @$(NORMAL_INSTALL) test -z "$(samplesdir)" || $(MKDIR_P) "$(DESTDIR)$(samplesdir)" @list='$(samples_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(samplesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(samplesdir)/$$f'"; \ $(samplesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(samplesdir)/$$f"; \ done uninstall-samplesDATA: @$(NORMAL_UNINSTALL) @list='$(samples_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(samplesdir)/$$f'"; \ rm -f "$(DESTDIR)$(samplesdir)/$$f"; \ done install-sqliteDATA: $(sqlite_DATA) @$(NORMAL_INSTALL) test -z "$(sqlitedir)" || $(MKDIR_P) "$(DESTDIR)$(sqlitedir)" @list='$(sqlite_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(sqliteDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sqlitedir)/$$f'"; \ $(sqliteDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sqlitedir)/$$f"; \ done uninstall-sqliteDATA: @$(NORMAL_UNINSTALL) @list='$(sqlite_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(sqlitedir)/$$f'"; \ rm -f "$(DESTDIR)$(sqlitedir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(samplesbindir)" "$(DESTDIR)$(samplesdir)" "$(DESTDIR)$(sqlitedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-samplesDATA install-samplesbinSCRIPTS \ install-sqliteDATA install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-samplesDATA uninstall-samplesbinSCRIPTS \ uninstall-sqliteDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-samplesDATA install-samplesbinSCRIPTS \ install-sqliteDATA install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-samplesDATA uninstall-samplesbinSCRIPTS \ uninstall-sqliteDATA dbpage_test_setup.exe: $(dbpage_test_setup_build) $(MCS) -debug:full -r:Mono.Data.SqliteClient.dll -out:$@ $^ dbpage1.sqlite: dbpage_test_setup.exe $(RUNTIME) dbpage_test_setup.exe dbpage2.sqlite: dbpage_test_setup.exe $(RUNTIME) dbpage_test_setup.exe # 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: xsp-2.4.2/test/1.1/webcontrols/web_placeholder.aspx0000644000175000001440000000146511145401165017105 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> PlaceHolder with a CheckBox and a HyperLink added in Page_Load
xsp-2.4.2/test/1.1/webcontrols/web_label.aspx0000644000175000001440000000110511145401165015671 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Label

Text between tags xsp-2.4.2/test/1.1/webcontrols/web_datagrid.aspx0000644000175000001440000000374611145401165016406 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> DataGrid

DataGrid sample

xsp-2.4.2/test/1.1/webcontrols/web_table.aspx0000644000175000001440000000150211145401165015702 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> HtmlTable, HtmlTableRow, HtmlTableCell
xsp-2.4.2/test/1.1/webcontrols/dbpage2.sqlite0000644000175000001440000000400011215541043015602 00000000000000SQLite format 3@  ##ƒZ!11†UtablecustomerscustomersCREATE TABLE customers ( id INTEGER NOT NULL, name VARCHAR (256) NOT NULL, address VARCHAR (256) NOT NULL ) ÑňGÑ3)MJoe DoeSomewhere, 12456?-aJane DoeSomewhere Else, 12345?=QBart SimpsonSmallville, 12313;9MDonald DuckMetropolis 1314195MShrek OgreThe Swamp, 12314xsp-2.4.2/test/1.1/webcontrols/web_adrotator.xml0000644000175000001440000000060611145401165016443 00000000000000 Dancing monkey http://www.mono-project.com/files/8/8d/Mono-gorilla-aqua.100px.png http://www.ximian.com Mono http://www.go-mono.com/images/mono-new.gif http://www.go-mono.com xsp-2.4.2/test/1.1/webcontrols/web_imagebutton.aspx0000644000175000001440000000124611145401165017136 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> ImageButton
xsp-2.4.2/test/1.1/webcontrols/dbpage2.aspx0000644000175000001440000003124211145401165015266 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ import namespace="System.Data" %> <%@ import namespace="System.Data.SqlClient" %> <%@ import namespace="System.Reflection" %> <%@ Import namespace="System.IO" %> <%@ Register TagPrefix="Mono" Namespace="Mono.Controls" assembly="tabcontrol2" %> More DB testing plus tabcontrol2.dll

Database Error

Sorry, could not connect to a database.

You should set up a database for user 'monotest', password 'monotest' and dbname 'monotest'

Then modify the variables DBProviderAssembly, DBConnectionType and DBConnectionString in server.exe.config file to fit your needs.

The database should have a table called customers created with the following command:

CREATE TABLE "customers" (
	"id" integer NOT NULL,
	"name" character varying(256) NOT NULL,
	"address" character varying(256) NOT NULL
);

CREATE UNIQUE INDEX id_idx ON customers USING btree (id);

Below, the rows of the table are displayed (if any).


Fill in the data and click the button when done. All fields are mandatory.

ID:

Name:

Address:

Deletes a row by its ID.

ID:


The ID field acts as unique index. The other fields will be modified.
If you fill the ID, you can push "Refresh data" to get name and address from the database.

ID:

Name:

Address:

 

xsp-2.4.2/test/1.1/webcontrols/web_comparevalidator.aspx0000644000175000001440000000170011145401165020147 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> CompareValidator


==



xsp-2.4.2/test/1.1/webcontrols/calendar.aspx0000644000175000001440000000113311145401165015527 00000000000000<%@ Page Language = "C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Calendar Test

Calendar and properties

xsp-2.4.2/test/1.1/webcontrols/web_panel.aspx0000644000175000001440000000103211145401165015710 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Panel with a HyperLink

xsp-2.4.2/test/1.1/webcontrols/web_radiobuttonlist.aspx0000644000175000001440000000202011145401165020035 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> RadioButtonList
Horizontal:

Seven Eleven Thirteen Seventeen Twenty-three Twenty-nine

Vertical:

Seven Eleven Thirteen Seventeen Twenty-three Twenty-nine

xsp-2.4.2/test/1.1/webcontrols/web_datagrid_command.aspx0000644000175000001440000001041411145401165020072 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> DataGrid + Remove command

DataGrid sample

<%-- This is a column which has a 'Delete' LinkButton in it ---- When the button is clicked, DeleteCommand in the DataGrid will be called. --%>
xsp-2.4.2/test/1.1/webcontrols/web_repeater.aspx0000644000175000001440000000330011145401165016420 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Data bound Repeater
Country Abbreviation Continent
<%# DataBinder.Eval (Container.DataItem, "Country") %> <%# DataBinder.Eval (Container.DataItem, "Abbr") %> <%# DataBinder.Eval (Container.DataItem, "Continent") %>
xsp-2.4.2/test/1.1/webcontrols/listitem.aspx0000644000175000001440000000150111145401165015607 00000000000000<%@ Page language="c#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> List Items

ListItem test

One Two Three Cuatro Five Six Seven Eight
xsp-2.4.2/test/1.1/webcontrols/web_table2.aspx0000644000175000001440000000067211145401165015773 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>
TEST
xsp-2.4.2/test/1.1/webcontrols/datalist.aspx0000644000175000001440000000220611145401165015565 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> DataList

Datalist sample

xsp-2.4.2/test/1.1/webcontrols/index.aspx0000644000175000001440000000126711145401165015075 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ Register TagPrefix="mono" TagName="FileList" src="~/controls/FileList.ascx" %> Directory index

The following directories and files are found in this directory:

xsp-2.4.2/test/1.1/webcontrols/temperature.aspx0000644000175000001440000000446711145401165016330 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> Temperature conversion

Temperature conversion

Choose to/from and enter degrees.
From:   Degrees:   To:

xsp-2.4.2/test/1.1/webcontrols/web_radiobutton.aspx0000644000175000001440000000144511145401165017153 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> RadioButton




Here another group of radio buttons.


xsp-2.4.2/test/1.1/webcontrols/web_hyperlink.aspx0000644000175000001440000000077211145401165016630 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> HyperLink xsp-2.4.2/test/1.1/webcontrols/web_textbox.aspx0000644000175000001440000000154411145401165016316 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> TextBox: MultiLine, SingleLine and Password
Multiline:

Single:

Password:

xsp-2.4.2/test/1.1/webcontrols/peopletable.xsl0000644000175000001440000000277711145401165016124 00000000000000
 

,
Job Title:
Description:
xsp-2.4.2/test/1.1/webcontrols/web_checkbox.aspx0000644000175000001440000000120711145401165016403 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> CheckBox

xsp-2.4.2/test/1.1/webcontrols/dbpage1.aspx0000644000175000001440000001336311145401165015271 00000000000000<%@ Page language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ import namespace="System.Configuration" %> <%@ import namespace="System.Data" %> <%@ import namespace="System.Reflection" %> <%@ import namespace="System.IO" %> Some DB testing

Database Error

Sorry, a database error has occurred.

You should set up a database of your choice and then modify the variables DBProviderAssembly, DBConnectionType and DBConnectionString in xsp.exe.config (or mod-mono-server.exe.config if running the tests under Apache/mod_mono) file to fit your needs.

The database should have a table called customers created with the following command (or similar):

CREATE TABLE "test" (
	"person" character varying(256) NOT NULL,
	"email" character varying(256) NOT NULL
);

Choose the SQL filters and click 'Submit'.

xsp-2.4.2/test/1.1/webservice/0000777000175000001440000000000011215541043012742 500000000000000xsp-2.4.2/test/1.1/webservice/CompressExtension.cs0000644000175000001440000001160111145401167016700 00000000000000// // CompressExtension.cs // // Author: // Lluis Sanchez Gual (lluis@ximian.com) // // Copyright (C) Ximian, Inc. 2003 // using System; using System.Text; using System.Web.Services; using System.Web.Services.Protocols; using System.Web.Services.Description; using System.Web.Services.Configuration; using System.CodeDom; using System.IO; using System.Net; using System.Xml.Serialization; using ICSharpCode.SharpZipLib.GZip; using System.ComponentModel; public class CompressExtension : SoapExtension { Stream netStream; MemoryStream tempStream; int minLength; public CompressExtension () { } public override Stream ChainStream (Stream stream) { netStream = stream; tempStream = new MemoryStream (); return tempStream; } public override object GetInitializer(LogicalMethodInfo methodInfo, SoapExtensionAttribute attribute) { return ((CompressAttribute)attribute).MinLength; } public override object GetInitializer (Type webServiceType) { return 0; } public override void Initialize(object initializer) { minLength = (int) initializer; } public override void ProcessMessage(SoapMessage message) { switch (message.Stage) { case SoapMessageStage.BeforeSerialize: break; case SoapMessageStage.AfterSerialize: Compress (message); break; case SoapMessageStage.BeforeDeserialize: Decompress (message); break; case SoapMessageStage.AfterDeserialize: break; default: throw new Exception("invalid stage"); } } public void Compress (SoapMessage message) { if (tempStream.Length >= minLength) { MemoryStream mems = new MemoryStream (); GZipOutputStream zos = new GZipOutputStream (mems); zos.Write (tempStream.GetBuffer (), 0, (int) tempStream.Length); zos.Finish (); Console.WriteLine ("msg len:" + tempStream.Length); // Convert the compressed content to a base 64 string string compString = Convert.ToBase64String (mems.GetBuffer (), 0, (int)mems.Length); byte[] compBytes = Encoding.UTF8.GetBytes (compString); netStream.WriteByte ((byte)'C'); // Compressing flag netStream.Write (compBytes, 0, compBytes.Length); Console.WriteLine ("cmp len:" + compBytes.Length); netStream.Flush (); zos.Close (); } else { netStream.WriteByte ((byte)'N'); // Not Compressing flag netStream.Write (tempStream.GetBuffer(), 0, (int) tempStream.Length); netStream.Flush (); } } public void Decompress (SoapMessage message) { char cf = (char) netStream.ReadByte (); Stream sourceStream; if (cf == 'C') { StreamReader sr = new StreamReader (netStream, Encoding.UTF8); string compString = sr.ReadToEnd (); sr.Close (); byte[] compBytes = Convert.FromBase64String (compString); MemoryStream mems = new MemoryStream (compBytes); sourceStream = new GZipInputStream (mems); } else { sourceStream = netStream; } int len = 0; byte[] buffer = new byte[1024]; while ((len = sourceStream.Read (buffer, 0, buffer.Length)) != 0) tempStream.Write (buffer, 0, len); // sourceStream.Close (); tempStream.Position = 0; } } [AttributeUsage(AttributeTargets.Method)] public class CompressAttribute: SoapExtensionAttribute { private int priority = 0; private int minLength = 0; public override Type ExtensionType { get { return typeof (CompressExtension); } } public override int Priority { get { return priority; } set { priority = value; } } public int MinLength { get { return minLength; } set { minLength = value; } } } public class CompressExtensionImporter : SoapExtensionImporter { public override void ImportMethod (CodeAttributeDeclarationCollection metadata) { CompressOperationBinding cob = ImportContext.OperationBinding.Extensions.Find (typeof (CompressOperationBinding)) as CompressOperationBinding; if (cob == null) return; // Extension element not present CodeAttributeDeclaration att = new CodeAttributeDeclaration ("Compress"); if (cob.MinLength != 0) att.Arguments.Add (new CodeAttributeArgument ("MinLength", new CodePrimitiveExpression(cob.MinLength))); metadata.Add (att); } } public class CompressExtensionReflector : SoapExtensionReflector { public override void ReflectMethod () { object[] ats = ReflectionContext.Method.MethodInfo.GetCustomAttributes (typeof (CompressAttribute), true); if (ats.Length > 0) { CompressAttribute at = (CompressAttribute) ats[0]; CompressOperationBinding opBinding = new CompressOperationBinding(); opBinding.MinLength = at.MinLength; ReflectionContext.OperationBinding.Extensions.Add (opBinding); } } } [XmlFormatExtension ("compress", "http://www.go-mono.org/Samples", typeof (OperationBinding))] [XmlFormatExtensionPrefix ("mono", "http://www.go-mono.org/Samples")] public class CompressOperationBinding : ServiceDescriptionFormatExtension { int minLength; [XmlAttribute] [DefaultValue (0)] public int MinLength { get { return minLength; } set { minLength = value; } } } xsp-2.4.2/test/1.1/webservice/ServiceClient.exe.config0000644000175000001440000000040211145401167017364 00000000000000 xsp-2.4.2/test/1.1/webservice/Makefile.am0000644000175000001440000000216611145401167014723 00000000000000samplesdir = $(pkglibdir)/test/1.1/webservice testfiles = \ ConverterService.asmx \ TestService.asmx \ ServiceClient.exe.config \ CompressExtension.cs \ index.aspx extensions_src = TraceExtension.cs EncryptExtension.cs DumpExtension.cs serviceclient_src = ServiceClient.cs Reference.cs extensions_build = $(addprefix $(srcdir)/, $(extensions_src)) serviceclient_build = $(addprefix $(srcdir)/, $(serviceclient_src)) samples_DATA = $(testfiles) samplesexedir = $(pkglibdir)/test samplesexe_SCRIPTS = ServiceClient.exe extensions.dll samplesbindir = $(pkglibdir)/test/bin samplesbin_SCRIPTS = extensions.dll CLEANFILES = $(samplesbin_SCRIPTS) $(samplesexe_SCRIPTS) EXTRA_DIST = $(testfiles) \ $(extensions_src) \ $(serviceclient_src) %.dll: %.cs $(MCS) -r:System.Web.dll -t:library -out:$@ $^ extensions.dll: $(extensions_build) $(MCS) -r:System.Web.dll -r:System.Web.Services.dll -target:library \ -out:$@ $^ ServiceClient.exe: extensions.dll $(serviceclient_build) $(MCS) -r:System.Web.dll -r:System.Web.Services.dll -r:extensions.dll \ -out:$@ \ $(srcdir)/ServiceClient.cs $(srcdir)/Reference.cs xsp-2.4.2/test/1.1/webservice/Makefile.in0000644000175000001440000003063711215541037014737 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = test/1.1/webservice DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(samplesbindir)" \ "$(DESTDIR)$(samplesexedir)" "$(DESTDIR)$(samplesdir)" samplesbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) samplesexeSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(samplesbin_SCRIPTS) $(samplesexe_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; samplesDATA_INSTALL = $(INSTALL_DATA) DATA = $(samples_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ samplesdir = $(pkglibdir)/test/1.1/webservice testfiles = \ ConverterService.asmx \ TestService.asmx \ ServiceClient.exe.config \ CompressExtension.cs \ index.aspx extensions_src = TraceExtension.cs EncryptExtension.cs DumpExtension.cs serviceclient_src = ServiceClient.cs Reference.cs extensions_build = $(addprefix $(srcdir)/, $(extensions_src)) serviceclient_build = $(addprefix $(srcdir)/, $(serviceclient_src)) samples_DATA = $(testfiles) samplesexedir = $(pkglibdir)/test samplesexe_SCRIPTS = ServiceClient.exe extensions.dll samplesbindir = $(pkglibdir)/test/bin samplesbin_SCRIPTS = extensions.dll CLEANFILES = $(samplesbin_SCRIPTS) $(samplesexe_SCRIPTS) EXTRA_DIST = $(testfiles) \ $(extensions_src) \ $(serviceclient_src) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/1.1/webservice/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu test/1.1/webservice/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-samplesbinSCRIPTS: $(samplesbin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(samplesbindir)" || $(MKDIR_P) "$(DESTDIR)$(samplesbindir)" @list='$(samplesbin_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 " $(samplesbinSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(samplesbindir)/$$f'"; \ $(samplesbinSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(samplesbindir)/$$f"; \ else :; fi; \ done uninstall-samplesbinSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(samplesbin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(samplesbindir)/$$f'"; \ rm -f "$(DESTDIR)$(samplesbindir)/$$f"; \ done install-samplesexeSCRIPTS: $(samplesexe_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(samplesexedir)" || $(MKDIR_P) "$(DESTDIR)$(samplesexedir)" @list='$(samplesexe_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 " $(samplesexeSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(samplesexedir)/$$f'"; \ $(samplesexeSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(samplesexedir)/$$f"; \ else :; fi; \ done uninstall-samplesexeSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(samplesexe_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(samplesexedir)/$$f'"; \ rm -f "$(DESTDIR)$(samplesexedir)/$$f"; \ done install-samplesDATA: $(samples_DATA) @$(NORMAL_INSTALL) test -z "$(samplesdir)" || $(MKDIR_P) "$(DESTDIR)$(samplesdir)" @list='$(samples_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(samplesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(samplesdir)/$$f'"; \ $(samplesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(samplesdir)/$$f"; \ done uninstall-samplesDATA: @$(NORMAL_UNINSTALL) @list='$(samples_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(samplesdir)/$$f'"; \ rm -f "$(DESTDIR)$(samplesdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(samplesbindir)" "$(DESTDIR)$(samplesexedir)" "$(DESTDIR)$(samplesdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-samplesDATA install-samplesbinSCRIPTS \ install-samplesexeSCRIPTS install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-samplesDATA uninstall-samplesbinSCRIPTS \ uninstall-samplesexeSCRIPTS .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-samplesDATA install-samplesbinSCRIPTS \ install-samplesexeSCRIPTS install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-samplesDATA \ uninstall-samplesbinSCRIPTS uninstall-samplesexeSCRIPTS %.dll: %.cs $(MCS) -r:System.Web.dll -t:library -out:$@ $^ extensions.dll: $(extensions_build) $(MCS) -r:System.Web.dll -r:System.Web.Services.dll -target:library \ -out:$@ $^ ServiceClient.exe: extensions.dll $(serviceclient_build) $(MCS) -r:System.Web.dll -r:System.Web.Services.dll -r:extensions.dll \ -out:$@ \ $(srcdir)/ServiceClient.cs $(srcdir)/Reference.cs # 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: xsp-2.4.2/test/1.1/webservice/TestService.asmx0000644000175000001440000000063711145401167016022 00000000000000<%@ WebService Language="c#" Codebehind="TestService.asmx.cs" Class="WebServiceTests.TestService" %> using System; using System.Web.Services; using System.Web.Services.Protocols; namespace WebServiceTests { public class TestService : System.Web.Services.WebService { [WebMethod] public string Echo (string a) { return a; } [WebMethod] public int Add (int a, int b) { return a + b; } } } xsp-2.4.2/test/1.1/webservice/TraceExtension.cs0000644000175000001440000000726111145401167016152 00000000000000using System; using System.Text; using System.Web.Services; using System.Web.Services.Protocols; using System.IO; using System.Net; // Define a SOAP Extension that traces the SOAP request and SOAP // response for the XML Web service method the SOAP extension is // applied to. public class TraceExtension : SoapExtension { string filename = "trace.log"; // Save the Stream representing the SOAP request or SOAP response into // a local memory buffer. public override Stream ChainStream( Stream stream ) { return stream; } // When the SOAP extension is accessed for the first time, the XML Web // service method it is applied to is accessed to store the file // name passed in, using the corresponding SoapExtensionAttribute. public override object GetInitializer(LogicalMethodInfo methodInfo, SoapExtensionAttribute attribute) { return ((TraceExtensionAttribute) attribute).Filename; } // The SOAP extension was configured to run using a configuration file // instead of an attribute applied to a specific XML Web service // method. public override object GetInitializer(Type WebServiceType) { // Return a file name to log the trace information to, based on the // type. return WebServiceType.GetType().ToString() + ".log"; } // Receive the file name stored by GetInitializer and store it in a // member variable for this specific instance. public override void Initialize(object initializer) { filename = (string) initializer; } // If the SoapMessageStage is such that the SoapRequest or // SoapResponse is still in the SOAP format to be sent or received, // save it out to a file. public override void ProcessMessage(SoapMessage message) { switch (message.Stage) { case SoapMessageStage.BeforeSerialize: WriteOutput(message); break; case SoapMessageStage.AfterSerialize: break; case SoapMessageStage.BeforeDeserialize: break; case SoapMessageStage.AfterDeserialize: WriteInput(message); break; default: throw new Exception("invalid stage"); } } public void WriteOutput(SoapMessage message) { FileStream fs = new FileStream(filename, FileMode.Append, FileAccess.Write); StreamWriter w = new StreamWriter(fs); if (message is SoapServerMessage) { w.WriteLine("METHOD RESPONSE at " + DateTime.Now); int opc = message.MethodInfo.OutParameters.Length; if (opc > 0) w.WriteLine (" Out parameters:"); for (int n=0; n 0) w.WriteLine (" Parameters:"); for (int n=0; n using System; using System.Collections; using System.Web.Services; using System.Web.Services.Protocols; namespace WebServiceTests { public class UserInfo : SoapHeader { public int userId; } public class CurrencyInfo { public CurrencyInfo () { } public CurrencyInfo (string name, double rate) { Name = name; Rate = rate; } public string Name; public double Rate; } [Dump] [Encrypt] [WebServiceAttribute (Description="Web service that can make currency conversions")] public class ConverterService : System.Web.Services.WebService { static int userCount = 0; static Hashtable conversionTable; public UserInfo userInfo; static ConverterService () { conversionTable = new Hashtable (); InternalSetCurrencyRate ("USD", 1); InternalSetCurrencyRate ("EUR", 0.883884 ); InternalSetCurrencyRate ("GBP", 0.611817 ); InternalSetCurrencyRate ("JPY", 118.271 ); InternalSetCurrencyRate ("CAD", 1.36338 ); InternalSetCurrencyRate ("AUD", 1.51485 ); InternalSetCurrencyRate ("CHF", 1.36915 ); InternalSetCurrencyRate ("RUR", 30.4300 ); InternalSetCurrencyRate ("CNY", 8.27740 ); InternalSetCurrencyRate ("ZAR", 7.62645 ); InternalSetCurrencyRate ("MXN", 10.5025 ); } [WebMethod (Description="Registers the user into the system")] [SoapHeaderAttribute ("userInfo", Direction = SoapHeaderDirection.Out)] [TraceExtension] public void Login (string a) { userInfo = new UserInfo (); userInfo.userId = ++userCount; } [WebMethod (Description="Converts an amount from one currency to another currency")] [SoapHeaderAttribute ("userInfo")] [TraceExtension] public double Convert (string sourceCurrency, string targetCurrency, double value) { CheckUser (); double usd = (1 / GetCurrencyRate (sourceCurrency)) * value; return usd * GetCurrencyRate (targetCurrency); } [WebMethod (Description="Returns a list of currency rates")] [SoapHeaderAttribute ("userInfo")] [TraceExtension] public CurrencyInfo[] GetCurrencyInfo () { CheckUser (); lock (conversionTable) { CurrencyInfo[] info = new CurrencyInfo[conversionTable.Count]; int n = 0; foreach (CurrencyInfo cinfo in conversionTable.Values) info [n++] = cinfo; return info; } } [WebMethod (Description="Sets the rate of a currency")] [SoapHeaderAttribute ("userInfo")] [TraceExtension] public void SetCurrencyRate (string currency, double rate) { CheckUser (); InternalSetCurrencyRate (currency, rate); } static void InternalSetCurrencyRate (string currency, double rate) { lock (conversionTable) { conversionTable [currency] = new CurrencyInfo (currency, rate); } } [WebMethod (Description="Returns the rate of a currency")] [SoapHeaderAttribute ("userInfo")] [TraceExtension] public double GetCurrencyRate (string cname) { CheckUser (); lock (conversionTable) { if (!conversionTable.ContainsKey (cname)) throw new SoapException ("Unknown currency '" + cname + "'", SoapException.ServerFaultCode); return ((CurrencyInfo) conversionTable [cname]).Rate; } } void CheckUser () { if (userInfo == null) throw new SoapException ("User not logged", SoapException.ServerFaultCode); } } } xsp-2.4.2/test/1.1/webservice/DumpExtension.cs0000644000175000001440000000413111145401167016012 00000000000000// // DumpExtension.cs // // Author: // Lluis Sanchez Gual (lluis@ximian.com) // // Copyright (C) Ximian, Inc. 2003 // using System; using System.Text; using System.Web.Services; using System.Web.Services.Protocols; using System.IO; using System.Net; public class DumpExtension : SoapExtension { Stream oldStream; MemoryStream newStream; string filename = "dump.log"; bool dump; public DumpExtension () { } public override Stream ChainStream( Stream stream ) { if (!dump) return stream; oldStream = stream; newStream = new MemoryStream (); return newStream; } public override object GetInitializer(LogicalMethodInfo methodInfo, SoapExtensionAttribute attribute) { return false; } public override object GetInitializer(Type webServiceType) { if (webServiceType.GetCustomAttributes (typeof (DumpAttribute), false).Length > 0) return true; else return false; } public override void Initialize(object initializer) { dump = (bool) initializer; } public override void ProcessMessage(SoapMessage message) { if (!dump) return; switch (message.Stage) { case SoapMessageStage.BeforeSerialize: break; case SoapMessageStage.AfterSerialize: DumpOut (); break; case SoapMessageStage.BeforeDeserialize: DumpIn (); break; case SoapMessageStage.AfterDeserialize: break; default: throw new Exception("invalid stage"); } } public void DumpOut () { Dump (newStream, ">> Outgoing"); newStream.WriteTo (oldStream); } public void DumpIn () { byte[] buffer = new byte[1000]; int n=0; while ((n=oldStream.Read (buffer, 0, 1000)) > 0) newStream.Write (buffer, 0, n); newStream.Position = 0; Dump (newStream, ">> Incoming"); } public void Dump (MemoryStream stream, string msg) { string fn = Path.Combine (Path.GetTempPath (), filename); FileStream fs = new FileStream (fn, FileMode.Append, FileAccess.Write); StreamWriter sw = new StreamWriter (fs); sw.WriteLine (); sw.WriteLine (msg); sw.Flush (); stream.WriteTo (fs); fs.Close (); stream.Position = 0; } } public class DumpAttribute: Attribute { } xsp-2.4.2/test/1.1/webservice/EncryptExtension.cs0000644000175000001440000000657611145401167016550 00000000000000// // EncryptExtension.cs // // Author: // Lluis Sanchez Gual (lluis@ximian.com) // // Copyright (C) Ximian, Inc. 2003 // using System; using System.Text; using System.Web.Services; using System.Web.Services.Protocols; using System.IO; using System.Net; using System.Security.Cryptography; public class EncryptExtension : SoapExtension { Stream oldStream; MemoryStream newStream; byte[] key = { 0xEE, 0x9F, 0xAB, 0x79, 0x11, 0x3F, 0x53, 0x56, 0xEE, 0x9F, 0xAB, 0x79, 0x11, 0x3F, 0x53, 0x56 }; byte[] iv = { 0xB0, 0x2A, 0x0F, 0x47, 0x4E, 0x47, 0xDB, 0x4A, 0xB0, 0x2A, 0x0F, 0x47, 0x4E, 0x47, 0xDB, 0x4A }; byte[] filler = { 32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32 }; SymmetricAlgorithm syma; public EncryptExtension () { } public override Stream ChainStream( Stream stream ) { if (syma == null) return stream; oldStream = stream; newStream = new MemoryStream (); return newStream; } SymmetricAlgorithm CreateAlgorithm () { SymmetricAlgorithm algo = Rijndael.Create (); algo.Key = key; algo.IV = iv; algo.Mode = CipherMode.CBC; algo.Padding = PaddingMode.None; return algo; } public override object GetInitializer(LogicalMethodInfo methodInfo, SoapExtensionAttribute attribute) { return CreateAlgorithm (); } public override object GetInitializer(Type webServiceType) { if (webServiceType.GetCustomAttributes (typeof (EncryptAttribute), false).Length > 0) return CreateAlgorithm (); else return null; } public override void Initialize(object initializer) { syma = (SymmetricAlgorithm) initializer; } public override void ProcessMessage(SoapMessage message) { if (syma == null) return; switch (message.Stage) { case SoapMessageStage.BeforeSerialize: break; case SoapMessageStage.AfterSerialize: Encrypt (message); break; case SoapMessageStage.BeforeDeserialize: Decrypt (message); break; case SoapMessageStage.AfterDeserialize: break; default: throw new Exception("invalid stage"); } } public void Encrypt (SoapMessage message) { MemoryStream mems = new MemoryStream (); CryptoStream encStream = new CryptoStream (mems, syma.CreateEncryptor(), CryptoStreamMode.Write); encStream.Write (newStream.GetBuffer (), 0, (int) newStream.Length); int rn = (int) newStream.Length % (syma.BlockSize/8); if (rn > 0) encStream.Write (filler, 0, (syma.BlockSize/8) - rn); encStream.FlushFinalBlock (); encStream.Flush (); // Convert the encrypted content to a base 64 string string encString = Convert.ToBase64String (mems.GetBuffer (), 0, (int)mems.Length); byte[] encBytes = Encoding.UTF8.GetBytes (encString); oldStream.Write (encBytes, 0, encBytes.Length); oldStream.Flush (); encStream.Close (); mems.Close (); } public void Decrypt (SoapMessage message) { StreamReader sr = new StreamReader (oldStream, Encoding.UTF8); string encString = sr.ReadToEnd (); sr.Close (); byte[] encBytes = Convert.FromBase64String (encString); MemoryStream mems = new MemoryStream (encBytes); CryptoStream decStream = new CryptoStream (mems, syma.CreateDecryptor(), CryptoStreamMode.Write); decStream.Write (encBytes, 0, encBytes.Length); decStream.Close (); byte[] decArray = mems.ToArray (); newStream.Write (decArray, 0, decArray.Length); newStream.Position = 0; mems.Close (); } } [AttributeUsage(AttributeTargets.Class)] public class EncryptAttribute: System.Attribute { } xsp-2.4.2/test/1.1/webservice/Reference.cs0000644000175000001440000001175011145401167015113 00000000000000using System; using System.Xml.Serialization; using System.Web.Services.Protocols; using System.Web.Services; namespace WebServiceTest { [System.Web.Services.WebServiceBindingAttribute(Name="TestServiceSoap", Namespace="http://tempuri.org/")] public class TestService : SoapHttpClientProtocol { public UserInfo UserInfoValue; public TestService() { this.Url = "http://192.168.200.3:8080/TestService.asmx"; } [SoapDocumentMethodAttribute("http://tempuri.org/Echo", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public string Echo(string a) { object[] results = this.Invoke("Echo", new object[] {a}); return ((string)(results[0])); } public System.IAsyncResult BeginEcho(string a, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("Echo", new object[] {a}, callback, asyncState); } public string EndEcho(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((string)(results[0])); } [SoapDocumentMethodAttribute("http://tempuri.org/Add", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public int Add(int a, int b) { object[] results = this.Invoke("Add", new object[] { a, b}); return ((int)(results[0])); } public System.IAsyncResult BeginAdd(int a, int b, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("Add", new object[] { a, b}, callback, asyncState); } public int EndAdd(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } } [Encrypt] [System.Web.Services.WebServiceBindingAttribute(Name="SimpleServiceSoap", Namespace="http://tempuri.org/")] public class ConverterService : SoapHttpClientProtocol { public UserInfo UserInfoValue; public ConverterService() { this.Url = "http://192.168.200.3:8080/ConverterService.asmx"; } [SoapHeaderAttribute("UserInfoValue", Required=false, Direction=SoapHeaderDirection.Out)] [SoapDocumentMethodAttribute("http://tempuri.org/Login", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public void Login(string a) { this.Invoke("Login", new object[] {a}); } [SoapHeaderAttribute("UserInfoValue", Required=false)] [SoapDocumentMethodAttribute("http://tempuri.org/Convert", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public double Convert(string sourceCurrency, string targetCurrency, double value) { object[] results = this.Invoke("Convert", new object[] {sourceCurrency, targetCurrency, value}); return ((double)(results[0])); } [SoapHeaderAttribute("UserInfoValue", Required=false)] [SoapDocumentMethodAttribute("http://tempuri.org/GetCurrencyInfo", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public CurrencyInfo[] GetCurrencyInfo () { object[] results = this.Invoke("GetCurrencyInfo", new object[0]); return ((CurrencyInfo[])(results[0])); } [SoapHeaderAttribute("UserInfoValue", Required=false)] [SoapDocumentMethodAttribute("http://tempuri.org/SetCurrencyRate", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public void SetCurrencyRate(string currency, double rate) { this.Invoke("SetCurrencyRate", new object[] {currency, rate}); } [SoapHeaderAttribute("UserInfoValue", Required=false)] [SoapDocumentMethodAttribute("http://tempuri.org/GetCurrencyRate", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public double GetCurrencyRate(string cname) { object[] results = this.Invoke("GetCurrencyRate", new object[] {cname}); return ((double)(results[0])); } } [XmlTypeAttribute(Namespace="http://tempuri.org/")] public class CurrencyInfo { public string Name; public double Rate; } [XmlTypeAttribute(Namespace="http://tempuri.org/")] [XmlRootAttribute(Namespace="http://tempuri.org/", IsNullable=false)] public class UserInfo : SoapHeader { public int userId; } } xsp-2.4.2/test/1.1/webservice/index.aspx0000644000175000001440000000126711145401167014674 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ Register TagPrefix="mono" TagName="FileList" src="~/controls/FileList.ascx" %> Directory index

The following directories and files are found in this directory:

xsp-2.4.2/test/1.1/webservice/ServiceClient.cs0000644000175000001440000000331011145401167015745 00000000000000using System; namespace WebServiceTest { public class ServiceClientTest { static void Main(string [] args) { Console.WriteLine ("Testing simple web service"); TestService s = new TestService (); if (args.Length > 0) s.Url = "http://" + args [0] + "/TestService.asmx"; for (int n=0; n<500; n++) { string res = s.Echo ("hola"); Console.WriteLine ("The server said: " + res); int r = s.Add (123,456); Console.WriteLine ("The server said that 123 + 456 is = " + r); } Console.WriteLine ("Testing converter service"); ConverterService cs = new ConverterService (); if (args.Length > 0) cs.Url = "http://" + args [0] + "/ConverterService.asmx"; /* try { Console.WriteLine ("Converting 6 EUR to USD"); double value = cs.Convert ("EUR","USD",6); } catch (Exception ex) { Console.WriteLine ("Opps, call failed: " + ex.Message); Console.WriteLine ("(This was expected)"); } */ Console.WriteLine ("Logging in"); cs.Login ("lluis"); Console.WriteLine ("Logged"); Console.WriteLine (); Console.WriteLine ("Converting 6 EUR to USD"); Console.WriteLine ("6 EUR are: $" + cs.Convert ("EUR","USD",6)); Console.WriteLine (); Console.WriteLine ("Current rates:"); CurrencyInfo[] infos = cs.GetCurrencyInfo (); foreach (CurrencyInfo info in infos) Console.WriteLine (" " + info.Name + " = $ " + info.Rate); Console.WriteLine (); Console.WriteLine ("Setting EUR rate to 0.9"); cs.SetCurrencyRate ("EUR", 0.9); Console.WriteLine (); Console.WriteLine ("Checking EUR rate"); Console.WriteLine ("EUR rate is: " + cs.GetCurrencyRate ("EUR")); Console.WriteLine (); Console.WriteLine ("Done"); } } } xsp-2.4.2/test/1.1/Makefile.am0000644000175000001440000000026411145401167012562 00000000000000SUBDIRS = authtest asp.net webcontrols html webservice databind handlers customcontrol samplesdir = $(pkglibdir)/test/1.1/ samples_DATA = index.aspx EXTRA_DIST = $(samples_DATA) xsp-2.4.2/test/1.1/databind/0000777000175000001440000000000011215541043012352 500000000000000xsp-2.4.2/test/1.1/databind/databind-template.aspx0000644000175000001440000000234411145401166016550 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>

Data binding and templates

Testing data bound literal inside templates.
Number: <%# Container.DataItem %> This is an <%# EvenOrOdd((int) Container.DataItem) %> number. That is all <%# folks %>
xsp-2.4.2/test/1.1/databind/Makefile.am0000644000175000001440000000033411145401166014325 00000000000000authsampledir = $(pkglibdir)/test/1.1/databind authsample_DATA = \ databind-arraylist.aspx \ databind-attribute.aspx \ databind-class.aspx \ databind-template.aspx \ index.aspx EXTRA_DIST = $(authsample_DATA) xsp-2.4.2/test/1.1/databind/Makefile.in0000644000175000001440000002300711215541037014340 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = test/1.1/databind DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(authsampledir)" authsampleDATA_INSTALL = $(INSTALL_DATA) DATA = $(authsample_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ authsampledir = $(pkglibdir)/test/1.1/databind authsample_DATA = \ databind-arraylist.aspx \ databind-attribute.aspx \ databind-class.aspx \ databind-template.aspx \ index.aspx EXTRA_DIST = $(authsample_DATA) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/1.1/databind/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu test/1.1/databind/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-authsampleDATA: $(authsample_DATA) @$(NORMAL_INSTALL) test -z "$(authsampledir)" || $(MKDIR_P) "$(DESTDIR)$(authsampledir)" @list='$(authsample_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(authsampleDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(authsampledir)/$$f'"; \ $(authsampleDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(authsampledir)/$$f"; \ done uninstall-authsampleDATA: @$(NORMAL_UNINSTALL) @list='$(authsample_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(authsampledir)/$$f'"; \ rm -f "$(DESTDIR)$(authsampledir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(authsampledir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-authsampleDATA install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-authsampleDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-authsampleDATA install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am \ uninstall-authsampleDATA # 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: xsp-2.4.2/test/1.1/databind/databind-class.aspx0000644000175000001440000000304411145401166016040 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>

Data binding using an array list containing a class

DataTextField and DataValueField must contain property names of the class bound to the DropDownList.
xsp-2.4.2/test/1.1/databind/databind-attribute.aspx0000644000175000001440000000166411145401166016744 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>

Data binding in attribute values

Another silly example for your pleasure...

xsp-2.4.2/test/1.1/databind/index.aspx0000644000175000001440000000126711145401166014303 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ Register TagPrefix="mono" TagName="FileList" src="~/controls/FileList.ascx" %> Directory index

The following directories and files are found in this directory:

xsp-2.4.2/test/1.1/databind/databind-arraylist.aspx0000644000175000001440000000165111145401166016747 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %>

Data binding using an array list

xsp-2.4.2/test/1.1/authtest/0000777000175000001440000000000011215541042012444 500000000000000xsp-2.4.2/test/1.1/authtest/Makefile.am0000644000175000001440000000020211145401163014407 00000000000000authsampledir = $(pkglibdir)/test/1.1/authtest authsample_DATA = index.aspx login.aspx web.config EXTRA_DIST = $(authsample_DATA) xsp-2.4.2/test/1.1/authtest/login.aspx0000644000175000001440000000271411145401163014372 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ Import Namespace="System.Web.Security" %> Login

Login Page

Email:
Password:
Persistent Cookie:

xsp-2.4.2/test/1.1/authtest/web.config0000644000175000001440000000024111145401163014322 00000000000000 xsp-2.4.2/test/1.1/authtest/Makefile.in0000644000175000001440000002265511215541037014443 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = test/1.1/authtest DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(authsampledir)" authsampleDATA_INSTALL = $(INSTALL_DATA) DATA = $(authsample_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ authsampledir = $(pkglibdir)/test/1.1/authtest authsample_DATA = index.aspx login.aspx web.config EXTRA_DIST = $(authsample_DATA) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/1.1/authtest/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu test/1.1/authtest/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-authsampleDATA: $(authsample_DATA) @$(NORMAL_INSTALL) test -z "$(authsampledir)" || $(MKDIR_P) "$(DESTDIR)$(authsampledir)" @list='$(authsample_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(authsampleDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(authsampledir)/$$f'"; \ $(authsampleDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(authsampledir)/$$f"; \ done uninstall-authsampleDATA: @$(NORMAL_UNINSTALL) @list='$(authsample_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(authsampledir)/$$f'"; \ rm -f "$(DESTDIR)$(authsampledir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(authsampledir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: 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: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-authsampleDATA install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-authsampleDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-authsampleDATA install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am \ uninstall-authsampleDATA # 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: xsp-2.4.2/test/1.1/authtest/index.aspx0000644000175000001440000000150011145401163014361 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> <%@ Import Namespace="System.Web.Security" %> Using Cookies Authentication

Using Cookies Authentication

xsp-2.4.2/test/1.1/Makefile.in0000644000175000001440000003561311215541037012600 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 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@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = test/1.1 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(samplesdir)" samplesDATA_INSTALL = $(INSTALL_DATA) DATA = $(samples_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CSC = @CSC@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GMCS = @GMCS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MCS = @MCS@ MKDIR_P = @MKDIR_P@ 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@ PKG_CONFIG = @PKG_CONFIG@ RUNTIME = @RUNTIME@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SN = @SN@ STRIP = @STRIP@ VERSION = @VERSION@ WEBTRACING = @WEBTRACING@ XSP_VERSION = @XSP_VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ am__leading_dot = @am__leading_dot@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = authtest asp.net webcontrols html webservice databind handlers customcontrol samplesdir = $(pkglibdir)/test/1.1/ samples_DATA = index.aspx EXTRA_DIST = $(samples_DATA) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/1.1/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu test/1.1/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-samplesDATA: $(samples_DATA) @$(NORMAL_INSTALL) test -z "$(samplesdir)" || $(MKDIR_P) "$(DESTDIR)$(samplesdir)" @list='$(samples_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(samplesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(samplesdir)/$$f'"; \ $(samplesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(samplesdir)/$$f"; \ done uninstall-samplesDATA: @$(NORMAL_UNINSTALL) @list='$(samples_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(samplesdir)/$$f'"; \ rm -f "$(DESTDIR)$(samplesdir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done 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; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ 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; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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; nonempty = 1; } \ END { if (nonempty) { 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 distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 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 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(samplesdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive 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: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || 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." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-samplesDATA install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-samplesDATA .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic ctags \ ctags-recursive distclean distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-samplesDATA install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-samplesDATA # 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: xsp-2.4.2/test/1.1/html/0000777000175000001440000000000011215541043011550 500000000000000xsp-2.4.2/test/1.1/html/htmltextarea.aspx0000644000175000001440000000077711145401166015101 00000000000000<%@ Page Language="C#" %> <%@ Register TagPrefix="mono" TagName="MonoSamplesHeader" src="~/controls/MonoSamplesHeader.ascx" %> HtmlTextArea