Debian repository

This commit is contained in:
Xavier Roche
2012-03-19 13:11:53 +00:00
parent 873739001a
commit ae1ea4cb8b
36 changed files with 13331 additions and 1 deletions

728
config.log Normal file
View File

@@ -0,0 +1,728 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --prefix=/tmp/test
## --------- ##
## Platform. ##
## --------- ##
hostname = linux
uname -m = i686
uname -r = 2.6.19.2-grsec
uname -s = Linux
uname -v = #1 SMP Tue May 8 15:06:29 CEST 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1978: checking for a BSD-compatible install
configure:2034: result: /usr/bin/install -c
configure:2045: checking whether build environment is sane
configure:2088: result: yes
configure:2121: checking for gawk
configure:2137: found /usr/bin/gawk
configure:2148: result: gawk
configure:2159: checking whether make sets $(MAKE)
configure:2180: result: yes
configure:2361: checking whether to enable maintainer-specific portions of Makefiles
configure:2370: result: no
configure:2436: checking for gcc
configure:2452: found /usr/bin/gcc
configure:2463: result: gcc
configure:2701: checking for C compiler version
configure:2708: gcc --version >&5
gcc (GCC) 3.3.6 (Debian 1:3.3.6-15)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2711: $? = 0
configure:2718: gcc -v >&5
Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs
Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug i486-linux-gnu
Thread model: posix
gcc version 3.3.6 (Debian 1:3.3.6-15)
configure:2721: $? = 0
configure:2728: gcc -V >&5
gcc: `-V' option must have argument
configure:2731: $? = 1
configure:2754: checking for C compiler default output file name
configure:2781: gcc conftest.c >&5
configure:2784: $? = 0
configure:2822: result: a.out
configure:2839: checking whether the C compiler works
configure:2849: ./a.out
configure:2852: $? = 0
configure:2869: result: yes
configure:2876: checking whether we are cross compiling
configure:2878: result: no
configure:2881: checking for suffix of executables
configure:2888: gcc -o conftest conftest.c >&5
configure:2891: $? = 0
configure:2915: result:
configure:2921: checking for suffix of object files
configure:2947: gcc -c conftest.c >&5
configure:2950: $? = 0
configure:2973: result: o
configure:2977: checking whether we are using the GNU C compiler
configure:3006: gcc -c conftest.c >&5
configure:3012: $? = 0
configure:3029: result: yes
configure:3034: checking whether gcc accepts -g
configure:3064: gcc -c -g conftest.c >&5
configure:3070: $? = 0
configure:3169: result: yes
configure:3186: checking for gcc option to accept ISO C89
configure:3260: gcc -c -g -O2 conftest.c >&5
configure:3266: $? = 0
configure:3289: result: none needed
configure:3318: checking for style of include used by make
configure:3346: result: GNU
configure:3374: checking dependency style of gcc
configure:3457: result: gcc3
configure:3532: checking for g++
configure:3548: found /usr/bin/g++
configure:3559: result: g++
configure:3590: checking for C++ compiler version
configure:3597: g++ --version >&5
g++ (GCC) 3.3.6 (Debian 1:3.3.6-15)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3600: $? = 0
configure:3607: g++ -v >&5
Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs
Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug i486-linux-gnu
Thread model: posix
gcc version 3.3.6 (Debian 1:3.3.6-15)
configure:3610: $? = 0
configure:3617: g++ -V >&5
g++: `-V' option must have argument
configure:3620: $? = 1
configure:3623: checking whether we are using the GNU C++ compiler
configure:3652: g++ -c conftest.cpp >&5
configure:3658: $? = 0
configure:3675: result: yes
configure:3680: checking whether g++ accepts -g
configure:3710: g++ -c -g conftest.cpp >&5
configure:3716: $? = 0
configure:3815: result: yes
configure:3840: checking dependency style of g++
configure:3923: result: gcc3
configure:3946: checking how to run the C preprocessor
configure:3986: gcc -E conftest.c
configure:3992: $? = 0
configure:4023: gcc -E conftest.c
conftest.c:10:28: ac_nonexistent.h: No such file or directory
configure:4029: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "httrack"
| #define VERSION "3.41.22"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4062: result: gcc -E
configure:4091: gcc -E conftest.c
configure:4097: $? = 0
configure:4128: gcc -E conftest.c
conftest.c:10:28: ac_nonexistent.h: No such file or directory
configure:4134: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "httrack"
| #define VERSION "3.41.22"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4172: checking for grep that handles long lines and -e
configure:4246: result: /bin/grep
configure:4251: checking for egrep
configure:4329: result: /bin/grep -E
configure:4334: checking for ANSI C header files
configure:4364: gcc -c -g -O2 conftest.c >&5
configure:4370: $? = 0
configure:4466: gcc -o conftest -g -O2 conftest.c >&5
configure:4469: $? = 0
configure:4475: ./conftest
configure:4478: $? = 0
configure:4495: result: yes
configure:4583: checking build system type
configure:4601: result: i686-pc-linux-gnu
configure:4623: checking host system type
configure:4638: result: i686-pc-linux-gnu
configure:4660: checking for a sed that does not truncate output
configure:4714: result: /bin/sed
configure:4728: checking for ld used by gcc
configure:4795: result: /usr/bin/ld
configure:4804: checking if the linker (/usr/bin/ld) is GNU ld
configure:4819: result: yes
configure:4824: checking for /usr/bin/ld option to reload object files
configure:4831: result: -r
configure:4849: checking for BSD-compatible nm
configure:4898: result: /usr/bin/nm -B
configure:4902: checking whether ln -s works
configure:4906: result: yes
configure:4913: checking how to recognise dependent libraries
configure:5089: result: pass_all
configure:5331: checking for sys/types.h
configure:5352: gcc -c -g -O2 conftest.c >&5
configure:5358: $? = 0
configure:5374: result: yes
configure:5331: checking for sys/stat.h
configure:5352: gcc -c -g -O2 conftest.c >&5
configure:5358: $? = 0
configure:5374: result: yes
configure:5331: checking for stdlib.h
configure:5352: gcc -c -g -O2 conftest.c >&5
configure:5358: $? = 0
configure:5374: result: yes
configure:5331: checking for string.h
configure:5352: gcc -c -g -O2 conftest.c >&5
configure:5358: $? = 0
configure:5374: result: yes
configure:5331: checking for memory.h
configure:5352: gcc -c -g -O2 conftest.c >&5
configure:5358: $? = 0
configure:5374: result: yes
configure:5331: checking for strings.h
configure:5352: gcc -c -g -O2 conftest.c >&5
configure:5358: $? = 0
configure:5374: result: yes
configure:5331: checking for inttypes.h
configure:5352: gcc -c -g -O2 conftest.c >&5
configure:5358: $? = 0
configure:5374: result: yes
configure:5331: checking for stdint.h
configure:5352: gcc -c -g -O2 conftest.c >&5
configure:5358: $? = 0
configure:5374: result: yes
configure:5331: checking for unistd.h
configure:5352: gcc -c -g -O2 conftest.c >&5
configure:5358: $? = 0
configure:5374: result: yes
configure:5401: checking dlfcn.h usability
configure:5418: gcc -c -g -O2 conftest.c >&5
configure:5424: $? = 0
configure:5438: result: yes
configure:5442: checking dlfcn.h presence
configure:5457: gcc -E conftest.c
configure:5463: $? = 0
configure:5477: result: yes
configure:5505: checking for dlfcn.h
configure:5513: result: yes
configure:5536: checking how to run the C++ preprocessor
configure:5572: g++ -E conftest.cpp
configure:5578: $? = 0
configure:5609: g++ -E conftest.cpp
conftest.cpp:21:28: ac_nonexistent.h: No such file or directory
configure:5615: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "httrack"
| #define VERSION "3.41.22"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5648: result: g++ -E
configure:5677: g++ -E conftest.cpp
configure:5683: $? = 0
configure:5714: g++ -E conftest.cpp
conftest.cpp:21:28: ac_nonexistent.h: No such file or directory
configure:5720: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "httrack"
| #define VERSION "3.41.22"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5813: checking for g77
configure:5843: result: no
configure:5813: checking for xlf
configure:5843: result: no
configure:5813: checking for f77
configure:5843: result: no
configure:5813: checking for frt
configure:5843: result: no
configure:5813: checking for pgf77
configure:5843: result: no
configure:5813: checking for cf77
configure:5843: result: no
configure:5813: checking for fort77
configure:5843: result: no
configure:5813: checking for fl32
configure:5843: result: no
configure:5813: checking for af77
configure:5843: result: no
configure:5813: checking for xlf90
configure:5843: result: no
configure:5813: checking for f90
configure:5843: result: no
configure:5813: checking for pgf90
configure:5843: result: no
configure:5813: checking for pghpf
configure:5843: result: no
configure:5813: checking for epcf90
configure:5843: result: no
configure:5813: checking for gfortran
configure:5843: result: no
configure:5813: checking for g95
configure:5843: result: no
configure:5813: checking for xlf95
configure:5843: result: no
configure:5813: checking for f95
configure:5843: result: no
configure:5813: checking for fort
configure:5843: result: no
configure:5813: checking for ifort
configure:5843: result: no
configure:5813: checking for ifc
configure:5843: result: no
configure:5813: checking for efc
configure:5843: result: no
configure:5813: checking for pgf95
configure:5843: result: no
configure:5813: checking for lf95
configure:5843: result: no
configure:5813: checking for ftn
configure:5843: result: no
configure:5870: checking for Fortran 77 compiler version
configure:5877: --version >&5
./configure: line 1: --version: command not found
configure:5880: $? = 127
configure:5887: -v >&5
./configure: line 1: -v: command not found
configure:5890: $? = 127
configure:5897: -V >&5
./configure: line 1: -V: command not found
configure:5900: $? = 127
configure:5908: checking whether we are using the GNU Fortran 77 compiler
configure:5927: -c conftest.F >&5
./configure: line 1: -c: command not found
configure:5933: $? = 127
configure: failed program was:
| program main
| #ifndef __GNUC__
| choke me
| #endif
|
| end
configure:5950: result: no
configure:5956: checking whether accepts -g
configure:5973: -c -g conftest.f >&5
./configure: line 1: -c: command not found
configure:5979: $? = 127
configure: failed program was:
| program main
|
| end
configure:5995: result: no
configure:6025: checking the maximum length of command line arguments
configure:6134: result: 65536
configure:6145: checking command to parse /usr/bin/nm -B output from gcc object
configure:6250: gcc -c -g -O2 conftest.c >&5
configure:6253: $? = 0
configure:6257: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:6260: $? = 0
configure:6312: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6315: $? = 0
configure:6353: result: ok
configure:6357: checking for objdir
configure:6372: result: .libs
configure:6464: checking for ar
configure:6480: found /usr/bin/ar
configure:6491: result: ar
configure:6560: checking for ranlib
configure:6576: found /usr/bin/ranlib
configure:6587: result: ranlib
configure:6656: checking for strip
configure:6672: found /usr/bin/strip
configure:6683: result: strip
configure:6969: checking if gcc supports -fno-rtti -fno-exceptions
configure:6990: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
configure:6994: $? = 0
configure:7004: result: no
configure:7019: checking for gcc option to produce PIC
configure:7229: result: -fPIC
configure:7237: checking if gcc PIC flag -fPIC works
configure:7258: gcc -c -g -O2 -fPIC -DPIC conftest.c >&5
configure:7262: $? = 0
configure:7272: result: yes
configure:7300: checking if gcc static flag -static works
configure:7328: result: yes
configure:7338: checking if gcc supports -c -o file.o
configure:7362: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:7366: $? = 0
configure:7385: result: yes
configure:7411: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:8366: result: yes
configure:8387: checking whether -lc should be explicitly linked in
configure:8392: gcc -c -g -O2 conftest.c >&5
configure:8395: $? = 0
configure:8410: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1
configure:8413: $? = 0
configure:8425: result: no
configure:8433: checking dynamic linker characteristics
configure:9009: result: GNU/Linux ld.so
configure:9018: checking how to hardcode library paths into programs
configure:9043: result: immediate
configure:9057: checking whether stripping libraries is possible
configure:9062: result: yes
configure:9863: checking if libtool supports shared libraries
configure:9865: result: yes
configure:9868: checking whether to build shared libraries
configure:9889: result: yes
configure:9892: checking whether to build static libraries
configure:9896: result: yes
configure:9988: creating libtool
configure:10576: checking for ld used by g++
configure:10643: result: /usr/bin/ld
configure:10652: checking if the linker (/usr/bin/ld) is GNU ld
configure:10667: result: yes
configure:10718: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:11652: result: yes
configure:11670: g++ -c -g -O2 conftest.cpp >&5
configure:11673: $? = 0
configure:11792: checking for g++ option to produce PIC
configure:12066: result: -fPIC
configure:12074: checking if g++ PIC flag -fPIC works
configure:12095: g++ -c -g -O2 -fPIC -DPIC conftest.cpp >&5
configure:12099: $? = 0
configure:12109: result: yes
configure:12137: checking if g++ static flag -static works
configure:12165: result: yes
configure:12175: checking if g++ supports -c -o file.o
configure:12199: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5
configure:12203: $? = 0
configure:12222: result: yes
configure:12248: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:12276: result: yes
configure:12343: checking dynamic linker characteristics
configure:12919: result: GNU/Linux ld.so
configure:12928: checking how to hardcode library paths into programs
configure:12953: result: immediate
configure:19071: checking whether ln -s works
configure:19075: result: yes
configure:19100: checking for long
configure:19130: gcc -c -g -O2 conftest.c >&5
configure:19136: $? = 0
configure:19151: result: yes
configure:19158: checking size of long
configure:19460: gcc -o conftest -g -O2 conftest.c >&5
configure:19463: $? = 0
configure:19469: ./conftest
configure:19472: $? = 0
configure:19495: result: 4
configure:19505: checking for long long
configure:19535: gcc -c -g -O2 conftest.c >&5
configure:19541: $? = 0
configure:19556: result: yes
configure:19563: checking size of long long
configure:19865: gcc -o conftest -g -O2 conftest.c >&5
configure:19868: $? = 0
configure:19874: ./conftest
configure:19877: $? = 0
configure:19900: result: 8
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_f77_compiler_gnu=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_f77_g=no
ac_cv_prog_make_make_set=yes
ac_cv_sizeof_long=4
ac_cv_sizeof_long_long=8
ac_cv_type_long=yes
ac_cv_type_long_long=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/bin/sed
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
lt_cv_sys_max_cmd_len=65536
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /temp/httrack-3.41.22/missing --run aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /temp/httrack-3.41.22/missing --run tar'
AR='ar'
AUTOCONF='${SHELL} /temp/httrack-3.41.22/missing --run autoconf'
AUTOHEADER='${SHELL} /temp/httrack-3.41.22/missing --run autoheader'
AUTOMAKE='${SHELL} /temp/httrack-3.41.22/missing --run automake-1.7'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFAULT_CFLAGS='-O -g3 -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wnested-externs -D_REENTRANT'
DEFS=''
DEPDIR='.deps'
DL_LIBS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
F77=''
FFLAGS=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LFS_FLAG=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /temp/httrack-3.41.22/missing --run makeinfo'
OBJEXT='o'
PACKAGE='httrack'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
SOCKET_LIBS=''
STRIP='strip'
THREADS_CFLAGS=''
THREADS_LIBS=''
V6_FLAG=''
VERSION='3.41.22'
VERSION_INFO='2:41:0'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_F77=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/temp/httrack-3.41.22/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/tmp/test'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "httrack"
#define VERSION "3.41.22"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
configure: exit 258

1144
debian/changelog vendored Normal file

File diff suppressed because it is too large Load Diff

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
5

97
debian/control vendored Normal file
View File

@@ -0,0 +1,97 @@
Source: httrack
Section: web
Priority: optional
Maintainer: Xavier Roche <roche@httrack.com>
Standards-Version: 3.9.3
Build-Depends: debhelper (>> 5.0.0), zlib1g-dev
Homepage: http://www.httrack.com
Package: httrack
Architecture: any
Section: web
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: webhttrack, httrack-doc
Description: Copy websites to your computer (Offline browser)
HTTrack is an offline browser utility, allowing you to download a World
Wide website from the Internet to a local directory, building recursively
all directories, getting html, images, and other files from the server to
your computer.
.
HTTrack arranges the original site's relative link-structure. Simply
open a page of the "mirrored" website in your browser, and you can
browse the site from link to link, as if you were viewing it online.
HTTrack can also update an existing mirrored site, and resume
interrupted downloads. HTTrack is fully configurable, and has an
integrated help system.
Package: webhttrack
Architecture: any
Section: web
Depends: ${misc:Depends}, ${shlibs:Depends}, webhttrack-common, iceape-browser | iceweasel | icecat | mozilla | firefox | mozilla-firefox | www-browser
Suggests: httrack, httrack-doc
Replaces: webhttrack-common (<< 3.43.9-2)
Enhances: httrack
Description: Copy websites to your computer, httrack with a Web interface
WebHTTrack is an offline browser utility, allowing you to download a World
Wide website from the Internet to a local directory, building recursively
all directories, getting html, images, and other files from the server to
your computer, using a step-by-step web interface.
.
WebHTTrack arranges the original site's relative link-structure. Simply
open a page of the "mirrored" website in your browser, and you can
browse the site from link to link, as if you were viewing it online.
HTTrack can also update an existing mirrored site, and resume
interrupted downloads. WebHTTrack is fully configurable, and has an
integrated help system.
.
Snapshots: http://www.httrack.com/page/21/
Package: webhttrack-common
Architecture: all
Section: web
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: webhttrack common files
This package is the common files of webhttrack, website copier and
mirroring utility
Package: libhttrack2
Architecture: any
Section: libs
Replaces: libhttrack1
Conflicts: libhttrack1
Depends: ${misc:Depends}, ${shlibs:Depends}
Recommends: libssl1.0.0
Description: Httrack website copier library
This package is the library part of httrack, website copier and mirroring
utility
Package: libhttrack-dev
Architecture: any
Section: libdevel
Depends: ${misc:Depends}, ${shlibs:Depends}, zlib1g-dev
Recommends: libssl1.0.0
Description: Httrack website copier includes and development files
This package adds supplemental files for using the httrack website copier
library
Package: httrack-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}
Description: Httrack website copier additional documentation
This package adds supplemental documentation for httrack and webhttrack
as a browsable html documentation
Package: proxytrack
Architecture: any
Section: web
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: squid, httrack
Description: Build HTTP Caches using archived websites copied by HTTrack
ProxyTrack is a simple proxy server aimed to deliver content archived by
HTTrack sessions. It can aggregate multiple download caches, for direct
use (through any browser) or as an upstream cache slave server.
This proxy can handle HTTP/1.1 proxy connections, and is able to reply to
ICPv2 requests for an efficient integration within other cache servers,
such as Squid. It can also handle transparent HTTP requests to allow
cached live connections inside an offline network.

