From owner-freebsd-ports@FreeBSD.ORG Mon Feb 6 22:02:35 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77AFD106566B; Mon, 6 Feb 2012 22:02:35 +0000 (UTC) (envelope-from pgollucci@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id F10E28FC15; Mon, 6 Feb 2012 22:02:34 +0000 (UTC) Received: by qcmt40 with SMTP id t40so5137931qcm.13 for ; Mon, 06 Feb 2012 14:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type; bh=Nnrjh8bkOYn2c27EUKgTXYPFFDmR9Eq2H/u75oWd9rw=; b=EGWXl436mVg7k4ptSmmiEm4yTRDl4yZ1wdyC/lXCF/+h08bUnEJ+E9BgpOOiX35dPs ZXx81iRdZddANeM9f7OTxONqsWkDtJSur9W9YVSClfB+FExK1gjCnw/bwpP03vM3FyeT EHFvDM+HjblmKUmYIBdzDXnKaGuT65SBNAMRU= Received: by 10.229.69.87 with SMTP id y23mr7405491qci.109.1328565754169; Mon, 06 Feb 2012 14:02:34 -0800 (PST) Received: from philip.hq.rws (wsip-174-79-184-239.dc.dc.cox.net. [174.79.184.239]) by mx.google.com with ESMTPS id g13sm35009589qah.0.2012.02.06.14.02.32 (version=SSLv3 cipher=OTHER); Mon, 06 Feb 2012 14:02:33 -0800 (PST) Message-ID: <4F304DF7.5040305@p6m7g8.com> Date: Mon, 06 Feb 2012 22:02:31 +0000 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111029 Thunderbird/7.0.1 MIME-Version: 1.0 To: Doug Barton References: <4F2F2566.8090703@FreeBSD.org> In-Reply-To: <4F2F2566.8090703@FreeBSD.org> X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig13C6FDAD12FD9D64F43FF429" Cc: freebsd-apache@freebsd.org, FreeBSD ports list Subject: Re: Apache/web ports advice in TPH X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2012 22:02:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig13C6FDAD12FD9D64F43FF429 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/06/12 00:57, Doug Barton wrote: > Howdy, >=20 > This section: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using= -php.html >=20 > is out of date, as the very first bit mentions a bunch of old apache > stuff. I'm happy to help update it if someone can say authoritatively > what should be there. USE_APACHE The port requires Apache. Possible values: yes (gets any version), 1.3, 2.0, 2.2, 2.0+, etc. Default dependency is on version 1.3.= yes is not valid, ranges and - work now too. ohaurer or bsd.apache.mk comments are authoritative. WITH_APACHE2 The port requires Apache 2.0. Without this variable, the port will depend on Apache 1.3. This variable is deprecated and should not be used anymore. remove this line entirely. You'll have to ask ale@ about php. > I'm also curious about the advice to install stuff into > /usr/local/www/appname. I vaguely remember that this was deprecated but= > it seems to still be true. This is not an academic question because I'm= > getting ready to add a web port. :) Stick with WWWDIR for now >=20 > Finally, the first sentence of 6.12.2 says that WWWDIR is available to > pkg-plist, but WWWDIR_REL is not. If we're going to encourage ports > authors to use WWWDIR in the Makefile, shouldn't WWWDIR_REL be added to= > the default PLIST_SUB? +1 --=20 ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Director Operations, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. --------------enig13C6FDAD12FD9D64F43FF429 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFPME34dbiP+9ubjBwRAnBKAJ40+jz4NF9QfmA4vG2Roa/O6otBIACeNG7x IVF21Qku9TRIHqRXKhoCtng= =Xsr9 -----END PGP SIGNATURE----- --------------enig13C6FDAD12FD9D64F43FF429--