summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--patches/httpd-2.0.64/0001-HACK-server-Makefile-fallback-to-gen_test_char-from-.patch22
-rw-r--r--patches/httpd-2.0.64/0002-HACK-srclib-pcre-Makefile-fallback-to-dftables-from-.patch21
-rw-r--r--patches/httpd-2.0.64/0003-HACK-support-apxs-don-t-execute-httpd.patch45
-rw-r--r--patches/httpd-2.0.64/0004-HACK-support-apxs-don-t-try-to-modify-the-config-fil.patch244
-rw-r--r--patches/httpd-2.0.64/series7
-rw-r--r--rules/apache2-bbinit.in8
-rw-r--r--rules/apache2.in160
-rw-r--r--rules/apache2.make203
-rw-r--r--rules/php5.in7
9 files changed, 4 insertions, 713 deletions
diff --git a/patches/httpd-2.0.64/0001-HACK-server-Makefile-fallback-to-gen_test_char-from-.patch b/patches/httpd-2.0.64/0001-HACK-server-Makefile-fallback-to-gen_test_char-from-.patch
deleted file mode 100644
index 8073ca930..000000000
--- a/patches/httpd-2.0.64/0001-HACK-server-Makefile-fallback-to-gen_test_char-from-.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From: Marc Kleine-Budde <mkl@pengutronix.de>
-Date: Thu, 26 Apr 2012 14:03:37 +0200
-Subject: [PATCH] HACK: server/Makefile: fallback to gen_test_char from $PATH
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
----
- server/Makefile.in | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/server/Makefile.in b/server/Makefile.in
-index 12dc7d8..3590f0e 100644
---- a/server/Makefile.in
-+++ b/server/Makefile.in
-@@ -27,7 +27,7 @@ gen_test_char: $(gen_test_char_OBJECTS)
- $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)
-
- test_char.h: gen_test_char
-- ./gen_test_char > test_char.h
-+ ./gen_test_char > test_char.h || gen_test_char > test_char.h
-
- util.lo: test_char.h
-
diff --git a/patches/httpd-2.0.64/0002-HACK-srclib-pcre-Makefile-fallback-to-dftables-from-.patch b/patches/httpd-2.0.64/0002-HACK-srclib-pcre-Makefile-fallback-to-dftables-from-.patch
deleted file mode 100644
index 6f1fabcdb..000000000
--- a/patches/httpd-2.0.64/0002-HACK-srclib-pcre-Makefile-fallback-to-dftables-from-.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Marc Kleine-Budde <mkl@pengutronix.de>
-Date: Thu, 26 Apr 2012 14:03:37 +0200
-Subject: [PATCH] HACK: srclib/pcre/Makefile: fallback to dftables from $PATH
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
----
- srclib/pcre/Makefile.in | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/srclib/pcre/Makefile.in b/srclib/pcre/Makefile.in
-index 357ce6e..1e09c01 100644
---- a/srclib/pcre/Makefile.in
-+++ b/srclib/pcre/Makefile.in
-@@ -15,6 +15,6 @@ dftables: dftables.lo
- $(LINK) $(EXTRA_LDFLAGS) dftables.lo $(EXTRA_LIBS)
-
- $(srcdir)/chartables.c: dftables
-- ./dftables > $@
-+ ./dftables > $@ || dftables > $@
-
- pcre.lo: $(srcdir)/chartables.c
diff --git a/patches/httpd-2.0.64/0003-HACK-support-apxs-don-t-execute-httpd.patch b/patches/httpd-2.0.64/0003-HACK-support-apxs-don-t-execute-httpd.patch
deleted file mode 100644
index e4badfab7..000000000
--- a/patches/httpd-2.0.64/0003-HACK-support-apxs-don-t-execute-httpd.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From: Robert Schwebel <r.schwebel@pengutronix.de>
-Date: Thu, 26 Apr 2012 15:07:30 +0200
-Subject: [PATCH] HACK: support/apxs: don't execute httpd
-
-Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
----
- support/apxs.in | 24 ++++++++++++------------
- 1 files changed, 12 insertions(+), 12 deletions(-)
-
-diff --git a/support/apxs.in b/support/apxs.in
-index 135544c..cbefb3a 100644
---- a/support/apxs.in
-+++ b/support/apxs.in
-@@ -199,18 +199,18 @@ if ($0 =~ m:support/apxs$:) {
- ($httpd = $0) =~ s:support/apxs$::;
- }
-
--unless (-x "$httpd") {
-- error("$httpd not found or not executable");
-- exit 1;
--}
--
--unless (grep /mod_so/, `. $envvars && $httpd -l`) {
-- error("Sorry, no shared object support for Apache");
-- error("available under your platform. Make sure");
-- error("the Apache module mod_so is compiled into");
-- error("your server binary `$httpd'.");
-- exit 1;
--}
-+#unless (-x "$httpd") {
-+# error("$httpd not found or not executable");
-+# exit 1;
-+#}
-+
-+#unless (grep /mod_so/, `. $envvars && $httpd -l`) {
-+# error("Sorry, no shared object support for Apache");
-+# error("available under your platform. Make sure");
-+# error("the Apache module mod_so is compiled into");
-+# error("your server binary `$httpd'.");
-+# exit 1;
-+#}
-
- sub get_config_vars{
- my ($file, $rh_config) = @_;
diff --git a/patches/httpd-2.0.64/0004-HACK-support-apxs-don-t-try-to-modify-the-config-fil.patch b/patches/httpd-2.0.64/0004-HACK-support-apxs-don-t-try-to-modify-the-config-fil.patch
deleted file mode 100644
index 9f9d1e695..000000000
--- a/patches/httpd-2.0.64/0004-HACK-support-apxs-don-t-try-to-modify-the-config-fil.patch
+++ /dev/null
@@ -1,244 +0,0 @@
-From: Marc Kleine-Budde <mkl@pengutronix.de>
-Date: Fri, 27 Apr 2012 16:28:45 +0200
-Subject: [PATCH] HACK: support/apxs: don't try to modify the config file
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
----
- support/apxs.in | 224 +++++++++++++++++++++++++++---------------------------
- 1 files changed, 112 insertions(+), 112 deletions(-)
-
-diff --git a/support/apxs.in b/support/apxs.in
-index cbefb3a..2bde471 100644
---- a/support/apxs.in
-+++ b/support/apxs.in
-@@ -527,118 +527,118 @@ if ($opt_i or $opt_e) {
- &execute_cmds(@cmds);
-
- # activate module via LoadModule/AddModule directive
-- if ($opt_a or $opt_A) {
-- if (not -f "$CFG_SYSCONFDIR/$CFG_TARGET.conf") {
-- error("Config file $CFG_SYSCONFDIR/$CFG_TARGET.conf not found");
-- exit(1);
-- }
--
-- open(FP, "<$CFG_SYSCONFDIR/$CFG_TARGET.conf") || die;
-- my $content = join('', <FP>);
-- close(FP);
--
-- if ($content !~ m|\n#?\s*LoadModule\s+|) {
-- error("Activation failed for custom $CFG_SYSCONFDIR/$CFG_TARGET.conf file.");
-- error("At least one `LoadModule' directive already has to exist.");
-- exit(1);
-- }
--
-- my $lmd;
-- my $c = '';
-- $c = '#' if ($opt_A);
-- foreach $lmd (@lmd) {
-- my $what = $opt_A ? "preparing" : "activating";
-- my $lmd_re = $lmd;
-- $lmd_re =~ s/\s+/\\s+/g;
--
-- if ($content !~ m|\n#?\s*$lmd_re|) {
-- # check for open <containers>, so that the new LoadModule
-- # directive always appears *outside* of an <container>.
--
-- my $before = ($content =~ m|^(.*\n)#?\s*LoadModule\s+[^\n]+\n|s)[0];
--
-- # the '()=' trick forces list context and the scalar
-- # assignment counts the number of list members (aka number
-- # of matches) then
-- my $cntopen = () = ($before =~ m|^\s*<[^/].*$|mg);
-- my $cntclose = () = ($before =~ m|^\s*</.*$|mg);
--
-- if ($cntopen == $cntclose) {
-- # fine. Last LoadModule is contextless.
-- $content =~ s|^(.*\n#?\s*LoadModule\s+[^\n]+\n)|$1$c$lmd\n|s;
-- }
-- elsif ($cntopen < $cntclose) {
-- error('Configuration file is not valid. There are sections'
-- . ' closed before opened.');
-- exit(1);
-- }
-- else {
-- # put our cmd after the section containing the last
-- # LoadModule.
-- my $found =
-- $content =~ s!\A ( # string and capture start
-- (?:(?:
-- ^\s* # start of conf line with a
-- (?:[^<]|<[^/]) # directive which does not
-- # start with '</'
--
-- .*(?:$)\n # rest of the line.
-- # the '$' is in parentheses
-- # to avoid misinterpreting
-- # the string "$\" as
-- # perl variable.
--
-- )* # catch as much as possible
-- # of such lines. (including
-- # zero)
--
-- ^\s*</.*(?:$)\n? # after the above, we
-- # expect a config line with
-- # a closing container (</)
--
-- ) {$cntopen} # the whole pattern (bunch
-- # of lines that end up with
-- # a closing directive) must
-- # be repeated $cntopen
-- # times. That's it.
-- # Simple, eh? ;-)
--
-- ) # capture end
-- !$1$c$lmd\n!mx;
--
-- unless ($found) {
-- error('Configuration file is not valid. There are '
-- . 'sections opened and not closed.');
-- exit(1);
-- }
-- }
-- } else {
-- # replace already existing LoadModule line
-- $content =~ s|^(.*\n)#?\s*$lmd_re[^\n]*\n|$1$c$lmd\n|s;
-- }
-- $lmd =~ m|LoadModule\s+(.+?)_module.*|;
-- notice("[$what module `$1' in $CFG_SYSCONFDIR/$CFG_TARGET.conf]");
-- }
-- my $amd;
-- foreach $amd (@amd) {
-- if ($content !~ m|\n#?\s*$amd|) {
-- $content =~ s|^(.*\n#?\s*AddModule\s+[^\n]+\n)|$1$c$amd\n|sg;
-- } else {
-- $content =~ s|^(.*\n)#?\s*$amd[^\n]*\n|$1$c$amd\n|sg;
-- }
-- }
-- if (@lmd or @amd) {
-- if (open(FP, ">$CFG_SYSCONFDIR/$CFG_TARGET.conf.new")) {
-- print FP $content;
-- close(FP);
-- system("cp $CFG_SYSCONFDIR/$CFG_TARGET.conf $CFG_SYSCONFDIR/$CFG_TARGET.conf.bak && " .
-- "cp $CFG_SYSCONFDIR/$CFG_TARGET.conf.new $CFG_SYSCONFDIR/$CFG_TARGET.conf && " .
-- "rm $CFG_SYSCONFDIR/$CFG_TARGET.conf.new");
-- } else {
-- notice("unable to open configuration file");
-- }
-- }
-- }
-+ # if ($opt_a or $opt_A) {
-+ # if (not -f "$CFG_SYSCONFDIR/$CFG_TARGET.conf") {
-+ # error("Config file $CFG_SYSCONFDIR/$CFG_TARGET.conf not found");
-+ # exit(1);
-+ # }
-+
-+ # open(FP, "<$CFG_SYSCONFDIR/$CFG_TARGET.conf") || die;
-+ # my $content = join('', <FP>);
-+ # close(FP);
-+
-+ # if ($content !~ m|\n#?\s*LoadModule\s+|) {
-+ # error("Activation failed for custom $CFG_SYSCONFDIR/$CFG_TARGET.conf file.");
-+ # error("At least one `LoadModule' directive already has to exist.");
-+ # exit(1);
-+ # }
-+
-+ # my $lmd;
-+ # my $c = '';
-+ # $c = '#' if ($opt_A);
-+ # foreach $lmd (@lmd) {
-+ # my $what = $opt_A ? "preparing" : "activating";
-+ # my $lmd_re = $lmd;
-+ # $lmd_re =~ s/\s+/\\s+/g;
-+
-+ # if ($content !~ m|\n#?\s*$lmd_re|) {
-+ # # check for open <containers>, so that the new LoadModule
-+ # # directive always appears *outside* of an <container>.
-+
-+ # my $before = ($content =~ m|^(.*\n)#?\s*LoadModule\s+[^\n]+\n|s)[0];
-+
-+ # # the '()=' trick forces list context and the scalar
-+ # # assignment counts the number of list members (aka number
-+ # # of matches) then
-+ # my $cntopen = () = ($before =~ m|^\s*<[^/].*$|mg);
-+ # my $cntclose = () = ($before =~ m|^\s*</.*$|mg);
-+
-+ # if ($cntopen == $cntclose) {
-+ # # fine. Last LoadModule is contextless.
-+ # $content =~ s|^(.*\n#?\s*LoadModule\s+[^\n]+\n)|$1$c$lmd\n|s;
-+ # }
-+ # elsif ($cntopen < $cntclose) {
-+ # error('Configuration file is not valid. There are sections'
-+ # . ' closed before opened.');
-+ # exit(1);
-+ # }
-+ # else {
-+ # # put our cmd after the section containing the last
-+ # # LoadModule.
-+ # my $found =
-+ # $content =~ s!\A ( # string and capture start
-+ # (?:(?:
-+ # ^\s* # start of conf line with a
-+ # (?:[^<]|<[^/]) # directive which does not
-+ # # start with '</'
-+
-+ # .*(?:$)\n # rest of the line.
-+ # # the '$' is in parentheses
-+ # # to avoid misinterpreting
-+ # # the string "$\" as
-+ # # perl variable.
-+
-+ # )* # catch as much as possible
-+ # # of such lines. (including
-+ # # zero)
-+
-+ # ^\s*</.*(?:$)\n? # after the above, we
-+ # # expect a config line with
-+ # # a closing container (</)
-+
-+ # ) {$cntopen} # the whole pattern (bunch
-+ # # of lines that end up with
-+ # # a closing directive) must
-+ # # be repeated $cntopen
-+ # # times. That's it.
-+ # # Simple, eh? ;-)
-+
-+ # ) # capture end
-+ # !$1$c$lmd\n!mx;
-+
-+ # unless ($found) {
-+ # error('Configuration file is not valid. There are '
-+ # . 'sections opened and not closed.');
-+ # exit(1);
-+ # }
-+ # }
-+ # } else {
-+ # # replace already existing LoadModule line
-+ # $content =~ s|^(.*\n)#?\s*$lmd_re[^\n]*\n|$1$c$lmd\n|s;
-+ # }
-+ # $lmd =~ m|LoadModule\s+(.+?)_module.*|;
-+ # notice("[$what module `$1' in $CFG_SYSCONFDIR/$CFG_TARGET.conf]");
-+ # }
-+ # my $amd;
-+ # foreach $amd (@amd) {
-+ # if ($content !~ m|\n#?\s*$amd|) {
-+ # $content =~ s|^(.*\n#?\s*AddModule\s+[^\n]+\n)|$1$c$amd\n|sg;
-+ # } else {
-+ # $content =~ s|^(.*\n)#?\s*$amd[^\n]*\n|$1$c$amd\n|sg;
-+ # }
-+ # }
-+ # if (@lmd or @amd) {
-+ # if (open(FP, ">$CFG_SYSCONFDIR/$CFG_TARGET.conf.new")) {
-+ # print FP $content;
-+ # close(FP);
-+ # system("cp $CFG_SYSCONFDIR/$CFG_TARGET.conf $CFG_SYSCONFDIR/$CFG_TARGET.conf.bak && " .
-+ # "cp $CFG_SYSCONFDIR/$CFG_TARGET.conf.new $CFG_SYSCONFDIR/$CFG_TARGET.conf && " .
-+ # "rm $CFG_SYSCONFDIR/$CFG_TARGET.conf.new");
-+ # } else {
-+ # notice("unable to open configuration file");
-+ # }
-+ # }
-+ # }
- }
-
- sub error{
diff --git a/patches/httpd-2.0.64/series b/patches/httpd-2.0.64/series
deleted file mode 100644
index ff12a99e3..000000000
--- a/patches/httpd-2.0.64/series
+++ /dev/null
@@ -1,7 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-HACK-server-Makefile-fallback-to-gen_test_char-from-.patch
-0002-HACK-srclib-pcre-Makefile-fallback-to-dftables-from-.patch
-0003-HACK-support-apxs-don-t-execute-httpd.patch
-0004-HACK-support-apxs-don-t-try-to-modify-the-config-fil.patch
-# 160b9c105b4f55538cd0ce5c82eda8fd - git-ptx-patches magic
diff --git a/rules/apache2-bbinit.in b/rules/apache2-bbinit.in
deleted file mode 100644
index 74e1dcfab..000000000
--- a/rules/apache2-bbinit.in
+++ /dev/null
@@ -1,8 +0,0 @@
-## SECTION=initmethod_bbinit
-
-config APACHE2_BBINIT_LINK
- string
- depends on APACHE2_STARTSCRIPT
- prompt "apache2"
- default "S91apache2"
-
diff --git a/rules/apache2.in b/rules/apache2.in
deleted file mode 100644
index f8cd3855f..000000000
--- a/rules/apache2.in
+++ /dev/null
@@ -1,160 +0,0 @@
-## SECTION=staging
-## old section:
-### SECTION=networking
-
-menuconfig APACHE2
- tristate
- prompt "apache 2 http server "
- select APR
- select APR_UTIL
- select HOST_APACHE2
- select LIBC_M
- select LIBC_RT
- select LIBC_DL
- select LIBC_NSL
- select LIBC_CRYPT
- select GCCLIBS_GCC_S
- help
- Apache v2 is the next generation of the Apache web server.
- This version - a total rewrite - introduces many new
- improvements, such as threading, a new API, IPv6 support,
- request/response filtering, and more.
-
- STAGING: remove in ptxdist-2019.03.0
- Really old version that needs updating.
-
-if APACHE2
-
-comment "build options ---"
-
-choice
- prompt "Multi Process Model"
-
- config APACHE2_MPM_PREFORK
- bool "prefork"
- help
- Multi Process Model with preforking (Apache 1.3)
-
- config APACHE2_MPM_PERCHILD
- bool "perchild"
- help
- Multi Process Model with threading.
- Constant number of processes, variable number of threads,
- each child process can have a different uid/gid.
-
- config APACHE2_MPM_WORKER
- bool "worker"
- help
- Multi Process model with threads.
- One acceptor thread, multiple worker threads.
-endchoice
-
-comment "runtime options ---"
-
-config APACHE2_SERVERROOT
- string
- prompt "ServerRoot directory"
- default "/usr/share/apache2"
- help
- This directory defines apache's serverroot where the icons are
- located.
-
-config APACHE2_INSTALL_CONFIG
- bool
- default y
- prompt "Install httpd.conf"
- help
- Install a $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf from a selectable
- source.
-
-config APACHE2_LISTEN
- depends on APACHE2_INSTALL_CONFIG
- string
- default "0.0.0.0:80"
- prompt "LISTEN"
- help
- LISTEN entry in httpd.conf; this entry must contain a server
- name or IP and a port, for example "0.0.0.0:80" to listen
- on all interfaces.
-
-config APACHE2_SERVERNAME
- depends on APACHE2_INSTALL_CONFIG
- string
- default "localhost"
- prompt "SERVERNAME"
- help
- SERVERNAME entry in httpd.conf
-
-config APACHE2_SERVERADMIN
- depends on APACHE2_INSTALL_CONFIG
- string
- default "foo\@bar"
- prompt "SERVERADMIN"
- help
- SERVERADMIN entry in httpd.conf
-
-comment "Directories ---"
-
-config APACHE2_CONFIGDIR
- string
- default "/etc/apache2"
- prompt "Config directory"
- help
- Apache's configuration directory (httpd.conf, mime.types etc. are
- searched here).
-
-config APACHE2_LOGDIR
- string
- default "/var/log/apache2"
- prompt "Logfile directory"
- help
- Apache's logfile directory.
-
-config APACHE2_DOCUMENTROOT
- string
- default "/var/www"
- prompt "DocumentRoot directory"
- help
- Apache's docroot is very empty if you don't add some
- files. Later you can connect to your target, but you
- will see nothing special (only an very small html page
- is provided).
-
-config APACHE2_DEFAULT_INDEX
- depends on APACHE2_DOCUMENTROOT != ""
- bool
- default y
- prompt "Default index.html"
- help
- Install a demo HTML file, from project/projectroot/var/www/index.html.
-
-comment "Misc ---"
-
-config APACHE2_PUBLICDOMAINICONS
- bool "Public Domain Icons"
- depends on APACHE2_SERVERROOT != ""
- default y
- help
- These icons were originally made for Mosaic for X and have been
- included in the NCSA httpd and Apache server distributions in the
- past. They are in the public domain and may be freely included in
- any application. The originals were done by Kevin Hughes
- (kevinh@kevcom.com).
-
-config APACHE2_CUSTOMERRORS
- bool "Multi Language Custom Error Documents"
- depends on APACHE2_SERVERROOT != ""
- default y
- help
- Install HTTP error messages in multiple languages. If the preferred
- language of a client is available it is selected automatically via
- the MultiViews feature. This feature is enabled by default via the
- Options, Language and ErrorDocument directives.
-
-config APACHE2_STARTSCRIPT
- bool
- default y
- prompt "install /etc/init.d/apache2"
-
-endif
-
diff --git a/rules/apache2.make b/rules/apache2.make
deleted file mode 100644
index 91df30033..000000000
--- a/rules/apache2.make
+++ /dev/null
@@ -1,203 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2005 by Robert Schwebel
-# 2009, 2012 by Marc Kleine-Budde <mkl@pengutronix.de>
-#
-# See CREDITS for details about who has contributed to this project.
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_APACHE2) += apache2
-
-#
-# Paths and names
-#
-APACHE2_VERSION := 2.0.64
-APACHE2_MD5 := 762e250a3b981ce666bc10e6748a1ac1
-APACHE2 := httpd-$(APACHE2_VERSION)
-APACHE2_SUFFIX := tar.bz2
-APACHE2_URL := http://archive.apache.org/dist/httpd/$(APACHE2).$(APACHE2_SUFFIX)
-APACHE2_SOURCE := $(SRCDIR)/$(APACHE2).$(APACHE2_SUFFIX)
-APACHE2_DIR := $(BUILDDIR)/$(APACHE2)
-APACHE2_LICENSE := Apache-2.0
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-#
-# autoconf
-#
-APACHE2_CONF_TOOL := autoconf
-APACHE2_CONF_OPT := \
- $(CROSS_AUTOCONF_USR) \
- --includedir=/usr/include/apache2 \
- --enable-so \
- --with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-config \
- --with-apr-util=$(PTXDIST_SYSROOT_CROSS)/bin/apu-config
-
-ifdef PTXCONF_APACHE2_MPM_PREFORK
-APACHE2_CONF_OPT += --with-mpm=prefork
-endif
-
-ifdef PTXCONF_APACHE2_MPM_PERCHILD
-APACHE2_CONF_OPT += --with-mpm=perchild
-endif
-
-ifdef PTXCONF_APACHE2_MPM_WORKER
-APACHE2_CONF_OPT += --with-mpm=worker
-endif
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/apache2.install.post:
- @$(call targetinfo)
- @$(call world/install.post, APACHE2)
- sed -i -e "s~\([ =\"]\)\(/usr\)~\1$(PTXDIST_SYSROOT_TARGET)\2~g" \
- $(PTXDIST_SYSROOT_TARGET)/usr/build/config.nice \
- $(PTXDIST_SYSROOT_TARGET)/usr/bin/apxs
- sed -i \
- -e "/AP._BINDIR/s~\([ =\"]\)\(/usr\)~\1$(PTXDIST_SYSROOT_TARGET)\2~g" \
- -e "/^includedir/s~= \(.*\)~= $(PTXDIST_SYSROOT_TARGET)\1~g" \
- $(PTXDIST_SYSROOT_TARGET)/usr/build/config_vars.mk
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/apache2.targetinstall:
- @$(call targetinfo)
-
- @$(call install_init, apache2)
- @$(call install_fixup, apache2,PRIORITY,optional)
- @$(call install_fixup, apache2,SECTION,base)
- @$(call install_fixup, apache2,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
- @$(call install_fixup, apache2,DESCRIPTION,missing)
-
- @$(call install_copy, apache2, 0, 0, 0755, \
- $(APACHE2_PKGDIR)/usr/bin/httpd, /usr/sbin/apache2)
-
-ifneq ($(PTXCONF_APACHE2_SERVERROOT),"")
- @$(call install_copy, apache2, www, www, 0755, $(PTXCONF_APACHE2_SERVERROOT))
-
-ifdef PTXCONF_APACHE2_PUBLICDOMAINICONS
- @$(call install_copy, apache2, www, www, 0755, $(PTXCONF_APACHE2_SERVERROOT)/icons)
- @cd $(APACHE2_PKGDIR)/usr/icons; \
- for i in *.gif *.png; do \
- $(call install_copy, apache2, www, www, 0644, $(APACHE2_PKGDIR)/usr/icons/$$i, \
- $(PTXCONF_APACHE2_SERVERROOT)/icons/$$i); \
- done
- @$(call install_copy, apache2, www, www, 0755, $(PTXCONF_APACHE2_SERVERROOT)/icons/small)
- @cd $(APACHE2_PKGDIR)/usr/icons/small; \
- for i in *.gif *.png; do \
- $(call install_copy, apache2, www, www, 0644, $(APACHE2_PKGDIR)/usr/icons/small/$$i, \
- $(PTXCONF_APACHE2_SERVERROOT)/icons/small/$$i); \
- done
-endif
-
-ifdef PTXCONF_APACHE2_CUSTOMERRORS
- @$(call install_copy, apache2, www, www, 0755, $(PTXCONF_APACHE2_SERVERROOT)/error)
- @cd $(APACHE2_PKGDIR)/usr/error; \
- for i in *.html.var; do \
- $(call install_copy, apache2, www, www, 0644, $(APACHE2_PKGDIR)/usr/error/$$i, \
- $(PTXCONF_APACHE2_SERVERROOT)/error/$$i); \
- done
- @$(call install_copy, apache2, www, www, 0755, $(PTXCONF_APACHE2_SERVERROOT)/error/include)
- @cd $(APACHE2_PKGDIR)/usr/error/include; \
- for i in *.html; do \
- $(call install_copy, apache2, www, www, 0644, $(APACHE2_PKGDIR)/usr/error/include/$$i, \
- $(PTXCONF_APACHE2_SERVERROOT)/error/include/$$i); \
- done
-endif
-
-#
-# install some generic definitions into the directory where
-# the server's root is
-# -> mime.types: Definition of mime-type, their names and extensions
-# -> magic: Definitions to detect the mime-type without extensions
-#
- @$(call install_copy, apache2, www, www, 0755, $(PTXCONF_APACHE2_SERVERROOT)/conf)
- @$(call install_copy, apache2, www, www, 0644, $(APACHE2_PKGDIR)/etc/magic, \
- $(PTXCONF_APACHE2_SERVERROOT)/conf/magic)
- @$(call install_copy, apache2, www, www, 0644, $(APACHE2_PKGDIR)/etc/mime.types, \
- $(PTXCONF_APACHE2_SERVERROOT)/conf/mime.types)
-
-endif
-
-ifdef PTXCONF_APACHE2_DEFAULT_INDEX
- @$(call install_copy, apache2, www, www, 0755, $(PTXCONF_APACHE2_DOCUMENTROOT))
- @$(call install_copy, apache2, www, www, 0644, \
- $(PTXDIST_TOPDIR)/projectroot/var/www/index.html, \
- $(PTXCONF_APACHE2_DOCUMENTROOT)/index.html)
-endif
-
-ifneq ($(PTXCONF_APACHE2_CONFIGDIR), "")
- @$(call install_copy, apache2, www, www, 0755, $(PTXCONF_APACHE2_CONFIGDIR))
-
-ifdef PTXCONF_APACHE2_INSTALL_CONFIG
- @$(call install_alternative, apache2, www, www, 0644, \
- /etc/apache2/httpd.conf,, $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf)
- @$(call install_replace, apache2, $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf, \
- @SERVERROOT@, $(PTXCONF_APACHE2_SERVERROOT))
- @$(call install_replace, apache2, $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf, \
- @DOCUMENTROOT@, $(PTXCONF_APACHE2_DOCUMENTROOT))
- @$(call install_replace, apache2, $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf, \
- @CONFIGDIR@, $(PTXCONF_APACHE2_CONFIGDIR))
- @$(call install_replace, apache2, $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf, \
- @LOGPATH@, $(PTXCONF_APACHE2_LOGDIR))
- @$(call install_replace, apache2, $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf, \
- @PIDFILE@, /var/run/apache2.pid)
- @$(call install_replace, apache2, $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf, \
- @LISTEN@, $(PTXCONF_APACHE2_LISTEN))
- @$(call install_replace, apache2, $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf, \
- @SERVERADMIN@, $(PTXCONF_APACHE2_SERVERADMIN))
- @$(call install_replace, apache2, $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf, \
- @SERVERNAME@, $(PTXCONF_APACHE2_SERVERNAME))
-endif
-endif
-
-# #
-# # create the log dir if enabled
-# #
-ifneq ($(PTXCONF_APACHE2_LOGDIR), "")
- @$(call install_copy, apache2, www, www, 0755, $(PTXCONF_APACHE2_LOGDIR))
-endif
-
-# #
-# # busybox init: startscript
-# #
-ifdef PTXCONF_INITMETHOD_BBINIT
-ifdef PTXCONF_APACHE2_STARTSCRIPT
- @$(call install_alternative, apache2, 0, 0, 0755, /etc/init.d/apache2)
-
- @$(call install_replace, apache2, /etc/init.d/apache2, \
- @APACHECONFIG@, $(PTXCONF_APACHE2_CONFIGDIR))
- @$(call install_replace, apache2, /etc/init.d/apache2, \
- @LOGPATH@, $(PTXCONF_APACHE2_LOGDIR))
-
-ifneq ($(call remove_quotes, $(PTXCONF_APACHE2_BBINIT_LINK)),)
- @$(call install_link, apache2, \
- ../init.d/apache2, \
- /etc/rc.d/$(PTXCONF_APACHE2_BBINIT_LINK))
-endif
-endif
-endif
-
-ifdef PTXCONF_PRELINK
- @$(call install_alternative, apache2, 0, 0, 0644, \
- /etc/prelink.conf.d/apache2)
-endif
-
- @$(call install_finish, apache2)
-
- @$(call touch)
-
-# vim: syntax=make
diff --git a/rules/php5.in b/rules/php5.in
index cd191b96f..07dfa159e 100644
--- a/rules/php5.in
+++ b/rules/php5.in
@@ -4,7 +4,6 @@
menuconfig PHP5
tristate
prompt "php5 "
- select APACHE2 if PHP5_SAPI_APXS2 || PHP5_SAPI_APXS2FILTER
select LIBCURL if PHP5_EXT_CURL
select LIBXML2 if PHP5_XML_LIBXML2
select LIBXML2_C14N if PHP5_XML_LIBXML2
@@ -49,7 +48,8 @@ config PHP5_SAPI_AOLSERVER
config PHP5_SAPI_APXS2FILTER
bool
- depends on STAGING
+ # needs apache
+ depends on BROKEN
prompt "apxs2filter"
help
EXPERIMENTAL: Build shared Apache 2.0 Filter module. FILE is the optional
@@ -57,7 +57,8 @@ config PHP5_SAPI_APXS2FILTER
config PHP5_SAPI_APXS2
bool
- depends on STAGING
+ # needs apache
+ depends on BROKEN
prompt "apache mod_php (apxs2)"
help
Build shared Apache 2.0 Handler module.