[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#859199: ITP: dh-curl-sudo-bash -- debhelper tools for automated non-packaging



Stuart Prescott <stuart@debian.org> writes:

> The dh-curl-sudo-bash package provides a build-system method for debhelper
> that automates the non-packaging of programs for which the preferred form of
> distribution is the sequence
>
>     "curl http://example.com/setup.sh | sudo bash -"
>
> dh-curl-sudo-bash causes debhelper to create a maintainer post-install script
> that runs the above command on the target machine when the package is installed.

This has the serious flaw that the upstream URL could change without
notice. I think the dh-sudo-bash package should be able to scrape a
given wikipedia page to obtain the URL that it should download the bash
script from. With a check to ensure it is prefixed with http:// not
https://. That way anybody can update the URL as required, not just the
Debian developer.

Oh, sorry, not April 1st anymore :-(
-- 
Brian May <bam@debian.org>


Reply to: