11 Commits

Author SHA256 Message Date
ebe69e3e69 - Updated to 1.3.7
* Added ucd-16.0.0.tar.xz tarball with Unicode specifications.
  * https://github.com/ccxvii/mujs/compare/1.3.5...1.3.7
  * Updated character tables to Unicode 16.
  * Used more common "stack" property for error stack trace.
2025-07-12 23:25:36 +03:00
c3441547cb - Updated to 1.3.7
* Added ucd-16.0.0.tar.xz tarball with unicode instructions.
  * https://github.com/ccxvii/mujs/compare/1.3.5...1.3.7
  * Updated character tables to Unicode 16.
  * Used more common "stack" property for error stack trace.
2025-07-12 20:49:00 +03:00
0f74ecb61c - Updated to 1.3.7
* Added ucd-16.0.0.tar.xz and mujs-remove-curl.patch.
  * https://github.com/ccxvii/mujs/compare/1.3.5...1.3.7
  * Updated character tables to Unicode 16.
  * Used more common "stack" property for error stack trace.
2025-07-12 19:47:27 +03:00
160fef9460 Accepting request 1230945 from devel:languages:javascript
- Updated to 1.3.5
  * https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.5
  * Fixed bug with String.prototype.split(RegExp).

OBS-URL: https://build.opensuse.org/request/show/1230945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mujs?expand=0&rev=12
2024-12-16 18:08:54 +00:00
Илья Индиго
2f57c79830 Accepting request 1230943 from home:13ilya:branches:devel:languages:javascript
- Updated to 1.3.5
  * https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.5
  * Fixed bug with String.prototype.split(RegExp).

OBS-URL: https://build.opensuse.org/request/show/1230943
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/mujs?expand=0&rev=24
2024-12-14 00:02:55 +00:00
0619a6df9c Accepting request 1143406 from devel:languages:javascript
- Updated to 1.3.4
  * https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.4
  * Finalize user data if object allocation fails.
  * Fix bug when cleaning up after allocation error.
  * Handle sign when converting integer strings to numbers.
  * Allow disabling readline support in Makefile.

OBS-URL: https://build.opensuse.org/request/show/1143406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mujs?expand=0&rev=11
2024-02-02 14:44:47 +00:00
Илья Индиго
b605bd32af Accepting request 1143400 from home:ateixeira:branches:devel:languages:javascript
- Updated to 1.3.4
  * https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.4
  * Finalize user data if object allocation fails.
  * Fix bug when cleaning up after allocation error.
  * Handle sign when converting integer strings to numbers.
  * Allow disabling readline support in Makefile.

OBS-URL: https://build.opensuse.org/request/show/1143400
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/mujs?expand=0&rev=22
2024-02-01 14:27:56 +00:00
5ff70621d8 Accepting request 1087926 from devel:languages:javascript
- Updated to 1.3.3
  * https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.3

OBS-URL: https://build.opensuse.org/request/show/1087926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mujs?expand=0&rev=10
2023-05-21 17:08:12 +00:00
Илья Индиго
e46ee3cd4b Accepting request 1087914 from home:13ilya:branches:devel:languages:javascript
- Updated to 1.3.3
  * https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.3

OBS-URL: https://build.opensuse.org/request/show/1087914
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/mujs?expand=0&rev=20
2023-05-19 09:06:49 +00:00
Илья Индиго
135109ad1f OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/mujs?expand=0&rev=19 2023-05-19 08:54:34 +00:00
Илья Индиго
b94f676ac8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/mujs?expand=0&rev=18 2023-05-19 08:44:33 +00:00
5 changed files with 75 additions and 40 deletions

