On 25 September 2013 01:44, Philipp Janda <siffie...@gmx.net> wrote:
> Here is what you can do:
> *   Download the old rockspec[1] from the LuaRocks site[2], and open it
> in an editor.
> *   Pick a new version number (in this case the current date)
> *   Change source.url to the 5.2 version given by lhf.
> *   You also need to change the source.md5 to match the new archive at
> the given url (this should be 2b209b3f21e1e6cb87b1d623ada8e3cb in this
> case).

Alternatively, those four steps can be condensed into (all in one line)

luarocks new_version lgdbm  20130702.52-1
http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.2/lgdbm.tar.gz

(I like to use the same date values that lhf uses in his release.txt
file, and I add ".51" or ".52" when both versions are from the same
date. Makes it easier to map the rock version to a given upstream
release.)

> *   Change the string in the `dependencies` table from "lua >= 5.1" to
> "lua ~> 5.2".
> *   Close and rename the rockspec to reflect the new version number, and
> run `luarocks install lgdbm-20130925-1.rockspec
> GDBM_LIBDIR=/usr/lib/i386-linux-gnu` to test the new rockspec locally
> (maybe you have to adapt the version number/date here).
>
> And if that worked you can send the modified rockspec to this list for
> Hisham to include it in the repository.

I just uploaded the one I updated with the above command! :)

-- Hisham

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to