31
debian/copyright vendored Normal file
View File

@@ -0,0 +1,31 @@
This package was debianized by Xavier Roche <roche@httrack.com> on
Fri, 27 Sep 2002 16:42:26 +0200
The current Debian maintainer is Xavier Roche <xavier@debian.org>
Upstream author: Xavier Roche <roche@httrack.com>
Copyright: 1998-2008 Xavier Roche and other contributors
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or any later version.
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL file.
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.
In addition, as a special exception, Xavier Roche gives permission to
link the code of this program with the openSSL library (or with
modified versions of openSSL that use the same license as openSSL),
and distribute linked combinations including the two. You must obey
the GNU General Public License in all respects for all of the code
used other than openSSL. If you modify this file, you may extend this
exception to your version of the file, but you are not obligated to do
so. If you do not wish to do so, delete this exception statement from
your version.

1
debian/httrack-doc.debhelper.log vendored Normal file
View File

@@ -0,0 +1 @@
dh_lintian

9
debian/httrack-doc.doc-base vendored Normal file
View File

@@ -0,0 +1,9 @@
Document: httrack-doc
Title: httrack website copier documentation
Author: Xavier Roche <roche@httrack.com>
Abstract: This document describes and discuss on httrack website copier
Section: Network/Web Browsing
Format: HTML
Index: /usr/share/doc/httrack/httrack-doc.html
Files: /usr/share/doc/httrack/html/*.html

4
debian/httrack-doc.files vendored Normal file
View File

@@ -0,0 +1,4 @@
usr/share/httrack/html
usr/share/doc/httrack
usr/share/doc/httrack/httrack-doc.html
usr/share/lintian/overrides/httrack-doc

1
debian/httrack-doc.lintian-overrides vendored Normal file
View File

@@ -0,0 +1 @@
extra-license-file usr/share/httrack/html/license.txt

1
debian/httrack.debhelper.log vendored Normal file
View File

@@ -0,0 +1 @@
dh_lintian

1
debian/httrack.lintian-overrides vendored Normal file
View File

@@ -0,0 +1 @@
duplicate-changelog-files usr/share/doc/httrack/changelog.gz usr/share/doc/httrack/history.txt.gz

1
debian/libhttrack-dev.debhelper.log vendored Normal file
View File

@@ -0,0 +1 @@
dh_lintian

5
debian/libhttrack-dev.files vendored Normal file
View File

@@ -0,0 +1,5 @@
usr/include/httrack
usr/lib/libhttrack.{so}
usr/lib/libhtsjava.{so}
usr/share/httrack/libtest
usr/lib/httrack/libtest

2
debian/libhttrack-swf1.files vendored Normal file
View File

@@ -0,0 +1,2 @@
usr/lib/libhtsswf.so.1.0.0
usr/lib/libhtsswf.so.1

0
debian/libhttrack1.files vendored Normal file
View File

1
debian/libhttrack2.debhelper.log vendored Normal file
View File

@@ -0,0 +1 @@
dh_lintian

5
debian/libhttrack2.files vendored Normal file
View File

@@ -0,0 +1,5 @@
usr/lib/libhttrack.so.2.0.*
usr/lib/libhttrack.so.2
usr/lib/libhtsjava.so.2.0.*
usr/lib/libhtsjava.so.2
usr/share/httrack/templates

1
debian/proxytrack.debhelper.log vendored Normal file
View File

@@ -0,0 +1 @@
dh_lintian

2
debian/proxytrack.files vendored Normal file
View File

@@ -0,0 +1,2 @@
usr/share/man/man1/proxytrack.1
usr/bin/proxytrack

128
debian/rules vendored Executable file
View File

@@ -0,0 +1,128 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# *** Patch for s390, mips, hppa..
# It seems that htscore.c can not compile on several archs, due to compiler
# capacity limits. These lines shall be removed when gcc is upgraded.
# See discussions on 'Assembler messages: Branch out of range'
# Addition (04/2004): gcc-3.3 on arm fcks up with htscoremain.c and -O3 (..)
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),s390 mips mipsel hppa m68k arm))
CFLAGS += -DNOSTRDEBUG
endif
DEB_CFLAGS_MAINT_APPEND=-O3
# DEB_BUILD_OPTIONS flags
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g3
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
configure: configure-stamp
configure-stamp:
dh_testdir
./configure \
--prefix=/usr \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--mandir=\$${prefix}/share/man \
--sysconfdir=/etc \
$(shell dpkg-buildflags --export=configure)
touch configure-stamp
build: build-arch build-indep
build-indep:
build-arch: build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || $(MAKE) distclean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/httrack
mkdir -p $(CURDIR)/debian/httrack/usr/lib/httrack/
mv $(CURDIR)/debian/httrack/usr/bin/htsserver \
$(CURDIR)/debian/httrack/usr/lib/httrack/
rm -f $(CURDIR)/debian/httrack/usr/lib/*.a
rm -f $(CURDIR)/debian/httrack/usr/lib/*.la
rm -f $(CURDIR)/debian/httrack/usr/lib/httrack/*.a
rm -f $(CURDIR)/debian/httrack/usr/lib/httrack/*.la
mv $(CURDIR)/debian/httrack/usr/lib/httrack/lib* \
$(CURDIR)/debian/httrack/usr/share/httrack/libtest/
mkdir -p $(CURDIR)/debian/httrack/usr/lib/httrack/libtest
mv $(CURDIR)/debian/httrack/usr/share/httrack/libtest/lib* \
$(CURDIR)/debian/httrack/usr/lib/httrack/libtest
ln -s ../../../share/httrack/libtest/readme.txt \
$(CURDIR)/debian/httrack/usr/lib/httrack/libtest/readme.txt
# Lintian overrides
mkdir -p $(CURDIR)/debian/httrack/usr/share/lintian/overrides
cp $(CURDIR)/debian/httrack-doc.lintian-overrides $(CURDIR)/debian/httrack/usr/share/lintian/overrides/httrack-doc
cp $(CURDIR)/debian/httrack.lintian-overrides $(CURDIR)/debian/httrack/usr/share/lintian/overrides/httrack
dh_movefiles --sourcedir=debian/httrack
# don't move history file to httrack-doc
mv $(CURDIR)/debian/httrack-doc/usr/share/doc/httrack/history.txt $(CURDIR)/debian/httrack/usr/share/doc/httrack/
find debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
# Build architecture-independent files here.
binary-indep: build install
dh_testdir -i
dh_testroot -i
dh_installdocs -i
dh_installchangelogs -i history.txt
dh_link -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir -a
dh_testroot -a
dh_installdocs -a
dh_installmenu -a
dh_installchangelogs -a history.txt
dh_link -a
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_makeshlibs -a -X/usr/lib/httrack/libtest
dh_installdeb -a
dh_shlibdeps -a -ldebian/libhttrack2/usr/lib
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

2
debian/source.lintian-overrides vendored Normal file
View File

@@ -0,0 +1,2 @@
httrack source: changelog-should-mention-nmu
httrack source: source-nmu-has-incorrect-version-number

View File

@@ -0,0 +1 @@
dh_lintian

5
debian/webhttrack-common.files vendored Normal file
View File

@@ -0,0 +1,5 @@
usr/share/httrack/html/server
usr/share/httrack/lang
usr/share/httrack/lang.def
usr/share/httrack/lang.indexes
usr/share/httrack/icons

1
debian/webhttrack.debhelper.log vendored Normal file
View File

@@ -0,0 +1 @@
dh_lintian

7
debian/webhttrack.files vendored Normal file
View File

@@ -0,0 +1,7 @@
usr/lib/httrack/htsserver
usr/bin/webhttrack
usr/share/man/man1/webhttrack.1
usr/share/man/man1/htsserver.1
usr/share/pixmaps
usr/share/applications/WebHTTrack-Websites.desktop
usr/share/applications/WebHTTrack.desktop

3
debian/webhttrack.menu vendored Normal file
View File

@@ -0,0 +1,3 @@
?package(webhttrack):needs="X11" section="Applications/Network/Web Browsing" \
title="WebHTTrack" command="webhttrack" hints="Offline browsers" \
icon="/usr/share/pixmaps/httrack.xpm"

View File

@@ -1,5 +1,5 @@
<!-- Creator : groff version 1.20.1 -->
<!-- CreationDate: Sun Mar 18 22:01:48 2012 -->
<!-- CreationDate: Mon Mar 19 11:08:29 2012 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>

7528
libtool Executable file

File diff suppressed because it is too large Load Diff

177
src/minizip/ioapi.c.orig Normal file
View File

@@ -0,0 +1,177 @@
/* ioapi.c -- IO base function header for compress/uncompress .zip
files using zlib + zip or unzip API
Version 1.00, September 10th, 2003
Copyright (C) 1998-2003 Gilles Vollant
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "zlib.h"
#include "ioapi.h"
/* I've found an old Unix (a SunOS 4.1.3_U1) without all SEEK_* defined.... */
#ifndef SEEK_CUR
#define SEEK_CUR 1
#endif
#ifndef SEEK_END
#define SEEK_END 2
#endif
#ifndef SEEK_SET
#define SEEK_SET 0
#endif
voidpf ZCALLBACK fopen_file_func OF((
voidpf opaque,
const char* filename,
int mode));
uLong ZCALLBACK fread_file_func OF((
voidpf opaque,
voidpf stream,
void* buf,
uLong size));
uLong ZCALLBACK fwrite_file_func OF((
voidpf opaque,
voidpf stream,
const void* buf,
uLong size));
long ZCALLBACK ftell_file_func OF((
voidpf opaque,
voidpf stream));
long ZCALLBACK fseek_file_func OF((
voidpf opaque,
voidpf stream,
uLong offset,
int origin));
int ZCALLBACK fclose_file_func OF((
voidpf opaque,
voidpf stream));
int ZCALLBACK ferror_file_func OF((
voidpf opaque,
voidpf stream));
voidpf ZCALLBACK fopen_file_func (opaque, filename, mode)
voidpf opaque;
const char* filename;
int mode;
{
FILE* file = NULL;
const char* mode_fopen = NULL;
if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ)
mode_fopen = "rb";
else
if (mode & ZLIB_FILEFUNC_MODE_EXISTING)
mode_fopen = "r+b";
else
if (mode & ZLIB_FILEFUNC_MODE_CREATE)
mode_fopen = "wb";
if ((filename!=NULL) && (mode_fopen != NULL))
file = fopen(filename, mode_fopen);
return file;
}
uLong ZCALLBACK fread_file_func (opaque, stream, buf, size)
voidpf opaque;
voidpf stream;
void* buf;
uLong size;
{
uLong ret;
ret = fread(buf, 1, (size_t)size, (FILE *)stream);
return ret;
}
uLong ZCALLBACK fwrite_file_func (opaque, stream, buf, size)
voidpf opaque;
voidpf stream;
const void* buf;
uLong size;
{
uLong ret;
ret = fwrite(buf, 1, (size_t)size, (FILE *)stream);
return ret;
}
long ZCALLBACK ftell_file_func (opaque, stream)
voidpf opaque;
voidpf stream;
{
long ret;
ret = ftell((FILE *)stream);
return ret;
}
long ZCALLBACK fseek_file_func (opaque, stream, offset, origin)
voidpf opaque;
voidpf stream;
uLong offset;
int origin;
{
int fseek_origin=0;
long ret;
switch (origin)
{
case ZLIB_FILEFUNC_SEEK_CUR :
fseek_origin = SEEK_CUR;
break;
case ZLIB_FILEFUNC_SEEK_END :
fseek_origin = SEEK_END;
break;
case ZLIB_FILEFUNC_SEEK_SET :
fseek_origin = SEEK_SET;
break;
default: return -1;
}
ret = 0;
fseek((FILE *)stream, offset, fseek_origin);
return ret;
}
int ZCALLBACK fclose_file_func (opaque, stream)
voidpf opaque;
voidpf stream;
{
int ret;
ret = fclose((FILE *)stream);
return ret;
}
int ZCALLBACK ferror_file_func (opaque, stream)
voidpf opaque;
voidpf stream;
{
int ret;
ret = ferror((FILE *)stream);
return ret;
}
void fill_fopen_filefunc (pzlib_filefunc_def)
zlib_filefunc_def* pzlib_filefunc_def;
{
pzlib_filefunc_def->zopen_file = fopen_file_func;
pzlib_filefunc_def->zread_file = fread_file_func;
pzlib_filefunc_def->zwrite_file = fwrite_file_func;
pzlib_filefunc_def->ztell_file = ftell_file_func;
pzlib_filefunc_def->zseek_file = fseek_file_func;
pzlib_filefunc_def->zclose_file = fclose_file_func;
pzlib_filefunc_def->zerror_file = ferror_file_func;
pzlib_filefunc_def->opaque = NULL;
}

