SHA256
1
0
forked from pool/lua-luaposix

Compare commits

...

15 Commits

Author SHA256 Message Date
6fee5decd9 Accepting request 1060944 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/1060944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=11
2023-01-25 16:44:43 +00:00
e3fdcfe51b Accepting request 1060911 from home:michals:branches:devel:languages:lua
- Fix missing dependency on lua-macros (boo#1205612)

OBS-URL: https://build.opensuse.org/request/show/1060911
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luaposix?expand=0&rev=35
2023-01-25 14:23:54 +00:00
4b63d2480e Accepting request 941406 from devel:languages:lua
- Update to version 35.1:
  * Support AF_PACKET socket family, where available.
  * Support SIGINFO, SIGWINCH and SA_RESTART, where available.
  * Documentation cleanups
- avoid setting build USER tag
- Use %ifluadefault
- Clean spec file

OBS-URL: https://build.opensuse.org/request/show/941406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=10
2021-12-18 19:30:19 +00:00
0cd7d1a86b OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luaposix?expand=0&rev=34 2021-12-18 15:05:43 +00:00
ce017f2d7c Accepting request 941403 from home:gmbr3:Lua
- Update to version 35.1:
  * Support AF_PACKET socket family, where available.
  * Support SIGINFO, SIGWINCH and SA_RESTART, where available.
  * Documentation cleanups
- avoid setting build USER tag
- Use %ifluadefault
- Clean spec file

OBS-URL: https://build.opensuse.org/request/show/941403
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luaposix?expand=0&rev=33
2021-12-18 14:57:41 +00:00
5b741b1e4b Accepting request 867734 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/867734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=9
2021-02-04 19:23:40 +00:00
Matthias Mailänder
148b1e8f36 Accepting request 867228 from home:gmbr3:Lua
lua54 bootstrap

OBS-URL: https://build.opensuse.org/request/show/867228
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luaposix?expand=0&rev=31
2021-01-29 14:47:41 +00:00
ed39c41229 Accepting request 820758 from devel:languages:lua
- Update to version 35.0
  * Initial support for Lua 5.4
  * Internally, we use our own bitwise operation wrapper functions
    rather than bit32 where possible. This means bitwise operations
    when running under Lua 5.3+ work on 64bit integers.

OBS-URL: https://build.opensuse.org/request/show/820758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=8
2020-07-16 10:07:47 +00:00
9a8297496e Accepting request 819781 from devel:languages:lua
- Add lua54 as new build target

OBS-URL: https://build.opensuse.org/request/show/819781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=7
2020-07-13 07:04:18 +00:00
1b8c5bf1ab Accepting request 820551 from home:gmbr3:Active
- Update to version 35.0
  * Initial support for Lua 5.4
  * Internally, we use our own bitwise operation wrapper functions
    rather than bit32 where possible. This means bitwise operations
    when running under Lua 5.3+ work on 64bit integers.

OBS-URL: https://build.opensuse.org/request/show/820551
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luaposix?expand=0&rev=28
2020-07-13 06:37:03 +00:00
d5d1c2d47d Accepting request 733772 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/733772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=6
2019-09-30 13:59:21 +00:00
d99e678ae0 Accepting request 727251 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/727251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=5
2019-09-04 07:02:48 +00:00
9e01cc0ca6 Accepting request 601663 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/601663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=4
2018-04-27 14:09:27 +00:00
a1d8f7ca7b Accepting request 537629 from devel:languages:lua
drop lua5.2 from multibuild

OBS-URL: https://build.opensuse.org/request/show/537629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=3
2017-10-31 14:44:17 +00:00
b1d3eea292 Accepting request 515966 from devel:languages:lua
- Updating to version 3.4:
  * Incompatible Changes  Incompatible Changes
    posix.syslog constants LOG_AUTHPRIV, LOG_FTP and LOG_SYSLOG are no longer 
    documented, and only defined when supported by the host C library. They are
    not part of the POSIX API, and prevented compilation of luaposix on AIX and
    Solaris.
    getopt.getopt was a binding to the GNU getopt_long extension, which is not 
    a POSIX API, and prevents luaposix from compiling on hosts that do not 
    provide the extended API. Instead we now correctly bind POSIX getopt(3) in 
    posix.unistd.
  * New Features
    Replaced all Autotools and supporting Slingshot code with new Lua- based 
    build-aux/luke and lukefile describing how to compile and install 
    everything. Building with LuaRocks now leverages this too.
    New posix.sys.socket.getsockopt and posix.sys.socket.getpeername bindings.
    New posix.sys.msg.msgctl binding, and posix.sys.msg.IPC_RMID, 
    posix.sys.msg.IPC_SET and posix.sys.msg.IPC_STAT constants to use with it.
    New posix.unistd.ftruncate and posix.unistd.truncate bindings.
    posix.fcntl.fcntl now accepts undocumented posix.fcntl.O_TMPFILE value 
    where supported by the host C library.
  * Bugs Fixed
    posix.unistd.ttyname now returns an error message in addition to nil when 
    it fails.
  * maint-sync-luke-with-upstream.patch:
    Backported from upstream to make this build and install with the 'luke'
    version included.

- Fix provides/obsoletes for the old package name. (forwarded request 515964 from eeich)

OBS-URL: https://build.opensuse.org/request/show/515966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=2
2017-08-24 16:50:26 +00:00
4 changed files with 51 additions and 21 deletions

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Wed Jan 25 11:52:07 UTC 2023 - Michal Suchanek <msuchanek@suse.de>
- Fix missing dependency on lua-macros (boo#1205612)
-------------------------------------------------------------------
Sat Dec 18 14:54:13 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Update to version 35.1:
* Support AF_PACKET socket family, where available.
* Support SIGINFO, SIGWINCH and SA_RESTART, where available.
* Documentation cleanups
- avoid setting build USER tag
- Use %ifluadefault
- Clean spec file
-------------------------------------------------------------------
Wed Jan 27 15:56:08 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Use %lua_provides macro
-------------------------------------------------------------------
Sun Jul 12 13:40:45 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Update to version 35.0
* Initial support for Lua 5.4
* Internally, we use our own bitwise operation wrapper functions
rather than bit32 where possible. This means bitwise operations
when running under Lua 5.3+ work on 64bit integers.
-------------------------------------------------------------------
Mon Jul 6 19:05:38 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -16,29 +16,27 @@
#
%define flavor @BUILD_FLAVOR@
%define flavor @BUILD_FLAVOR@%{nil}
%define mod_name luaposix
Version: 34.1.1
Release: 0
Summary: POSIX library for Lua
License: MIT
Group: Development/Libraries/Other
URL: https://github.com/luaposix/luaposix
Source0: https://github.com/luaposix/luaposix/archive/v%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: ncurses-devel
BuildRequires: perl
Requires: %{flavor}
%if "%{flavor}" == "lua53"
Provides: lua-%{mod_name} = %{version}
Obsoletes: lua-%{mod_name} < %{version}
%endif
%if "%{flavor}" == ""
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{mod_name}
%endif
Version: 35.1
Release: 0
Summary: POSIX library for Lua
License: MIT
Group: Development/Libraries/Other
URL: https://github.com/luaposix/luaposix
Source0: https://github.com/luaposix/luaposix/archive/v%{version}/%{mod_name}-%{version}.tar.gz
BuildRequires: lua-macros
BuildRequires: %{flavor}-devel
BuildRequires: ncurses-devel
BuildRequires: perl
Requires: %{flavor}
%lua_provides
%description
This is a POSIX library for Lua which provides access to many POSIX features
@@ -53,9 +51,11 @@ BuildArch: noarch
This package contains the documentation for %{flavor}-luaposix.
%prep
%setup -q -n luaposix-%{version}
%autosetup -n luaposix-%{version}
%build
# avoid setting USER tag
export USER=""
build-aux/luke PREFIX=%{_prefix} all
%install
@@ -69,7 +69,7 @@ build-aux/luke PREFIX=%{buildroot}%{_prefix} INST_LIBDIR=%{buildroot}%{lua_archd
%{lua_noarchdir}/posix
# Only produce docs during one flavor to avoid duplicate binary.
%if "%{flavor}" == "lua53"
%ifluadefault
%files -n %{mod_name}-doc
%doc doc/*
%endif

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7948f4ac8b953172e928753632e37ad97cc3014df74b524fe7839f71216a7e90
size 177685

BIN
luaposix-35.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.