From owner-freebsd-questions@FreeBSD.ORG Sun Sep 16 08:33:29 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 04404106566C; Sun, 16 Sep 2012 08:33:29 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7C5A48FC0C; Sun, 16 Sep 2012 08:33:28 +0000 (UTC) Received: by iea17 with SMTP id 17so5302720iea.13 for ; Sun, 16 Sep 2012 01:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=bEgnfYP2Yc3mn8obhulZ+bDWRE9OoJCcj/ygQtno6LM=; b=aQMnjBshV98Q7N6U+Z3sVnR0P12V/wCsOzxTllr5wwU1bVIkfgGdnXbtRMqw+JdxJo dFVrVTLfD2hc4IumFGO+WERekK7LlAtCfKS99WA+/4QGKaYL0ZKFbTA/TKL1efQLbzFq Vy5/BjPxjBRsIfrYvf43AGlU4jl27LlTkIrNDwbFZgeJJEi1xPLBUWY5RrBgpYU+PE82 3qaUNZW0HtmcRZXrE/WDWYhdhasSmaleEn/XOAuFAu60X+M+s1eU4dCxJpPkJ1nYX3Mm 9McaVSF6V7Y+lPrLppytCUMCStINJ65Y10r+JNJvTkQN7tWvvR0lnkNs+b3jC4NBbSBB kqvw== Received: by 10.50.106.233 with SMTP id gx9mr3633763igb.49.1347784407150; Sun, 16 Sep 2012 01:33:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.83.68 with HTTP; Sun, 16 Sep 2012 01:32:46 -0700 (PDT) In-Reply-To: References: <5054BB1D.4080506@celicom.ru> From: Odhiambo Washington Date: Sun, 16 Sep 2012 11:32:46 +0300 Message-ID: To: Chris Rees Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:33:29 -0000 Hi Chris, Thanks for this. Hopefully, you can modify the Wiki to have this information and even examples:) Personally, I use `make config` and have never needed to do much with /etc/make.conf as regards the ports. 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.