From owner-svn-ports-head@freebsd.org Mon Jun 29 02:09:35 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66A4998C9CA; Mon, 29 Jun 2015 02:09:35 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pd0-x22e.google.com (mail-pd0-x22e.google.com [IPv6:2607:f8b0:400e:c02::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B672115E; Mon, 29 Jun 2015 02:09:35 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by pdbep18 with SMTP id ep18so85619201pdb.1; Sun, 28 Jun 2015 19:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=fz2AKrfgkQRw0pkN8y4zNwfTN6LIrLPNjTF3lVUV9A8=; b=lSGkoE+Z2ekrUJWzhBuXYFZbXs6xU9zDRHuTBiQwRMq1z73FTMu6IXDomt35Wc5YRa H5XGyG+SqvNl008EZXkcYZEpmMydkBjkBgMgnm1ujW3wWiQd94rzcJLHXA++CrNTivIF d3DzRFqcj8uVwedyh1d/uVRECyKUm4/L0uAN7PC7vK5nymj3Ap1IsZiOZ+yrNOdWmUE+ GXPOENFWX2K/hSC0HeXicsd6ci0852B0np4eyBuhH2JhYAVBpUn7ZN74AaJfVqOtYZ4z fQT5ac7UWqJILqyMgLw7t33IzuCvLi10V49NH11k9l4E/fwQZ2UV0Y6Ou/pd5KrvQ306 iHHA== X-Received: by 10.68.134.226 with SMTP id pn2mr26767063pbb.86.1435543774703; Sun, 28 Jun 2015 19:09:34 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01::2? (2001-44b8-31ae-7b01-0000-0000-0000-0002.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01::2]) by mx.google.com with ESMTPSA id iv7sm40240295pbc.20.2015.06.28.19.09.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jun 2015 19:09:34 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r390797 - head/www/varnish4 References: <201506281704.t5SH4M2i019818@svn.freebsd.org> To: Mark Felder , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org From: Kubilay Kocak Message-ID: <5590A8D8.7050107@FreeBSD.org> Date: Mon, 29 Jun 2015 12:09:28 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0 MIME-Version: 1.0 In-Reply-To: <201506281704.t5SH4M2i019818@svn.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 02:09:35 -0000 On 29/06/2015 3:04 AM, Mark Felder wrote: > Author: feld > Date: Sun Jun 28 17:04:21 2015 > New Revision: 390797 > URL: https://svnweb.freebsd.org/changeset/ports/390797 > > Log: > Require python as a run dependency, too > > python is required for you to be able to build custom vmods and also for > other vmods in the ports tree to build. Better off including the > requirement here as we ship the vmodtool.py utility and do not want to > surprise end users. > > shebangfix was included as the default shebang on vmodtool.py is > /usr/bin/env python which is not going to work unless the lang/python > metaport is installed, which is not included with USES=python. Instead > we just rewrite this to whichever the default system python intepreter > is (PYTHON_VERISON). > > Modified: > head/www/varnish4/Makefile > > Modified: head/www/varnish4/Makefile > ============================================================================== > --- head/www/varnish4/Makefile Sun Jun 28 16:49:08 2015 (r390796) > +++ head/www/varnish4/Makefile Sun Jun 28 17:04:21 2015 (r390797) > @@ -2,7 +2,7 @@ > > PORTNAME= varnish > PORTVERSION= 4.0.3 > -PORTREVISION= 4 > +PORTREVISION= 5 > CATEGORIES= www > MASTER_SITES= http://repo.varnish-cache.org/source/ > PKGNAMESUFFIX= 4 > @@ -17,7 +17,10 @@ LIB_DEPENDS= libpcre.so:${PORTSDIR}/deve > > CONFLICTS= varnish-2.* varnish-3.* > > -USES= autoreconf cpe gmake libtool pkgconfig python:build readline > +USES= autoreconf cpe gmake libtool pkgconfig python readline shebangfix > +SHEBANG_FILES= lib/libvcc/vmodtool.py > +python_OLD_CMD= /usr/bin/env python > +python_CMD= ${LOCALBASE}/bin/${PYTHON_VERSION} > CPE_VENDOR= varnish-cache > CFLAGS+= -I${LOCALBASE}/include > GNU_CONFIGURE= yes > Can this be made optional, say with a TOOLS option or something? Python is a big RUN_DEPENDS for a .py file that may not be used by default ./koobs