From 731364e4ad515523861706b5787bff30ef0035ca Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 23 May 2013 17:54:08 +0200 Subject: [PATCH] lua-posix: Updated (5.1.11 -> 5.1.28) --- lua/lua-posix/lua-posix.conf | 21 ++++++++++++++++++--- lua/lua-posix/lua-posix.desc | 14 +++++++++----- 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/lua/lua-posix/lua-posix.conf b/lua/lua-posix/lua-posix.conf index 0e6383ea7..68974c8ef 100644 --- a/lua/lua-posix/lua-posix.conf +++ b/lua/lua-posix/lua-posix.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../lua-posix/lua-posix.conf -# Copyright (C) 2011 The OpenSDE Project +# Copyright (C) 2011 - 2013 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,5 +12,20 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -var_append makeopt ' ' "PREFIX=/$prefix" -var_append makeinstopt ' ' "PREFIX=/$prefix" +# we need to include our own snapshot of gnulib because it is not included, +# and if it is not detected, the bootstrap script will try to clone the +# remote git repository of gnulib :/ +# see: https://github.com/luaposix/luaposix/issues/106 +untar_gnulib_snapshot() { + local gnulib_srctar=$( match_source_file -p gnulib ) + tar -xjf $gnulib_srctar +} +hook_add preconf 1 'untar_gnulib_snapshot' + +# before being able to run configure we need to run the marvelous gnulib +# bootstrap script +hook_add preconf 9 './bootstrap' + +# make sure modules end up in the right locations +libdir=$lualibdir +datadir=$luadatadir diff --git a/lua/lua-posix/lua-posix.desc b/lua/lua-posix/lua-posix.desc index 875cc338f..307b1cdac 100644 --- a/lua/lua-posix/lua-posix.desc +++ b/lua/lua-posix/lua-posix.desc @@ -2,7 +2,7 @@ [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] [COPY] Filename: package/.../lua-posix/lua-posix.desc -[COPY] Copyright (C) 2006 - 2011 The OpenSDE Project +[COPY] Copyright (C) 2006 - 2013 The OpenSDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] [COPY] More information can be found in the files COPYING and README. @@ -18,17 +18,21 @@ [T] A library for lua containing POSIX commands: [T] setenv,getenv,mkdir,chmod,fork, etc.. -[U] http://luaforge.net/projects/luaposix/ +[U] https://github.com/luaposix/luaposix -[A] Natanael Copa {maintainer} +[A] Reuben Thomas {maintainer} +[A] Natanael Copa {old maintainer} [A] Luiz Henrique de Figueiredo {old maintainer} [M] The OpenSDE Community [C] extra/development +[F] LUA + [L] MIT [S] Stable -[V] 5.1.11 +[V] 5.1.28 [P] X -?---5---9 800.000 -[D] 3623417252 luaposix-5.1.11.tar.gz http://luaforge.net/frs/download.php/4813/ +[D] 4076506241 luaposix-5.1.28.tar.gz !https://github.com/luaposix/luaposix/archive/v5.1.28.tar.gz +[D] 2692547996 luaposix-5.1.28-gnulib-snapshot.tar.bz2 http://localhost