[27180] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25996 - in trunk/debathena: config config/chromium-config

daemon@ATHENA.MIT.EDU (Anders Kaseorg)
Sat May 18 01:16:49 2013

Message-ID: <51970EB7.2040909@mit.edu>
Date: Sat, 18 May 2013 01:16:39 -0400
From: Anders Kaseorg <andersk@MIT.EDU>
MIME-Version: 1.0
To: Victor Vasiliev <vasilvv@MIT.EDU>
CC: source-commits@MIT.EDU
In-Reply-To: <201305180357.r4I3vmxk023433@drugstore.mit.edu>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 05/17/2013 11:57 PM, Victor Vasiliev wrote:
> +Build-Depends: debhelper (>= 7.0.50~), config-package-dev (>= 5), chromium-browser | chromium

You need to be more specific to avoid pulling in the space shooter.  I’d 
write chromium (>= 1) | chromium-browser, in that order so as to prefer 
the new name.

> +Depends: ${misc:Depends}, chromium-browser | chromium

That one should be computed at build time with a substvar; we don’t want 
a package compiled against one to be installed with the other.

> +	dh_configpackage --transform "/etc/chromium-browser/default.debathena sed -e's/^CHROMIUM_FLAGS=\"/CHROMIUM_FLAGS=\"--auth-server-whitelist=idp.mit.edu /'"

Transform scripts should exit with nonzero status if they fail to match, 
which is why we usually use perl -0777 -pe 's/foo/bar/ or die'.

Anders


home help back first fref pref prev next nref lref last post