Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NewVersion - bad links with letters in version numbering #11

Open
Barrocas opened this issue Nov 22, 2016 · 1 comment
Open

NewVersion - bad links with letters in version numbering #11

Barrocas opened this issue Nov 22, 2016 · 1 comment

Comments

@Barrocas
Copy link

Barrocas commented Nov 22, 2016

When making a command like this:

NewVersion wifi-radar 2.0.s10 http://wifi-radar.tuxfamily.org/pub/wifi-radar-2.0.s10.tar.bz2

the link is altered to http://wifi-radar.tuxfamily.org/pub/wifi-radar-2.0.s10.s10.tar.bz2 and obviously the recipe fails, because the source is not found.

The problem is when there are letters in the program version numbering ( s10 , i586 , x64 ).

It will get more complicated now with Gobo-016, since there will be the need for 32bit and 64bit recipe versions, with 'i686' or 'x86_64' or 'x64' in the version numbering.

Another example:

NewVersion jre 8u112_i586 http://ftp.osuosl.org/pub/funtoo/distfiles/oracle-java/jre-8u112-linux-i586.tar.gz

the link will be changed to http://ftp.osuosl.org/pub/funtoo/distfiles/oracle-java/jre-8u112_i586-linux-i586.tar.gz

@Barrocas
Copy link
Author

Note:

Architecture recipes should be made like this:

http://recipes.gobolinux.org/r/?list=GMP&ver=6.1.1-r1&file=Recipe

So the second example listed ( jre-8u112_i586 ) is a just a bad example of how not to make a recipe.

But the issue is still valid, if the recipe version numbering contains letters (as in the first example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants