From owner-freebsd-questions@FreeBSD.ORG Sun Sep 16 08:47:48 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 7D745106566B for ; Sun, 16 Sep 2012 08:47:48 +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 F0CE88FC0C for ; Sun, 16 Sep 2012 08:47:47 +0000 (UTC) Received: by bkcje9 with SMTP id je9so1829056bkc.13 for ; Sun, 16 Sep 2012 01:47:47 -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=B4XfRkMmu710EYnKl6QYM/RkxLu7BW46rUiWisvDqxg=; b=pakZY82mjh3kQgx1X3jxwlCa40jTI5jZ2Lo1DZHnOqN1s589uQKzvzqsGRsXogMCOs WZNZECxCc8uKMNl8mpGmx6PlXCWdy0r76Cg5utVnCciuaylBlRa3yBQXEaXer9giN+AL yGBcailNnoY6CbIA33+th3ZYJip7BLvBmhwuel0bgWLgq6KJNZZhCmshN990AurJC2I1 BTMbTYUDNR44P2qMkbhDlFVmkQYtHaAbdwXIyajzuWeUS2/R4NlrhWAdQ6QlJ/8FibQt FjeX5Ua3367ZIRF5spEiHInztx3b2mwED/hybScdb5D4iTB7e2tCX52zNwY72V09WMvD 7+Ig== Received: by 10.204.8.84 with SMTP id g20mr3244875bkg.126.1347785266950; Sun, 16 Sep 2012 01:47:46 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.10.141 with HTTP; Sun, 16 Sep 2012 01:47:16 -0700 (PDT) In-Reply-To: References: <5054BB1D.4080506@celicom.ru> From: Chris Rees Date: Sun, 16 Sep 2012 09:47:16 +0100 X-Google-Sender-Auth: E7iZ4_HEY4IeVaif_QhOVrFxyMc 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:47:48 -0000 On 16 September 2012 09:32, Odhiambo Washington wrote: > Hi Chris, > > Thanks for this. > > Hopefully, you can modify the Wiki to have this information and even > examples:) There are examples on the Wiki page already, but in a confusing order. I've put in a link, and a tip on how to find UNIQUENAME. > Personally, I use `make config` and have never needed to do much with > /etc/make.conf as regards the ports. True, but some people like to share their make.conf around machines :) Chris > > On Sun, Sep 16, 2012 at 11:17 AM, Chris Rees wrote: >> >> 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) > > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > I can't hear you -- I'm using the scrambler. >