tmpreaper-1.6.13+nmu1build1/0000775000000000000000000000000011426433305012447 5ustar tmpreaper-1.6.13+nmu1build1/configure0000775000000000000000000047533111254444232014373 0ustar #! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.63 for tmpreaper 1.6.13. # # Report bugs to . # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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=: # Pre-4.2 versions of Zsh do 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 as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } 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.) 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 $as_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. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # 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 || $as_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=: # Pre-4.2 versions of Zsh do 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=: # Pre-4.2 versions of Zsh do 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 bug-autoconf@gnu.org about your system, echo including any error possibly output before this message. echo This can help us improve future autoconf versions. echo Configuration will now proceed without shell functions. } 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" || { $as_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 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then 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 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='tmpreaper' PACKAGE_TARNAME='tmpreaper' PACKAGE_VERSION='1.6.13' PACKAGE_STRING='tmpreaper 1.6.13' PACKAGE_BUGREPORT='tmpreaper@packages.debian.org' ac_unique_file="tmpreaper.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='LTLIBOBJS LIBOBJS HAVE_GETOPT_LONG_FALSE HAVE_GETOPT_LONG_TRUE EGREP GREP CPP OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC SET_MAKE MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=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_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$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_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=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 ;; -*) { $as_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 && { $as_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. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_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'` { $as_echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 { (exit 1); exit 1; }; } ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. 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 # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { $as_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 $as_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 .` || { $as_echo "$as_me: error: working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { $as_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 -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | 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 .." { $as_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" || { $as_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 tmpreaper 1.6.13 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/tmpreaper] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of tmpreaper 1.6.13:";; esac cat <<\_ACEOF Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && 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=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_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 $as_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 tmpreaper configure 1.6.13 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 tmpreaper $as_me 1.6.13, which was generated by GNU Autoconf 2.63. 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=. $as_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=`$as_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_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $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=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_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=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_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 && $as_echo "$as_me: caught signal $ac_signal" $as_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 an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 $as_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 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 $as_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,) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 $as_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 # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_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 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version="1.4" 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 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&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 rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir 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 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$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' { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftestfile # 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 conftestfile 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "$*" != "X $srcdir/configure conftestfile" \ && test "$*" != "X conftestfile $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". { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 $as_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" = conftestfile ) then # Ok. : else { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 $as_echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest* { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "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 $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_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 $as_echo_n "(cached) " >&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 { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi PACKAGE=tmpreaper VERSION=1.6.13 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF missing_dir=`cd $ac_aux_dir && pwd` { $as_echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5 $as_echo_n "checking for working aclocal-${am__api_version}... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then ACLOCAL=aclocal-${am__api_version} { $as_echo "$as_me:$LINENO: result: found" >&5 $as_echo "found" >&6; } else ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" { $as_echo "$as_me:$LINENO: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:$LINENO: checking for working autoconf" >&5 $as_echo_n "checking for working autoconf... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf { $as_echo "$as_me:$LINENO: result: found" >&5 $as_echo "found" >&6; } else AUTOCONF="$missing_dir/missing autoconf" { $as_echo "$as_me:$LINENO: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5 $as_echo_n "checking for working automake-${am__api_version}... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake-${am__api_version} { $as_echo "$as_me:$LINENO: result: found" >&5 $as_echo "found" >&6; } else AUTOMAKE="$missing_dir/missing automake-${am__api_version}" { $as_echo "$as_me:$LINENO: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:$LINENO: checking for working autoheader" >&5 $as_echo_n "checking for working autoheader... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader { $as_echo "$as_me:$LINENO: result: found" >&5 $as_echo "found" >&6; } else AUTOHEADER="$missing_dir/missing autoheader" { $as_echo "$as_me:$LINENO: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:$LINENO: checking for working makeinfo" >&5 $as_echo_n "checking for working makeinfo... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo { $as_echo "$as_me:$LINENO: result: found" >&5 $as_echo "found" >&6; } else MAKEINFO="$missing_dir/missing makeinfo" { $as_echo "$as_me:$LINENO: result: missing" >&5 $as_echo "missing" >&6; } fi ac_config_headers="$ac_config_headers config.h" ac_config_commands="$ac_config_commands default-1" # Checks for programs. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } # Provide some information about the compiler. $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } if test -z "$ac_file"; then $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 $as_echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi fi fi { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi rm -f conftest$ac_cv_exeext { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if test "${ac_cv_objext+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:$LINENO: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:$LINENO: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # 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. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&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 rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir 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 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$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' # Checks for libraries. # Checks for header files. ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include <$ac_hdr> int main () { if ((DIR *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 _ACEOF ac_header_dirent=$ac_hdr; break fi done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } if test "${ac_cv_search_opendir+set}" = set; then $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char opendir (); int main () { return opendir (); ; return 0; } _ACEOF for ac_lib in '' dir; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_search_opendir=$ac_res else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext if test "${ac_cv_search_opendir+set}" = set; then break fi done if test "${ac_cv_search_opendir+set}" = set; then : else ac_cv_search_opendir=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 $as_echo "$ac_cv_search_opendir" >&6; } ac_res=$ac_cv_search_opendir if test "$ac_res" != no; then test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi else { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } if test "${ac_cv_search_opendir+set}" = set; then $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char opendir (); int main () { return opendir (); ; return 0; } _ACEOF for ac_lib in '' x; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_search_opendir=$ac_res else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext if test "${ac_cv_search_opendir+set}" = set; then break fi done if test "${ac_cv_search_opendir+set}" = set; then : else ac_cv_search_opendir=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 $as_echo "$ac_cv_search_opendir" >&6; } ac_res=$ac_cv_search_opendir if test "$ac_res" != no; then test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi 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 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:$LINENO: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&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 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if test "${ac_cv_path_GREP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:$LINENO: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if test "${ac_cv_path_EGREP+set}" = set; then $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if test "${ac_cv_header_stdc+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } if test "${ac_cv_header_sys_wait_h+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main () { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_sys_wait_h=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_sys_wait_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 $as_echo "$ac_cv_header_sys_wait_h" >&6; } if test $ac_cv_header_sys_wait_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_SYS_WAIT_H 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in errno.h limits.h stdlib.h unistd.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## -------------------------------------------- ## ## Report this to tmpreaper@packages.debian.org ## ## -------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Checks for typedefs, structures, and compiler characteristics. # AC_C_CONST # Checks for library functions. # AC_FUNC_FORK # AC_PROG_GCC_TRADITIONAL # AC_FUNC_LSTAT # AC_FUNC_MALLOC if test "${ac_cv_func_setvbuf_reversed+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_func_setvbuf_reversed=no fi # AC_FUNC_UTIME_NULL # AC_FUNC_VPRINTF # AC_CHECK_FUNCS([getcwd memmove memset rmdir strerror utime]) # AC_TRY_COMPILE([#include ], [int x = GLOB_BRACE], HAVE_GLOB_BRACE=true, HAVE_GLOB_BRACE=false) { $as_echo "$as_me:$LINENO: checking whether GLOB_BRACE is declared" >&5 $as_echo_n "checking whether GLOB_BRACE is declared... " >&6; } if test "${ac_cv_have_decl_GLOB_BRACE+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { #ifndef GLOB_BRACE (void) GLOB_BRACE; #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_GLOB_BRACE=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_GLOB_BRACE=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GLOB_BRACE" >&5 $as_echo "$ac_cv_have_decl_GLOB_BRACE" >&6; } if test "x$ac_cv_have_decl_GLOB_BRACE" = x""yes; then HAVE_GLOB_BRACE=true else HAVE_GLOB_BRACE=false fi { $as_echo "$as_me:$LINENO: checking for getopt_long" >&5 $as_echo_n "checking for getopt_long... " >&6; } if test "${ac_cv_func_getopt_long+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define getopt_long to an innocuous variant, in case declares getopt_long. For example, HP-UX 11i declares gettimeofday. */ #define getopt_long innocuous_getopt_long /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getopt_long (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef getopt_long /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char getopt_long (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_getopt_long || defined __stub___getopt_long choke me #endif int main () { return getopt_long (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_getopt_long=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_getopt_long=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5 $as_echo "$ac_cv_func_getopt_long" >&6; } if test "x$ac_cv_func_getopt_long" = x""yes; then HAVE_GETOPT_LONG=true else HAVE_GETOPT_LONG=false fi if $HAVE_GETOPT_LONG; then HAVE_GETOPT_LONG_TRUE= HAVE_GETOPT_LONG_FALSE='#' else HAVE_GETOPT_LONG_TRUE='#' HAVE_GETOPT_LONG_FALSE= fi ac_config_files="$ac_config_files Makefile" ac_config_files="$ac_config_files tmpreaper.8" 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_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $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" && { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_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 : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 #! $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 || ac_write_fail=1 ## --------------------- ## ## 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=: # Pre-4.2 versions of Zsh do 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 as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } 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.) 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 $as_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. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # 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 || $as_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" || { $as_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 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then 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 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 tmpreaper $as_me 1.6.13, which was generated by GNU Autoconf 2.63. 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 case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ tmpreaper config.status 1.6.13 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2008 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' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. 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 ) $as_echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header { $as_echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) $as_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. -*) { $as_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 || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # HAVE_GLOB_BRACE=$HAVE_GLOB_BRACE _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "tmpreaper.8") CONFIG_FILES="$CONFIG_FILES tmpreaper.8" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { $as_echo "$as_me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_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 rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\).*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\).*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 $as_echo "$as_me: error: could not setup config files machinery" >&2;} { (exit 1); exit 1; }; } _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 || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_t=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_t"; then break elif $ac_last_try; then { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} { (exit 1); exit 1; }; } fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 $as_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 || { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; 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 '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; 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 || $as_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=`$as_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 || $as_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" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_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=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # 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= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 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 || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } 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"; } && { $as_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 $as_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 \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$tmp/config.h" "$ac_file" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 $as_echo "$as_me: error: could not create -" >&2;} { (exit 1); exit 1; }; } fi ;; :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "default-1":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; "tmpreaper.8":F) if $HAVE_GLOB_BRACE; then cp tmpreaper.8.in tmpreaper.8; else sed 's,^\.\\" ,,' tmpreaper.8.in > tmpreaper.8; fi ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } # 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 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi tmpreaper-1.6.13+nmu1build1/INSTALL0000664000000000000000000001722707363706725013527 0ustar Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure Or on systems that have the `env' program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not supports the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=PATH' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' can not figure out automatically, but needs to determine by the type of host the package will run on. Usually `configure' can figure that out, but if it prints a message saying it can not guess the host type, give it the `--host=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name with three fields: CPU-COMPANY-SYSTEM See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the host type. If you are building compiler tools for cross-compiling, you can also use the `--target=TYPE' option to select the type of system they will produce code for and the `--build=TYPE' option to select the type of system on which you are compiling the package. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Operation Controls ================== `configure' recognizes the following options to control how it operates. `--cache-file=FILE' Use and save the results of the tests in FILE instead of `./config.cache'. Set FILE to `/dev/null' to disable caching, for debugging `configure'. `--help' Print a summary of the options to `configure', and exit. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--version' Print the version of Autoconf used to generate the `configure' script, and exit. `configure' also accepts some other, not widely useful, options. tmpreaper-1.6.13+nmu1build1/debian/0000775000000000000000000000000013260673746013706 5ustar tmpreaper-1.6.13+nmu1build1/debian/rules0000775000000000000000000000416511254432407014760 0ustar #!/usr/bin/make -f # -*- makefile -*- package=tmpreaper SHELL := /bin/sh CC = gcc VERSION=$(shell dpkg-parsechangelog 2>/dev/null | perl -ne 'print "$$1_DEB" if /^Version:\s+(.*)/') export VERSION # -------------------------------------------------------------- debian_version = $(shell dpkg-parsechangelog 2>/dev/null \ | sed -n -e 's/^Version: \([[:digit:]]\+:\)*\([^\+]*\).*/\2/p') define check_cvs_status @echo "Checking CVS status for uncommited changes..." @if expr $$(cvs status 2>/dev/null \ | grep '^File:' \ | grep -vc 'Up-to-date') \ '>' 0; \ then \ echo "There are uncommited changes."; \ exit 1; \ else \ echo "done." \ exit 0; \ fi endef retag: $(check_cvs_status) cvs -Q tag -F debian_version_$(subst .,_,$(debian_version)) .PHONY: retag # ====================================================================== build: build-stamp build-stamp: dh_testdir ./configure --prefix=/usr --mandir=/usr/share/man make CPPFLAGS="-DDEBIAN" tmpreaper ./tmpreaper -h 2>&1 | grep 'tmpreaper -- Version: '$(debian_version)-DEB || (echo "You forgot to fix the VERSION in configure.ac!"; exit 1) touch build-stamp clean: dh_testdir dh_testroot -[ -s Makefile ] && $(MAKE) clean mostlyclean-am # automake # autoconf -[ -s Makefile ] && $(MAKE) clean dh_clean stamp-h config.status config.log config.h Makefile build-stamp tmpreaper tmpreaper.8 stamp-h.in debconf-updatepo sleep 1 touch stamp-h.in binary-arch: build dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) DESTDIR=debian/tmpreaper install dh_installdocs dh_installcron dh_installdebconf install -m 644 debian/tmpreaper.conf debian/tmpreaper/etc install -m 644 debian/tmpreaper.conf.5 debian/tmpreaper/usr/share/man/man5 install -m 644 debian/README.security debian/tmpreaper/usr/share/doc/tmpreaper # dh_installmanpages dh_installchangelogs dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-arch binary-indep: @# dummy target, required by policy (see #395754) @: .PHONY: build clean binary-arch binary binary-indep tmpreaper-1.6.13+nmu1build1/debian/tmpreaper.config0000775000000000000000000000350411254444065017070 0ustar #!/bin/sh -e if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi # If the cron.daily script isn't there, then this is probably a new # installation; don't show the message in that case. # If the "installed version" is empty, this is definitely a new installation... GO4IT=false if [ ! -s /etc/cron.daily/tmpreaper -o -z "$2" ]; then db_fset tmpreaper/confignowexists seen true # This debconf thing was introduced in version 1.5.1. # Only if the installed version is less should the message be displayed. elif dpkg --compare-versions "$2" ">>" "1.5.1"; then db_fset tmpreaper/confignowexists seen true else db_input high tmpreaper/confignowexists || true GO4IT=true fi # If there isn't a tmpreaper.conf file, don't bother showing the note. # Or if the default value for TMPREAPER_TIME is still there, # also don't show the note. if [ ! -f /etc/tmpreaper.conf ] || [ "`grep '^TMPREAPER_TIME=7d$' /etc/tmpreaper.conf 2>/dev/null`" = "TMPREAPER_TIME=7d" ]; then db_fset tmpreaper/TMPREAPER_TIME seen true else db_input high tmpreaper/TMPREAPER_TIME || true GO4IT=true fi # If upgrading, the user may not choose to replace the conffile, # so then show a different note than to users newly installing. if [ -z "$2" ]; then # newly installing db_fset tmpreaper/readsecurity_upgrading seen true # they must never see this note db_input high tmpreaper/readsecurity || true # ... only this one elif dpkg --compare-versions "$2" "<<" "1.6.1"; then # upgrading (from older version) db_fset tmpreaper/readsecurity seen true # they must never see this other note db_input high tmpreaper/readsecurity_upgrading || true # ... only this one GO4IT=true else # upgrading from newer version where it already was there : fi if $GO4IT; then db_go fi db_stop exit 0 tmpreaper-1.6.13+nmu1build1/debian/changelog0000664000000000000000000005236213260673746015570 0ustar tmpreaper (1.6.13+nmu1build1) bionic; urgency=high * No change rebuild to pick up -fPIE compiler default -- Balint Reczey Tue, 03 Apr 2018 12:47:34 +0000 tmpreaper (1.6.13+nmu1) unstable; urgency=low * Non-maintainer upload. * Fix pending l10n issues. Debconf translations: - Danish (Joe Hansen). Closes: #581718 -- Christian Perrier Wed, 04 Aug 2010 23:50:07 -0400 tmpreaper (1.6.13) unstable; urgency=low * debconf config script could exit with status 30. -- Paul Slootman Thu, 17 Sep 2009 16:31:22 +0200 tmpreaper (1.6.12) unstable; urgency=low * Ignore any \+.*$ component in the version number when checking for the correct version number in configure.ac, to allow for NMUs. closes:#493405 * Updated the tmpreaper.conf manpage to document TMPREAPER_DELAY and TMPREAPER_ADDITIONALOPTIONS. closes:#510754 * Added Swedish debconf translation from Martin Bagge. closes:#508753 * Added Japanese debconf translation from Hideki Yamane. closes:#522843 * Added Italian debconf translation from Luca Monducci. closes:#544596 * Updated Standards-Version to 3.8.3.0 (no further change necessary). * Bumped debhelper compat level to 5. -- Paul Slootman Thu, 17 Sep 2009 14:46:44 +0200 tmpreaper (1.6.11) unstable; urgency=low * Really allow --runtime=0 as described in the manpage (previously a minimum of 5 was enforced). -- Paul Slootman Mon, 06 Oct 2008 14:06:54 +0200 tmpreaper (1.6.10) unstable; urgency=low * Updated Czech debconf translation from Miroslav Kure. closes:#439273 * Updated French debconf translation from Michel Grentzinger. * Added Galician debconf translation from Jacobo Tarrio. closes:#481981 * Added Basque debconf translation from Piarres Beobide. closes:#482024 * Added Russian debconf translation from Yuri Kozlov. closes:#482292 * Handle "infinity" in /etc/default/rcS for TMPTIME. closes:#478136 * Properly update the version output from "tmpreaper -h". * Updated Standards-Version to 3.7.3.0 -- Paul Slootman Thu, 22 May 2008 16:23:29 +0200 tmpreaper (1.6.9) unstable; urgency=low * Updated Spanish Debconf translation from Javier Fernández-Sanguino Peña. closes:#438832 * Moving the shell code to the cron.daily script introduced an annoying but harmless bug (tmpreaper doesn't run). Fixed that. closes:#439003 * Updated policy version. -- Paul Slootman Tue, 21 Aug 2007 11:15:57 +0200 tmpreaper (1.6.8) unstable; urgency=low * Shell code has been removed from the tmpreaper.conf file, now only variables are set there. Processing has moved to the cron.daily script, thanks to Mike Fedyk. closes:#196288 * The abovementioned shell code failed if /etc/default/rcS doesn't exist (and hence $TMPTIME wasn't getting set). Applied patch from Maxim Doucet to only check the value if the grep showed it exists (very logical of course :-) closes:#435820 * Let the maximum initial delay before processing be specified via the tmpreaper.conf file, and overridable via the command line when running the cron.daily script manually. closes:#374977 * Corrected logic in checking for conflicting options, by applying patch supplied by Martin Dickopp (thanks!) closes:#353477 * Updated manpage example for protecting X sockets to correspond to what's actually used in the cron.daily script (although both expand to the same thing). Prompted by #383967. * Updated manpage http links to articles as the reasons for tmpreaper's existence. closes:#355889 * Fixed typos in README.security. closes:#370668 * Portuguese Debconf translation from Pedro Ribeiro. closes:#425171 * Updated German Debconf translation from Helge Kreutzmann. closes:#426021 * Spanish Debconf translation from Javier Fernández-Sanguino Peña. closes:#437380 * Give Joey Hess credit for his text I quoted in README.security. closes:#353355 * Updated the language in the debconf template, and fixed a typo. closes:#353261,#401214 -- Paul Slootman Fri, 17 Aug 2007 10:40:24 +0200 tmpreaper (1.6.7) unstable; urgency=low * Non-maintainer upload to fix pending l10n bugs. * Add a binary-indep target to debian/rules. Closes: #395754 * Debconf translations: - German. Closes: #367881 -- Christian Perrier Tue, 13 Feb 2007 22:40:09 +0100 tmpreaper (1.6.6) unstable; urgency=low * Add --runtime option, for those cases where it's known that it may take a very long time to run. Thanks to Jaap Eldering for the patch, although I took a slightly different approach (short option -T instead of -r, as -r is often associated with recursive). closes:#332757 * Check whether a subdirectory is a bind mount on the same file system to prevent unfortunate accidents that won't otherwise be prevented by the "not switching file systems" check. Patch from Eric Lammerts. closes:#237194 * Add alternate dependency of debconf-2.0. closes:#332119 * Updated version string and usage message. closes:#236563 * Using --mtime together with --ctime makes no sense, so check for that combination and bail out if detected. * Added Czech debconf translation, thanks to Miroslav Kure. closes:#273523 * Added Vietnamese debconf translation, thanks to Clytie Siddall. closes:#322312 * Corrected debconf template text. closes:#322311 * "--test --verbose=0 --showdeleted" will now show a list of files and directories that would (probably) have been deleted. closes:#236565 * Updated policy version. -- Paul Slootman Thu, 02 Feb 2006 12:42:15 +0100 tmpreaper (1.6.5) unstable; urgency=low * Use /dev/urandom instead of /dev/random to prevent blocking when entropy pool is empty. This probably makes it harder to subvert the random delay by emptying the entropy pool before the run is scheduled... closes:#216803 * Don't only include fcntl.h on linux, is pretty standard and needed for compilation e.g. on Solaris. * make 'missing' a real file, instead of a symlink to /usr/share/.... * Use ext2_fs.h from e2fs-libs-dev instead of libc6-dev, since the last one is now useless due to changes in the way kernel headers are included there. This means a Build-Depends is added on e2fslibs-dev. closes:#223222 * Fixed manpage, which had not been updated when fixing bug 195262. This is about whether the delay depends on being connected to a tty or not. closes:#222681 * Fixed shell quoting in cron.daily script. ckises:#206106 -- Paul Slootman Mon, 08 Dec 2003 12:50:11 +0100 tmpreaper (1.6.4) unstable; urgency=low * Added fr.po translation of debconf templates. closes:#201340 -- Paul Slootman Mon, 21 Jul 2003 09:56:35 +0200 tmpreaper (1.6.3) unstable; urgency=low * Switched to gettext for the debconf templates, thanks to patch supplied with the bug report. closes:#200581 * Applied patch to fix typos in patch for #200581. closes:#200622 -- Paul Slootman Mon, 14 Jul 2003 13:14:31 +0200 tmpreaper (1.6.2) unstable; urgency=low * Added an TMPREAPER_ADDITIONALOPTIONS variable to tmpreaper.conf for passing additional options (duh) to tmpreaper. closes:#169832 * Added an option --showdeleted to make tmpreaper output what it has done. The output is in the form of shell commands, i.e. "rm /tmp/bla/file", "rmdir /tmp/bla". closes:#174228 * Added an option --delay to make the delay at the beginning of execution configurable, instead of relying on whether stdin is a tty or not. Also added this option to the invocation in the cron.daily script. closes:#195262 * In the daily cron output, mention that /etc/tmpreaper.conf needs to be edited to remove the message about README.security.gz in the daily cron output. closes:#195666 -- Paul Slootman Mon, 2 Jun 2003 10:39:21 +0200 tmpreaper (1.6.1) unstable; urgency=low * Fix handling of large files (the bigger than 2GB ones). closes:#139125 * Don't call autoconf, automake routinely from debian/rules. This only needs to be done when changing something in configure.ac or so. Hence can remove autoconf, automake from build-depends. closes:#137604 * -a option shouldn't expect an argument, so fixed the getopt thing. closes:#137600 * Don't display the warning about having to upgrade the cron.daily script if this is a fresh install. closes:#167783 * Don't let the cron.daily script run by default; the administrator needs to enable it via a setting in /etc/tmpreaper.conf which indicates he/she understands the possible security implications of having tmpreaper run automatically. Also show a debconf note to that affect. closes:#174307 * In /etc/tmpreaper.conf, use the TMPTIME value from /etc/default/rcS if available. This means that the age of files in /tmp is now basically determined in just one place (/etc/default/rcS) instead of two, which is a bit simpler. It may cause some confusion for those who have changed the value in tmpreaper.conf, though; so a debconf note is shown if tmpreaper.conf contains a non-default value. closes:#128585 * When not running from a tty, delay before processing for a random amount of time to make it harder for attackers. * Run for a maximum of 55 seconds, to thwart attackers who try to delay its processing to take advantage to possible race conditions. -- Paul Slootman Wed, 21 May 2003 16:33:04 +0200 tmpreaper (1.6.0) unstable; urgency=low * Added --ctime option to make tmpreaper also check the ctime in addition to the atime. This is useful where the directory is accessible as a Samba share, as DOS PCs (including all the incarnations of Windows) will preserve the original mtime _and_ atime when copying files on such a share. This meant that recently copied files could disappear the next night. This is IMHO significant enough for a minor number bump... closes:#126143 * Added --ctime option to tmpreaper invocation in /etc/cron.daily/tmpreaper * Improved some of the comments in /etc/cron.daily/tmpreaper to more accurately reflect the /etc/tmpreaper.conf situation. * Changed way default settings are done in cron.daily script, so that an empty conf file won't cause the defaults to be skipped. Also part of bug 126143. * Added tmpreaper.conf manpage. * Added german translation to debconf templates. closes:#128896 -- Paul Slootman Tue, 5 Mar 2002 14:42:19 +0100 tmpreaper (1.5.1) unstable; urgency=high * The new automake / autoconf stuff lead to tmpreaper being installed into /usr/bin instead of /usr/sbin, which in turn leads the cron script to never execute tmpreaper. Oops. Hence this fix should be added to the archives ASAP. closes:#124174 * Local additions to the way tmpreaper runs can now be made via the /etc/tmpreaper.conf file, where the file age, extra protect patterns ans which directories to reap can be specified. There's a debconf note now explaining this when tmpreaper is installed. For this, "set -f" is used to prevent the shell from globbing any patterns. AFAIK this is POSIX, ash at least understands this. -- Paul Slootman Sun, 2 Dec 2001 22:59:13 +0100 tmpreaper (1.5.0) unstable; urgency=low * Added getopt.c, getopt1.c, getopt.h so that it can be compiled without difficulty on non-linux systems (tested on Solaris). However, you lose the capability of using braces in your --protect patterns as glob() functions on other (non-linux) platforms don't offer that. Bumped the second number in the version to reflect this significant change. * Added autoconf stuff to figure out whether getopt.c etc. are needed, the braces thing in glob(), and more. Hence also included stuff like INSTALL, missing, and the other autoconf stuff. It now builds and runs on Solaris and NetBSD as well! * Use "exit(x)" instead of "return x" to terminate the forked processes, otherwise weird stuff happened on NetBSD; it seems the processes didn't in fact exit. * Changed priority to optional to comply with the overrides. Last time that change somehow got lost... * Ignore files that are marked immutable in ext2/ext3. This is a more generic workaround for ext3's journal file which now has a new name, and probably also makes sense for other files as well. closes:#122090 * Exclude quota.user and quota.group. Why can't these be stored in a "standard" place (/var/state/quota/ ?)... I see no technical reason why not. Oh well. closes:#100675 -- Paul Slootman Sun, 2 Dec 2001 12:49:03 +0100 tmpreaper (1.4.14) unstable; urgency=low * Changed priority to optional to comply with the overrides. * cron.daily file has /tmp/. instead of /tmp to accomodate /tmp being a symlink to some other directory. closes:#62791 * Patches from Marcus Brinkmann to build on HURD. I hacked around this so that it should work as before on non-glibc systems. closes:#105433 * Added journal.dat to the list of protected files (ext3 journal, Bad Things apparently happen if that is removed). closes:#63655 It took so long for this (trivial) bug to be closed because it was first reported on tmpwatch, and was reassigned to tmpreaper after all discussion had took place. This meant I got zero notification about this bug via email, which sucks. I don't use the web pages very often... -- Paul Slootman Wed, 25 Jul 2001 15:26:04 +0200 tmpreaper (1.4.13) unstable; urgency=medium * close dirhandle after using it. closes:#71660 * fix checking for '.' and '..', which fixes a possibility of a directory being assumed empty while it wasn't. closes:#99507 * Added debhelper to Build-Depends. * Updated Standards-Version: to 3.5. * Added README for non-debian users, and updated LSM entry, and uploaded to sunsite. Also renamed ChangeLog to ChangeLog.old, as that hadn't been updated for sime time. This debian changelog is now the "official" changelog now. -- Paul Slootman Sat, 2 Jun 2001 11:38:09 +0200 tmpreaper (1.4.12) stable unstable; urgency=high * Limit fork recursion to foil deep directory nesting attack. closes:#71249 -- Paul Slootman Tue, 12 Sep 2000 11:56:27 +0200 tmpreaper (1.4.11) unstable; urgency=low * Handle filenames of the form ".a" correctly, not like "..". Oops. closes:#53245 * Exclude lost+found in the example cron script. closes:#53285 -- Paul Slootman Wed, 22 Dec 1999 17:44:21 +0100 tmpreaper (1.4.10) unstable; urgency=low * Updated Standards-Version to 3.0.1. * Fixed a formatting error in the manpage. -- Paul Slootman Wed, 27 Oct 1999 18:22:40 +0200 tmpreaper (1.4.9) unstable; urgency=low * Added --mtime-dir option to use mtime checking for directories only, which don't get removed when atime checking is used (reading the directory updates the atime!). closes:#34522 * Put -mtime-dir into default cron entry. -- Paul Slootman Wed, 7 Apr 1999 09:50:57 +0200 tmpreaper (1.4.8) unstable; urgency=low * New maintainer. * Updated Standards-Version to 2.4.1.4. * Changed priority to extra, as you really only need this package if you have specialised requirements (i.e. a system with untrusted users). * Nothing significant changed, a couple of messages fixed to be more similar to the rest. * Converted C++ - style comments to plain C comments, as this isn't C++ source. -- Paul Slootman Mon, 14 Sep 1998 15:04:09 +0200 tmpreaper (1.4.7) frozen unstable; urgency=low * Apply bugfixes from Jorg Schuler . See ChangeLog. (Fixes:#22903,#22934) * Jorg Schuler's patch also protects `.iroha' and `.ki2' (are they files or sockets?) in /tmp. * New function `dir_empty_p'; check that a dir is empty prior to rmdir(). (Fixes:#22770) -- Karl M. Hegbloom Sat, 30 May 1998 09:15:20 -0700 tmpreaper (1.4.6) frozen unstable; urgency=high * Also send into the freezer with hamm. * Fixed one lintian warning, and one lintian error. -- Karl M. Hegbloom Sun, 17 May 1998 18:59:48 -0700 tmpreaper (1.4.5) unstable; urgency=low * Implement the `--mtime' switch: (Fixes #19519) -- Karl M. Hegbloom Sun, 17 May 1998 17:32:41 -0700 tmpreaper (1.4.4) frozen unstable; urgency=high * (tmpreaper.c): Updated the year in copyright statement. - Added a missing newline to a message string in a rare fatal error. - Remembered args to flag test macros. * (tmpreaper.8): Split the overly complex brace expansion in the example into two separate --protect clauses. (Fixes #22528) * Further changes in ChangeLog. -- Karl M. Hegbloom Sun, 17 May 1998 11:47:47 -0700 tmpreaper (1.4.3-2) unstable; urgency=low * No need to line-buffer stderr. -- Karl M. Hegbloom Tue, 3 Feb 1998 15:59:12 -0800 tmpreaper (1.4.3-1) unstable; urgency=low * Use line-buffered I/O for stdout and stderr, so that even when the output is being piped to a file, it gets flushed after a newline. (see: APUE pp. 189-190) Bug pointed out by Joey Hess . -- Karl M. Hegbloom Mon, 26 Jan 1998 19:55:43 -0800 tmpreaper (1.4.2-1) unstable; urgency=low * Put single quotes around in help output. * Start bumping the right version number. (I'll learn.) -- Karl M. Hegbloom Fri, 23 Jan 1998 03:30:54 -0800 tmpreaper (1.4.1-4) unstable; urgency=low * Removed `-m386 -malign-double' from CFLAGS in Makefile, fixes #16607 * Added `build-stamp' to the `dh_clean' line in `debian/rules clean' Fixes #16608. -- Karl M. Hegbloom Fri, 9 Jan 1998 12:03:07 -0800 tmpreaper (1.4.1-3) unstable; urgency=low * Changed architecture from i386 to any. I should work fine on the non-intel ports. * Address to @debian.org rather than @bittersweet. -- Karl M. Hegbloom Mon, 22 Dec 1997 20:10:25 -0800 tmpreaper (1.4.1-2) unstable; urgency=low * Added `Replaces: tmpwatch' to fix bug #15732 -- Karl M. Hegbloom Tue, 9 Dec 1997 03:09:49 -0800 tmpreaper (1.4.1-1) unstable; urgency=low * Renaming from `tmpwatch' to `tmpreaper' to split away from RedHat, who released a `tmpwatch-1.4' that had zero of the patches I sent them. -- Karl M. Hegbloom Sun, 7 Dec 1997 13:42:03 -0800 tmpwatch (1.4-2) unstable; urgency=low * Put under CVS, and begin to use `cvs-buildpackage', I hope. * Removed `--test' switch in "/etc/cron.daily/tmpwatch" * Updated the description in the control file -- I am letting the installer know about the cron script and what it will do, and am soliciting feedback regarding the cron script. * Moved to section admin, priority optional. Should this be program be base/standard? * RedHat 5.0 is shipping `tmpwatch-1.4'; they've accepted my changes. :-) -- Karl M. Hegbloom Thu, 4 Dec 1997 13:28:27 -0800 tmpwatch (1.4-1) unstable; urgency=low * Default the timespec back to hours, and make it so a suffix can be tacked onto it: `d', `h', `m', or `s' for days, hours, minutes, or seconds. With no suffix, the time is in hours, to remain compatible with `tmpwatch-1.2'. * Update the cron.daily script to use the new syntax, and add `--verbose' for more copious output. * Updated the manual to reflect the change. -- Karl M. Hegbloom Sun, 16 Nov 1997 23:53:44 -0800 tmpwatch (1.3-2) unstable; urgency=low * I goofed and tried to use `' around things in the echo statements of the cron.daily script. It's fixed now, no other changes. -- Karl M. Hegbloom Sat, 15 Nov 1997 17:06:52 -0800 tmpwatch (1.3-1) unstable; urgency=high * Converted from RPMS source format to Debian/GNU/SPI source format using `alien'. * Added "#include " to fix compiler warning. * Wrote a simple "cron.daily" script. * Changed `grace' arg spec from "in hours" to "in seconds". * Added `--help' option and defaulted arg switch to `usage()' * Added "pretending to..." messages when `--test' is defined. * Improved the `message()' function. * Fixed `--test' so it actually functions instead of removing files. * Added `--protect' option to protect files matching a glob pattern from deletion. Meant for preventing the deletion of the X lock file and its Linux domain sockets. * Added `--symlinks' option to have it rm symlinks too. * Made `safe_chdir()' message when it refuses to cross a symlink, instead of defaulting and printing a cryptic message about an "intrusion attempt". * Improved Makefile and debian/rules * Modified manual page to reflect changes, and did some editting. * Much re-working and code reformatting... the diff is larger than the original source. * Please check my work and don't be afraid to report bugs. I'm new at this. -- Karl M. Hegbloom Sat, 15 Nov 1997 16:16:57 -0800 tmpreaper-1.6.13+nmu1build1/debian/README.security0000664000000000000000000004676510661257164016450 0ustar Security implications of tmpreaper ---------------------------------- Below is a message that was forwarded to me, concerning vulnerabilities in tmpwatch, of which tmpreaper is a fork and may thus share vulnerabilities with. IMO there are a couple of things wrong about the points in the text, which I could not resolve in discussion with Joey Hess (my direct questions were avoided by responding that I clearly didn't understand the issues -- which is (a) faulty argumentation leading me to believe that they themselves were incapable of explaining, and (b) wrong). For example, the text speaks of "creation time"; I responded that there is no such thing in POSIX, only the inode change time (which is also changed if you link the file, or rename it, or change the permissions, or even when you delete it). I never got an answer on that. Here's one thing that was said by Joey: Suppose a victim program is setuid, and you want to attack it to get root. So you run it, let it open a temp file, and SIGSTOP it. Now let it sit, suspended, for x days. Tmpreaper then removes the temp file, since mtime, atime, and ctime are all x days. Now replace the tmp file with something crafted to buffer overflow or otherwise exploit the program, and SIGCONT it so it runs, accesses the tmp file it thinks it just made, and is exploited. There is no known fix to this hole. You can play with fuser and limit it to a certain smaller class of victim programs, but not entirely close it. It's also pretty easy to exploit on any machine with a large uptime and lots of processes to hide in. This calls for the setuid program to close the file, and then open it again without checking the owner, inode number, etc. This also means that fuser won't help a bit (the file must be closed, remember? So why mention it). That in my book is a problem of the setuid program, not of tmpreaper, as this is nothing that won't happen either if the admin does "rm -rf /tmp/*" now and again, despite following claim that that is a preferable alternative to tmpreaper: At least admins running rm -rf is something that happens unpredictably ... Another thing that was said: tmp{reaper,watch} use lstat() to look at file creation time. Then they use unlink() to delete it. Two system calls, therefore there is a time period between them in which an attacker may do the very unlikely trick described in the paper of removing its decoy file and letting mkstemp put in a file by the same name, which is then deleted. At this point the attacker can replace the temp file with their own creation, and mess with the program that expects its own temp file there. There's that mythical "file creation time" thing again... Besides that, he's right in saying that it's very unlikely to manage to squeeze inbetween those two system calls. Bookies will give you _very_ large odds on that... 1. you need to be able to predict days in advance what pseudo-random name mkstemp will generate at that precise moment in time. From the message below: ... While mkstemp() names are guaranteed to be unique, they shouldn't be expected to be unpredictable - in most implementations, the name is a function of process ID and time - so it is possible for the attacker to guess it and create a decoy in advance. ... Guessing what process ID a victim process will have a number of days in advance on a multiuser system is a pretty neat trick. 2. you then need to be able to remove that file at exactly the moment tmpreaper after tmpreaper has used lstat(), but before it does the unlink(). 3. mkstemp (in the daemon/whatever that you're trying to attack) will have to create the file with the correct name, still before tmpreaper's unlink() call. 4. now tmpreaper has to execute the unlink() call, before the daemon/whatever has gone on and used the tmpfile for its intended purpose. 5. you now have to create the file again, with the correct name and contents. 6. the daemon/whatever has to close and reopen the file without checking its owner, permission, inode number, etc. and then use the data therein. This would be an incredible feat to accomplish, needing unbelievable amounts of luck in timing (skill is not an issue; timing is), requiring also an app running with sufficient privileges to do harm that uses its tempfiles insecurely in the first place. In such a scenario, is the problem with tmpreaper? I don't think so. The scenario described is so inprobable that if you're worried about that, you should buy a lottery ticket every week: the chance that *someone* wins the lottery is 100% (well, with a lot of lotteries :-); the chance that this will ever happen is less. There's also a discussion below about the problems when two tmpwatch processes are running simultaneously (hence would also apply to tmpreaper as well). Tmpreaper avoids this by not allowing itself to run for more than one minute. There's also a random delay before processing (when invoked with --delay as is done in the default cron.daily script) to make it harder to determine when tmpreaper runs exactly. See also the tmpreaper manpage for other precautions taken. Of course, if you still are worried, you are of course free to purge tmpreaper from your system, and do a regular "rm -rf /tmp/*" if you think that's safer... Below is the message that started this discussion, and judge for yourself. Paul Slootman 2003-05-21, updated 2003-06-02 From: Michal Zalewski Date: Fri, 20 Dec 2002 09:30:30 -0800 (PST) To: bugtraq@securityfocus.com, , Subject: [RAZOR] Problems with mkstemp() Common use of 'tmpwatch' utility and its counterparts triggers race conditions in many applications Michal Zalewski , 12/05/2002 Copyright (C) 2002 by Bindview Corporation 1) Scope and exposure info -------------------------- A common practice of installing 'tmpwatch' utility or similar software configured to sweep the /tmp directory on Linux and unix systems can compromise secure temporary file creation mechanisms in certain applications, creating a potential privilege escalation scenario. This document briefly discusses the exposure, providing some examples, and suggesting possible workarounds. It is believed that many unix operating systems using 'tmpwatch' or an equivalent are affected. Numerous Linux systems, such as Red Hat, that ship with cron daemon running and 'tmpwatch' configured to sweep /tmp are susceptible to the attack. 2) Application details ---------------------- 'Tmpwatch' is a handy utility that removes files which haven't been accessed for a period of time. It was developed by Erik Troan and Preston Brown of Red Hat Software, and, with time, has become a component of many Linux distributions, also ported to platforms such as Solaris, *BSD or HP/UX. By default, it is installed with a crontab entry that sweeps /tmp directory on a daily basis, deleting files that have not been accessed for the past few days. An alternative program, called 'stmpclean' and authored by Stanislav Shalunov, is shipped with *BSD systems and some Linux distributions to perform the same task, and some administrators deploy other tools or scripts for this purpose. 3) Vulnerability details ------------------------ Numerous applications rely either on mkstemp() or custom O_EXCL file creation mechanisms to store temporary data in the /tmp directory in a secure manner. Of those, certain programs run with elevated privileges, or simply at a different privilege level than the caller. The exposure is a result of a common misconception, promoted by almost all secure programming tutorials and manpages, that /tmp files created with mkstemp(), granted that umask() settings were proper, are safe against hijacking and common races. The file, since it is created in a sticky-bit directory, indeed cannot be removed or replaced by the attacker running with different non-root privileges, but since many operating systems feature 'tmpwatch'-alike solutions, the only thing that can and should be considered safe in /tmp is the descriptor returned by mkstemp() - the filename should not be relied upon. There are two major reasons for this: 1) unlink() races It is very difficult to remove a file without risking a potential race (see section 4). 'Tmpwatch' does not take any extra measures to prevent races, and probes file creation time using lstat(). Based on this data, it calls unlink() as root. Problem is, on a multitasking system,it is possible for the attacker to get some CPU time between those two system calls, remove the old "decoy" file that has been probed with lstat(), and let the application of his choice create its own temporary file under this name. While mkstemp() names are guaranteed to be unique, they shouldn't be expected to be unpredictable - in most implementations, the name is a function of process ID and time - so it is possible for the attacker to guess it and create a decoy in advance. Once the tmpwatch process is resumed, the file is immediately removed, based on the result of earlier lstat() on the old, no longer existing file. While this three-component race requires very precise timing, it is possible to try a number of times in a single 'tmpwatch' run if enough decoy files are created by the attacker. Additionally, since each step of the attack would result in a corresponding filesystem change, it is fairly easy to carefully measure timings and coordinate the attack. If the attacker cannot make the application run at the same time as 'tmpwatch' - for example, if the application is executed by hand by the administrator, or is running from cron - 'tmpwatch' itself can be artificially delayed for almost an arbitrary amount of time by creating and continuously expending an elaborate directory structure in /tmp using hard links (to preserve access times of files) and running other processes that demand disk access and cache space to slow down the process. 'Stmpclean' offers additional protection against races by not removing root-owned files and temporarily dropping privileges when removing the file to match the owner of lstat()ed resource. Unfortunately, not removing root files is a considerable drawback, and there is still a potential for a race using carefully crafted hard links to a file owned by the victim and two concurrent 'stmpclean' processes: - the attacker links /tmp/foo to ~victim/.bash_profile - tmpwatch #1 does lstat() on /tmp/foo and setuid victim - tmpwatch #2 does lstat() on /tmp/foo and setuid victim - tmpwatch #1 does unlink("/tmp/foo") - victim application creates /tmp/foo at uid==victim - tmpwatch #2 does unlink("/tmp/foo") and succeeds - the attacker creates /tmp/foo - victim application proceeds On certain systems such as Owl Linux, the attack will be not possible due to hardlink limits imposed on sticky-bit directories. 2) suspended processes and 'legitimate' file removal Here, all conventional measures that could be exercised by /tmp cleaners fail miserably. A vulnerable application can be often delayed or suspended after mkstemp() / open() - for example, a setuid program can be stopped with SIGSTOP and resumed with SIGCONT. If the application is suspended for long enough, its temporary files are likely to be removed. This method requires much less precision, but is also more time-consuming and has a more limited scope (interactive applications only). Note that it is sometimes possible to delay the execution of a daemon - client wait, considerable I/O or CPU loads, and subsequent mkstemp() calls can be all used to achieve the effect. The feasibility and efficiency is low, but the potential issue exists. Some client applications that are often left unattended and create temporary files - such as mail/news clients, web browsers, irc clients, etc - can also be used to compromise other accounts on the machine. Not all applications are prone to the problem just because mkstemp() is used to create files in /tmp; if the file name is not used to perform any sensitive operations with some extra privileges afterward (read, write, chown, chmod, link/rename, etc), and only the descriptor is being used, the application is safe. This practice is often exercised by programmers who want to avoid leaving dangling temporary files in case the program is aborted or crashes. Similarly, if the application uses temporary files improperly, but does not rely on their contents and does not attempt to access them with higher privileges, the application is secure in that regard. Applications that run with higher privileges and reopen their /tmp temporary files for reading or writing, call chown(), chmod() on them, rename or link the file to replace some sensitive information, and so on, are exposed. It is worth mentioning that a popular 'mktemp' utility coming from OpenBSD passes only the filename to the caller shell script, thus rendering almost all scripts using it fundamentally flawed. If the script is being run as a cron job or other administrative task, and mktemp is used, the system can be likely compromised by replacing the file after mktemp and prior to any write to the file. In the example quoted in the documentation for mktemp(1): TMPFILE=`mktemp /tmp/$0.XXXXXX` || exit 1 echo "program output" >> $TMPFILE ...the attacker would want to replace temporary file right before 'echo', causing the text "program output" to be appended to a target file of his choice using symlinks or hardlinks; or, if it is more desirable, he'd spoof file contents to cause the program to misbehave. Another example of the problem is a popular logrotate utility, coded - ironically - by Erik Troan, one of co-authors of 'tmpwatch' itself. The program suffered /tmp races in the past, but later switched to mkstemp(). The following sequence is used to handle post-rotation shell commands specified in config files: open("/tmp/logrotate.wvpNmP", O_WRONLY|O_CREAT|O_EXCL, 0700) = 6 ... write(6, "#!/bin/sh\n\n", 11) = 11 write(6, "\n\t/bin/kill -HUP `cat /var/lock/"..., 79) = 79 close(6) = 0 ... fork, etc ... execve("/bin/sh", ["sh", "-c", "/bin/sh /tmp/logrotate.wvpNmP" ... Obviously, if the attacker can have /tmp/logrotate.* replaced in between mkstemp() (represented as open() syscall above) and the point where another process is spawned, a shell interpreter is invoked, then executes another copy of the shell interpreter (apparent programmer's mistake) and finally reads the input file - which is a considerable chunk of time - the shell will be called with attacker-supplied commands to be executed with root privileges. On Red Hat, logrotate is executed from crontab on a daily basis, in a sequence before 'tmpwatch', and the easiest option for the attacker is to maintain a still-running tmpwatch process from the previous day to exploit the condition. On systems where those programs are not executed sequentially - for example, when both programs are listed directly in /etc/crontab - the attack requires less precision. 4) Workarounds and fixes: ------------------------- Recommended immediate workaround is to discontinue the use of 'tmpwatch' or equivalent to sweep /tmp directory if this service is not necessary. For applications that rely on TMPDIR or a similar environment variable, setting it to a separate, not publicly writable directory is often a viable solution. Note that not all applications honor this setting. In terms of a permanent solution, two different attack vectors have to be addressed, as discussed in section 3: 1) unlink() race The proper way to remove files in sticky-bit directories while minimizing the risk is as follows: a) lstat() the file to be removed b) if owned by root, do not remove c) if st_nlink > 1, do not remove d) if owned by user, temporarily change privileges to this user e) attempt unlink() f) if failed, warn about a possible race condition g) switch privileges back to root With the exception of step c, this is implemented in 'stmpclean'. Unfortunately, step c is crucial on systems that do not have restricted /tmp kernel patches from Openwall (http://www.openwall.com), otherwise, there is a potential for fooling the algorithm by supplying a hard link to a file owned by the victim, as discussed in section 3. This approach has several drawbacks - such as the fact root-owned files will not be removed. Other solution is to modify applications that generate filenames on their own, and to modify mkstemp(), to generate names that are not only unique, but not feasible to predict. Another suggestion is to implement a funlink() capability in the kernel of the operating system in question, to allow race-free file removal, thus removing the non-root ownership requirement for the method described above, and simplifying the approach. A skeleton patch to implement funlink() semantics and make sure the file being removed is the file opened and fstat()ed previously is available at: http://lcamtuf.coredump.cx/soft/linux-2.4-funlink.diff (this and other patches are not endorsed by RAZOR in any way). 2) suspended process and 'legitimate' file removal This issue is fairly difficult to address. The most basic idea is to use a special naming scheme for temporary files to avoid deletion - unfortunately, this seems to defeat the purpose of using tmpwatch-alike solutions in the first place. An alternative approach, which is to enforce separate temporary directories for certain applications, either process-, session- or uid- based, is generally fairly controversial, and raises some concerns. Advisory separation is generally acceptable, but there are a number of applications that do not accept TMPDIR setting, and a widespread practice of using /tmp in in-house applications. Mandatory separation (kernel modification) raises compatibility concerns and is generally approached with skepticism - no implementation has become particularly popular. Ideally, implementators should carefully audit their sources. It is recommended for privileged applications to use private temporary directories for sensitive files, if possible; if using /tmp is necessary, extra caution has to be exercised to avoid referencing the file by name. Note that comparing the descriptor and a reopened file to verify inode numbers, creation times or file ownership is not sufficient - please refer to "Symlinks and Cryogenic Sleep" by Olaf Kirch, available at http://www.opennet.ru/base/audit/17.txt.html . It's worth noticing that 'tmpwatch' offers a -s option, which causes the program to run the 'fuser' command to prevent removal of files that are currently open. At first sight, this could be an effective way to solve the problem. Unfortunately, this is not true, since many applications close the file for a period of time before reopening (including logrotate and mktemp(1)). 5) Credits and thanks --------------------- Thanks to Solar Designer for interesting discussions on the subject, to Matt Power for useful feedback, and to RAZOR team in general for making this publication possible. tmpreaper-1.6.13+nmu1build1/debian/tmpreaper.postinst0000664000000000000000000000036611254444031017477 0ustar #!/bin/sh -e # dummy postinst for lintian warning: # W: tmpreaper: postinst-does-not-load-confmodule # as tmpreaper debconf stuff is only for notes. if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi #DEBHELPER# tmpreaper-1.6.13+nmu1build1/debian/po/0000775000000000000000000000000011426433303014305 5ustar tmpreaper-1.6.13+nmu1build1/debian/po/da.po0000664000000000000000000001444011422351770015237 0ustar # Danish translation tmpreaper. # Copyright (C) 2010 tmpreaper & Joe Hansen. # This file is distributed under the same license as the tmpreaper package. # Joe Hansen , 2010. # msgid "" msgstr "" "Project-Id-Version: tmpreaper\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2010-05-15 17:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "tmpreaper kan nu justeres via /etc/tmpreaper.conf" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Alle lokale præferencer for den daglige tmpreaperkørsel skal nu konfigureres " "via /etc/tmpreaper.conf (forklaring er i den fil)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Tidligere, mÃ¥tte du ændre /etc/cron.daily/tmpreaper hvilket kunne være " "særdeles besværligt da den opdateres dagligt, og du mÃ¥tte gendanne dine " "ændringer hver gang (eller miste de nye ændringer). Nu kan du justere " "filalderen, der er ekstra --protect mønstre, og vælge hvilke mapper der skal " "læses fra i /etc/tmpreaper.conf." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "For at dette skal virke, skal du dog installere den nye fil /etc/cron.daily/" "tmpreaper nu." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "Standardværdi for TMPREAPER_TIME nu angivet via /etc/default/rcS" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Før kunne du angive den maksimale alder for filer før de blev fjernet i /etc/" "tmpreaper.conf; der er dog et andet sted hvor noget lignende kan angives, " "nemlig værdien TMPTIME i /etc/default/rcS som bruges under opstart til at " "rense ud i /tmp." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "For at undgÃ¥ at indtaste denne værdi to steder, henter det nye skript /etc/" "tmpreaper.conf nu værdien TMPTIME fra /etc/default/rcS, og bruger den (vel " "at mærke hvis den er større end nul)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Du har tilsyneladende ændret standardværdien i /etc/tmpreaper.conf; du vil " "mÃ¥ske tjekke /etc/default/rcS for at se hvorvidt værdien der er acceptabel, " "hvis du ønsker at opgraderingsprocessen skal erstatte din /etc/tmpreaper." "conf med den nye version." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Læs venligst først README.security" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Før kørsel af tmpreaper for første gang, læs venligst filen /usr/share/doc/" "tmpreaper/README.security.gz, for eksempel med zless. Deri er indeholdt en " "diskussion hvor mulige mÃ¥der der gør brugen af tmpreaper usikker er omtalt." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Hvis du derefter stadig ønsker at tmpreaper skal køre, sÃ¥ rediger venligst /" "etc/tmpreaper.conf og fjern linjen:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo »Læs venligst først /usr/share/doc/tmpreaper/README.security.gz.\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Læs venligst filen /usr/share/doc/tmpreaper/README.seurity.gz før kørsel af " "tmpreaper efter denne opgradering. For eksempel med zless. Deri er indeholdt " "en diskussion, der omtaler, at brugen af tmpreaper kan være usikker." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Hvis filen /etc/tmpreaper.conf under opgraderingen bliver erstattet, og du " "stadig ønsker at tmpreaper skal køre, sÃ¥ rediger venligst /etc/tmpreaper." "conf og fjern linjen:" tmpreaper-1.6.13+nmu1build1/debian/po/ru.po0000664000000000000000000001722411423750433015304 0ustar # translation of ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Yuri Kozlov , 2008. msgid "" msgstr "" "Project-Id-Version: tmpreaper new\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2008-05-21 20:54+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "tmpreaper теперь можно управлÑть через /etc/tmpreaper.conf" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Любые локальные наÑтройки Ð´Ð»Ñ ÐµÐ¶ÐµÐ´Ð½ÐµÐ²Ð½Ð¾Ð³Ð¾ запуÑка tmpreaper теперь нужно " "проводить в /etc/tmpreaper.conf (объÑÑнение даны в Ñтом файле)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Раньше, вы изменÑли /etc/cron.daily/tmpreaper, что могло быть непроÑто, так " "как он регулÑрно обновлÑлÑÑ, и вам приходилоÑÑŒ вноÑить Ñвои Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ ÐºÐ°Ð¶Ð´Ñ‹Ð¹ " "раз заново (или выкидывать поÑвившиеÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ). Теперь вы можете " "подÑтраивать Ñрок Ñ…Ñ€Ð°Ð½ÐµÐ½Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð°, дополнительные шаблоны --protect и " "очищаемые каталоги в /etc/tmpreaper.conf." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "Ð”Ð»Ñ Ñтого ÑÐµÐ¹Ñ‡Ð°Ñ Ð²Ð°Ð¼ нужно уÑтановить новый файл /etc/cron.daily/tmpreaper." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" "Значение по умолчанию Ð´Ð»Ñ TMPREAPER_TIME теперь уÑтанавливаетÑÑ Ð² /etc/" "default/rcS" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Раньше, вы могли задать макÑимальный Ñрок Ñ…Ñ€Ð°Ð½ÐµÐ½Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð² в /etc/tmpreaper." "conf; однако, еÑть другое меÑто, где уÑтанавливаетÑÑ Ð½ÐµÑ‡Ñ‚Ð¾ подобное, а " "именно значение переменной TMPTIME в /etc/default/rcS, которое иÑпользуетÑÑ " "при загрузке операционной ÑиÑтемы Ð´Ð»Ñ Ð¾Ñ‡Ð¸Ñтки /tmp." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Чтобы не вводить одинаковое значение в двух меÑтах, новый Ñценарий /etc/" "tmpreaper.conf теперь получает значение TMPTIME из /etc/default/rcS и " "иÑпользует его (еÑли оно больше нулÑ)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Ð’Ñ‹, неÑомненно, менÑли значение по умолчанию в /etc/tmpreaper.conf; " "проверьте, что значение в /etc/default/rcS подходит Ð´Ð»Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹, еÑли хотите " "выполнить процедуру Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ Ð´Ð»Ñ Ð·Ð°Ð¼ÐµÐ½Ñ‹ /etc/tmpreaper.conf на новую " "верÑию." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Сначала прочитайте README.security" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Перед первым запуÑком tmpreaper, прочитайте файл /usr/share/doc/tmpreaper/" "README.security.gz, например, Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ zless. Ð’ нём ÑодержитÑÑ Ð¾Ð¿Ð¸Ñание " "возможных ÑпоÑобов небезопаÑного иÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ tmpreaper." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "ЕÑли поÑле Ñтого вы вÑÑ‘ ещё хотите запуÑкать tmpreaper, отредактируйте файл /" "etc/tmpreaper.conf и удалите Ñтроку:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Перед запуÑком tmpreaper поÑле Ñтого обновлениÑ, прочитайте файл /usr/share/" "doc/tmpreaper/README.security.gz, например, Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ zless. Ð’ нём " "ÑодержитÑÑ Ð¾Ð¿Ð¸Ñание возможных ÑпоÑобов небезопаÑного иÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ tmpreaper." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "ЕÑли при обновлении был заменён файл /etc/tmpreaper.conf, и вы вÑÑ‘ ещё " "хотите запуÑкать tmpreaper, отредактируйте файл /etc/tmpreaper.conf и " "удалите Ñтроку:" tmpreaper-1.6.13+nmu1build1/debian/po/de.po0000664000000000000000000001500211423750432015235 0ustar # Translation of tmpreaper debconf templates to German # Copyright (C) Franz Pletz , 2006, 2007. # Copyright (C) Helge Kreutzmann , 2007. # This file is distributed under the same license as the tmpreaper package. # msgid "" msgstr "" "Project-Id-Version: tmpreaper 1.6.7\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2007-08-17 21:53+0200\n" "Last-Translator: Helge Kreutzmann \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "tmpreaper kann jetzt über /etc/tmpreaper.conf angepasst werden" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Alle Einstellungen für den täglichen tmpreaper-Lauf können jetzt in der " "Datei /etc/tmpreaper.conf vorgenommen werden (Erklärungen zu den Optionen " "finden Sie in dieser Datei)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Bisher musste die Datei /etc/cron.daily/tmpreaper angepasst werden, die " "allerdings regelmäßig aktualisiert wurde. Dadurch mussten Sie jeweils Ihre " "Änderungen erneut einpflegen (oder auf die neuen Änderungen verzichten). " "Jetzt können Sie das Dateialter, zusätzliche »--protect«-Begriffe und die zu " "bearbeitenden Verzeichnisse in /etc/tmpreaper.conf angeben." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "Damit dies funktioniert, müssen Sie jetzt allerdings die neue Datei /etc/" "cron.daily/tmpreaper installieren." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" "Der Standardwert von TMPREAPER_TIME wird nun über /etc/default/rcS gesetzt" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Früher konnte das Höchstalter für Dateien bevor sie gelöscht wurden in /etc/" "tmpreaper.conf angegeben werden; aber es gibt eine andere Art, dies " "anzugeben, nämlich der TMPTIME-Wert in /etc/default/rcS, welcher während des " "Startvorgangs benutzt wird, um /tmp zu säubern." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Um zu verhindern, dass dieser Wert in zwei Dateien eingestellt wird, holt " "sich das neue /etc/tmpreaper.conf-Skript den Wert von TMPTIME aus /etc/" "default/rcS und nutzt ihn, falls er größer als 0 ist." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Sie haben anscheinend den Standardwert in /etc/tmpreaper.conf geändert; Sie " "sollten überprüfen, ob der Wert in /etc/default/rcS in Ordnung ist, falls " "Sie wollen, das die Upgrade-Prozedur Ihre /etc/tmpreaper.conf durch die neue " "Version ersetzen soll." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Please first read README.security" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Bevor Sie tmpreaper zum ersten Mal laufen lassen, lesen Sie bitte die Datei /" "usr/share/doc/tmpreaper/README.security.gz z.B. mit zless. Dort finden Sie " "eine Diskussion, inwiefern die Benutzung von tmpreaper unsicher sein könnte." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Falls Sie immer noch tmpreaper laufen lassen wollen, editieren Sie bitte /" "etc/tmpreaper.conf und löschen Sie die Zeile:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Bevor Sie tmpreaper nach diesem Upgrade starten, lesen Sie bitte die Datei /" "usr/share/doc/tmpreaper/README.security.gz z.B. mit zless. Dort finden Sie " "eine Diskussion, inwiefern die Benutzung tmpreaper unsicher sein könnte." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Falls während des Upgrades die Datei /etc/tmpreaper.conf überschrieben wird " "und Sie tmpreaper noch benutzen wollen, editieren Sie bitte /etc/tmpreaper." "conf und löschen Sie die Zeile:" tmpreaper-1.6.13+nmu1build1/debian/po/templates.pot0000664000000000000000000000775611014335443017045 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" tmpreaper-1.6.13+nmu1build1/debian/po/vi.po0000664000000000000000000001641211423750433015272 0ustar # Vietnamese translation for tmpreaper. # Copyright © 2007 Free Software Foundation, Inc. # Clytie Siddall , 2005-2007. # msgid "" msgstr "" "Project-Id-Version: tmpreaper 1.6.5\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2007-08-18 14:33+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: LocFactoryEditor 1.7b1\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "Giá» này có thể Ä‘iá»u chỉnh tmpreaper bằng « /etc/tmpreaper.conf »." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Bất cứ tùy thích nào vá» tiến trình chạy tmpreaper hàng ngày nên được cấu " "hình trong tập tin « /etc/tmpreaper.conf » (xem tập tin này để tìm chi tiết)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Lần trước, bạn đã cần phải sá»­a đổi tập tin « /etc/cron.daily/tmpreaper », mà " "có thể làm phiá»n vì nó cập nhật Ä‘á»u đặn, thì bạn cần phải sá»­a đổi lại (không " "thì không có sá»± thay đổi má»›i). Lúc bây giá» bạn có thể Ä‘iá»u chỉnh thá»i gian " "hoạt động cá»§a tập tin, mẫu « --protect » (bảo vệ) thêm và những thư mục nào " "cần hưởng, cả trong tập tin cấu hình « /etc/tmpreaper.conf »." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "Tùy nhiên, để hoạt động được bạn cần phải cài đặt tập tin « /etc/cron.daily/" "tmpreaper » ngay bây giá»." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" "Giá trị mặc định cho « TMPREAPER_TIME » (thá»i gian tmpreaper) giá» này được " "đặt thông qua « /etc/default/rcS »." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Lần trước, bạn có thể đặt trong « /etc/tmpreaper.conf » thá»i gian hoạt động " "tối Ä‘a cho tập tin trước khi nó bị gỡ bá». Tùy nhiên, cÅ©ng có má»™t chá»— khác " "trong đó đặt giá trị tương tá»±, giá trị « TMPTIME » (thá»i gian tạm thá»i) " "trong « /etc/default/rcS », mà được dùng trong khi khởi động để xóa sạch thư " "mục « /tmp » (tạm thá»i)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Äể tránh trưá»ng hợp cần phải nhập giá trị này vào hai tập tin khác nhau, văn " "lệnh « /etc/tmpreaper.conf » giá» này lấy giá trị « TMPTIME » từ « /etc/" "default/rcS », và dùng nó (nếu nó hÆ¡n số không)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Hình như bạn đã thay đổi giá trị mặc định trong « /etc/tmpreaper.conf »; đỠ" "nghị bạn kiểm tra xem nếu giá trị trong « /etc/default/rcS » là thích hợp " "không, nếu bạn muốn tiến trình nâng cấp thay thế « /etc/tmpreaper.conf » tồn " "tại bằng phiên bản má»›i." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Trước tiên hãy Ä‘á»c tài liệu Äá»c Äi vá» bảo mật « README.security »." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Trước khi chạy trình tmpreaper lần đầu tiên, hãy Ä‘á»c tập tin Äá»c Äi « /usr/" "share/doc/tmpreaper/README.security.gz », v.d. dùng trình Ä‘á»c zless. Tập tin " "này chứa thông tin vá» những trưá»ng hợp sá»­ dụng tmpreaper có thể rá»§i ro bảo " "mật." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Sau đó, nếu bạn còn muốn chạy trình tmpreaper, hãy hiệu chỉnh tập tin « /etc/" "tmpreaper.conf » để gỡ bá» dòng:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Trước tiên hãy Ä‘á»c tài liệu bảo mật « /usr/share/doc/tmpreaper/" "README.security.gz ».\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Trước khi chạy trình tmpreaper sau tiến trình nâng cấp này, hãy Ä‘á»c tập tin " "Äá»c Ä‘i vá» bảo mật « /usr/share/doc/tmpreaper/README.security.gz », v.d. dùng " "trình Ä‘á»c zless. Tập tin này chứa thông tin vá» những trưá»ng hợp sá»­ dụng " "tmpreaper có thể rá»§i ro bảo mật." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Nếu tiến trình nâng cấp thay thế tập tin « /etc/tmpreaper.conf », và bạn còn " "muốn chạy trình tmpreaper, hãy hiệu chỉnh tập tin « /etc/tmpreaper.conf » để " "gỡ bá» dòng:" tmpreaper-1.6.13+nmu1build1/debian/po/sv.po0000664000000000000000000001464611423750433015313 0ustar # translation of tmpreaper.po to swedish # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Martin Bagge , 2008. msgid "" msgstr "" "Project-Id-Version: tmpreaper\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2008-12-15 02:06+0100\n" "Last-Translator: Martin Bagge \n" "Language-Team: swedish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "tmpreaper kan justeras genom /etc/tmpreaper.conf" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Alla lokala inställningar för dagliga tmpreaper ska numera ställas in genom /" "etc/tmpreaper.conf (förklaringar för inställningarna finns i filen)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Tidigare var du tvungen att redigera /etc/cron.daily/tmpreaper vilket var en " "irriterande process dÃ¥ filen uppdaterades med jämna mellanrum och " "inställningarna dÃ¥ behövde läggas tillbaka (eller sÃ¥ glömdes det bort med " "alla problem det innebär). Nu kan filÃ¥lder och --protect-mönster och vilka " "kataloger som ska övervakas i /etc/tmpreaper.conf." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "För att det här ska fungera mÃ¥ste du dock installera den nya filen för /etc/" "cron.daily/tmpreaper nu." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "standardvärdet för TMPREAPER_TIME sätts numera via /etc/default/rcS" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Tidigare kunde man ställa in Ã¥ldern för som filer var tvunga att uppnÃ¥ innan " "de raderades automatiskt genom /etc/tmpreaper.conf, hur som helst finns det " "en annan liknande inställning nämligen TMPTIME i /etc/default/rcS som " "används vid systemets uppstart för att radera filer i /tmp." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "För att undvika att ha detta värde pÃ¥ tvÃ¥ ställe läser numera värdet pÃ¥ " "TMPTIME frÃ¥n /etc/default/rcS in av skriptet /etc/tmpreaper.conf och används " "(om värdet är större än noll)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Du har tydligen ändrat standardvärdet i /etc/tmpreaper.con, du bör " "kontrollera värdet i /etc/default/rcS och överväga om det är en korrekt " "inställning som ska användas av uppgraderingsprocessen när /etc/tmpreaper." "conf ersätts." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Vänligen läs README.security först" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Innan du kör tmpreaper första gÃ¥ngen bör du läsa filen /usr/share/doc/" "tmpreaper/README.security.gz med exempelvis zless. I filen finns exempelvis " "avsnitt om osäkra användningsomrÃ¥den för tmpreaper och hur man undviker " "dessa." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Slutligen när du bestämt dig för att köra tmpreaper sÃ¥ redigerar du filen /" "etc/tmpreaper och tar bort raden:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Innan du kör tmpreapder efter denna uppgradering vänligen läs filen /usr/" "share/doc/tmpreaper/README.security.gz med exempelvis zless. I filen finns " "exempelvis avsnitt om osäkra användningsomrÃ¥den för tmpreaper och hur man " "undviker dessa." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Om filen /etc/tmpreaper.conf ersätts under uppgraderingen och du vill " "fortsätta att köra tmpreaper mÃ¥ste filen redigeras och följande rad raderas:" tmpreaper-1.6.13+nmu1build1/debian/po/pt.po0000664000000000000000000001464211423750433015302 0ustar # Portuguese translation for tmpreaper debconf messages. # Copyright (C) 2007 Pedro Ribeiro # This file is distributed under the same license as the tmpreaper package. # Pedro Ribeiro , 2007 # msgid "" msgstr "" "Project-Id-Version: tmpreaper-1.6.7\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2007-08-17 16:28+0100\n" "Last-Translator: Pedro Ribeiro \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "tmpreaper pode ser agora ajustado através de /etc/tmpreaper.conf" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Quaisquer preferências locais para a execução diária do tmpreaper devem ser " "configuradas através de /etc/tmpreaper.conf (explicações no ficheiro)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Anteriormente, tinha que modificar /etc/cron.daily/tmpreaper, o que podia " "ser difícil porque esse ficheiro é actualizado regularmente e você teria de " "re-implementar as suas modificações (ou não tirar partido das novas " "alterações). Agora pode ajustar a idade do ficheiro, padrões --protect " "extra, e que directórios limpar em /etc/tmpreaper.conf." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "No entanto, para que isto funcione, tem que instalar agora o novo ficheiro /" "etc/cron.daily/tmpreaper." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" "o valor por omissão para TMPREAPER_TIME é definido via /etc/default/rcS" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Antes podia definir a idade máxima para ficheiros antes da sua remoção em /" "etc/tmpreaper.conf; no entanto, existe outra localização onde é definido um " "valor semelhante: o valor de TMPTIME em /etc/default/rcS que é usado durante " "o processo de arranque para limpar /tmp." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Para evitar definir o mesmo valor em dois sítios diferentes, o novo /etc/" "tmpreaper.conf obtém o valor de TMPTIME de /etc/default/rcS, e usa-o (se for " "maior que zero, claro)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Aparentemente alterou o valor pré-definido em /etc/tmpreaper.conf; pode " "querer verificar /etc/default/rcS para ver se o valor aí definido é " "aceitável, se actualizar o ficheiro /etc/tmpreaper.conf com a nova versão." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Por favor leia primeiro README.security" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Antes de executar tmpreaper pela primeira vez, leia por favor o ficheiro /" "usr/share/doctmpreaper/REAMDE.security.gz, e.g. com zless. Aí encontra uma " "discussão sobre possíveis modos de execução do tmpreaper que podem ser " "inseguros." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Se depois ainda quiser executar o tmpreaper, por favor remova a seguinte " "linha do /etc/tmpreaper.conf:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Por favor leia primeiro /usr/share/doc/tmpreaper/README.security.gz." "\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Antes de executar tmpreaper após esta actualização, leia por favor o " "ficheiro /usr/share/doctmpreaper/REAMDE.security.gz e.g. com zless. Aí " "encontra uma discussão sobre possíveis modos de execução do tmpreaper que " "podem ser inseguros." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Se o ficheiro /etc/tmpreaper.conf for substituído durante a actualização, e " "ainda quiser executar o tmpreaper, por favor remova a seguinte linha de /etc/" "tmpreaper.conf:" tmpreaper-1.6.13+nmu1build1/debian/po/ja.po0000664000000000000000000001622111423750432015243 0ustar # Copyright (C) 2009 Paul Slootman # This file is distributed under the same license as tmpreaper package. # Hideki Yamane (Debian-JP) , 2009. # msgid "" msgstr "" "Project-Id-Version: tmpreaper 1.6.11\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2009-03-28 22:26+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "tmpreaper 㯠/etc/tmpreaper.conf ã§èª¿æ•´ã§ãるよã†ã«ãªã‚Šã¾ã—ãŸã€‚" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "tmpreaper ã®æ—¥æ¬¡ã§ã®å®Ÿè¡Œã«ã¤ã„ã¦ã®ãƒ­ãƒ¼ã‚«ãƒ«ã®è¨­å®šã¯ /etc/tmpreaper.conf ã§è¨­å®š" "ã§ãるよã†ã«ãªã‚Šã¾ã—㟠(設定ã¯ãã®ãƒ•ァイル内ã«è¨˜è¼‰ã•れã¦ã„ã¾ã™)。" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "以å‰ã¯ /etc/cron.daily/tmpreaper を変更ã™ã‚‹å¿…è¦ãŒã‚りã¾ã—ãŸãŒã€ã“れã¯é¢å€’ãªã“" "ã¨ã§ã—ãŸã€‚ãªãœãªã‚‰ã°ã“れã¯é »ç¹ã«æ›´æ–°ã•れã€ãã®åº¦ã«è‡ªåˆ†ã®è¨­å®šã«å…¥ã‚Œæ›¿ãˆãªã„ã¨" "ã„ã‘ãªã‹ã£ãŸã‹ã‚‰ã§ã™ (ã§ãªã‘ã‚Œã°æ–°ã—ã„変更点を見éŽã”ã™ã“ã¨ã«ãªã‚‹ã§ã—ょã†)。ã“" "れã‹ã‚‰ã¯ /etc/tmpreaper.conf ã« --protect patterns を追加ã™ã‚‹ã“ã¨ã§ãƒ•ァイルã®" "期間をã€ãã—ã¦ã©ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’消去ã™ã‚‹ã‹ã‚’調整ã§ãるよã†ã«ãªã£ãŸã®ã§ã™ã€‚" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "ã—ã‹ã—ãªãŒã‚‰ã€ã“れを動作ã•ã›ã‚‹ã«ã¯ã€æ–°ãŸã« /etc/cron.daily/tmpreaper ファイル" "をインストールã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" "TMPREAPER_TIME ã®ãƒ‡ãƒ•ォルト値㯠/etc/default/rcS ã§è¨­å®šã•れるよã†ã«ãªã‚Šã¾ã—" "ãŸã€‚" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "以å‰ã¯å‰Šé™¤å¯¾è±¡ãƒ•ã‚¡ã‚¤ãƒ«ã®æœ€é•·æ—¥æ•°ã‚’ /etc/tmpreaper.conf ã§è¨­å®šã™ã‚‹ã“ã¨ãŒã§ãã¾" "ã—ãŸã€‚ã—ã‹ã—ãªãŒã‚‰ã€ä»–ã®å ´æ‰€ã§ã‚‚ä¼¼ãŸã‚ˆã†ãªã‚‚ã®ãŒè¨­å®šã•れã¦ã„ã¾ã™ã€‚ã™ãªã‚ã¡ã€/" "etc/default/rcS 中㮠TMPTIME ã¨ã„ã†å€¤ã®ã“ã¨ã§ã€èµ·å‹•時㫠/tmp を掃除ã™ã‚‹ã®ã«ä½¿" "ã‚れã¦ã„ã¾ã™ã€‚" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "ã“ã®å€¤ã‚’二箇所ã«å…¥åŠ›ã™ã‚‹ã®ã‚’é¿ã‘ã‚‹ãŸã‚ã€æ–°ãŸãª /etc/tmpreaper.conf スクリプト" "ã§ã¯ã“れã‹ã‚‰ /etc/default/rcS ã‹ã‚‰ TMPTIME ã®å€¤ã‚’å–å¾—ã—㦠(ãれ㌠0 より大ã" "ã‘れã°) 使ã„ã¾ã™ã€‚" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "ã‚ãªãŸã¯æ˜Žç¤ºçš„ã« /etc/tmpreaper.conf ã«ã‚るデフォルト値を変更ã—ã¦ã„ã¾ã™ã€‚/" "etc/tmpreaper.conf ã‚’æ–°ã—ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«ç½®ãæ›ãˆã‚‹ã“ã¨ã«ãªã‚‹ã‚¢ãƒƒãƒ—グレード作業" "ã‚’ç¶šã‘ãŸã„å ´åˆã€/etc/default/rcS を確èªã—ã¦ãã®å€¤ãŒå¦¥å½“ãªã‚‚ã®ã‹ã‚’確èªã—ãŸæ–¹ãŒ" "良ã„ã§ã—ょã†ã€‚" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "ã¾ãš README.security を最åˆã«èª­ã‚“ã§ãã ã•ã„。" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "åˆã‚㦠tmpreaper を動作ã•ã›ã‚‹å‰ã«ã€/usr/share/doc/tmpreaper/README.security." "gz ファイルをã€zless ãªã©ã‚’使ã£ã¦èª­ã‚“ã§ãã ã•ã„。ãã“ã«ã¯ã€tmpreaper ã®åˆ©ç”¨ãŒ" "å±é™ºã‚’æ‹›ãå¯èƒ½æ€§ã®ã‚る方法ã«ã¤ã„ã¦ã®ãƒ‡ã‚£ã‚¹ã‚«ãƒƒã‚·ãƒ§ãƒ³ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "ãã®å¾Œã§ã‚ã£ã¦ã‚‚ tmpreaper を実行ã—ãŸã„å ´åˆã€/etc/tmpreaper.conf を編集ã—ã¦ä»¥" "下ã®è¡Œã‚’削除ã—ã¦ãã ã•ã„:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "今回ã®ã‚¢ãƒƒãƒ—グレード後㫠tmpreaper を実行ã™ã‚‹å‰ã«ã€zless ãªã©ã‚’使ã£ã¦ /usr/" "share/doc/tmpreaper/README.security.gz ファイルを読んã§ãã ã•ã„。ãã“ã«ã¯ã€" "tmpreaper ã®åˆ©ç”¨ãŒå±é™ºã‚’æ‹›ãå¯èƒ½æ€§ã®ã‚る方法ã«ã¤ã„ã¦ã®ãƒ‡ã‚£ã‚¹ã‚«ãƒƒã‚·ãƒ§ãƒ³ãŒå«ã¾" "れã¦ã„ã¾ã™ã€‚" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "アップグレード中㫠/etc/tmpreaper.conf ファイルãŒç½®ãæ›ãˆã‚‰ã‚Œã¦ã‚‚ tmpreaper " "ã®å®Ÿè¡Œã‚’ç¶šã‘ãŸã„å ´åˆã«ã¯ã€ /etc/tmpreaper.conf を編集ã—ã¦ä»¥ä¸‹ã®è¡Œã‚’削除ã—ã¦ã" "ã ã•ã„:" tmpreaper-1.6.13+nmu1build1/debian/po/nl.po0000664000000000000000000001572211423750432015267 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2003-07-09 16:43+0200\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "tmpreaper kan nu via /etc/tmpreaper.conf aangepast worden" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Eigen voorkeuren voor tmpreaper kunnen nu via /etc/tmpreaper.conf " "geconfigureerd worden (in die file zelf wordt uitleg gegeven)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Voorheen moest de /etc/cron.daily/tmpreaper script rechtstreeks aangepast " "worden, en dat was lastig wanneer die in een nieuwe versie ook veranderd " "was. Je moest dan steeds opnieuw je eigen aanpassingen maken, of de " "wijzigingen van de nieuwe versie missen. Nu kan de file leeftijd, extra --" "protect patterns en welke directories geschoond moeten worden, aangegeven " "worden in /etc/tmpreaper.conf." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "Voordat dit kan gaan werken, moet nu wel de nieuwe versie van /etc/cron." "daily/tmpreaper geinstalleerd worden." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "/etc/default/rcS bepaalt nu de default waarde voor TMPREAPER_TIME" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Vroeger werd de maximale leeftijd van bestanden (voordat ze verwijderd " "werden) bepaald in /etc/tmpreaper.conf; echter, er is nog een plek waar een " "soortgelijke instelling gemaakt wordt, namelijk de TMPTIME instelling in /" "etc/default/rcS die gebruikt wordt tijdens het booten om /tmp op te ruimen." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Om te voorkomen dat deze instelling op twee plaatsen gemaakt moet worden, " "zal de nieuwe /etc/tmpreaper.conf script de TMPTIME instelling uit /etc/" "default/rcS halen en die gebruiken (indien die groter is dan nul)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "U heeft blijkbaar de default waarde in /etc/tmpreaper.conf veranderd; het is " "wellicht raadzaam om /etc/default/rcS te controleren of die waarde daar " "acceptabel is, indien u de upgrade procedure toestaat uw /etc/tmpreaper.conf " "te vervangen door de nieuwe versie." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "AUB eerst README.security lezen" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Voordat tmpreaper for het eerst gedraaid wordt, AUB eerst het document /usr/" "share/doc/tmpreaper/README.security.gz lezen, b.v. met zless. Daarin staat " "een verhaal over de mogelijke manieren waarop het gebruik van tmpreaper tot " "onveilige situaties kan leiden (ook al zijn de kansen daarop " "hoogstwaarschijnlijk te verwaarlozen)." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Indien u na het lezen daarvan nog steeds tmpreaper wilt gebruiken, dan moet " "u uit /etc/tmpreaper.conf de volgende regel verwijderen:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\"; " "exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Voordat tmpreaper for het eerst na deze upgrade gedraaid wordt, AUB eerst " "het document /usr/share/doc/tmpreaper/README.security.gz ezen, b.v. met " "zless. Daarin staat een verhaal over de mogelijke manieren waarop het " "gebruik van tmpreaper tot onveilige situaties kan leiden (ook al zijn de " "kansen daarop hoogstwaarschijnlijk te verwaarlozen)." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Indien tijdens de upgrade het /etc/tmpreaper.conf is vervangen, en u nog " "steeds tmpreaper wilt gebruiken, dan moet u uit /etc/tmpreaper.conf de " "volgende regel verwijderen:" tmpreaper-1.6.13+nmu1build1/debian/po/es.po0000664000000000000000000001715611423750432015270 0ustar # tmpreaper po-debconf translation to Spanish # Copyright (C) 2007 Software in the Public Interest, SPI Inc. # This file is distributed under the same license as the tmpreaper package. # # Changes: # - Initial translation # Javier Fernández-Sanguino , 2007 # # # Traductores, si no conoce el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # # Si tiene dudas o consultas sobre esta traducción consulte con el último # traductor (campo Last-Translator) y ponga en copia a la lista de # traducción de Debian al español () # msgid "" msgstr "" "Project-Id-Version: tmpreaper 1.6.7\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2007-08-20 08:38+0200\n" "Last-Translator: Javier Fernández-Sanguino \n" "Language-Team: Debian Spanish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" "X-POFile-SpellExtra: TMPTIME rcS cron conf tmp tmpreaper usr README zless\n" "X-POFile-SpellExtra: TMPREAPERTIME protect default doc daily security\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "Puede ajustar tmpreaper a través de «/etc/tmpreaper.conf»" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Puede configurar la preferencia local para la ejecución diaria de tmpreaper " "en el fichero «/etc/tmpreaper.conf» (encontrará una explicación de cómo " "hacerlo en ese fichero)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "En versiones anteriores tenía que modificar «/etc/cron.daily/tmpreaper», lo " "que era un problema porque se actualizaba con frecuencia y tenía que " "reimplementar sus cambios tras cada modificación (o perderse los nuevos " "cambios). Ahora puede ajustar el tiempo, patrones extra para «--protect» y " "los directorios a vaciar en «/etc/tmpreaper.conf»." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "Sin embargo, para que esto funcione, debe instalar ahora el nuevo archivo «/" "etc/cron.daily/tmpreaper»." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" "el valor por omisión de TMPREAPER_TIME se fija ahora en «/etc/default/rcS»" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Podía fijar antes la edad máxima de los ficheros que se iban a eliminar en «/" "etc/tmpreaper.conf». Hay una ubicación donde se define un valor similar, en " "concreto el valor TMPTIME fijado en «/etc/default/rcS» y que se utiliza para " "limpiar el «/tmp»." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Para impedir que tenga que introducir dos veces este valor el nuevo guión «/" "etc/tmpreaper.conf» obtiene el valor TMPTIME de «/etc/default/rcS» y lo " "utiliza (siempre que sea mayor que cero, claro está)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Parece que ha cambiado el valor por omisión en «/etc/tmpreaper.conf». " "Debería comprobar «/etc/default/rcS» para determinar si el valor que se " "define ahí es aceptable, si desea que el procedimiento de actualización " "reemplaze «/etc/tmpreaper.conf» con la nueva versión." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Por favor, consulte primero «README.security»" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Antes de ejecutar por primera vez tmpreaper debe consultar el fichero «/usr/" "share/doc/tmpreaper/README.security.gz» con, por ejemplo, zless. En este " "fichero se discuten las posibles formas en las que el uso de tmpreaper puede " "causar problemas de seguridad." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Si después de leer esto quiere activar tmpreaper, edite «/etc/tmpreaper." "conf» y elimine la siguiente línea:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Antes de ejecutar tmpreaper después de esta actualización, lea, por favor, " "el fichero «/usr/share/doc/tmpreaper/README.security.gz» con, por ejemplo, " "zless. En este fichero se discuten las posibles formas en las que el uso de " "tmpreaper puede causar problemas de seguridad." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Si después de que la actualización reemplace el fichero «/etc/tmpreaper." "conf» y aún quiere activar tmpreaper, edite «/etc/tmpreaper.conf» y elimine " "la siguiente línea:" tmpreaper-1.6.13+nmu1build1/debian/po/POTFILES.in0000664000000000000000000000005607704510425016070 0ustar [type: gettext/rfc822deb] tmpreaper.templates tmpreaper-1.6.13+nmu1build1/debian/po/fr.po0000664000000000000000000001606311423750432015264 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans# # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: tmpreaper_1.6.2\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2007-08-21 09:27GMT\n" "Last-Translator: Michel Grentzinger \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "Tmpreaper peut maintenant être configuré via /etc/tmpreaper.conf" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Toutes les préférences locales pour l'exécution quotidienne de tmpreaper " "doivent maintenant être configurées via /etc/tmpreaper.conf (ce fichier " "contient des explications)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Auparavant, vous deviez modifier /etc/cron.daily/tmpreaper ce qui était " "pénible car ce fichier est régulièrement mis à jour, vous obligeant à " "renouveler vos modifications (ou à ne pas prendre en compte les nouvelles " "évolutions). Maintenant, vous pouvez définir l'âge des fichiers, les modèles " "(« patterns ») supplémentaires pour « --protect », ainsi que les répertoires " "à analyser grâce au fichier /etc/tmpreaper.conf." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "Pour réaliser cette tâche, vous devez installer dès à présent le nouveau " "fichier /etc/cron.daily/tmpreaper." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" "La valeur par défaut pour TMPREAPER_TIME est maintenant définie dans /etc/" "default/rcS" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Auparavant, vous pouviez définir dans /etc/tmpreaper.conf, l'âge minimum que " "devaient avoir les fichiers avant d'être supprimés. Cependant, un réglage " "similaire est défini par ailleurs grâce à la variable TMPTIME dans /etc/" "default/rcS, qui est utilisée pour nettoyer /tmp lors du démarrage du " "système." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Pour éviter de définir cette valeur à deux reprises, le nouveau script /etc/" "tmpreaper.conf lit et utilise dorénavant la variable TMPTIME située dans /" "etc/default/rcS (si elle est supérieure à zéro)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Vous avez apparemment changé la valeur par défaut dans /etc/tmpreaper.conf ; " "vous voudrez sans doute vérifier que la valeur située dans /etc/default/rcS " "est satisfaisante afin que la mise à jour remplace votre /etc/tmpreaper.conf " "par la nouvelle version." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Veuillez d'abord lire README.security" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Avant de lancer tmpreaper pour la première fois, veuillez consulter le " "fichier /usr/share/doc/tmpreaper/README.security.gz, avec zless par exemple. " "Il contient une discussion sur les différents cas possibles dans lesquels " "l'usage de tmpreaper peut présenter des risques." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Après cela, si vous souhaitez toujours lancer tmpreaper, veuillez modifier /" "etc/tmpreaper.conf et y supprimer la ligne :" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Avant de lancer tmpreaper après cette mise à jour, veuillez lire le fichier /" "usr/share/doc/tmpreaper/README.security.gz, avec zless par exemple. Il " "contient une discussion sur les différents cas possibles dans lesquels " "l'usage de tmpreaper peut présenter des risques." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Si, pendant la mise à jour, le fichier /etc/tmpreaper.conf est remplacé et " "que vous souhaitez toujours lancer tmpreaper, veuillez modifier /etc/" "tmpreaper.conf et y supprimer la ligne :" tmpreaper-1.6.13+nmu1build1/debian/po/gl.po0000664000000000000000000001452611423750432015261 0ustar # Galician translation of tmpreaper's debconf templates # This file is distributed under the same license as the tmpreaper package. # Jacobo Tarrio , 2008. # msgid "" msgstr "" "Project-Id-Version: tmpreaper\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2008-05-19 23:09+0100\n" "Last-Translator: Jacobo Tarrio \n" "Language-Team: Galician \n" "Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "Agora pódese axustar tmpreaper mediante /etc/tmpreaper.conf" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "As preferencias locais para a execución diaria de tmpreaper débense " "configurar mediante /etc/tmpreaper.conf (as explicacións están nese " "ficheiro)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Antes tiña que modificar /etc/cron.daily/tmpreaper, o que podía ser " "problemático porque se actualizaba con regularidade, e tería que " "reimplementar as súas modificacións de cada vez (ou non recibir os novos " "cambios). Agora pode axustar a idade dos ficheiros, engadir patróns --" "protect, e novos directorios a colleitar en /etc/tmpreaper.conf." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "Para que isto funcione, nembargantes, ten que instalar agora o novo " "ficheiro /etc/cron.daily/tmpreaper." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" "Agora establécese o valor por defecto de TMPREAPER_TIME en /etc/default/rcS" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Antes tiña que establecer a idade máxima dos ficheiros antes de que se " "eliminaran en /etc/tmpreaper.conf; nembargantes, hai outro sitio no que se " "establece algo semellante: o valor de TMPTIME en /etc/default/rcS, que se " "emprega durante o inicio para limpar /tmp." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Para evitar ter que introducir este valor en dous sitios, o novo script /etc/" "tmpreaper.conf obtén o valor de TMPTIME de /etc/default/rcS, e emprega ese " "valor (se é superior a cero, claro)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Semella que cambiou o valor por defecto en /etc/tmpreaper.conf; pode querer " "comprobar /etc/default/rcS para ver se o valor de alí é aceptable, se quere " "que o procedemento de actualización substitúa o ficheiro /etc/tmpreaper.conf " "pola nova versión." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Lea primeiro o ficheiro README.security" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Antes de executar tmpreaper por primeira vez, lea o ficheiro /usr/share/doc/" "tmpreaper/README.security.gz; por exemplo, con zless. Nel hai unha discusión " "sobre distintas maneiras en que o emprego de tmpreaper pode ser inseguro." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Se despois de lelo aínda quere executar tmpreaper, edite o ficheiro /etc/" "tmpreaper.conf e elimine a liña:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Lea primeiro /usr/share/doc/tmpreaper/README.security.gz .\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Antes de executar tmpreaper despois desta actualización, lea o ficheiro /usr/" "share/doc/tmpreaper/README.security.gz; por exemplo, con zless. Nel hai unha " "discusión sobre distintas maneiras en que o emprego de tmpreaper pode ser " "inseguro." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Se se substitúe o ficheiro /etc/tmpreaper.conf durante a actualización e " "aínda quere executar tmpreaper, edite o ficheiro /etc/tmpreaper.conf e " "elimine a liña:" tmpreaper-1.6.13+nmu1build1/debian/po/eu.po0000664000000000000000000001473111423750432015266 0ustar # translation of tmpreaper-eu.po to Euskara # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Piarres Beobide , 2008. msgid "" msgstr "" "Project-Id-Version: tmpreaper-eu\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2008-05-20 10:43+0200\n" "Last-Translator: Piarres Beobide \n" "Language-Team: Euskara \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "tmpreaper orain /etc/tmpreaper.conf bidez doitu daiteke" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Eguneroko tmpreaper exekuzioari buruzko edozein erreferentzi lokal orain /" "etc/tmpreaper.conf bidez konfiguratu behar da (azalpena fitxategi honetan)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Aurreko bertsioetan /etc/cron.daily/tmpreaper aldatu egin behar zen, hau " "arazo bat zen aldiro bertsio-berritzen bait zen eta zuk zure " "pertsonalizazioak bertsio-berritze bakoitzean berregin behar bait zenituen " "(edo aldaketa berriak galdu). Orain fitxategi data, --protect patroi " "gehigarriak, eta garbitu behar diren direktorioak /etc/tmpreaper.conf-en " "konfiguratu ditzakezu." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "Honetarako /etc/cron.daily/tmpreaper fitxategi berria orain instalatu behar " "duzu." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" "TMPREAPER_TIME -ren lehenetsiriko balioa orain /etc/default/rcS bidez " "ezartzen da" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Honen aurretik ezabatu behar diren fitxategien gehienezko adina /etc/" "tmpreaper.conf-en ezarri ahal izango duzu; hala ere horren antzeko zerbait " "ezartzen den beste leku bat badago, zehazki sistema abiaraztean /tmp " "garbitzeko erabiltzen den /etc/default/rcS -ko TMPTIME balioa." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Balio hau bi lekutan ezarri behar ez izateko, /etc/tmpreaper.conf script-ak " "orain TMPTIME balioa /etc/default/rcS-tik eskuratzen eta erabiltzen du (0 " "baina handoiagoa bada noski)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Dirudienez /etc/tmpreaper.conf fitxategiko lehenetsiriko balioa aldatu " "duzu; /etc/default/rcS egiaztatu beharko zenuke hor ezartzen den balioa " "onargarria dela ziurtatzeko, bertsio-berritze prozesuak zure /etc/tmpreaper." "conf bertsio berriagatik ordeztea nahi baduzu." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Mesedez lehenengo README.security irakurri" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Tmpreaper lehen aldian exekutatu aurretik, mesedez irakurri /usr/share/doc/" "tmpreaper/README.security.gz adibidez zless erabiliaz. Fitxategi honetan " "tmpreaper segurtasun arazo bat izanteko aukerak eztabaidatzen dira." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Honen ondoren tmpreaper exekutatu nahi baduzu, mesedez editatu /etc/" "tmpreaper.conf fitxategia eta lerro hau ezabatu:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Mesedez irakurri /usr/share/doc/tmpreaper/README.security.gz " "lehenengo.\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Bertsio-berritze honen ondoren tmpreaper exekutatu aurretik mesedez " "irakurri /usr/share/doc/tmpreaper/README.security.gz adibidez zless " "erabiliaz. Fitxategi honetan tmpreaper segurtasun arazo bat izanteko aukerak " "eztabaidatzen dira." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Bertsio-berritzean /etc/tmpreaper.conf fitxategia ordezten bada eta honen " "ondoren tmpreaper exekutatu nahi baduzu, mesedez editatu /etc/tmpreaper.conf " "fitxategia eta lerro hau ezabatu:q" tmpreaper-1.6.13+nmu1build1/debian/po/cs.po0000664000000000000000000001517411423750432015264 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: tmpreaper\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2007-08-23 22:02+0200\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "Tmpreaper nyní můžete nastavit pomocí /etc/tmpreaper.conf" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "VÅ¡echna nastavení pro každodenní bÄ›h tmpreaperu by se nyní mÄ›la provádÄ›t v " "souboru /etc/tmpreaper.conf (vysvÄ›tlení je uvnitÅ™ souboru)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "Dříve jste museli upravovat /etc/cron.daily/tmpreaper, což mohlo působit " "problémy, protože tento soubor byl pravidelnÄ› pÅ™episován a museli jste si " "vybrat, zda budete zadávat své úpravy znova a znova, nebo zda oželíte nové " "zmÄ›ny. V souboru /etc/tmpreaper.conf nyní můžete nastavit stáří mazaných " "souborů, speciální vzory pro volbu --protect a seznam promazávaných adresářů." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "Aby to fungovalo, musí se nyní nainstalovat nový soubor /etc/cron.daily/" "tmpreaper." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "Výchozí hodnota TMPREAPER_TIME se nyní nastavuje v /etc/default/rcS" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "Dříve se maximální stáří souborů pÅ™ed odstranÄ›ním nastavovalo v /etc/" "tmpreaper.conf. NicménÄ› v souboru /etc/default/rcS existuje podobná promÄ›nná " "TMPTIME, která se používá pÅ™i zavádÄ›ní systému k mazání adresáře /tmp." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Abyste nemuseli zadávat tuto hodnotu na dvou místech, nový /etc/tmpreaper." "conf nyní používá hodnotu TMPTIME z /etc/default/rcS (pokud je ovÅ¡em vÄ›tší " "než nula)." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "EvidentnÄ› jste v souboru /etc/tmpreaper.conf zmÄ›nili výchozí hodnotu. MÄ›li " "byste zkontrolovat /etc/default/rcS, zda vám tam nastavená hodnota vyhovuje. " "(Pokud ovÅ¡em povolíte, aby se nahradil stávající /etc/tmpreaper.conf novou " "verzí.)" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Nejprve si pÅ™eÄtÄ›te README.security" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "PÅ™ed prvním spuÅ¡tÄ›ním tmpreaperu si pÅ™eÄtÄ›te soubor /usr/share/doc/tmpreaper/" "README.security.gz (napÅ™. programem zless). V souboru jsou popsány možné " "situace, kdy není použití tmpreaperu bezpeÄné." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Pokud chcete tmpreaper používat i po pÅ™eÄtení zmínÄ›ného souboru, upravte " "soubor /etc/tmpreaper.conf a odstraňte následující řádek:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "PÅ™ed spuÅ¡tÄ›ním tmpreaperu po této aktualizaci si prosím pÅ™eÄtÄ›te /usr/share/" "doc/tmpreaper/README.security.gz, kde se probírají různé způsoby použití, " "jež nejsou bezpeÄné." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Pokud je bÄ›hem aktualizace nahrazen soubor /etc/tmpreaper.conf a stále " "chcete tmpreaper spouÅ¡tÄ›t, upravte, prosím, soubor /etc/tmpreaper.conf a " "odstraňte řádek:" tmpreaper-1.6.13+nmu1build1/debian/po/it.po0000664000000000000000000001453311423750432015271 0ustar # Translation of tmpreaper debconf templates to Italian # This file is distributed under the same license as the tmpreaper package. # Luca Monducci , 2008. # msgid "" msgstr "" "Project-Id-Version: tmpreaper 1.6.11\n" "Report-Msgid-Bugs-To: tmpreaper@packages.debian.org\n" "POT-Creation-Date: 2008-05-19 19:38+0200\n" "PO-Revision-Date: 2009-09-01 22:30+0200\n" "Last-Translator: Luca Monducci \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "tmpreaper can now be adjusted through /etc/tmpreaper.conf" msgstr "Adesso è possibile configurare tmpreaper tramite /etc/tmpreaper.conf" #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Any local preferences for the daily tmpreaper run should now be configured " "through /etc/tmpreaper.conf (explanation is in that file)." msgstr "" "Tutte le impostazioni locali per l'esecuzione quotidiana di tmpreader " "dovrebbero essere fatte attraverso /etc/tmpreaper.conf (la spiegazione è nel " "file)." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "Previously, you had to modify /etc/cron.daily/tmpreaper which could be a " "pain because that got updated regularly, and you'd have to reimplement your " "modifications each time (or miss out on the new changes). Now you can adjust " "the file age, extra --protect patterns, and which directories to reap in /" "etc/tmpreaper.conf." msgstr "" "In precedenza era necessario modificare /etc/cron.daily/tmpreaper, questo " "poteva essere un'operazione noiosa perché veniva aggiornato regolarmente e " "quindi ogni volta era necessario rifare le proprie modifiche (o non " "sfruttare le nuove modifiche). Adesso è possibile impostare in /etc/" "tmpreaper.conf l'età dei file, dei pattern aggiuntivi per --protect e quali " "directory ripulire." #. Type: note #. Description #: ../tmpreaper.templates:1001 msgid "" "For this to work, however, you have to install the new /etc/cron.daily/" "tmpreaper file now." msgstr "" "Per far funzionare tutto ciò, è necessario installare un nuovo /etc/cron." "daily/tmpreaper." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "default value for TMPREAPER_TIME now set via /etc/default/rcS" msgstr "" "il valore predefinito di TMPREAPER_TIME viene impostato in /etc/default/rcS" #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "Before, you could set the maximum age for files before they were removed in /" "etc/tmpreaper.conf; however, there is another place where something similar " "is set, namely the TMPTIME value in /etc/default/rcS which is used during " "booting to clean out /tmp." msgstr "" "In precedenza era possibile impostare in /etc/tmpreaper.conf l'età massima " "dei file prima che venissero cancellati; adesso è possibile fare questa " "impostazione in un altro posto, in particolare con il valore di TMPTIME in /" "etc/default/rcS usato durante l'avvio per pulire /tmp." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "To avoid having to enter this value in two places, the new /etc/tmpreaper." "conf script now obtains the TMPTIME value from /etc/default/rcS, and uses " "that (if it is greater than zero, that is)." msgstr "" "Per evitare di inserire questo valore in due posti, il nuovo script di " "configurazione /etc/tmpreaper.conf recupera il valore di TMPTIME da /etc/" "default/rcS e, se diverso da zero, lo utilizza." #. Type: note #. Description #: ../tmpreaper.templates:2001 msgid "" "You apparently have changed the default value in /etc/tmpreaper.conf; you " "may want to check /etc/default/rcS to see if the value there is acceptable, " "if you want the upgrade procedure to replace your /etc/tmpreaper.conf with " "the new version." msgstr "" "Apparentemente il valore predefinito in /etc/tmpreaper.conf è stato " "cambiato; verificare se il valore in /etc/default/rcS è accettabile, qualora " "si voglia che la procedura d'aggiornamento sostituisca il proprio /etc/" "tmpreaper.conf con la nuova versione." #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "Please first read README.security" msgstr "Prima consultare README.security" #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "Before running tmpreaper for the first time, please read the file /usr/share/" "doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Prima di eseguire tmpreader per la prima volta, leggere il file /usr/share/" "doc/tmpreaper/README.security.gz con zless. Contiene un'analisi su come " "l'uso di tmpreaper possa essere insicuro." #. Type: note #. Description #: ../tmpreaper.templates:3001 msgid "" "If after that you still want tmpreaper to run, please edit /etc/tmpreaper." "conf and remove the line:" msgstr "" "Dopo aver letto il documento, per usare tmpreaper è necessario modificare /" "etc/tmpreaper.conf e rimuovere la riga:" #. Type: note #. Description #. Type: note #. Description #: ../tmpreaper.templates:3001 ../tmpreaper.templates:4001 msgid "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" msgstr "" " echo \"Please read /usr/share/doc/tmpreaper/README.security.gz first.\";\n" " exit 0" #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "Before running tmpreaper after this upgrade, please read the file /usr/share/" "doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a " "discussion of possible ways that usage of tmpreaper may be insecure." msgstr "" "Dopo questo aggiornamento, prima di usare tmpreader, consultare il file /usr/" "share/doc/tmpreaper/README.security.gz usando zless. Contiene un'analisi su " "come l'uso di tmpreaper possa essere insicuro." #. Type: note #. Description #: ../tmpreaper.templates:4001 msgid "" "If during the upgrade the /etc/tmpreaper.conf file is replaced, and you " "still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the " "line:" msgstr "" "Se durante l'aggiornamento il file /etc/tmpreaper.conf viene sostituito, per " "usare tmpreaper è necessario modificare /etc/tmpreaper.conf e rimuovere le " "righe:" tmpreaper-1.6.13+nmu1build1/debian/control0000664000000000000000000000251513260673746015314 0ustar Source: tmpreaper Section: admin Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Paul Slootman Standards-Version: 3.8.3.0 Build-Depends: debhelper (>= 5), e2fslibs-dev, po-debconf Package: tmpreaper Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, debconf (>= 0.5.0) | debconf-2.0 Conflicts: tmpwatch Replaces: tmpwatch Description: cleans up files in directories based on their age This package provides a program that can be used to clean out temporary-file directories. It recursively searches the directory, refusing to chdir() across symlinks, and removes files that haven't been accessed in a user-specified amount of time. You can specify a set of files to protect from deletion with a shell pattern. It will not remove files owned by the process EUID that have the `w' bit clear, unless you ask it to, much like `rm -f'. `tmpreaper' will not remove symlinks, sockets, fifos, or special files unless given a command line option enabling it to. . WARNING: Please do not run `tmpreaper' on `/'. There are no protections against this written into the program, as that would prevent it from functioning the way you'd expect it to in a `chroot(8)' environment. . The daily tmpreaper run can be configured through /etc/tmpreaper.conf . tmpreaper-1.6.13+nmu1build1/debian/substvars0000664000000000000000000000011610370407514015646 0ustar misc:Depends=debconf (>= 0.5) | debconf-2.0 shlibs:Depends=libc6 (>= 2.3.5-1) tmpreaper-1.6.13+nmu1build1/debian/cron.daily0000775000000000000000000000757611014332170015667 0ustar #!/bin/sh PATH=/usr/sbin:/usr/bin:/sbin:/bin # in case of `dpkg -r' leaving conffile. if ! [ -x /usr/sbin/tmpreaper ]; then exit 0 fi # Remove `/tmp/...' files not accessed in X time (configured in # /etc/tmpreaper.conf, default 7 days), protecting the .X, .ICE, .iroha and # .ki2 files; but removing symlinks. For directories not the access time, but # the modification time is used (--mtime-dir), as reading a directory to check # the contents will update the access time! # # In the default, /tmp/. is used, not the plain /tmp you might expect, as this # accomodates the situation where /tmp is a symlink to some other place. # # Note that the sockets are safe even without the `--protect', unless `--all' # is given, and the `.X*-lock' files would be safe also, as long as they have # no write permissions, so this particular protect is mainly illustrative, and # redundant. For best results, don't try to get fancy with the moustache # expansions. KISS. Always --test your protect patterns. # # Immutable files (such as ext3fs' .journal) are not (cannot be) removed; # when such a file is encountered when trying to remove it, no error is given # unless you use the --verbose option in which case a message is given. # # In case you're wondering: .iroha is for cannaserver and .ki2 is for kinput2 # (japanese software, lock files). # journal.dat is for (older) ext3 filesystems # quota.user, quota.group is for (duh) quotas. # Set config defaults SHOWWARNING='' # get the TMPREAPER_TIME value from /etc/default/rcS if grep '^TMPTIME=' /etc/default/rcS >/dev/null 2>&1; then eval $(grep '^TMPTIME=' /etc/default/rcS) if [ -n "$TMPTIME" ]; then # Don't clean files if TMPTIME is negative or 'infinite' # to mimic the way /lib/init/bootclean.sh works. case "$TMPTIME" in -*|infinite|infinity) # don't use this as default ;; *) if [ "$TMPTIME" -gt 0 ]; then TMPREAPER_TIME=${TMPTIME}d else TMPREAPER_TIME=7d fi ;; esac fi fi # ! Important ! The "set -f" below prevents the shell from expanding # file paths, which is vital for the configuration below to work. set -f # preserve environment setting of TMPREAPER_DELAY to allow manual override when # running the cron.daily script by hand: if [ -n "$TMPREAPER_DELAY" ]; then # check for digits only case "$TMPREAPER_DELAY" in [0-9]*) TMPREAPER_DELAY_SAVED="$TMPREAPER_DELAY";; *) ;; esac fi if [ -s /etc/tmpreaper.conf ]; then . /etc/tmpreaper.conf fi # Now restore the saved value of TMPREAPER_DELAY (if any): if [ -n "$TMPREAPER_DELAY_SAVED" ]; then TMPREAPER_DELAY="$TMPREAPER_DELAY_SAVED" else # set default in case it's not given in tmpreaper.conf: TMPREAPER_DELAY=${TMPREAPER_DELAY:-256} fi if [ "$SHOWWARNING" = true ]; then echo "Please read /usr/share/doc/tmpreaper/README.security.gz first;" echo "edit /etc/tmpreaper.conf to remove this message (look for SHOWWARNING)." exit 0 fi # Verify that these variables are set, and if not, set them to default values # This will work even if the required lines are not specified in the included # file above, but the file itself does exist. TMPREAPER_TIME=${TMPREAPER_TIME:-7d} TMPREAPER_PROTECT_EXTRA=${TMPREAPER_PROTECT_EXTRA:-''} TMPREAPER_DIRS=${TMPREAPER_DIRS:-'/tmp/.'} nice -n10 tmpreaper --delay=$TMPREAPER_DELAY --mtime-dir --symlinks $TMPREAPER_TIME \ $TMPREAPER_ADDITIONALOPTIONS \ --ctime \ --protect '/tmp/.X*-{lock,unix,unix/*}' \ --protect '/tmp/.ICE-{unix,unix/*}' \ --protect '/tmp/.iroha_{unix,unix/*}' \ --protect '/tmp/.ki2-{unix,unix/*}' \ --protect '/tmp/lost+found' \ --protect '/tmp/journal.dat' \ --protect '/tmp/quota.{user,group}' \ `for i in $TMPREAPER_PROTECT_EXTRA; do echo --protect "$i"; done` \ $TMPREAPER_DIRS tmpreaper-1.6.13+nmu1build1/debian/compat0000664000000000000000000000000211254442274015073 0ustar 5 tmpreaper-1.6.13+nmu1build1/debian/tmpreaper.conf0000664000000000000000000000317010536254543016546 0ustar # tmpreaper.conf # - local configuration for tmpreaper's daily run # # This is only used if /etc/cron.daily/tmpreaper was also updated, # i.e. there's a line ". /etc/tmpreaper.conf" in that file. # The shell code that used to be here (pre version 1.6.7) is now # in the cron.daily script. # Remove the next line if you understand the possible security implications of # having tmpreaper run automatically; # see /usr/share/doc/tmpreaper/README.security.gz SHOWWARNING=true # TMPREAPER_TIME # is the max. age of files before they're removed. # default: # the TMPTIME value in /etc/default/rcS if it's there, else # TMPREAPER_TIME=7d (for 7 days) # I recommend setting the value in /etc/default/rcS, as # that is used to clean out /tmp whenever the system is booted. # # TMPREAPER_PROTECT_EXTRA # are extra patterns that you may want to protect. # Example: # TMPREAPER_PROTECT_EXTRA='/tmp/isdnctrl* /tmp/important*' # # TMPREAPER_DIRS # are the directories to clean up. # *never* supply / here! That will wipe most of your system! # Example: # TMPREAPER_DIRS='/tmp/. /var/tmp/.' # # TMPREAPER_DELAY # defines the maximum (randomized) delay before starting processing. # See the manpage entry for --delay. Default is 256. # Example: # TMPREAPER_DELAY='256' # # TMPREAPER_ADDITIONALOPTIONS # extra options that are passed to tmpreaper, e.g. --all # uncomment and change the next line to overrule the /etc/default/rcS value # TMPREAPER_TIME=7d TMPREAPER_PROTECT_EXTRA='' TMPREAPER_DIRS='/tmp/.' TMPREAPER_DELAY='256' TMPREAPER_ADDITIONALOPTIONS='' tmpreaper-1.6.13+nmu1build1/debian/copyright0000664000000000000000000000425711016525512015631 0ustar COPYRIGHT --------- This package was originally an `alien', debianized by the alien program by converting the GPLed RPMS Package `tmpwatch-1.2' on Thu, 13 Nov 1997 02:16:28 -0800. Authors: Erik Troan, Karl M. Hegbloom, Paul Slootman Copyright 1997 Erik Troan Copyright 1997, 1998 Karl M. Hegbloom Copyright 1998-2008 Paul Slootman tmpreaper is released under the terms of the GNU General Public License version 2, found in the file: /usr/share/common-licenses/GPL-2 on Debian systems, or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html Please read the changelog. The original `tmpwatch-1.2' was downloaded from ftp.redhat.com by karlheg@inetarena.com. (You can find the current repository at https://fedorahosted.org/tmpwatch/) Thank You, Erik Troan. This program was sorely needed. We always appreciate the things you provide for the Linux community. I could not have even begun to write a program like this one from scratch. Without the initial program to build on, it would not have been possible. I've learned a lot from this experience. karlheg: Sun, Dec 7, 1997: I am renaming this program from `tmpwatch' to `tmpreaper' to split away from RedHat, who released a `tmpwatch-1.4' with RedHat v5.0 that had zero of the patches I sent for `1.2-1.4'. They made one small patch: --- tmpwatch-1.2.c Mon Nov 17 21:16:37 1997 +++ tmpwatch-1.4/tmpwatch.c Thu Nov 6 13:58:34 1997 @@ -157,7 +157,7 @@ message(LOG_VERBOSE, "removing directory %s\n", ent->d_name); if (!(flags & FLAGS_TEST)) { - if (!(flags & FLAGS_ALLFILES)) { + if (flags & FLAGS_ALLFILES) { if (rmdir(ent->d_name)) { message(LOG_ERROR, "failed to rmdir %s: %s\n", dirname, ent->d_name); This does not reflect any of the changes I made and submitted to them, including the bug that prompted me to begin working on `tmpwatch' to begin with. The `--test' option was broken. The getopt loop fills a variable with some flags to be passed to cleanDirectory, but when that function is called for the first time, he passes a 0 as the flags argument. In main(), it goes: - cleanupDirectory(argv[optind], killTime, 0); + cleanupDirectory (argv[optind], killTime, flags); tmpreaper-1.6.13+nmu1build1/debian/tmpreaper.conf.50000664000000000000000000000242011254430736016704 0ustar .TH TMPREAPER.CONF 5 "Thu Sep 17 2009" .UC 4 .SH NAME tmpreaper.conf \- defines parameters for daily run of tmpreaper .SH DESCRIPTION \fBtmpreaper\fR is run daily via the /etc/cron.daily/tmpreaper script. Its behaviour can be tuned via the /etc/tmpreaper.conf file. This file can contain settings entries to override the defaults in the cron.daily script itself. These settings are: .TP \fBTMPREAPER_TIME\fR the max. age of files before they're removed. Default: .br TMPREAPER_TIME=7d .TP \fBTMPREAPER_PROTECT_EXTRA\fR extra patterns that you may want to protect. Example: .br TMPREAPER_PROTECT_EXTRA='/tmp/isdnctrl* /tmp/important*' .br Don't forget to enclose the patterns in quotes, like above. .TP \fBTMPREAPER_DIRS\fR the directories to clean up. .br \fBNEVER\fR supply / here! That will wipe most of your system! .br Example: .br TMPREAPER_DIRS='/tmp/. /var/tmp/.' .br Again, don't forget to enclose the patterns in quotes, like above. .TP \fBTMPREAPER_DELAY\fR defines the maximum (randomized) delay before starting processing. This is passed as the --delay parameter. .TP \fBTMPREAPER_ADDITIONALOPTIONS\fR defines any additional parameters you want to pass to the tmpreaper program, e.g. --all .SH SEE ALSO .IR tmpreaper (8) .SH AUTHOR .nf Paul Slootman .fi tmpreaper-1.6.13+nmu1build1/debian/dirs0000664000000000000000000000013207441151575014561 0ustar etc etc/cron.daily usr/sbin usr/share/doc/tmpreaper usr/share/man/man5 usr/share/man/man8 tmpreaper-1.6.13+nmu1build1/debian/tmpreaper.templates0000664000000000000000000000503110536250340017604 0ustar Template: tmpreaper/confignowexists Type: note _Description: tmpreaper can now be adjusted through /etc/tmpreaper.conf Any local preferences for the daily tmpreaper run should now be configured through /etc/tmpreaper.conf (explanation is in that file). . Previously, you had to modify /etc/cron.daily/tmpreaper which could be a pain because that got updated regularly, and you'd have to reimplement your modifications each time (or miss out on the new changes). Now you can adjust the file age, extra --protect patterns, and which directories to reap in /etc/tmpreaper.conf. . For this to work, however, you have to install the new /etc/cron.daily/tmpreaper file now. Template: tmpreaper/TMPREAPER_TIME Type: note _Description: default value for TMPREAPER_TIME now set via /etc/default/rcS Before, you could set the maximum age for files before they were removed in /etc/tmpreaper.conf; however, there is another place where something similar is set, namely the TMPTIME value in /etc/default/rcS which is used during booting to clean out /tmp. . To avoid having to enter this value in two places, the new /etc/tmpreaper.conf script now obtains the TMPTIME value from /etc/default/rcS, and uses that (if it is greater than zero, that is). . You apparently have changed the default value in /etc/tmpreaper.conf; you may want to check /etc/default/rcS to see if the value there is acceptable, if you want the upgrade procedure to replace your /etc/tmpreaper.conf with the new version. Template: tmpreaper/readsecurity Type: note _Description: Please first read README.security Before running tmpreaper for the first time, please read the file /usr/share/doc/tmpreaper/README.security.gz, e.g. with zless. Therein is contained a discussion of possible ways that usage of tmpreaper may be insecure. . If after that you still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the line: . echo "Please read /usr/share/doc/tmpreaper/README.security.gz first."; exit 0 Template: tmpreaper/readsecurity_upgrading Type: note _Description: Please first read README.security Before running tmpreaper after this upgrade, please read the file /usr/share/doc/tmpreaper/README.security.gz e.g. with zless. Therein is contained a discussion of possible ways that usage of tmpreaper may be insecure. . If during the upgrade the /etc/tmpreaper.conf file is replaced, and you still want tmpreaper to run, please edit /etc/tmpreaper.conf and remove the line: . echo "Please read /usr/share/doc/tmpreaper/README.security.gz first."; exit 0 tmpreaper-1.6.13+nmu1build1/README0000664000000000000000000000362307306134274013340 0ustar Welcome to tmpreaper. This package provides a program that can be used to clean out temporary-file directories. It recursively searches the directory, refusing to chdir() across symlinks, and removes files that haven't been accessed in a user-specified amount of time. You can specify a set of files to protect from deletion with a shell pattern. It will not remove files owned by the process EUID that have the `w' bit clear, unless you ask it to, much like `rm -f'. `tmpreaper' will not remove symlinks, sockets, fifos, or special files unless given a command line option enabling it to. WARNING: Please do not run `tmpreaper' on `/'. There are no protections -------- against this written into the program, as that would prevent it from functioning the way you'd expect it to in a `chroot(8)' environment. Installation is pretty straightforward. On debian systems, it's best to simply install the tmpreaper package included with debian. On others: - Run "make" - As root, run "make install". - You now have tmpreaper installed as /usr/sbin/tmpreaper along with a manpage in /usr/share/man/man8/ . If these paths don't agree with you, you can change these trivially in the Makefile. - Create a crontab entry such as the following: 0 4 * * * tmpreaper --mtime-dir --symlinks 7d --protect '/tmp/.X*-{lock,unix,unix/*}' /tmp This will run every day at 04:00 AM, cleaning the /tmp directory of files not accessed withing 7 days, including symlinks. Empty directories not modified in the last 7 days will also be removed. The --protect option causes tmpreaper to skip files with matching names. You can supply more than one --protect option, and you can supply more than one directory to be cleaned. Feel free to adjust as you wish; see the manpage for options. You can use the --test option to only show what would be done. Enjoy, Paul Slootman 2001/06/02 tmpreaper-1.6.13+nmu1build1/aclocal.m40000664000000000000000000013122511254444173014317 0ustar dnl aclocal.m4 generated automatically by aclocal 1.4-p6 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. # lib-prefix.m4 serial 5 (gettext-0.15) dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't dnl require excessive bracketing. ifdef([AC_HELP_STRING], [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib-prefix], [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing dnl the basename of the libdir, either "lib" or "lib64". AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib and lib64. The current dnl practice is that on a system supporting 32-bit and 64-bit instruction dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit dnl libraries go under $prefix/lib. We determine the compiler's default dnl mode by looking at the compiler's library search path. If at least dnl of its elements ends in /lib64 or points to a directory whose absolute dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the dnl default, namely "lib". acl_libdirstem=lib searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ]) # lib-link.m4 serial 13 (gettext-0.17) dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ(2.54) dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and dnl augments the CPPFLAGS variable. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes undefine([Name]) undefine([NAME]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and dnl the ability to compile and link the specified testcode. If found, it dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" LIBS="$LIBS $LIB[]NAME" AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= LIB[]NAME[]_PREFIX= fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) undefine([Name]) undefine([NAME]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl acl_libext, dnl acl_shlibext, dnl acl_hardcode_libdir_flag_spec, dnl acl_hardcode_libdir_separator, dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ dnl Tell automake >= 1.10 to complain if config.rpath is missing. m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Autoconf >= 2.61 supports dots in --with options. define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix], [ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib --without-lib]N_A_M_E[-prefix don't search for lib$1 in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= LIB[]NAME[]_PREFIX= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" dnl The same code as in the loop below: dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$acl_hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` LIB[]NAME[]_PREFIX="$basedir" additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) dnl For those cases where a variable contains several -L and -l options dnl referring to unknown libraries and directories, this macro determines the dnl necessary additional linker options for the runtime path. dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) dnl sets LDADDVAR to linker options needed together with LIBSVALUE. dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, dnl otherwise linking without libtool is assumed. AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ AC_REQUIRE([AC_LIB_RPATH]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) $1= if test "$enable_rpath" != no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode directories into the resulting dnl binary. rpathdirs= next= for opt in $2; do if test -n "$next"; then dir="$next" dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem"; then rpathdirs="$rpathdirs $dir" fi next= else case $opt in -L) next=yes ;; -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem"; then rpathdirs="$rpathdirs $dir" fi next= ;; *) next= ;; esac fi done if test "X$rpathdirs" != "X"; then if test -n ""$3""; then dnl libtool is used for linking. Use -R options. for dir in $rpathdirs; do $1="${$1}${$1:+ }-R$dir" done else dnl The linker is used for linking directly. if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user dnl must pass all path elements in one option. alldirs= for dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="$flag" else dnl The -rpath options are cumulative. for dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="${$1}${$1:+ }$flag" done fi fi fi fi fi AC_SUBST([$1]) ]) # lib-ld.m4 serial 3 (gettext-0.13) dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Subroutines of libtool.m4, dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision dnl with libtool.m4. dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 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 ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by GCC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]* | [A-Za-z]:[\\/]*)] [re_direlt='/[^/][^/]*/\.\./'] # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(acl_cv_path_LD, [if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) LD="$acl_cv_path_LD" if test -n "$LD"; then AC_MSG_RESULT($LD) else AC_MSG_RESULT(no) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) AC_LIB_PROG_LD_GNU ]) # Do all the work for Automake. 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. # serial 1 dnl Usage: dnl AM_INIT_AUTOMAKE(package,version, [no-define]) AC_DEFUN([AM_INIT_AUTOMAKE], [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] AC_SUBST(VERSION) dnl test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi ifelse([$3],, AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) AC_REQUIRE([AM_SANITY_CHECK]) AC_REQUIRE([AC_ARG_PROGRAM]) dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_REQUIRE([AC_PROG_MAKE_SET])]) # Copyright 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.4-p6])]) # # Check to make sure that the build environment is sane. # AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftestfile # 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 conftestfile 2> /dev/null` if test "[$]*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "[$]*" != "X $srcdir/configure conftestfile" \ && test "[$]*" != "X conftestfile $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" = conftestfile ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi rm -f conftest* AC_MSG_RESULT(yes)]) dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. AC_DEFUN([AM_MISSING_PROG], [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if ($2 --version) < /dev/null > /dev/null 2>&1; then $1=$2 AC_MSG_RESULT(found) else $1="$3/missing $2" AC_MSG_RESULT(missing) fi AC_SUBST($1)]) # Like AC_CONFIG_HEADER, but automatically create stamp file. AC_DEFUN([AM_CONFIG_HEADER], [AC_PREREQ([2.12]) AC_CONFIG_HEADER([$1]) dnl When config.status generates a header, we must update the stamp-h file. dnl This file resides in the same directory as the config header dnl that is generated. We must strip everything past the first ":", dnl and everything past the last "/". AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, <>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, <>; do case " <<$>>CONFIG_HEADERS " in *" <<$>>am_file "*<<)>> echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx ;; esac am_indx=`expr "<<$>>am_indx" + 1` done<<>>dnl>>) changequote([,]))]) # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_SUBST($1_TRUE) AC_SUBST($1_FALSE) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi]) tmpreaper-1.6.13+nmu1build1/tmpreaper.c0000664000000000000000000006727511072401211014617 0ustar /* Copyright (c) 1997-1998 Karl M. Hegbloom * (note: above email address is defunct) * * Originally Based on `tmpwatch-1.2/1.4' RHS, Erik Troan * * This program may be freely redistributed under the terms of the GNU * Public License. You should be able to find a copy of the GPL in * your "/usr/doc/copyright" directory on most GNU/Linux installations. * * Now maintained by ps - Paul Slootman * 2001-12-03 1.4.15 * Patches from * mb - Marcus Brinkmann * for using get_current_dir_name() and portability on HURD. ps hacked this * so that it should (still?) compile on non-glibc systems. * 2001-12-02 1.5.0 * Added autoconf support. Also added getopt.c, getopt1.c, getopt.h so that * tmpreaper can be compiled on e.g. Solaris. It builds and runs on Solaris * and netBSD in addition to Linux now. * Ignore ext2fs immutable files. * 2002-02-05 1.6.0 * ctime option added, check ctime in addition to atime, for those cases where * files get created with an old date in atime and mtime (e.g. via Samba from * a PC). * See changelog for later changes. */ #define _LARGEFILE_SOURCE 1 /* handle >2GB files where possible */ #define _FILE_OFFSET_BITS 64 #ifdef HAVE_CONFIG_H #include "config.h" #endif #define _GNU_SOURCE /* For get_current_dir_name() */ #include #include #include #if HAVE_DIRENT_H # include # define NAMLEN(dirent) strlen((dirent)->d_name) #else # define dirent direct # define NAMLEN(dirent) (dirent)->d_namlen # if HAVE_SYS_NDIR_H # include # endif # if HAVE_SYS_DIR_H # include # endif # if HAVE_NDIR_H # include # endif #endif #ifdef HAVE_ERRNO_H # include #endif #include #include #ifdef HAVE_LIMITS_H # include #endif #include #include #if STDC_HEADERS # include #else # ifndef HAVE_MEMCPY # define memmove(d, s, n) bcopy ((s), (d), (n)) # endif #endif #ifdef HAVE_SYS_WAIT_H #include #endif #include #ifdef HAVE_UNISTD_H # include #endif #ifdef HAVE_STDLIB_H # include #endif #include #ifdef __linux__ # include # include # include #endif /* do we need to work around a glibc dependency? */ #ifndef __USE_GNU # ifdef __linux__ /* sanity check */ # error "__USE_GNU not defined on a linux system, investigate! And report to tmpreaper@packages.debian.org" # else # define NO_get_current_dir_name /* XXX TODO: a workaround for missing get_current_dir_name() */ # endif #endif #ifndef MAX_FORKS # define MAX_FORKS 200 #endif #ifdef GLOB_BRACE # define TMPREAPER_GLOB_BRACE GLOB_BRACE #else # define TMPREAPER_GLOB_BRACE 0 #endif /* * tmpreaper.c -- remove files in a directory, but do it carefully */ /* `--force': also rm files that are mode `-w EUID $$' */ #define FLAGS_FORCE (1 << 0) #define FLAGS_FORCE_P(fl) ((fl) & FLAGS_FORCE) /* `--mtime': Use `mtime' rather than `atime' */ #define FLAGS_MTIME (1 << 1) #define FLAGS_MTIME_P(fl) ((fl) & FLAGS_MTIME) /* `--mtime-dir': rm empty directories based on mtime */ #define FLAGS_MTIME_DIR (1 << 2) #define FLAGS_MTIME_DIR_P(fl) ((fl) & FLAGS_MTIME_DIR) /* `--symlinks': also rm symlinks like files and directories */ #define FLAGS_SYMLINKS (1 << 3) #define FLAGS_SYMLINKS_P(fl) ((fl) & FLAGS_SYMLINKS) /* `--all': also rm symlinks, fifos, devices, and sockets... */ #define FLAGS_ALLFILES (1 << 4) #define FLAGS_ALLFILES_P(fl) ((fl) & FLAGS_ALLFILES) /* the `--protect' option was given */ #define FLAGS_PROTECT (1 << 5) #define FLAGS_PROTECT_P(fl) ((fl) & FLAGS_PROTECT) /* the `--test' option was given */ #define FLAGS_TEST (1 << 6) #define FLAGS_TEST_P(fl) ((fl) & FLAGS_TEST) /* `--ctime': Use `ctime' in addition to `atime' */ #define FLAGS_CTIME (1 << 7) #define FLAGS_CTIME_P(fl) ((fl) & FLAGS_CTIME) /* The `--showdeleted' option was given */ #define FLAGS_SHOWDEL (1 << 8) #define FLAGS_SHOWDEL_P(fl) ((fl) & FLAGS_SHOWDEL) #define TIME_SECONDS 1 #define TIME_MINUTES 60 #define TIME_HOURS 60 * 60 #define TIME_DAYS 24 * 60 * 60 glob_t protect_glob; /* list of files to not rm */ typedef struct protect_entry { ino_t inode; char * name; } protect_entry; protect_entry * protect_table; /* Global */ #define LOG_REALDEBUG 1 #define LOG_DEBUG 2 #define LOG_VERBOSE 3 #define LOG_NORMAL 4 #define LOG_ERROR 5 #define LOG_FATAL 6 int logLevel = LOG_NORMAL; int delayMax = 0; int runtimeMax = 55; void message (const int level, const char * format, ...) /*VARARGS*/ { va_list args; FILE * where = stderr; if (level >= logLevel) { va_start (args, format); switch (level) { case LOG_DEBUG: where = stdout; /*FALLTHRU*/ case LOG_REALDEBUG: fprintf (where, "debug: "); break; case LOG_ERROR: case LOG_FATAL: fprintf (where, "error: "); break; case LOG_NORMAL: case LOG_VERBOSE: where = stdout; break; default: break; } vfprintf (where, format, args); if (level == LOG_FATAL) exit (1); } } void sig_alarmhandler(int sig) { message(LOG_FATAL, "run time exceeded!\n" "This may be indicative of an attack to use tmpreaper to remove critical files;\n" "or the directories to clean up are excessive large and/or messed up.\n" "Please investigate.\n"); exit(1); /* redundant */ } int safe_chdir (const char * dirname) { struct stat sb1, sb2; if (lstat (dirname, &sb1)) { message (LOG_ERROR, "lstat() of directory `%s' failed: %s\n", dirname, strerror (errno)); return 1; } if (! S_ISDIR (sb1.st_mode)) { if (S_ISLNK (sb1.st_mode)) { message (LOG_ERROR, "safe_chdir(): Will not chdir across symlink `%s' (inode %lu).\n", dirname, (u_long) sb1.st_ino); return 1; } message (LOG_ERROR, "Not a directory: `%s' (inode %lu).\n", dirname, (u_long) sb1.st_ino); return 1; } message (LOG_DEBUG, "safe_chdir() : Before chdir(), `dirname' is inode `%lu'.\n", (u_long) sb1.st_ino); message (LOG_DEBUG, "safe_chdir() : Before chdir(), `dirname' on device `%lu'.\n", (u_long) sb1.st_dev); if (chdir (dirname)) { message (LOG_ERROR, "chdir() to directory `%s' (inode %lu) failed: %s\n", dirname, (u_long) sb1.st_ino, strerror (errno)); return 1; } if (lstat (".", &sb2)) { message (LOG_ERROR, "lstat() of directory `%s' after chdir() failed: %s\n", dirname, strerror (errno)); return 1; } message (LOG_DEBUG, "safe_chdir() : After chdir(), `dirname' is inode `%lu'.\n", (u_long) sb2.st_ino); message (LOG_DEBUG, "safe_chdir() : After chdir(), `dirname' on device `%lu'.\n", (u_long) sb2.st_dev); if (sb1.st_ino != sb2.st_ino) { message (LOG_ERROR, "Inode mismatch!!! : `%s' (inode %lu) != `.' (inode %lu)\n", dirname, (u_long) sb1.st_ino, (u_long) sb2.st_ino); message (LOG_FATAL, "This indicates a possible subversion attempt.\n"); /*NOTREACHED*/ } else if (sb1.st_dev != sb2.st_dev) { message (LOG_ERROR, "Device mismatch!!!\n"); message (LOG_ERROR, "`%s' (inode %lu), device `%lu' != `.' (inode %lu), device `%lu'\n", dirname, (u_long) sb1.st_ino, (u_long) sb1.st_dev, (u_long) sb2.st_ino, (u_long) sb2.st_dev); message (LOG_FATAL, "This indicates a possible subversion attempt.\n"); /*NOTREACHED*/ } return 0; } int dir_empty_p (const char * dirname) { DIR * dir; struct dirent * ent; int count = 0; if (! (dir = opendir(dirname))) { message(LOG_ERROR, "Cannot opendir(%s): %s\n", dirname, strerror(errno)); return 0; } while ((ent = readdir(dir))) { if ((ent->d_name[0] == '.') && ( (ent->d_name[1] == '\0') || ((ent->d_name[1] == '.') && (ent->d_name[2] == '\0')) ) ) continue; count++; } closedir(dir); return count != 0 ? 0 : 1; /* #t when empty. */ } int cleanupDirectory (const char * dirname , const unsigned int killTime, const int flags) { DIR * dir; struct dirent * ent; struct stat sb, here; int status, pid, skip = 0; int i; static int fork_count = 0; if (FLAGS_TEST_P (flags)) { message (LOG_VERBOSE, "(PID %u) Pretending to clean up directory `%s'.\n", (u_int) getpid(), dirname); } else { message(LOG_DEBUG, "Cleaning up directory `%s'.\n", dirname); } if (fork_count > MAX_FORKS) { #ifdef NO_get_current_dir_name char path[PATH_MAX], *p; #else char *path, *p; #endif int l; /* the admin will want to know where the problem lies */ #ifdef NO_get_current_dir_name if (getcwd(path, PATH_MAX) < 0) /* too long even for PATH_MAX, show something anyway */ #else if ((path = get_current_dir_name()) < 0) #endif { p = "..../"; } else { l = strlen(path); if (l > 65) { /* remove middle part of the path */ p = path + l - 30; strcpy(&path[30], " ... "); memmove(&path[35], p, 30); path[65] = 0; } p = path; } message(LOG_FATAL, "Too deep directory nesting detected while trying to clean up\n`%s/%s',\npossible attack?\n", p, dirname); exit(2); } /* * Do everything in a child process so we don't have to chdir(".."), * which would lead to a race condition. fork() on Linux is very efficient * so this shouldn't be a big deal (probably just a exception on one page * of stack, not bad). I should probably just keep a directory stack * and fchdir() back up it, but it's not worth changing now. - ewt * * After reading "http://www.geek-girl.com/bugtraq/1996_2/0054.html" (look * for "cd .."), I think it is best to use this method rather than the * contrasting algorithm mentioned in Eric's comment. IMHO he has made the * right choice by having chosen the `recursive forking' algorithm. It is * much easier to implement and understand as well as being more secure * through avoiding `cd ..'. - karlheg * * The geek girl link is dead. fork() is not efficient on all systems, * so it would still be better to use a directory stack + fchdir(). - mb * * This is another link to what geek-girl had: * http://www.geocrawler.com/mail/msg.php3?msg_id=184906&list=91 * - ps */ if (! (pid = fork())) { if (safe_chdir (dirname)) exit(1); fork_count++; if (! (dir = opendir ("."))) { message (LOG_FATAL, "Opening directory, `%s' as `.' : %s\n", dirname, strerror (errno)); } if (lstat (".", &here)) { message (LOG_FATAL, "Statting current directory, `%s' as `.' : %s\n", dirname, strerror (errno)); } do { errno = 0; ent = readdir (dir); if (errno) { message (LOG_ERROR, "Reading directory entry. : %s\n", strerror (errno)); } if (!ent) break; /* * if name starts with dot, and * is 1 byte long, or * has a second dot and is 2 bytes long, * skip it. */ if ((ent->d_name[0] == '.') && ( (ent->d_name[1] == '\0') || ((ent->d_name[1] == '.') && (ent->d_name[2] == '\0')) ) ) continue; message (LOG_DEBUG, "(PID %u) Found directory entry `%s'.\n", (u_int) getpid(), ent->d_name); if (lstat (ent->d_name, &sb)) { message (LOG_ERROR, "Failed to lstat() `%s/%s': %s\n", dirname, ent->d_name, strerror (errno)); continue; } if (((!getuid() && !sb.st_uid) || (sb.st_uid == geteuid())) && !FLAGS_FORCE_P (flags) && !(sb.st_mode & S_IWUSR)) { message (LOG_VERBOSE, "Non-writeable file, owned by UID (%u) skipped: `%s'\n", (u_int) sb.st_uid, ent->d_name); continue; } if (sb.st_dev != here.st_dev) { message (LOG_VERBOSE, "File on different device skipped: `%s/%s'\n", dirname, ent->d_name); continue; } if (S_ISDIR (sb.st_mode)) { char *dst; if ((dst = malloc(strlen(ent->d_name) + 3)) == NULL) message (LOG_FATAL, "malloc failed.\n"); strcpy(dst, ent->d_name); strcat(dst, "/X"); rename(ent->d_name, dst); if (errno == EXDEV) { free(dst); message (LOG_VERBOSE, "File on different device skipped: `%s/%s'\n", dirname, ent->d_name); continue; } free(dst); cleanupDirectory (ent->d_name, killTime, flags); message (LOG_VERBOSE, "(PID %u) Back from recursing down `%s'.\n", (u_int) getpid(), ent->d_name); } if (FLAGS_PROTECT_P (flags)) { skip = i = 0; do { if (sb.st_ino == protect_table[i].inode) { message (LOG_VERBOSE, "Entry matching `--protect' pattern skipped. `%s'\n", protect_table[i].name); skip = 1; break; } } while (protect_table[i++].name); if (skip) continue; } /* Decide whether to remove the file or not */ /* check for mtime on directory instead of atime if requested */ if ( FLAGS_MTIME_P(flags) || (FLAGS_MTIME_DIR_P(flags) && S_ISDIR(sb.st_mode))) { if (sb.st_mtime >= killTime) continue; } else { if (sb.st_atime >= killTime) continue; /* If ctime option is given, the ctime must also be so */ /* long ago. This is e.g. for samba as DOS preserves */ /* mtime when copying, so such files get removed too soon */ /* Don't do it for directories though, as ctime may get */ /* reset below through utime() */ if (!S_ISDIR(sb.st_mode) && FLAGS_CTIME_P(flags) && sb.st_ctime >= killTime) continue; } if (S_ISDIR (sb.st_mode)) { if (dir_empty_p (ent->d_name)) { if (FLAGS_TEST_P (flags)) { message (LOG_VERBOSE, "Pretending to remove empty directory `%s'.\n", ent->d_name); if (FLAGS_SHOWDEL_P(flags)) message(LOG_NORMAL, "rmdir %s/%s\n", dirname, ent->d_name); } else { message (LOG_VERBOSE, "Removing directory `%s'.\n", ent->d_name); if (rmdir (ent->d_name)) { message (LOG_ERROR, "Failed to rmdir `%s': %s\n", ent->d_name, strerror (errno)); } else { if (FLAGS_SHOWDEL_P(flags)) message(LOG_NORMAL, "rmdir %s/%s\n", dirname, ent->d_name); } } } } else if (FLAGS_ALLFILES_P (flags) || S_ISREG (sb.st_mode) || (FLAGS_SYMLINKS_P (flags) && S_ISLNK (sb.st_mode))) { if (FLAGS_TEST_P (flags)) { message (LOG_VERBOSE, "Pretending to remove file `%s/%s'.\n", dirname, ent->d_name); if (FLAGS_SHOWDEL_P(flags)) message(LOG_NORMAL, "rm %s/%s\n", dirname, ent->d_name); } else { message (LOG_VERBOSE, "Removing file `%s/%s'.\n", dirname, ent->d_name); if (unlink (ent->d_name)) #if defined(__linux__) { int give_error = 1; int fd; if ((fd = open(ent->d_name, O_RDONLY)) >= 0) { unsigned int flags; if (ioctl(fd, EXT2_IOC_GETFLAGS, &flags) >= 0) { if (flags & EXT2_IMMUTABLE_FL) { give_error = 0; } } close(fd); /* Restore access time! */ /* However, only bother if we give a warning. */ /* With no warning, it doesn't matter. */ /* And it delays the next attempt :-) */ if (give_error) { struct utimbuf ts; ts.actime = sb.st_atime; ts.modtime = sb.st_mtime; utime(ent->d_name, &ts); } } if (give_error) #endif message (LOG_ERROR, "Failed to unlink `%s': %s\n", ent->d_name, strerror (errno)); #if defined(__linux__) else message (LOG_VERBOSE, "file `%s' marked immutable -- skipping.\n", ent->d_name); } #endif else { if (FLAGS_SHOWDEL_P(flags)) message(LOG_NORMAL, "rm %s/%s\n", dirname, ent->d_name); } } } else { if (FLAGS_SYMLINKS_P (flags)) { message (LOG_VERBOSE, "Not a regular file, symlink, or directory `%s' -- skipping.\n", ent->d_name); } else { message (LOG_VERBOSE, "Not a regular file or directory `%s' -- skipping.\n", ent->d_name); } } } while (ent); closedir (dir); exit (0); } if (pid < 0) { message(LOG_ERROR, "fork failed: %s\n", strerror(errno)); return 1; } if (waitpid(pid, &status, 0) < 0) { message(LOG_ERROR, "waitpid failed: %s\n", strerror(errno)); return 1; } if (WIFEXITED (status)) return WEXITSTATUS (status); return 0; } void printCopyright (void) { fprintf (stderr, #ifdef DEBIAN "tmpreaper -- Version: " VERSION "-DEB\n" #else "tmpreaper -- Version: " VERSION "\n" #endif "(c) 1997 Karl M. Hegbloom \n" "(c) 2006-2008 Paul Slootman \n" "This may be freely redistributed under the terms of the GNU Public License.\n"); } /* 1 2 3 4 5 6 7 8 02345678901234567890123456789012345678901234567890123456789012345678901234567890 */ void usage(void) { printCopyright (); fprintf (stderr, "\n" "tmpreaper [-htvfmMsadVT] [--help] [--test] [--verbose] [--force]\n" " [--delay=99] [--runtime=99] [--showdeleted]\n" " [--ctime] [--mtime] [--mtime-dir] [--symlinks] [--all]\n" " [[--protect '']...]