From 29e26c914de5529f4e27341d9e9b587bff099408 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Fri, 21 Sep 2007 04:25:06 +0000 Subject: [PATCH] apache: Updated to 2.2.6, and moved the config files into /etc/apache as per discussion with nbd. SVN-Revision: 8902 --- net/apache/Makefile | 10 +++---- net/apache/files/etc/{ => apache}/httpd.conf | 28 ++++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) rename net/apache/files/etc/{ => apache}/httpd.conf (95%) diff --git a/net/apache/Makefile b/net/apache/Makefile index 9fa7a40278..f954d0144a 100644 --- a/net/apache/Makefile +++ b/net/apache/Makefile @@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=apache -PKG_VERSION:=2.2.4 +PKG_VERSION:=2.2.6 PKG_RELEASE:=1 PKG_SOURCE_NAME:=httpd PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://ftp.uni-erlangen.de/pub/mirrors/apache/httpd/ -PKG_MD5SUM:=3add41e0b924d4bb53c2dee55a38c09e +PKG_MD5SUM:=d050a49bd7532ec21c6bb593b3473a5d PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_NAME)-$(PKG_VERSION) @@ -118,9 +118,9 @@ define Package/apache-server/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/httpd.exp $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/share $(CP) $(PKG_INSTALL_DIR)/usr/share/{error,htdocs,cgi-bin,build} $(1)/usr/share/ - $(INSTALL_DIR) $(1)/etc - $(CP) $(PKG_INSTALL_DIR)/etc/{magic,mime.types,extra} $(1)/etc/ - $(CP) ./files/etc/httpd.conf $(1)/etc/ + $(INSTALL_DIR) $(1)/etc/apache + $(CP) $(PKG_INSTALL_DIR)/etc/{magic,mime.types,extra} $(1)/etc/apache/ + $(CP) ./files/etc/apache/httpd.conf $(1)/etc/apache/ endef define Package/apache-server/postrm diff --git a/net/apache/files/etc/httpd.conf b/net/apache/files/etc/apache/httpd.conf similarity index 95% rename from net/apache/files/etc/httpd.conf rename to net/apache/files/etc/apache/httpd.conf index d979c467ce..b7302167f3 100644 --- a/net/apache/files/etc/httpd.conf +++ b/net/apache/files/etc/apache/httpd.conf @@ -284,7 +284,7 @@ DefaultType text/plain # TypesConfig points to the file containing the list of mappings from # filename extension to MIME-type. # - TypesConfig /etc/mime.types + TypesConfig /etc/apache/mime.types # # AddType allows you to add to or override the MIME configuration @@ -332,7 +332,7 @@ DefaultType text/plain # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # -MIMEMagicFile /etc/magic +MIMEMagicFile /etc/apache/magic # # Customizable error responses come in three flavors: @@ -358,43 +358,43 @@ EnableSendfile off # Supplemental configuration # -# The configuration files in the /etc/extra/ directory can be +# The configuration files in the /etc/apache/extra/ directory can be # included to add extra features or to modify the default configuration of # the server, or you may simply copy their contents here and change as # necessary. # Server-pool management (MPM specific) -## Include /etc/extra/httpd-mpm.conf +## Include /etc/apache/extra/httpd-mpm.conf # Multi-language error messages -## Include /etc/extra/httpd-multilang-errordoc.conf +## Include /etc/apache/extra/httpd-multilang-errordoc.conf # Fancy directory listings -## Include /etc/extra/httpd-autoindex.conf +## Include /etc/apache/extra/httpd-autoindex.conf # Language settings -## Include /etc/extra/httpd-languages.conf +## Include /etc/apache/extra/httpd-languages.conf # User home directories -## Include /etc/extra/httpd-userdir.conf +## Include /etc/apache/extra/httpd-userdir.conf # Real-time info on requests and configuration -## Include /etc/extra/httpd-info.conf +## Include /etc/apache/extra/httpd-info.conf # Virtual hosts -## Include /etc/extra/httpd-vhosts.conf +## Include /etc/apache/extra/httpd-vhosts.conf # Local access to the Apache HTTP Server Manual -## Include /etc/extra/httpd-manual.conf +## Include /etc/apache/extra/httpd-manual.conf # Distributed authoring and versioning (WebDAV) -## Include /etc/extra/httpd-dav.conf +## Include /etc/apache/extra/httpd-dav.conf # Various default settings -## Include /etc/extra/httpd-default.conf +## Include /etc/apache/extra/httpd-default.conf # Secure (SSL/TLS) connections -## Include /etc/extra/httpd-ssl.conf +## Include /etc/apache/extra/httpd-ssl.conf # # Note: The following must must be present to support # starting without SSL on platforms with no /dev/random equivalent -- 2.30.2