SHA256
1
0
forked from pool/brise

Compare commits

...

6 Commits

Author SHA256 Message Date
Dominique Leuenberger
54aaf0624b Accepting request 1244319 from M17N
OBS-URL: https://build.opensuse.org/request/show/1244319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/brise?expand=0&rev=22
2025-02-09 19:01:54 +00:00
b888df681e Fix previous CVE bug number typo.
OBS-URL: https://build.opensuse.org/package/show/M17N/brise?expand=0&rev=25
2025-02-08 08:55:39 +00:00
Ana Guerrero
47b4bb70ec Accepting request 1243623 from M17N
OBS-URL: https://build.opensuse.org/request/show/1243623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/brise?expand=0&rev=21
2025-02-06 21:04:16 +00:00
Hillwood Yang
d62a9a30c2 Add another bug number which fixed by previous commit (CVE-2024-45337, bsc#1234597)
OBS-URL: https://build.opensuse.org/package/show/M17N/brise?expand=0&rev=24
2025-02-06 12:18:20 +00:00
Ana Guerrero
bf4eef709f Accepting request 1242807 from M17N
OBS-URL: https://build.opensuse.org/request/show/1242807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/brise?expand=0&rev=20
2025-02-03 20:45:04 +00:00
08d31efba1 Split rime-plum-go out of brise: * go-git is rime-plum-go's component, it meet security issue of the argument injection vulnerability, when rime-plum-go deliver under brise's source code, it is hard to update seperately. * rime-plum-go is a separate project and has a different upstream. * I have done my best to keep the original code the same in respect of Marguerite's hard work. (CVE-2025-2161, bsc#1235573)
OBS-URL: https://build.opensuse.org/package/show/M17N/brise?expand=0&rev=23
2025-02-03 12:09:10 +00:00
3 changed files with 16 additions and 30 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jan 2 18:18:06 UTC 2025 - Cliff Zhao <qzhao@suse.com>
- Split rime-plum-go out of brise:
* go-git is rime-plum-go's component, it meet security issue of
the argument injection vulnerability, when rime-plum-go deliver
under brise's source code, it is hard to update seperately.
* rime-plum-go is a separate project and has a different upstream.
* I have done my best to keep the original code the same in
respect of Marguerite's hard work.
(CVE-2025-21613, bsc#1235573, CVE-2024-45337, bsc#1234597)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 4 18:18:06 UTC 2023 - Cliff Zhao <qzhao@suse.com> Mon Sep 4 18:18:06 UTC 2023 - Cliff Zhao <qzhao@suse.com>
@ -163,4 +175,3 @@ Sat Jul 21 22:37:03 UTC 2012 - i@marguerite.su
* librime package: include 'brise', a collection of preset schemata in the package. * librime package: include 'brise', a collection of preset schemata in the package.
* new schema: Middle Chinese Phonetic Transcription. * new schema: Middle Chinese Phonetic Transcription.
* new schema: IPA input method in X-SAMPA. * new schema: IPA input method in X-SAMPA.

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: brise Name: brise
Version: 20230603+git.5fdd2d6 Version: 20230603+git.5fdd2d6
Release: 0 Release: 0
@ -24,11 +23,9 @@ License: GPL-3.0-or-later
Group: System/I18n/Chinese Group: System/I18n/Chinese
URL: https://github.com/rime/brise URL: https://github.com/rime/brise
Source: brise-%{version}.tar.xz Source: brise-%{version}.tar.xz
Source1: rime-plum-go-%{version}.tar.xz
Source99: README Source99: README
BuildRequires: golang(API) >= 1.17 BuildRequires: golang(API) >= 1.17
%description %description
Rime is an Traditional Chinese input method engine. Rime is an Traditional Chinese input method engine.
Its idea comes from ancient Chinese brush and carving art. Its idea comes from ancient Chinese brush and carving art.
@ -36,13 +33,6 @@ Mainly it's about to express your thinking with your keystrokes.
Brise is the input schemas collection of Rime. Brise is the input schemas collection of Rime.
%package -n rime-plum
Summary: Rime's configuration manager
Group: System/I18n/Chinese
%description -n rime-plum
Plum is rime's configuration manager.
%package -n rime-schema-default %package -n rime-schema-default
Summary: Default/Preset collection of rime schemas Summary: Default/Preset collection of rime schemas
Group: System/I18n/Chinese Group: System/I18n/Chinese
@ -329,28 +319,16 @@ wugniu input schema for rime.
%prep %prep
%setup -q %setup -q
echo %{_builddir} echo %{_builddir}
mkdir -p %{_builddir}/go/src/github.com/marguerite
tar -xf %{SOURCE1} -C %{_builddir}/go/src/github.com/marguerite
cp -r %{_builddir}/go/src/github.com/marguerite/rime-plum-go-%{version}/vendor/* %{_builddir}/go/src/
%build %build
pushd %{_builddir}/go/src/github.com/marguerite/rime-plum-go-%{version}
export GOPATH=%{_builddir}/go
go build
popd
%install %install
mkdir -p %{buildroot}%{_bindir}
install -m 0755 %{_builddir}/go/src/github.com/marguerite/rime-plum-go-%{version}/rime-plum-go %{buildroot}%{_bindir}/rime-plum
mkdir -p %{buildroot}%{_datadir}/rime-data mkdir -p %{buildroot}%{_datadir}/rime-data
cp -r package/rime/custom/*.recipe.yaml %{buildroot}%{_datadir}/rime-data cp -r package/rime/custom/*.recipe.yaml %{buildroot}%{_datadir}/rime-data
rm -rf package rm -rf package
rm -rf config.txt rm -rf config.txt
cp -r * %{buildroot}%{_datadir}/rime-data cp -r * %{buildroot}%{_datadir}/rime-data
%files -n rime-plum
%{_bindir}/rime-plum
%files -n rime-schema-default %files -n rime-schema-default
%dir %{_datadir}/rime-data %dir %{_datadir}/rime-data

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10529dc884c089f8f278129761752b791c5f15c18c6692639b8ec16ed144b542
size 2522912