75
src/minizip/ioapi.h.orig Normal file
View File

@@ -0,0 +1,75 @@
/* ioapi.h -- IO base function header for compress/uncompress .zip
files using zlib + zip or unzip API
Version 1.00, September 10th, 2003
Copyright (C) 1998-2003 Gilles Vollant
*/
#ifndef _ZLIBIOAPI_H
#define _ZLIBIOAPI_H
#define ZLIB_FILEFUNC_SEEK_CUR (1)
#define ZLIB_FILEFUNC_SEEK_END (2)
#define ZLIB_FILEFUNC_SEEK_SET (0)
#define ZLIB_FILEFUNC_MODE_READ (1)
#define ZLIB_FILEFUNC_MODE_WRITE (2)
#define ZLIB_FILEFUNC_MODE_READWRITEFILTER (3)
#define ZLIB_FILEFUNC_MODE_EXISTING (4)
#define ZLIB_FILEFUNC_MODE_CREATE (8)
#ifndef ZCALLBACK
#if (defined(WIN32) || defined (WINDOWS) || defined (_WINDOWS)) && defined(CALLBACK) && defined (USEWINDOWS_CALLBACK)
#define ZCALLBACK CALLBACK
#else
#define ZCALLBACK
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode));
typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream));
typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin));
typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream));
typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream));
typedef struct zlib_filefunc_def_s
{
open_file_func zopen_file;
read_file_func zread_file;
write_file_func zwrite_file;
tell_file_func ztell_file;
seek_file_func zseek_file;
close_file_func zclose_file;
testerror_file_func zerror_file;
voidpf opaque;
} zlib_filefunc_def;
void fill_fopen_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def));
#define ZREAD(filefunc,filestream,buf,size) ((*((filefunc).zread_file))((filefunc).opaque,filestream,buf,size))
#define ZWRITE(filefunc,filestream,buf,size) ((*((filefunc).zwrite_file))((filefunc).opaque,filestream,buf,size))
#define ZTELL(filefunc,filestream) ((*((filefunc).ztell_file))((filefunc).opaque,filestream))
#define ZSEEK(filefunc,filestream,pos,mode) ((*((filefunc).zseek_file))((filefunc).opaque,filestream,pos,mode))
#define ZCLOSE(filefunc,filestream) ((*((filefunc).zclose_file))((filefunc).opaque,filestream))
#define ZERROR(filefunc,filestream) ((*((filefunc).zerror_file))((filefunc).opaque,filestream))
#ifdef __cplusplus
}
#endif
#endif

1585
src/minizip/unzip.c.orig Normal file

File diff suppressed because it is too large Load Diff

352
src/minizip/unzip.h.orig Normal file
View File

@@ -0,0 +1,352 @@
/* unzip.h -- IO for uncompress .zip files using zlib
Version 1.00, September 10th, 2003
Copyright (C) 1998-2003 Gilles Vollant
This unzip package allow extract file from .ZIP file, compatible with PKZip 2.04g
WinZip, InfoZip tools and compatible.
Encryption and multi volume ZipFile (span) are not supported.
Old compressions used by old PKZip 1.x are not supported
I WAIT FEEDBACK at mail info@winimage.com
Visit also http://www.winimage.com/zLibDll/unzip.htm for evolution
Condition of use and distribution are the same than zlib :
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/* for more info about .ZIP format, see
http://www.info-zip.org/pub/infozip/doc/appnote-981119-iz.zip
http://www.info-zip.org/pub/infozip/doc/
PkWare has also a specification at :
ftp://ftp.pkware.com/probdesc.zip
*/
#ifndef _unz_H
#define _unz_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _ZLIB_H
#include "zlib.h"
#endif
#ifndef _ZLIBIOAPI_H
#include "ioapi.h"
#endif
#if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
/* like the STRICT of WIN32, we define a pointer that cannot be converted
from (void*) without cast */
typedef struct TagunzFile__ { int unused; } unzFile__;
typedef unzFile__ *unzFile;
#else
typedef voidp unzFile;
#endif
#define UNZ_OK (0)
#define UNZ_END_OF_LIST_OF_FILE (-100)
#define UNZ_ERRNO (Z_ERRNO)
#define UNZ_EOF (0)
#define UNZ_PARAMERROR (-102)
#define UNZ_BADZIPFILE (-103)
#define UNZ_INTERNALERROR (-104)
#define UNZ_CRCERROR (-105)
/* tm_unz contain date/time info */
typedef struct tm_unz_s
{
uInt tm_sec; /* seconds after the minute - [0,59] */
uInt tm_min; /* minutes after the hour - [0,59] */
uInt tm_hour; /* hours since midnight - [0,23] */
uInt tm_mday; /* day of the month - [1,31] */
uInt tm_mon; /* months since January - [0,11] */
uInt tm_year; /* years - [1980..2044] */
} tm_unz;
/* unz_global_info structure contain global data about the ZIPfile
These data comes from the end of central dir */
typedef struct unz_global_info_s
{
uLong number_entry; /* total number of entries in
the central dir on this disk */
uLong size_comment; /* size of the global comment of the zipfile */
} unz_global_info;
/* unz_file_info contain information about a file in the zipfile */
typedef struct unz_file_info_s
{
uLong version; /* version made by 2 bytes */
uLong version_needed; /* version needed to extract 2 bytes */
uLong flag; /* general purpose bit flag 2 bytes */
uLong compression_method; /* compression method 2 bytes */
uLong dosDate; /* last mod file date in Dos fmt 4 bytes */
uLong crc; /* crc-32 4 bytes */
uLong compressed_size; /* compressed size 4 bytes */
uLong uncompressed_size; /* uncompressed size 4 bytes */
uLong size_filename; /* filename length 2 bytes */
uLong size_file_extra; /* extra field length 2 bytes */
uLong size_file_comment; /* file comment length 2 bytes */
uLong disk_num_start; /* disk number start 2 bytes */
uLong internal_fa; /* internal file attributes 2 bytes */
uLong external_fa; /* external file attributes 4 bytes */
tm_unz tmu_date;
} unz_file_info;
extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1,
const char* fileName2,
int iCaseSensitivity));
/*
Compare two filename (fileName1,fileName2).
If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp)
If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi
or strcasecmp)
If iCaseSenisivity = 0, case sensitivity is defaut of your operating system
(like 1 on Unix, 2 on Windows)
*/
extern unzFile ZEXPORT unzOpen OF((const char *path));
/*
Open a Zip file. path contain the full pathname (by example,
on a Windows XP computer "c:\\zlib\\zlib113.zip" or on an Unix computer
"zlib/zlib113.zip".
If the zipfile cannot be opened (file don't exist or in not valid), the
return value is NULL.
Else, the return value is a unzFile Handle, usable with other function
of this unzip package.
*/
extern unzFile ZEXPORT unzOpen2 OF((const char *path,
zlib_filefunc_def* pzlib_filefunc_def));
/*
Open a Zip file, like unzOpen, but provide a set of file low level API
for read/write the zip file (see ioapi.h)
*/
extern int ZEXPORT unzClose OF((unzFile file));
/*
Close a ZipFile opened with unzipOpen.
If there is files inside the .Zip opened with unzOpenCurrentFile (see later),
these files MUST be closed with unzipCloseCurrentFile before call unzipClose.
return UNZ_OK if there is no problem. */
extern int ZEXPORT unzGetGlobalInfo OF((unzFile file,
unz_global_info *pglobal_info));
/*
Write info about the ZipFile in the *pglobal_info structure.
No preparation of the structure is needed
return UNZ_OK if there is no problem. */
extern int ZEXPORT unzGetGlobalComment OF((unzFile file,
char *szComment,
uLong uSizeBuf));
/*
Get the global comment string of the ZipFile, in the szComment buffer.
uSizeBuf is the size of the szComment buffer.
return the number of byte copied or an error code <0
*/
/***************************************************************************/
/* Unzip package allow you browse the directory of the zipfile */
extern int ZEXPORT unzGoToFirstFile OF((unzFile file));
/*
Set the current file of the zipfile to the first file.
return UNZ_OK if there is no problem
*/
extern int ZEXPORT unzGoToNextFile OF((unzFile file));
/*
Set the current file of the zipfile to the next file.
return UNZ_OK if there is no problem
return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest.
*/
extern int ZEXPORT unzLocateFile OF((unzFile file,
const char *szFileName,
int iCaseSensitivity));
/*
Try locate the file szFileName in the zipfile.
For the iCaseSensitivity signification, see unzStringFileNameCompare
return value :
UNZ_OK if the file is found. It becomes the current file.
UNZ_END_OF_LIST_OF_FILE if the file is not found
*/
/* ****************************************** */
/* Ryan supplied functions */
/* unz_file_info contain information about a file in the zipfile */
typedef struct unz_file_pos_s
{
uLong pos_in_zip_directory; /* offset in zip file directory */
uLong num_of_file; /* # of file */
} unz_file_pos;
extern int ZEXPORT unzGetFilePos(
unzFile file,
unz_file_pos* file_pos);
extern int ZEXPORT unzGoToFilePos(
unzFile file,
unz_file_pos* file_pos);
/* ****************************************** */
extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file,
unz_file_info *pfile_info,
char *szFileName,
uLong fileNameBufferSize,
void *extraField,
uLong extraFieldBufferSize,
char *szComment,
uLong commentBufferSize));
/*
Get Info about the current file
if pfile_info!=NULL, the *pfile_info structure will contain somes info about
the current file
if szFileName!=NULL, the filemane string will be copied in szFileName
(fileNameBufferSize is the size of the buffer)
if extraField!=NULL, the extra field information will be copied in extraField
(extraFieldBufferSize is the size of the buffer).
This is the Central-header version of the extra field
if szComment!=NULL, the comment string of the file will be copied in szComment
(commentBufferSize is the size of the buffer)
*/
/***************************************************************************/
/* for reading the content of the current zipfile, you can open it, read data
from it, and close it (you can close it before reading all the file)
*/
extern int ZEXPORT unzOpenCurrentFile OF((unzFile file));
/*
Open for reading data the current file in the zipfile.
If there is no error, the return value is UNZ_OK.
*/
extern int ZEXPORT unzOpenCurrentFilePassword OF((unzFile file,
const char* password));
/*
Open for reading data the current file in the zipfile.
password is a crypting password
If there is no error, the return value is UNZ_OK.
*/
extern int ZEXPORT unzOpenCurrentFile2 OF((unzFile file,
int* method,
int* level,
int raw));
/*
Same than unzOpenCurrentFile, but open for read raw the file (not uncompress)
if raw==1
*method will receive method of compression, *level will receive level of
compression
note : you can set level parameter as NULL (if you did not want known level,
but you CANNOT set method parameter as NULL
*/
extern int ZEXPORT unzOpenCurrentFile3 OF((unzFile file,
int* method,
int* level,
int raw,
const char* password));
/*
Same than unzOpenCurrentFile, but open for read raw the file (not uncompress)
if raw==1
*method will receive method of compression, *level will receive level of
compression
note : you can set level parameter as NULL (if you did not want known level,
but you CANNOT set method parameter as NULL
*/
extern int ZEXPORT unzCloseCurrentFile OF((unzFile file));
/*
Close the file in zip opened with unzOpenCurrentFile
Return UNZ_CRCERROR if all the file was read but the CRC is not good
*/
extern int ZEXPORT unzReadCurrentFile OF((unzFile file,
voidp buf,
unsigned len));
/*
Read bytes from the current file (opened by unzOpenCurrentFile)
buf contain buffer where data must be copied
len the size of buf.
return the number of byte copied if somes bytes are copied
return 0 if the end of file was reached
return <0 with error code if there is an error
(UNZ_ERRNO for IO error, or zLib error for uncompress error)
*/
extern z_off_t ZEXPORT unztell OF((unzFile file));
/*
Give the current position in uncompressed data
*/
extern int ZEXPORT unzeof OF((unzFile file));
/*
return 1 if the end of file was reached, 0 elsewhere
*/
extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file,
voidp buf,
unsigned len));
/*
Read extra field from the current file (opened by unzOpenCurrentFile)
This is the local-header version of the extra field (sometimes, there is
more info in the local-header version than in the central-header)
if buf==NULL, it return the size of the local extra field
if buf!=NULL, len is the size of the buffer, the extra header is copied in
buf.
the return value is the number of bytes copied in buf, or (if <0)
the error code
*/
/***************************************************************************/
/* Get the current file offset */
extern uLong ZEXPORT unzGetOffset (unzFile file);
/* Set the current file offset */
extern int ZEXPORT unzSetOffset (unzFile file, uLong pos);
#ifdef __cplusplus
}
#endif
#endif /* _unz_H */

1180
src/minizip/zip.c.orig Normal file

File diff suppressed because it is too large Load Diff

235
src/minizip/zip.h.orig Normal file
View File

@@ -0,0 +1,235 @@
/* zip.h -- IO for compress .zip files using zlib
Version 1.00, September 10th, 2003
Copyright (C) 1998-2003 Gilles Vollant
This unzip package allow creates .ZIP file, compatible with PKZip 2.04g
WinZip, InfoZip tools and compatible.
Encryption and multi volume ZipFile (span) are not supported.
Old compressions used by old PKZip 1.x are not supported
For uncompress .zip file, look at unzip.h
I WAIT FEEDBACK at mail info@winimage.com
Visit also http://www.winimage.com/zLibDll/unzip.html for evolution
Condition of use and distribution are the same than zlib :
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/* for more info about .ZIP format, see
http://www.info-zip.org/pub/infozip/doc/appnote-981119-iz.zip
http://www.info-zip.org/pub/infozip/doc/
PkWare has also a specification at :
ftp://ftp.pkware.com/probdesc.zip
*/
#ifndef _zip_H
#define _zip_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _ZLIB_H
#include "zlib.h"
#endif
#ifndef _ZLIBIOAPI_H
#include "ioapi.h"
#endif
#if defined(STRICTZIP) || defined(STRICTZIPUNZIP)
/* like the STRICT of WIN32, we define a pointer that cannot be converted
from (void*) without cast */
typedef struct TagzipFile__ { int unused; } zipFile__;
typedef zipFile__ *zipFile;
#else
typedef voidp zipFile;
#endif
#define ZIP_OK (0)
#define ZIP_EOF (0)
#define ZIP_ERRNO (Z_ERRNO)
#define ZIP_PARAMERROR (-102)
#define ZIP_BADZIPFILE (-103)
#define ZIP_INTERNALERROR (-104)
#ifndef DEF_MEM_LEVEL
# if MAX_MEM_LEVEL >= 8
# define DEF_MEM_LEVEL 8
# else
# define DEF_MEM_LEVEL MAX_MEM_LEVEL
# endif
#endif
/* default memLevel */
/* tm_zip contain date/time info */
typedef struct tm_zip_s
{
uInt tm_sec; /* seconds after the minute - [0,59] */
uInt tm_min; /* minutes after the hour - [0,59] */
uInt tm_hour; /* hours since midnight - [0,23] */
uInt tm_mday; /* day of the month - [1,31] */
uInt tm_mon; /* months since January - [0,11] */
uInt tm_year; /* years - [1980..2044] */
} tm_zip;
typedef struct
{
tm_zip tmz_date; /* date in understandable format */
uLong dosDate; /* if dos_date == 0, tmu_date is used */
/* uLong flag; */ /* general purpose bit flag 2 bytes */
uLong internal_fa; /* internal file attributes 2 bytes */
uLong external_fa; /* external file attributes 4 bytes */
} zip_fileinfo;
typedef const char* zipcharpc;
#define APPEND_STATUS_CREATE (0)
#define APPEND_STATUS_CREATEAFTER (1)
#define APPEND_STATUS_ADDINZIP (2)
extern zipFile ZEXPORT zipOpen OF((const char *pathname, int append));
/*
Create a zipfile.
pathname contain on Windows XP a filename like "c:\\zlib\\zlib113.zip" or on
an Unix computer "zlib/zlib113.zip".
if the file pathname exist and append==APPEND_STATUS_CREATEAFTER, the zip
will be created at the end of the file.
(useful if the file contain a self extractor code)
if the file pathname exist and append==APPEND_STATUS_ADDINZIP, we will
add files in existing zip (be sure you don't add file that doesn't exist)
If the zipfile cannot be opened, the return value is NULL.
Else, the return value is a zipFile Handle, usable with other function
of this zip package.
*/
/* Note : there is no delete function into a zipfile.
If you want delete file into a zipfile, you must open a zipfile, and create another
Of couse, you can use RAW reading and writing to copy the file you did not want delte
*/
extern zipFile ZEXPORT zipOpen2 OF((const char *pathname,
int append,
zipcharpc* globalcomment,
zlib_filefunc_def* pzlib_filefunc_def));
extern int ZEXPORT zipOpenNewFileInZip OF((zipFile file,
const char* filename,
const zip_fileinfo* zipfi,
const void* extrafield_local,
uInt size_extrafield_local,
const void* extrafield_global,
uInt size_extrafield_global,
const char* comment,
int method,
int level));
/*
Open a file in the ZIP for writing.
filename : the filename in zip (if NULL, '-' without quote will be used
*zipfi contain supplemental information
if extrafield_local!=NULL and size_extrafield_local>0, extrafield_local
contains the extrafield data the the local header
if extrafield_global!=NULL and size_extrafield_global>0, extrafield_global
contains the extrafield data the the local header
if comment != NULL, comment contain the comment string
method contain the compression method (0 for store, Z_DEFLATED for deflate)
level contain the level of compression (can be Z_DEFAULT_COMPRESSION)
*/
extern int ZEXPORT zipOpenNewFileInZip2 OF((zipFile file,
const char* filename,
const zip_fileinfo* zipfi,
const void* extrafield_local,
uInt size_extrafield_local,
const void* extrafield_global,
uInt size_extrafield_global,
const char* comment,
int method,
int level,
int raw));
/*
Same than zipOpenNewFileInZip, except if raw=1, we write raw file
*/
extern int ZEXPORT zipOpenNewFileInZip3 OF((zipFile file,
const char* filename,
const zip_fileinfo* zipfi,
const void* extrafield_local,
uInt size_extrafield_local,
const void* extrafield_global,
uInt size_extrafield_global,
const char* comment,
int method,
int level,
int raw,
int windowBits,
int memLevel,
int strategy,
const char* password,
uLong crcForCtypting));
/*
Same than zipOpenNewFileInZip2, except
windowBits,memLevel,,strategy : see parameter strategy in deflateInit2
password : crypting password (NULL for no crypting)
crcForCtypting : crc of file to compress (needed for crypting)
*/
extern int ZEXPORT zipWriteInFileInZip OF((zipFile file,
const void* buf,
unsigned len));
/*
Write data in the zipfile
*/
extern int ZEXPORT zipCloseFileInZip OF((zipFile file));
/*
Close the current file in the zipfile
*/
extern int ZEXPORT zipCloseFileInZipRaw OF((zipFile file,
uLong uncompressed_size,
uLong crc32));
/*
Close the current file in the zipfile, for fiel opened with
parameter raw=1 in zipOpenNewFileInZip2
uncompressed_size and crc32 are value for the uncompressed size
*/
extern int ZEXPORT zipClose OF((zipFile file,
const char* global_comment));
/*
Close the zipfile
*/
#ifdef __cplusplus
}
#endif
#endif /* _zip_H */

5
src/mmsrip/config.h Normal file
View File

@@ -0,0 +1,5 @@
#ifdef _WIN32
#undef HAVE_SNPRINTF
#elif defined(HAVE_CONFIG_H)
#include "../../config.h"
#endif

11
src/proxy/README Normal file
View File

@@ -0,0 +1,11 @@
ProxyTrack
ProxyTrack, build proxies upon HTTrack Website Copier Archives
Copyright (C) Xavier Roche and other contributors
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or any later version.
http://www.httrack.com/proxytrack/