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.