From owner-freebsd-questions@FreeBSD.ORG Sun Sep 16 08:18:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F104C106566B for ; Sun, 16 Sep 2012 08:18:27 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7B7508FC14 for ; Sun, 16 Sep 2012 08:18:26 +0000 (UTC) Received: by bkcje9 with SMTP id je9so1822792bkc.13 for ; Sun, 16 Sep 2012 01:18:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=xSCR/anJHN34igUuR7PTlMFipAWGaleojGAodFR5iKo=; b=d7nXAHRkYaLin017RDGErkkvMLamMBNRfWBnnQCk+WvgayqlUFMTlVqJ+yD5HsyE2F dDUdPWqzLLqLwi2IQLU3WZ2tTeTKTNdzI55x+F7r3iAcn5rdt7zogrr5TD8BpvNaAY0y 4Y/1U4sRGqYCwKcWzqX02IJ/qPcYMEc+ElDr+CfPp5wwMs7jQVXgrwmNFnWavV7FmPn/ YwK3M7FUjy9M/E7RRhNRFfb3hedc4iD9bcZ8p9gMxq3QcjpJQ4F+GzE/5CvLNaZLhxt/ prqbbMenS+2+pxOTXvnkKz6ihYcNslffJBS7c/c4BG+VSwggAyWYPmOTZIi+JG9ReCFZ wTyg== Received: by 10.204.133.193 with SMTP id g1mr3291201bkt.2.1347783505991; Sun, 16 Sep 2012 01:18:25 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.10.141 with HTTP; Sun, 16 Sep 2012 01:17:55 -0700 (PDT) In-Reply-To: References: <5054BB1D.4080506@celicom.ru> From: Chris Rees Date: Sun, 16 Sep 2012 09:17:55 +0100 X-Google-Sender-Auth: W-ESFuZF65A7To2tszUwvP2OIx8 Message-ID: To: Odhiambo Washington Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions , Solmin Vladimir Subject: Re: apache 2.2.22_8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2012 08:18:28 -0000 On 16 September 2012 07:19, Odhiambo Washington wrote: > On Sat, Sep 15, 2012 at 8:30 PM, Solmin Vladimir wrote: >> >> Hi! >> Im using apache 2.2.22_6 with make options in /etc/make.conf >> >> # apache22 >> .if ${.CURDIR} == ${PORTSDIR}/www/apache22 >> WITH_SUEXEC= YES >> SUEXEC_DOCROOT= /www >> SUEXEC_USERDIR= /www/*/cgi-bin >> SUEXEC_LOGFILE= /var/log/suexec.log >> WITH_APACHE_PERF_TUNING=yes >> .endif >> >> But after svn co /usr/ports today i'm see next: >> >> $portupgrade -arR >> ** Port marked as IGNORE: www/apache22: >> is marked as broken: WITH/WITHOUT parameters are obsolete. The >> port use the new options NG framework. Please read >> http://wiki.freebsd.org/Ports/Options/OptionsNG >> >> but a don't understand how i must set SUEXEC_DOCROOT, SUEXEC_USERDIR and >> SUEXEC_LOGFILE in NG framework format... >> >> Please help show me how.... >> > > I have read that instruction and I am also not clear with what the correct > syntax is for /etc/make.conf. > > I have come up with this: > > > # apache22 > .if ${.CURDIR} == ${PORTSDIR}/www/apache22 > ${APACHE22}_SET=SUEXEC > ${APACHE22}_SET=SUEXEC_DOCROOT /www > ${APACHE22}_SET=SUEXEC_USERDIR /www/*/cgi-bin > > > ${APACHE22}_SET=SUEXEC_LOGFILE /var/log/suexec.log > .endif > > I cant say if that's how it should be, but I think:-) > > > Hopefully, Chris can help us understand the syntax better. Thanks for copying me in, I'm not on this list. You're very close! You need to use ${UNIQUENAME}_SET, and to find the UNIQUENAME you need to; [crees@pegasus]~% cd /usr/ports/www/apache22 [crees@pegasus]/usr/ports/www/apache22% make -VUNIQUENAME apache22 Now we know it's apache22, we can use: # (No need to bother with .if ${.CURDIR} any more) apache22_SET+= SUEXEC SUEXEC_DOCROOT= /www SUEXEC_USERDIR= /www/*/cgi-bin SUEXEC_LOGFILE= /var/log/suexec.log I'm not sure what APACHE_PERF_TUNING is; you may find it's been deprecated. Check with apache@ about that. If I've somehow missed that, you can just add it to the apache22_SET list: apache22_SET+= SUEXEC APACHE_PERF_TUNING Hope that helps! Chris (corresponding to WITHOUT is ${UNIQUENAME}_UNSET)