BIN
mujs-1.3.2.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
mujs-1.3.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Sat Jul 12 20:20:29 UTC 2025 - Илья Индиго <ilya@ilya.top>
- Updated to 1.3.7
* Added ucd-16.0.0.tar.xz tarball with Unicode specifications.
* https://github.com/ccxvii/mujs/compare/1.3.5...1.3.7
* Updated character tables to Unicode 16.
* Used more common "stack" property for error stack trace.
-------------------------------------------------------------------
Fri Dec 13 23:56:46 UTC 2024 - Илья Индиго <ilya@ilya.top>
- Updated to 1.3.5
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.5
* Fixed bug with String.prototype.split(RegExp).
-------------------------------------------------------------------
Thu Feb 1 14:14:34 UTC 2024 - Antonio Teixeira <antonio.teixeira@suse.com>
- Updated to 1.3.4
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.4
* Finalize user data if object allocation fails.
* Fix bug when cleaning up after allocation error.
* Handle sign when converting integer strings to numbers.
* Allow disabling readline support in Makefile.
-------------------------------------------------------------------
Fri May 19 08:58:10 UTC 2023 - Илья Индиго <ilya@ilya.top>
- Updated to 1.3.3
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.3
-------------------------------------------------------------------
Sat Mar 11 09:32:09 UTC 2023 - Luigi Baldoni <aloisio@gmx.com>
@@ -8,47 +40,47 @@ Sat Jan 14 11:41:55 UTC 2023 - ecsos <ecsos@opensuse.org>
- Update to 1.3.2
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.2
* 1.3.2 patch release for UAF bug fix.
* Bug 706057: Fix use-after-free in getOwnPropertyDescriptor.
* Set length of output array Array.prototype.map.
* 1.3.2 patch release for UAF bug fix.
* Bug 706057: Fix use-after-free in getOwnPropertyDescriptor.
* Set length of output array Array.prototype.map.
- Update to 1.3.1
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.1
* Make a patch release for important iterator bug fix.
* Issue #166: Use special iterator for string and array indices.
* Enable choice of library version for shell
* Use $(@D) instead of $(dir $@)
* Make a patch release for important iterator bug fix.
* Issue #166: Use special iterator for string and array indices.
* Enable choice of library version for shell
* Use $(@D) instead of $(dir $@)
- Update to 1.3.0
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.3.0
* Avoid freeing buffer twice in case of error.
* Fast path for "simple" arrays.
* Bug 705775: Fix double fclose in pretty-printing tool.
* Makefile: fix parallel builds
* Guard state initialization with try to avoid panic in initialization.
* Add js_isbooleanobject and js_isdateobject functions.
* Issue #161: Cope with empty programs in mujs-pp.
* Issue #161: Don't fclose a FILE that is NULL.
* Issue #162: Check stack overflow during regexp compilation.
* Bug 705052: Don't use private STACK/TOP macros in jsstate.c
* Add "console" object to mujs shell.
* Issue #156: Fix check for duplicate formal parameters when strict.
* Some minor optimizations to Ap_join.
* array join: avoid strcat, speedup from O(N^2) to O(N)
* Avoid freeing buffer twice in case of error.
* Fast path for "simple" arrays.
* Bug 705775: Fix double fclose in pretty-printing tool.
* Makefile: fix parallel builds
* Guard state initialization with try to avoid panic in initialization.
* Add js_isbooleanobject and js_isdateobject functions.
* Issue #161: Cope with empty programs in mujs-pp.
* Issue #161: Don't fclose a FILE that is NULL.
* Issue #162: Check stack overflow during regexp compilation.
* Bug 705052: Don't use private STACK/TOP macros in jsstate.c
* Add "console" object to mujs shell.
* Issue #156: Fix check for duplicate formal parameters when strict.
* Some minor optimizations to Ap_join.
* array join: avoid strcat, speedup from O(N^2) to O(N)
- Drop mujs-1.2.0-stack-exhaustion.patch because now in upstream.
-------------------------------------------------------------------
Wed May 18 15:45:51 UTC 2022 - Илья Индиго <ilya@ilya.cf>
Wed May 18 15:45:51 UTC 2022 - Илья Индиго <ilya@ilya.top>
- Added mujs-1.2.0-stack-exhaustion.patch (CVE-2022-30974, boo#1199678).
-------------------------------------------------------------------
Mon Feb 15 13:12:21 UTC 2022 - Илья Индиго <ilya@ilya.pp.ua>
Mon Feb 15 13:12:21 UTC 2022 - Илья Индиго <ilya@ilya.top>
- Updated to 1.2.0
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.2.0
* Fixed heap buffer overflow (CVE-2021-45005, boo#1195954).
-------------------------------------------------------------------
Sun Jun 27 11:43:00 UTC 2021 - Илья Индиго <ilya@ilya.pp.ua>
Sun Jun 27 11:43:00 UTC 2021 - Илья Индиго <ilya@ilya.top>
- Updated to 1.1.3
* https://git.ghostscript.com/?p=mujs.git;a=log;h=refs/tags/1.1.3
@@ -83,6 +115,6 @@ Wed Apr 14 22:08:53 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Fixed RPM error because of missing RPM group
-------------------------------------------------------------------
Thu Mar 11 12:50:28 UTC 2021 - Илья Индиго <ilya@ilya.pp.ua>
Thu Mar 11 12:50:28 UTC 2021 - Илья Индиго <ilya@ilya.top>
- Initialization mujs 1.0.9.

View File

@@ -1,7 +1,7 @@
#
# spec file for package mujs
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,20 @@
#
%define ucd_ver 16.0.0
Name: mujs
Version: 1.3.2
Version: 1.3.7
Release: 0
Summary: An embeddable Javascript interpreter
License: AGPL-3.0-or-later
Group: Development/Languages/C and C++
URL: https://mujs.com
Source0: https://mujs.com/downloads/%{name}-%{version}.tar.xz
URL: https://github.com/ccxvii/%{name}
Source0: https://github.com/ccxvii/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# v=16.0.0 && u=https://www.unicode.org/Public/$v/ucd && f1=SpecialCasing.txt && f2=UnicodeData.txt && f=ucd-$v.tar.xz && cd /tmp && curl -O $u/$f1 -O $u/$f2 && tar c --remove-files "$f1" "$f2" | xz -9e > "$f"
Source1: ucd-%{ucd_ver}.tar.xz
BuildRequires: pkgconfig
%if 0%{?suse_version} > 1500
BuildRequires: python3
BuildRequires: pkgconfig(readline)
%else
BuildRequires: readline-devel
%endif
%description
MuJS is a lightweight Javascript interpreter designed for embedding in other software to extend them with scripting capabilities.
@@ -43,19 +43,19 @@ Provides: %{name}-static = %{version}
This package provides the MuJS static library.
%prep
%autosetup -p1
%autosetup -p1 -a1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%make_build debug CFLAGS="%{optflags} -fPIC"
%make_build CFLAGS="%{optflags} -fPIC"
%install
%make_install prefix="%{_prefix}" libdir="%{_libdir}" CFLAGS="%{optflags} -fPIC"
%make_install CFLAGS="%{optflags} -fPIC" prefix="%{_prefix}" libdir="%{_libdir}"
%files
%license COPYING
%doc AUTHORS README
%{_bindir}/%{name}
%{_bindir}/%{name}{,-pp}
%files devel
%license COPYING

BIN
ucd-16.0.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.