|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
diff -ru --new-file httpd-2.4.25.orig/build/rules.mk.in httpd-2.4.25/build/rules.mk.in
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
--- httpd-2.4.25.orig/build/rules.mk.in 2012-09-26 16:30:31.000000000 +0200
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+++ httpd-2.4.25/build/rules.mk.in 2017-01-27 02:10:20.539967531 +0100
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
@@ -50,7 +50,7 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
# Link-related commands
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
LINK = $(LIBTOOL) --mode=link $(CC) $(ALL_CFLAGS) $(PILDFLAGS) $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-SH_LINK = $(SH_LIBTOOL) --mode=link $(CC) $(ALL_CFLAGS) $(LT_LDFLAGS) $(ALL_LDFLAGS) $(SH_LDFLAGS) $(CORE_IMPLIB) $(SH_LIBS) -o $@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+SH_LINK = $(LIBTOOL) --mode=link $(CC) $(ALL_CFLAGS) $(LT_LDFLAGS) $(ALL_LDFLAGS) $(SH_LDFLAGS) $(CORE_IMPLIB) $(SH_LIBS) -o $@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
MOD_LINK = $(LIBTOOL) --mode=link $(CC) $(ALL_CFLAGS) -static $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
# Cross compile commands
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
diff -ru --new-file httpd-2.4.25.orig/configure httpd-2.4.25/configure
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
--- httpd-2.4.25.orig/configure 2016-12-16 19:24:48.000000000 +0100
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
@@ -8828,13 +8828,6 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
CPPFLAGS=$apr_old_cppflags
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- if test $ac_cv_define_APR_HAS_DSO = "no"; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing DSO support - building static modules by default." >&5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-$as_echo "$as_me: WARNING: Missing DSO support - building static modules by default." >&2;}
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- module_default=static
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- fi
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
# Check whether --enable-modules was given.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
if test "${enable_modules+set}" = set; then :
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
enableval=$enable_modules;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
@@ -13645,9 +13638,9 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
case "x$enable_so" in
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
"xyes")
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- if test $ac_cv_define_APR_HAS_DSO = "no"; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- as_fn_error $? "mod_so has been requested but cannot be built on your system" "$LINENO" 5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- fi
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ #if test $ac_cv_define_APR_HAS_DSO = "no"; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
"xshared")
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
as_fn_error $? "mod_so can not be built as a shared DSO" "$LINENO" 5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
@@ -13693,16 +13686,6 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
APACHE_VAR_SUBST="$APACHE_VAR_SUBST INSTALL_DSO"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-if test "$sharedobjs" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- if test $ac_cv_define_APR_HAS_DSO = "no"; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- as_fn_error $? "shared objects have been requested but cannot be built since mod_so cannot be built" "$LINENO" 5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- elif test $enable_so = "no"; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- as_fn_error $? "shared objects have been requested but cannot be built since mod_so was disabled" "$LINENO" 5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- fi
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-fi
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable mod_so" >&5
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
$as_echo_n "checking whether to enable mod_so... " >&6; }
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
diff -ru --new-file httpd-2.4.25.orig/server/test_char.h httpd-2.4.25/server/test_char.h
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
--- httpd-2.4.25.orig/server/test_char.h 1970-01-01 01:00:00.000000000 +0100
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
@@ -0,0 +1,45 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+#define T_ESCAPE_SHELL_CMD (1)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+#define T_ESCAPE_PATH_SEGMENT (2)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+#define T_OS_ESCAPE_PATH (4)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+#define T_HTTP_TOKEN_STOP (8)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+#define T_ESCAPE_LOGITEM (16)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+#define T_ESCAPE_FORENSIC (32)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+#define T_ESCAPE_URLENCODED (64)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+#define T_HTTP_CTRLS (128)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+#define T_VCHAR_OBSTEXT (256)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+static const unsigned short test_char_table[256] = {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x0a8,0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x0fe,0x07e,0x0ff,0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,0x0fe,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x00e,0x140,0x15f,0x146,0x141,0x166,0x141,0x141,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x149,0x149,0x101,0x140,0x148,0x100,0x100,0x14a,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x100,0x100,0x100,0x100,0x100,0x100,0x100,0x100,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x100,0x100,0x168,0x14b,0x14f,0x148,0x14f,0x14f,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x148,0x100,0x100,0x100,0x100,0x100,0x100,0x100,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x100,0x100,0x100,0x100,0x100,0x100,0x100,0x100,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x100,0x100,0x100,0x100,0x100,0x100,0x100,0x100,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x100,0x100,0x100,0x14f,0x15f,0x14f,0x147,0x100,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x147,0x100,0x100,0x100,0x100,0x100,0x100,0x100,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x100,0x100,0x100,0x100,0x100,0x100,0x100,0x100,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x100,0x100,0x100,0x100,0x100,0x100,0x100,0x100,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x100,0x100,0x100,0x14f,0x167,0x14f,0x141,0x0fe,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ 0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e,0x17e
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
--- httpd-2.4.25/server/Makefile.in.orig 2013-10-02 12:20:14.000000000 +0000
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+++ httpd-2.4.25/server/Makefile.in 2017-02-02 23:55:21.521675844 +0000
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
@@ -23,10 +23,10 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
include $(top_builddir)/build/rules.mk
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
include $(top_srcdir)/build/library.mk
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-gen_test_char_OBJECTS = gen_test_char.lo
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
-gen_test_char: $(gen_test_char_OBJECTS)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
- $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+gen_test_char: gen_test_char.o
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+ gcc -I$(shell x86_64-nt64-midipix-apr-1-config --includedir) -o $@ $<
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
+
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
test_char.h: gen_test_char
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
./gen_test_char > test_char.h
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
5b02e1 |
|