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

Re: Proposal: Fixing non-free content issues via installer packages

At 1154699141 past the epoch, Eddy Petrişor wrote:
> I don't think is too hard to make meta packages without
> using those, *but* I think it would be hard to catch every
> file in a tarball *and* place them in the proper places if
> splitting is needed.
Take a look at doom-package
in particular the make-wad-package script, for some examples
of doing this.

> Maybe we should implement some abstract retriever which
> would take the files from the local file system, a CD or a
> site ... you name it. The user would choose where from to
> get the file 

Sounds good. I'd like such a framework to support displaying
a licence to the user and requiring it to be accepted, for
some things.

> (via a debconf question, maybe)

I don't think this should be done via debconf. It's too much
work with too many failure cases to do in the
{pre,post}{inst,rm} stages imho, and is a bit of an abuse of
what debconf is designed for. It also means running all of
these stages as root.

> and then the metapackager would create the assiciated
> metapackage which, when uninstalled would remove the files
> added.

This is what doom-package does.

The tricky bit is the fine line between having lots of hacky
code that builds and adjusts packages, or just depending on
the proper tool packages and having lots of dependencies :(

> >Yep why not. With some md5/sha1 checks to prevent invalid
> >installation.
> This is risky, we would have to whitelist *every* data
> file set which ever existed, including mods for new
> things, new transaltions, expasions, whatever. If the test
> results only in a warning that the md5sum did not check,
> that would be fine. 

I was considering md5sum checks for doom-package, too. We
have a list of different sums for different versions of
doom2 IWAD files at <http://doom.wikia.com/wiki/Doom2.wad>.
There are some subtle bugs due to the differences in
versions (demo desyncs for example). It would just be to
inform the user, however, it would not be relied upon for

Jon Dowland

Reply to: