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

Re: homepage(s) for game-data-packager



Le mardi 1 septembre 2015, 16:33:44 Markus Koschany a écrit :
> Am 01.09.2015 um 15:34 schrieb Alexandre Detiste:
> > Le lundi 31 août 2015, 14:35:41 Markus Koschany a écrit :
> [...]
> >> A blend could be just the metapackage(s) and a homepage. 
> >> A nice feature of the blends approach is that you
> >> get a homepage like http://blends.debian.org/games/tasks/finest for free
> >> by just declaring a few packages in your task file.
> > 
> > But these G-D-P packages never land in the official archives;
> > how could the blend know about them ? They would just come
> > up as some random virtual packages.
> 
> I thought about the creation of metapackages for existing games and
> engines in contrib. They would show up on those pages. Of course you can
> create custom metapackages as well. For instance "games-scummvm" would
> install scummvm and all available free and non-free games like Indy4,
> Sam & Max, etc. Since those metapackages are in contrib you are allowed
> to depend on g-d-p, so you could create customized postinst scripts to
> suite your needs and adjust the packaging to your liking.

This feel like a big regression:

point n.1 of G-D-P was:

http://anonscm.debian.org/cgit/pkg-games/game-data-packager.git/tree/doc/why.mdwn
"1. game-data-packager (gdp) runs as a normal user. postinst scripts run
   as root. This reduces the impact of a security flaw in the scripts."

This was meant to replace thing like that:
http://archive.debian.net/sarge/all/quake2-data

If G-D-P is called by some other package postinst... that defeat the point.

Who thrust unshiled / innoexrtract/ unarj / unace / unrar enough to run them as root ?

Adding a "su nobody g-d-p" in the postinst would cripple G-D-P:
it won't find user's lgogdownloader
credetials; can't pick right ~/.steam ...

Then game's postinst hold an exclusive lock on dpkg;
how is dpkg called again to install game assets ?

-------

With G-D-P in git and new apt from experimental with bug #47379 fixed,
only one command is needed to install most games.

"game-data-packager -i rott"    will install the engine + the shareware episode (+ Dark War if found)
"game-data-packager -i tyrian"   will also install opentyrian + tyrian-data in one go

http://lists.alioth.debian.org/pipermail/pkg-games-devel/2015-August/036012.html

apt-cache search <somegame> will also list game-data-packager ;
maybe it's more a documentation problem than a technical one.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: