Compare commits

...

12 Commits

Author SHA1 Message Date
openeuler-ci-bot
f1b59942c3
!24 [sync] PR-23: Modify Source0
From: @openeuler-sync-bot 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2024-06-18 02:28:44 +00:00
starlet-dx
0aa080eea7 Modify Source0
(cherry picked from commit 91b704bd7abe714bee8dcc8fb5c46ec34666c254)
2024-06-18 10:17:38 +08:00
openeuler-ci-bot
29ae4be937
!19 [sync] PR-18: Update to 8.0 for fix CVE-2024-5742
From: @openeuler-sync-bot 
Reviewed-by: @starlet-dx 
Signed-off-by: @starlet-dx
2024-06-18 01:02:34 +00:00
starlet-dx
61d88e2068 Update to 8.0 for fix CVE-2024-5742
(cherry picked from commit 382c939d3e88d5d3da18c587c1ecee998a58d7e0)
2024-06-17 17:57:41 +08:00
openeuler-ci-bot
31345b1e48 !4 Modify source0
From: @baizg1107
Reviewed-by: @yanzh_h
Signed-off-by: @yanzh_h
2020-09-15 14:50:56 +08:00
baizg1107
18f612163d Modify source0 2020-09-11 14:20:29 +08:00
openeuler-ci-bot
d819b74199 !3 Upgrade to 4.9.3 and fix various issues
Merge pull request !3 from Shinwell_Hu/master
2020-06-16 20:44:59 +08:00
openeuler-ci-bot
65c976ea3a !3 Upgrade to 4.9.3 and fix various issues
Merge pull request !3 from Shinwell_Hu/master
2020-06-16 20:44:59 +08:00
openeuler-ci-bot
79704a3361 !3 Upgrade to 4.9.3 and fix various issues
Merge pull request !3 from Shinwell_Hu/master
2020-06-16 20:44:58 +08:00
openeuler-ci-bot
40097e6746 !3 Upgrade to 4.9.3 and fix various issues
Merge pull request !3 from Shinwell_Hu/master
2020-06-16 20:44:57 +08:00
Shinwell Hu
60c17053b8 correct summary and description 2020-05-30 05:45:27 +00:00
Shinwell Hu
575737b8cb upgrade to 4.9.3 and fix various issues 2020-05-30 05:44:09 +00:00
4 changed files with 40 additions and 14 deletions

Binary file not shown.

BIN
nano-8.0.tar.xz Normal file

Binary file not shown.

View File

@ -1,22 +1,21 @@
Name: nano
Version: 4.5
Release: 2
Summary: Nano is now part of Apache CouchDB
Version: 8.0
Release: 1
Summary: Nano is a tiny GNU editor
License: GPLv3+
URL: https://www.nano-editor.org
Source0: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz
Source0: https://www.nano-editor.org/dist/v8/%{name}-%{version}.tar.xz
BuildRequires: file-devel gettext-devel gcc git ncurses-devel sed texinfo groff
BuildRequires: file-devel gettext-devel gcc ncurses-devel sed texinfo groff
Conflicts: filesystem < 3
%description
Nano is now part of Apache CouchDB.
Nano is a tiny GNU editor
%package_help
%prep
%autosetup -S git
%autosetup -p1
%build
install -d build
@ -25,9 +24,9 @@ cd build
%configure
%make_build
sed -e 's/# set nowrap/set nowrap/' \
-e 's/^#.*set speller.*$/set speller "hunspell"/' \
sed -e 's/^#.*set speller.*$/set speller "hunspell"/' \
-e 's|^# \(include "/usr/share/nano/\*.nanorc"\)|\1|' \
doc/sample.nanorc >> ./nanorc
%install
cd build
@ -36,6 +35,10 @@ rm -rf %{buildroot}%{_infodir}/dir
rm -rf %{buildroot}%{_docdir}/nano/{nano,nano.1,nanorc.5,rnano.1}.html
install -d %{buildroot}%{_sysconfdir}
install -m 0644 ./nanorc %{buildroot}%{_sysconfdir}/nanorc
mv %{buildroot}%{_datadir}/nano/extra/* %{buildroot}%{_datadir}/nano
rm -rf %{buildroot}%{_datadir}/nano/extra
%find_lang %{name}
@ -47,6 +50,7 @@ install -d %{buildroot}%{_sysconfdir}
%{_bindir}/*
%{_datadir}/nano
%{_infodir}/nano.info*
%config(noreplace) %{_sysconfdir}/nanorc
%files help
%defattr(-,root,root)
@ -57,6 +61,27 @@ install -d %{buildroot}%{_sysconfdir}
%{_defaultdocdir}/nano/faq.html
%changelog
* Mon Jun 17 2024 yaoxin <yao_xin001@hoperun.com> - 8.0-1
- Update to 8.0
* CVE-2024-5742: Avoid privilege escalations via symlink attacks
on emergency save file (boo#1226099)
* By default ^F is bound to starting a forward search, and ^B to
starting a backward search, while M-F and M-B repeat the search
in the corresponding direction. (See the documentation if you
want the old bindings back.)
* Command-line option --modernbindings (-/) makes ^Q quit, ^X cut,
^C copy, ^V paste, ^Z undo, ^Y redo, ^O open a file, ^W write a file,
^R replace, ^G find again, ^D find again backwards, ^A set the mark,
^T jump to a line, ^P show the position, and ^E execute.
* For easier access, M-" is bound to placing/removing an anchor,
and M-' to jumping to the next anchor.
* Thu Sep 10 2020 baizhonggui <baizhonggui@huawei.com> - 4.9.3-1
- Modify source0
* Sat May 30 2020 SimpleUpdate Robot <tc@openeuler.org>
- Update to version 4.9.3
* Fri Jan 17 2020 Lei Zhang <ricky.z@huawei.com> - 4.5-2
- Remove useless nanorc config file

View File

@ -1,4 +1,5 @@
version_control: github
src_repo: apache/nano
tag_prefix: ^v
seperator: .
---
version_control: git
src_repo: git://git.savannah.gnu.org/nano.git
tag_prefix: "^v"
seperator: "."