From owner-freebsd-apache@FreeBSD.ORG Sun Feb 3 15:12:43 2013 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C804DBAC; Sun, 3 Feb 2013 15:12:43 +0000 (UTC) (envelope-from spil.oss@gmail.com) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::231]) by mx1.freebsd.org (Postfix) with ESMTP id 88E84B75; Sun, 3 Feb 2013 15:12:43 +0000 (UTC) Received: by mail-ie0-f177.google.com with SMTP id 16so4686713iea.8 for ; Sun, 03 Feb 2013 07:12:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:date:message-id:subject:from:to :content-type; bh=zW4W2cGMaCkPPG6lYwfGjZJKnoWqyeAkI8ZyjoxUu1I=; b=mufO/Fz0wAKRhKIsTgwYioBgrEU790ZfR0ZobyI1eT6SlwqtfVSL006C29P986BzUz oE7wvPngns8z2g+brP32ltDdIQ6KrVI7WUdIuye6EJJYxR1HH4Ug+/0vB0GstJ0WCWAW denk54XcqyMNPBFY759G7NMzM/MxtPZeDP+ngmiB3u+QCKFYxbUyYCgY7MbY9b8Xk4ad 3p/lB7EYrkbTJXcOqg5yuUYrX8DuNWfWM/GMyLSo7iJ98qVnNeKtcPxuXhafKySyo+ax bb/QsEVGWk1yWXpVhrjzB0a2KrciFjK2RriCoBd2SwS6evdx5nHKil+lAgG4BRWysTWw D6Xw== MIME-Version: 1.0 X-Received: by 10.50.40.229 with SMTP id a5mr3062530igl.59.1359904363120; Sun, 03 Feb 2013 07:12:43 -0800 (PST) Received: by 10.42.152.133 with HTTP; Sun, 3 Feb 2013 07:12:43 -0800 (PST) Date: Sun, 3 Feb 2013 16:12:43 +0100 Message-ID: Subject: Re: Current status of www/apache24 From: Spil Oss To: freebsd-apache@freebsd.org, corsmith@gmail.com, freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: spil.oss@gmail.com List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2013 15:12:43 -0000 Hi Corey, Thanks for your effort! I've pulled https://github.com/corsmith/ports-wip to give it a run. Cross-posted this to freebsd-ports as I have seen requests for Apache 2.4 on IRC and it'll be helpful to those wanting Apache 2.4 before an official port is released. I've been testing the port you've created. It compiles fine with clang 3.1 on FreeBSD 9.1! I've run into a couple of snags though. Still, I've almost got a running Apache 2.4 on FreeBSD! That is, I've been able to serve some static files and php as a module works but I failed when migrating the full config for all vhosts with all the features that are used. 7 1. mod_watchdog configure: WARNING: "mod_watchdog is disabled but required for mod_heartbeat" I can't find an OPTION for heartbeat, so either watchdog shouldn't be an option or heartbeat should? Solved by enabling watchdog 2. /usr/local/bin/apxs The port installs apxs to /usr/local/bin where apache22 installs it in /usr/local/bin/apxs Other ports (lang/php5) expect apxs to be in /usr/local/sbin Solved by hardlinking apxs in /usr/local/sbin for now... 3. mod_unixd mod_unixd can't be disabled (not an option) or httpd won't start [core:crit] [pid 33064:tid 679494400] AH00136: Server MUST relinquish startup privileges before accepting connections. Please ensure mod_unixd or other system security module is loaded. AH00016: Configuration Failed Looks like unixd is required on Unix platforms and shouldn't be an option. Solved by enabling UNIXD 4. mod_so Should it be an option at all? I have it disabled yet I can load modules and httpd -l reports that mod_so is built-in Or is this option for building an external .so (which sounds a bit silly!) 5. mod_socache_shmdb If SSL is enabled one socache module must be enabled for a functional SSL daemon Some check for this in the Makefile would be helpful 6. mod_digest [Fri Feb 01 23:39:08.202525 2013] [auth_digest:notice] [pid 73983:tid 679494400] AH01757: generating secret for digest authentication ... [Fri Feb 01 23:39:08.202768 2013] [auth_digest:error] [pid 73983:tid 679494400] (78)Function not implemented: AH01762: Failed to create shared memory segment on file /var/run/authdigest_shm.73983 [Fri Feb 01 23:39:08.202818 2013] [auth_digest:error] [pid 73983:tid 679494400] (78)Function not implemented: AH01760: failed to initialize shm - all nonce-count checking, one-time nonces, and MD5-sess algorithm disabled [Fri Feb 01 23:39:08.202831 2013] [:emerg] [pid 73983:tid 679494400] AH00020: Configuration Failed, exiting Haven't figured this out at all yet. 7. MPM Now I checked I see that I didn't have any MPM enabled in the options, but this results in a default to worker-MPM. The port's Makefile.modules claims otherwise. .if !${PORT_OPTIONS:MMPM_EVENT} && !${PORT_OPTIONS:MMPM_PREFORK} && !${PORT_OPTIONS:MMPM_WORKER} IGNORE= At least one MPM must be selected. .endif I'll be trying to patch up the port and send you a patch (should be possible with cloning etc as well, but I have no functional Git dev env) Thanks! Spil. From owner-freebsd-apache@FreeBSD.ORG Mon Feb 4 11:06:09 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E9D276FA for ; Mon, 4 Feb 2013 11:06:09 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DC3C7C3A for ; Mon, 4 Feb 2013 11:06:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14B69UW028007 for ; Mon, 4 Feb 2013 11:06:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14B69hr028005 for apache@FreeBSD.org; Mon, 4 Feb 2013 11:06:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Feb 2013 11:06:09 GMT Message-Id: <201302041106.r14B69hr028005@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Subject: Current problem reports assigned to apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 11:06:10 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/175510 apache Update of net/spread4 port to version 4.2.0 o ports/174617 apache [new port] No www/apache24 in the ports tree o ports/165809 apache add mod_proxy patch to www/apache22 o ports/157554 apache www/apache22: Apache RLimitNPROC does not work as inte o ports/125183 apache www/apache22 wrong SUEXEC_DOCROOT o ports/124375 apache security/heimdal: www/mod_auth_kerb doesn't compile ag 6 problems total.