From owner-freebsd-ports@FreeBSD.ORG Sun Aug 3 16:29:05 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A974C73A for ; Sun, 3 Aug 2014 16:29:05 +0000 (UTC) Received: from fire.magemana.nl (magemana.nl [IPv6:2a01:7c8:aaae:25e::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6FA722204 for ; Sun, 3 Aug 2014 16:29:05 +0000 (UTC) Received: by fire.magemana.nl (Postfix, from userid 1003) id D146F4AB7EB; Sun, 3 Aug 2014 18:29:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by fire.magemana.nl (Postfix) with ESMTP id C16FD4AB529; Sun, 3 Aug 2014 18:29:02 +0200 (CEST) Date: Sun, 3 Aug 2014 18:29:02 +0200 (CEST) From: Melvyn Sopacua To: Matthew Pounsett Subject: Re: WANT_PHP_WEB is just a synonym for WANT_PHP_CGI in automated build environments In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 16:29:05 -0000 Hi Matthew, On Sun, 3 Aug 2014, Matthew Pounsett wrote: > On Aug 3, 2014, at 02:07 , Melvyn Sopacua wrote: >> For automated builds use the OPTIONS framework. Tinderbox can handle >> that just fine. > > Right, and I’m speaking from the perspective of the admin building the > port, not the maintainer. The maintainer can set that the port will > work with either .. but in an automated build environment it looks > like there is no knob for the administrator to tell the ports system > which to use. Unless that changed in recent years, you can have Tinderbox mount your options database in /var/db/ports into the build jail. So you can do one configure run and set it. A second possibility is to simply add www/mod_php5 to ports to be built, since it's no longer part of lang/php5. This won't work for the upstream-abandoned php 5.3. A third is to set php53_SET=APACHE in /etc/make.conf. > Again.. unless I’m missing some knob that exists to give guidance to > the ports system. I’m familiar with the options framework, but I > can’t find anything in bsd.php.mk that could be used to give guidance > to the ports system that mod_php5 is desired when WANT_PHP_WEB is > defined. WANT_PHP_WEB actually pulls in the apache module if php is installed only with the CLI or EMBED backend. See this bit: if defined(WANT_PHP_MOD) || (defined(WANT_PHP_WEB) && defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "") USE_APACHE_RUN= 22+ .include "${PORTSDIR}/Mk/bsd.apache.mk" RUN_DEPENDS+= ${PHPBASE}/${APACHEMODDIR}/libphp5.so:${PORTSDIR}/${MOD_PHP_PORT} .endif -- Melvyn From owner-freebsd-ports@FreeBSD.ORG Sun Aug 3 17:33:31 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1DF2F504 for ; Sun, 3 Aug 2014 17:33:31 +0000 (UTC) Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:24]) by mx1.freebsd.org (Postfix) with ESMTP id C3635288B for ; Sun, 3 Aug 2014 17:33:30 +0000 (UTC) Received: from omta14.westchester.pa.mail.comcast.net ([76.96.62.60]) by qmta02.westchester.pa.mail.comcast.net with comcast id aHAM1o0041HzFnQ51HZUJh; Sun, 03 Aug 2014 17:33:28 +0000 Received: from kirby.cyberbotx.com ([107.5.48.95]) by omta14.westchester.pa.mail.comcast.net with comcast id aHZT1o00h23DSHF3aHZUwy; Sun, 03 Aug 2014 17:33:28 +0000 Message-ID: <53DE7266.5000606@cyberbotx.com> Date: Sun, 03 Aug 2014 13:33:26 -0400 From: Naram Qashat User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org Subject: Does pkg automatically download INDEX? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1407087208; bh=lbxcIQDSQOjVmVbZ9o/Viy/j3Tgo1F4pBp97UvkS/Tw=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=vSdadmNemjbksgLoJoUyavoXIX+Q6ri+Wj0Fy1t6eext7vfA4Ss3vUgk1OqBiEfsz uAXdo8k8HFwKBn3JF6+cDVz09SSW5xP38XfQREccUemSxAZzE6lb4MwAQzjMbo531o 5IXGCL1dtU9wJp29d1ffkv/BUMqpPXunRYzTFoylXjRexRbROHblCvKprKZT0s700P gJc7XURIHQLClYNH+LHMJWO/GoRS0lifjTXOvnEATIgqxH5+UzPQ1heRSbPTQkH1by +3w71MVIyolevSAdc+Wm2FIa6oEtKBeYP6+myXVJUy6n5U2YnNuyULkvckQCPRvPbS lv7NQHu5M23oQ== X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 17:33:31 -0000 I've been noticing this whenever I do a 'pkg version -v', it shows some ports as being different from the INDEX, but when I check the actual port, it isn't the same version that 'pkg version' shows. I usually rebuild my INDEX manually after doing an svn update, so I'm wondering if this is pkg doing something or if I have something else doing it. I am running FreeBSD 9.2. Thanks, Naram Qashat