On Sat, Jun 30, 2018 at 11:24:59AM +0200, Solene Rapenne wrote: > Le 27 juin 2018 14:38:23 GMT+02:00, Marc Espie <es...@nerim.net> a écrit : > >On Wed, Jun 27, 2018 at 01:45:17PM +0200, Solene Rapenne wrote: > >> Hello, > >> > >> I've seen that games/opentyrian gives an url to download the assets > >for > >> the game in the README file but we have no way to check that the file > >is > >> the one originaly used by the port author. > >> > >> I propose to add the hash of that file in pkg/README, or maybe there > >is > >> a better way to include the hash somewhere for users with a little > >> explanation? > > > >How about just providing a script people can run that does the right > >thing ? > >e.g., fetch as _pfetch, do the checksum, THEN run unzip in the right > >location ? > > The license of the assets is EA games End user license which looks like > proprietary. Are we allowed to download such kind of files from ports? If so, > this would allow to download others games assets released as "abandonware" > for games/uhexen2 and maybe others.
Of course not. But this is not what I suggest. Instead of giving manual steps for people to download stuff (url is known) checking the hash, and installing the file, you could provide, as part of the package, a script that does all that, and reference it in the description.