head 1.5; access; symbols OPENPKG_E1_MP_HEAD:1.5 OPENPKG_E1_MP:1.5 OPENPKG_CW_FP:1.4 OPENPKG_1_STABLE_MP:1.2; locks; strict; comment @# @; 1.5 date 2005.04.08.19.43.45; author rse; state dead; branches; next 1.4; 1.4 date 2004.09.09.11.06.25; author tho; state Exp; branches; next 1.3; 1.3 date 2004.09.08.10.43.46; author tho; state Exp; branches; next 1.2; 1.2 date 2003.07.09.09.11.02; author mlelstv; state Exp; branches; next 1.1; 1.1 date 2003.01.14.16.40.07; author mlelstv; state Exp; branches; next ; desc @@ 1.5 log @remove Tomcat 4 @ text @--- webapp/configure.in.dist Tue Jan 14 15:35:38 2003 +++ webapp/configure.in Tue Jan 14 16:58:25 2003 @@@@ -149,82 +149,9 @@@@ if test "${APXS_VERSION}" = "1.3" ; then dnl ---------------------------------------------------------------------- - dnl APXS version 1.3, meaning Apache 1.3. We _require_ APR sources - dnl ---------------------------------------------------------------------- - WA_HEADER([Apache 1.3 module compilation (APR checks)]) - - dnl ---------------------------------------------------------------------- - dnl Check where the APR sources are and issue "configure" - dnl ---------------------------------------------------------------------- - WA_APR([APR_DIR]) - tempret="0" - tempval="--enable-static --disable-shared --disable-threads" - tempval="${tempval} --libdir=${TGT_DIR}/objects" - WA_EXEC( - [tempret], - [./configure ${tempval}], - [apr], - [${APR_DIR}]) - AC_MSG_CHECKING([for proper command execution]) - if test "${tempret}" = "0" ; then - AC_MSG_RESULT([ok (${tempret})]) - else - WA_ERROR([command returned with ${tempret}]) - fi - unset tempret - unset tempval - - dnl ---------------------------------------------------------------------- - dnl Retrieve APR variables - dnl ---------------------------------------------------------------------- - WA_APR_GET([CC],[${APR_DIR}],[CC]) - WA_APR_GET([CPP],[${APR_DIR}],[CPP]) - WA_APR_GET([SHELL],[${APR_DIR}],[SHELL]) - - WA_APR_GET([CFLAGS],[${APR_DIR}],[CFLAGS]) - WA_APR_GET([CPPFLAGS],[${APR_DIR}],[CPPFLAGS]) - WA_APR_GET([LDFLAGS],[${APR_DIR}],[LDFLAGS]) - - WA_APR_GET([LDFLAGS],[${APR_DIR}],[LIBS]) - WA_APR_GET([CPPFLAGS],[${APR_DIR}],[EXTRA_INCLUDES]) - - WA_APR_LIB([APR_LIB],[${APR_DIR}]) - WA_APR_LIBNAME([APR_LIBNAME],[${APR_DIR}]) - - AC_MSG_CHECKING([for apr headers]) - WA_APPEND([INCLUDES],[-I${APR_DIR}/include]) - AC_MSG_RESULT([-I${APR_DIR}/include]) - - AC_MSG_CHECKING([for apr libtool]) - LIBTOOL="${SHELL} ${APR_DIR}/libtool --silent" - AC_MSG_RESULT([${LIBTOOL}]) - - dnl ---------------------------------------------------------------------- - dnl Done with APR, let's see what APXS says - dnl ---------------------------------------------------------------------- - WA_HEADER([Apache 1.3 module compilation (APXS checks)]) - - dnl ---------------------------------------------------------------------- - dnl Do a check on the C compiler to see if apxs reports the same one - dnl ---------------------------------------------------------------------- - WA_APXS_GET([tempval],[${APXS}],[CC]) - AC_MSG_CHECKING([for compiler coherency]) - if test "${tempval}" != "${CC}" ; then - AC_MSG_RESULT([error]) - AC_MSG_RESULT([compiler discovered by apr: ${CC}]) - AC_MSG_RESULT([compiler used by apache apxs: ${tempval}]) - AC_MSG_ERROR([the apache apxs and apr compilers must be the same]) - exit 1 - fi - AC_MSG_RESULT([ok (${CC})]) - unset tempval - - dnl ---------------------------------------------------------------------- dnl Apache 1.3 configuration complete dnl ---------------------------------------------------------------------- MODULE="apache-1.3" - WA_APPEND([EXTRA_BUILD],[apr-build]) - WA_APPEND([EXTRA_CLEAN],[apr-clean]) WA_APXS_GET([tempval],[${APXS}],[INCLUDEDIR]) WA_PATH_DIR([tempdir],[${tempval}],[apache 1.3 headers]) @@@@ -236,6 +163,15 @@@@ WA_APXS_GET([EXTRA_LDFLAGS],[${APXS}],[LIBS_SHLIB]) WA_APXS_GET([EXTRA_LDFLAGS],[${APXS}],[LDFLAGS_SHLIB]) + WA_APXS_GET([CC],[${APXS}],[CC]) + + WA_APPEND([CFLAGS],"-I$prefix/include/apr") + WA_APPEND([LDFLAGS],"-I$prefix/lib") + + APR_LIB=apr + CPP=$prefix/bin/cc -E + SHELL=/bin/sh + LIBTOOL=$prefix/bin/libtool --tag C else dnl ---------------------------------------------------------------------- --- webapp/apache-1.3/Makefile.in.dist 2003-07-09 11:06:30.000000000 +0200 +++ webapp/apache-1.3/Makefile.in 2003-07-09 11:06:38.000000000 +0200 @@@@ -86,7 +86,7 @@@@ -Wc,"$(CPPFLAGS) $(CFLAGS)" \ -Wl,"$(LDFLAGS) $(LIBS)" \ -L$(LIB_DIR) -l$(APR_LIB) \ - $(OBJ_DIR)/*.o $< + $(OBJ_DIR)/*.lo $< # +++ EXPERIMENTAL +++ LIBTOOL COMPILE, APXS LINK +++ # SOURCE = mod_webapp.c @ 1.4 log @revoke changes made for apr 1.0.0 @ text @@ 1.3 log @added missing function parameter @ text @a112 12 Index: webapp/lib/pr_warp_network.c --- webapp/lib/pr_warp_network.c.orig 2004-01-25 14:24:04 +0100 +++ webapp/lib/pr_warp_network.c 2004-09-08 12:37:52 +0200 @@@@ -142,7 +142,7 @@@@ apr_status_t ret=APR_SUCCESS; apr_socket_t *sock=NULL; - ret=apr_socket_create(&sock,AF_INET,SOCK_STREAM,wa_pool); + ret=apr_socket_create(&sock,AF_INET,SOCK_STREAM,APR_PROTO_TCP,wa_pool); if (ret!=APR_SUCCESS) { sock=NULL; wa_log(WA_MARK,"Cannot create socket for conn. \"%s\"",conn->name); @ 1.2 log @adapt for new libtool version @ text @d113 12 @ 1.1 log @Created package @ text @d98 1 a98 1 + LIBTOOL=$prefix/bin/libtool d102 11 @