diff --git a/.gitignore b/.gitignore index 4de06d8..3a95680 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/nano-[3-8].*.tar.xz -/nano-[3-8].*.tar.xz.asc +/nano-2.*.*.tar.gz +/nano-2.*.*/ diff --git a/0002-nano-3.0-crash-on-bad-quoting-regex.patch b/0002-nano-3.0-crash-on-bad-quoting-regex.patch new file mode 100644 index 0000000..097c6a6 --- /dev/null +++ b/0002-nano-3.0-crash-on-bad-quoting-regex.patch @@ -0,0 +1,49 @@ +From c3bf9d981768bb1e96d73c9a001a6a77713a6245 Mon Sep 17 00:00:00 2001 +From: David Lawrence Ramsey +Date: Mon, 10 Dec 2018 14:25:15 -0600 +Subject: [PATCH] options: exit on a bad quoting regex, instead of crashing + later + +The paragraph-jumping functions used the regex unverified... + +This fixes https://savannah.gnu.org/bugs/?55169. + +Upstream-commit: 6e3b9ac0587243460c1f8a19d3fcc4402f98808d +Signed-off-by: Kamil Dudka +--- + src/nano.c | 2 ++ + src/text.c | 5 ----- + 2 files changed, 2 insertions(+), 5 deletions(-) + +diff --git a/src/nano.c b/src/nano.c +index 74e1243..1900d3e 100644 +--- a/src/nano.c ++++ b/src/nano.c +@@ -2486,6 +2486,8 @@ int main(int argc, char **argv) + + quoteerr = charalloc(size); + regerror(quoterc, "ereg, quoteerr, size); ++ ++ die(_("Bad quoting regex \"%s\": %s\n"), quotestr, quoteerr); + } + #endif /* ENABLE_JUSTIFY */ + +diff --git a/src/text.c b/src/text.c +index 8919916..6e730b6 100644 +--- a/src/text.c ++++ b/src/text.c +@@ -2131,11 +2131,6 @@ bool find_paragraph(size_t *const quote, size_t *const par) + filestruct *current_save; + /* The line at the beginning of the paragraph we search for. */ + +- if (quoterc != 0) { +- statusline(ALERT, _("Bad quote string %s: %s"), quotestr, quoteerr); +- return FALSE; +- } +- + /* If we're at the end of the last line of the file, it means that + * there aren't any paragraphs left, so get out. */ + if (openfile->current == openfile->filebot && openfile->current_x == +-- +2.20.1 + diff --git a/0003-nano-3.0-history-use-after-free.patch b/0003-nano-3.0-history-use-after-free.patch new file mode 100644 index 0000000..3a8bbb4 --- /dev/null +++ b/0003-nano-3.0-history-use-after-free.patch @@ -0,0 +1,48 @@ +From 8817d48ce9b2fccba83251f10cd7827412c9ef41 Mon Sep 17 00:00:00 2001 +From: Brand Huntsman +Date: Wed, 27 Feb 2019 02:40:18 -0700 +Subject: [PATCH] history: use an unfreed 'position_history' to avoid a + possible crash + +The reload_positions_if_needed() routine can free the existing +'position_history' and allocate a new one. Using the old one, +from before the reload, could lead to a crash. + +This fixes https://savannah.gnu.org/bugs/?55792. +Reported-by: Enrico Mioso + +Bug existed since the reloading of the position-history file was +introduced, a year and a half ago, in commit bfc53f30. + +Signed-off-by: Brand Huntsman + +Upstream-commit: a5ef013e826bfd10d530dabbd961f9044b95b53f +Signed-off-by: Kamil Dudka +--- + src/history.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/history.c b/src/history.c +index 5668038..ca8c60d 100644 +--- a/src/history.c ++++ b/src/history.c +@@ -593,7 +593,7 @@ void update_poshistory(char *filename, ssize_t lineno, ssize_t xpos) + * set line and column to the retrieved values. */ + bool has_old_position(const char *file, ssize_t *line, ssize_t *column) + { +- poshiststruct *posptr = position_history; ++ poshiststruct *posptr; + char *fullpath = get_full_path(file); + + if (fullpath == NULL) +@@ -601,6 +601,7 @@ bool has_old_position(const char *file, ssize_t *line, ssize_t *column) + + reload_positions_if_needed(); + ++ posptr = position_history; + while (posptr != NULL && strcmp(posptr->filename, fullpath) != 0) + posptr = posptr->next; + +-- +2.20.1 + diff --git a/0004-nano-3.0-unindent-partial-line.patch b/0004-nano-3.0-unindent-partial-line.patch new file mode 100644 index 0000000..8f1797c --- /dev/null +++ b/0004-nano-3.0-unindent-partial-line.patch @@ -0,0 +1,38 @@ +From c03f2cc36a2539316437cff4313823c0a0882473 Mon Sep 17 00:00:00 2001 +From: Benno Schulenberg +Date: Fri, 12 Apr 2019 14:00:14 +0200 +Subject: [PATCH] unindent: ensure that a partial line gets displayed properly + afterwards + +When only the trailing chunk of a line is displayed on the top row of +the screen, and the unindenting of this line leads to a reduction in +the number of chunks, then the starting point of the viewport needs +to be re-evaluated. For simplicity, do this always when something is +unindented. + +This fixes https://savannah.gnu.org/bugs/?56102. +Reported-by: Devin Hussey + +Bug existed since around version 2.9.2. + +Upstream-commit: 1c707d4f99cc919070104de09efe1e5a6302b6ce +Signed-off-by: Kamil Dudka +--- + src/text.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/text.c b/src/text.c +index 6e730b6..eb0163e 100644 +--- a/src/text.c ++++ b/src/text.c +@@ -443,6 +443,7 @@ void do_unindent(void) + } + + set_modified(); ++ ensure_firstcolumn_is_aligned(); + refresh_needed = TRUE; + shift_held = TRUE; + } +-- +2.20.1 + diff --git a/0005-nano-4.2-help-crash.patch b/0005-nano-4.2-help-crash.patch new file mode 100644 index 0000000..0b55415 --- /dev/null +++ b/0005-nano-4.2-help-crash.patch @@ -0,0 +1,30 @@ +From 00351963c03818d058bfc355663fe0d7c86b9386 Mon Sep 17 00:00:00 2001 +From: Benno Schulenberg +Date: Thu, 23 May 2019 12:43:31 +0200 +Subject: [PATCH] help: don't check for confinement when opening a temporary + help-text file + +This fixes https://savannah.gnu.org/bugs/?56369. + +Upstream-commit: acd23551c3322f397dc43f97796273a8958f6ef9 +Signed-off-by: Kamil Dudka +--- + src/files.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/files.c b/src/files.c +index 20bbd942..7952bc00 100644 +--- a/src/files.c ++++ b/src/files.c +@@ -420,7 +420,7 @@ bool open_buffer(const char *filename, bool new_buffer) + as_an_at = FALSE; + + #ifdef ENABLE_OPERATINGDIR +- if (outside_of_confinement(filename, FALSE)) { ++ if (!inhelp && outside_of_confinement(filename, FALSE)) { + statusline(ALERT, _("Can't read file from outside of %s"), + operating_dir); + return FALSE; +-- +2.20.1 + diff --git a/bensberg.pgp b/bensberg.pgp deleted file mode 100644 index 2ea04ab..0000000 --- a/bensberg.pgp +++ /dev/null @@ -1,111 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQINBFpIq0sBEACnE8sA9tDg2oxTqBdAHiPoXKF/dYrwQYunov9ex2fvjy0iAdvt -CGkonr9gMQp1baD9Mo4KziCbGLTDvSciCwUY4s60aIytxsd3csK2YS5Irq9yFzef -htgedDta0SFTEw/UpZ1RbJnXayrSrPCsHNJn64cg+eQKW7L6EYjgvxZERzfKgjbv -kVYPuJ1HY5Ij20nHRYT+uxOsp1DJudWxUH0Py+rS5FG06fB0cuQM1Z25gN0O1E5F -6aU5GWfoAHyuCu+pKQqVAcFgvYFrliXQRn/gv0RgdynwQCIDe1hMmy0L776EYVla -K4MEmgC75SA6zVpGPnfwWSJzxNavAr4/5qpsmMcEGxO17l0MKSXU5M7dsC1KLeUd -W/LmD/cVR0xJibQVriYSw5ialKCOCtrPQo6+JhOgEwRU/b1sFSb2sIYz+Rf8dnCt -wugeESJ3CRHhfpj5kmcmfogWkzOh7IlHG6b9rJhizVsvbYbaoxu8detyvff9u3JK -LDDiFEUIkpsApAUQ59d8MfqatLbt4VoE+IL+MrlVGQ4a28Va0QO2OJCi9HzY7Ujb -lWjhEtdR9zfE6NTJDDrhnpJxA5IhQCpgzKXssyn53sLAcozTVqZ7N048sX1w8wa2 -LqNUeN7MpLMbdpi4/OCIpFFMM+dJ10p4Y6dz42qzcRE2A3W+t8IkF4oskQARAQAB -tCdCZW5ubyBTY2h1bGVuYmVyZyA8YmVuc2JlcmdAdGVsZm9ydC5ubD6JAj0EEwEI -ACcFAlpIq0sCGyMFCQlmAYAFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQDSjU -0qCs6IS3MQ//eSw0UCww5Atp201cMH1iK1dLEEO3HUvcpVmUKELcDYXZNSWXZm0H -wAxqEW0bEv7e2A2IbQqT5gxbdkC0NmBc3X0W/YJqKBB20T9Fj4IPZb60vpRfzhCj -9SnMz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1L8gwCLbAmyH -+tSOm0ybFhocTmvmCcZmTyKXkOuujr0oaFx0jktwJvegHU0heMdeEE92c3vMTlR4 -tpFGx8E0XU3Mj4J+kaMvwCUeozi4ZC9Csh4V9W+pIyJGaGQlD6ZJpgrIH+R3qIdr -O1hbZeijmgbciT7FyX8ht9KTK898IdwQM09w3HNDvNKpbux2QsWEdFbezUBto2KZ -Gek68oA7AQ8wDHmASp1ML6Jkl2JbyJz57Bazj+Fb47et2dHfF/3ISEwt+/9Q9U22 -aiT7JDFvdvChlezNFIVlrN89p1FO8LC6dSUaaoX7W3zRyydcxCNTpQv1HalwgEzx -IsL+msaPyrO5NVn40EmNSSsE0GPg15BgyhM9yjizJhaU74dgQECWuSHKFj29uVyV -S5Y2A1XbsPPqiB/yOFKq3kZBnT1sHX91k7EKK8dqxmXCIqkG9iMh/vId/gI6d9Ci -57nY0FluIrbE/L9z1Gei2eMFsFmSvnW9fIc3NtKfnvQRBOXedCw0kmvyScJ6EZ3z -noV0PFstgvmp4wSlnb2Dw74euRcBe5/wxX1VAHSYhqKWMnoe6snYnUQR9h5Wm7A5 -sq4D91+uMVHTr/1llbSDS+6J1tE6WNg5gpiULhOr0IoxlSTtUCDY2c49wqh850GA -=Txhj ------END PGP PUBLIC KEY BLOCK----- diff --git a/nano-2.9.8.tar.gz.asc b/nano-2.9.8.tar.gz.asc new file mode 100644 index 0000000..8f88e03 --- /dev/null +++ b/nano-2.9.8.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEv9AJBh5TUFKtDfIVDSjU0qCs6IQFAlsSVMkACgkQDSjU0qCs +6IR99BAAnWR+QygOw1tCFHtCM83K3Z+Ufgjy/WuiJYRZVB3FUVM8L2sq+KY8DMHN +/8jW5ztibvZI7hTfEMCeaPOS+y4vkScSCW/qb6qK81rDswsDESvGulA1nHLayS++ +0b34A2PmgMpPsFf2qPac7TQ13xjUxCnV/Qt03yfRnKPoo3YoJRnxKw4vH2DJWIGz +/77IwUlGUufEaZZ0U5JzOKr35o1pPA+sP/wje976v28Qxv9e9WDEsc2ks3dNsKWu +aS0orQYHmHcxUy1vrxPwYrBt38CFzTOoBMPewe9d/mHMgDooX5HBhZ4fC4Ov0LIy +TRiXZeyx2ArVwsmgcPo8J2Ly5BDAIQnLEJdfSIU2qCckGmMrzQaGuuYRLqNGG8Up +/mYc/Xkfg8iYv/GN2UfwWPsWI1S3yaHhwgVjWXj5+Ma5agtZTvdLgIdRf0d/s2oh +oLNFv4DEhPE3jrliYNMqso5MP2E5Q5V6h7ubLRFyZr8fQmvMtU8gCqAsB8f/pTo1 +51wpM8S8I8U/PUFEoDH1Yjfno6XWnqeL0YmlLXMHVE065j/fNb5qn0xo6T+bCgrb +uyCzR33QvfEJMya8GkPW/KK+Q1Vk0BBg/d9loA0OcApkrHDOqDfZenHIE2t1vZ/V +Wdaq+VdodYHaY6YzTPrAYwkQwzV6EY/aJfgNyeAb8v/JgpQGpVA= +=JHeW +-----END PGP SIGNATURE----- diff --git a/nano-8.7-gnulib-c23.patch b/nano-8.7-gnulib-c23.patch deleted file mode 100644 index 8e8380c..0000000 --- a/nano-8.7-gnulib-c23.patch +++ /dev/null @@ -1,140 +0,0 @@ -From c028b6f1804a8fef398d7642d8ccb7d8f73150fb Mon Sep 17 00:00:00 2001 -From: Paul Eggert -Date: Sun, 23 Nov 2025 00:50:40 -0800 -Subject: [PATCH] Port to C23 qualifier-generic fns like strchr -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This ports Gnulib to strict C23 platforms that reject code -like ‘char *q = strchr (P, 'x');’ when P is a pointer to const, -because in C23 strchr is a qualifier-generic function so -strchr (P, 'x') returns char const *. -This patch does not attempt to do the following two things, -which might be useful in the future: -1. When compiling on non-C23 platforms, check user code for -portability to platforms that define qualifier-generic functions. -2. Port Gnulib to platforms that have qualifier-generic functions -not listed in the C23 standard, e.g., strchrnul. I don’t know -of any such platforms. -* lib/c++defs.h (_GL_FUNCDECL_SYS_NAME): New macro. -* lib/c++defs.h (_GL_FUNCDECL_SYS): -* lib/stdlib.in.h (bsearch): -Use it, to prevent C23 names like strchr from acting like macros. -* lib/string.in.h (memchr, strchr, strpbrk, strrchr): -Do not #undef when GNULIB_POSIXCHECK is defined, as this could -cause conforming C23 code to fail to conform. It’s not clear why -_GL_WARN_ON_USE_CXX; perhaps it was needed but isn’t any more? -But for now, limit the removal of #undef to these four functions -where #undeffing is clearly undesirable in C23. -* lib/wchar.in.h (wmemchr): Parenthesize function name in decl, -to prevent it from acting like a macro. - -Cherry-picked-by: Lukáš Zaoral -Upstream-commit: df17f4f37ed3ca373d23ad42eae51122bdb96626 ---- - lib/c++defs.h | 12 +++++++++++- - lib/stdlib.in.h | 6 +++--- - lib/string.in.h | 4 ---- - lib/wchar.in.h | 2 +- - 4 files changed, 15 insertions(+), 9 deletions(-) - -diff --git a/lib/c++defs.h b/lib/c++defs.h -index b77979a..7384457 100644 ---- a/lib/c++defs.h -+++ b/lib/c++defs.h -@@ -127,6 +127,16 @@ - #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters,...) \ - _GL_EXTERN_C_FUNC __VA_ARGS__ rettype rpl_func parameters - -+/* _GL_FUNCDECL_SYS_NAME (func) expands to plain func if C++, and to -+ parenthsized func otherwise. Parenthesization is needed in C23 if -+ the function is like strchr and so is a qualifier-generic macro -+ that expands to something more complicated. */ -+#ifdef __cplusplus -+# define _GL_FUNCDECL_SYS_NAME(func) func -+#else -+# define _GL_FUNCDECL_SYS_NAME(func) (func) -+#endif -+ - /* _GL_FUNCDECL_SYS (func, rettype, parameters, [attributes]); - declares the system function, named func, with the given prototype, - consisting of return type, parameters, and attributes. -@@ -139,7 +149,7 @@ - _GL_FUNCDECL_SYS (posix_openpt, int, (int flags), _GL_ATTRIBUTE_NODISCARD); - */ - #define _GL_FUNCDECL_SYS(func,rettype,parameters,...) \ -- _GL_EXTERN_C_FUNC __VA_ARGS__ rettype func parameters -+ _GL_EXTERN_C_FUNC __VA_ARGS__ rettype _GL_FUNCDECL_SYS_NAME (func) parameters - - /* _GL_CXXALIAS_RPL (func, rettype, parameters); - declares a C++ alias called GNULIB_NAMESPACE::func -diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h -index bef0aaa..fd0e1e0 100644 ---- a/lib/stdlib.in.h -+++ b/lib/stdlib.in.h -@@ -224,9 +224,9 @@ _GL_INLINE_HEADER_BEGIN - - /* Declarations for ISO C N3322. */ - #if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__ --_GL_EXTERN_C void *bsearch (const void *__key, -- const void *__base, size_t __nmemb, size_t __size, -- int (*__compare) (const void *, const void *)) -+_GL_EXTERN_C void *_GL_FUNCDECL_SYS_NAME (bsearch) -+ (const void *__key, const void *__base, size_t __nmemb, size_t __size, -+ int (*__compare) (const void *, const void *)) - _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3) _GL_ARG_NONNULL ((5)); - _GL_EXTERN_C void qsort (void *__base, size_t __nmemb, size_t __size, - int (*__compare) (const void *, const void *)) -diff --git a/lib/string.in.h b/lib/string.in.h -index fdcdd21..8b56acf 100644 ---- a/lib/string.in.h -+++ b/lib/string.in.h -@@ -409,7 +409,6 @@ _GL_CXXALIASWARN1 (memchr, void const *, - _GL_CXXALIASWARN (memchr); - # endif - #elif defined GNULIB_POSIXCHECK --# undef memchr - /* Assume memchr is always declared. */ - _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " - "use gnulib module memchr for portability" ); -@@ -674,7 +673,6 @@ _GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " - #if defined GNULIB_POSIXCHECK - /* strchr() does not work with multibyte strings if the locale encoding is - GB18030 and the character to be searched is a digit. */ --# undef strchr - /* Assume strchr is always declared. */ - _GL_WARN_ON_USE_CXX (strchr, - const char *, char *, (const char *, int), -@@ -981,7 +979,6 @@ _GL_CXXALIASWARN (strpbrk); - Even in this simple case, it does not work with multibyte strings if the - locale encoding is GB18030 and one of the characters to be searched is a - digit. */ --# undef strpbrk - _GL_WARN_ON_USE_CXX (strpbrk, - const char *, char *, (const char *, const char *), - "strpbrk cannot work correctly on character strings " -@@ -1011,7 +1008,6 @@ _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " - #if defined GNULIB_POSIXCHECK - /* strrchr() does not work with multibyte strings if the locale encoding is - GB18030 and the character to be searched is a digit. */ --# undef strrchr - /* Assume strrchr is always declared. */ - _GL_WARN_ON_USE_CXX (strrchr, - const char *, char *, (const char *, int), -diff --git a/lib/wchar.in.h b/lib/wchar.in.h -index ab602a2..6be4515 100644 ---- a/lib/wchar.in.h -+++ b/lib/wchar.in.h -@@ -301,7 +301,7 @@ _GL_EXTERN_C int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) - _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3) - _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3); - # ifndef __cplusplus --_GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc, size_t __n) -+_GL_EXTERN_C wchar_t *(wmemchr) (const wchar_t *__s, wchar_t __wc, size_t __n) - _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3); - # endif - _GL_EXTERN_C wchar_t *wmemset (wchar_t *__s, wchar_t __wc, size_t __n) --- -2.52.0 - diff --git a/nano-default-editor.csh b/nano-default-editor.csh deleted file mode 100644 index be2e517..0000000 --- a/nano-default-editor.csh +++ /dev/null @@ -1,5 +0,0 @@ -# Ensure GNU nano is set as EDITOR if it isn't already set - -if ( ! ($?EDITOR) ) then - setenv EDITOR "/usr/bin/nano" -endif diff --git a/nano-default-editor.fish b/nano-default-editor.fish deleted file mode 100644 index dad0407..0000000 --- a/nano-default-editor.fish +++ /dev/null @@ -1,8 +0,0 @@ -# Ensure GNU nano is set as EDITOR if it isn't already set -# This is set as a universal variable so that any other definition -# by the user would win -# Cf. https://fishshell.com/docs/current/index.html#variables-scope - -if ! set -q EDITOR; - set -x EDITOR /usr/bin/nano -end diff --git a/nano-default-editor.sh b/nano-default-editor.sh deleted file mode 100644 index 2e7edc8..0000000 --- a/nano-default-editor.sh +++ /dev/null @@ -1,5 +0,0 @@ -# Ensure GNU nano is set as EDITOR if it isn't already set - -if [ -z "$EDITOR" ]; then - export EDITOR="/usr/bin/nano" -fi diff --git a/nano.spec b/nano.spec index 78276d4..457e99b 100644 --- a/nano.spec +++ b/nano.spec @@ -1,92 +1,57 @@ -# build nano-default-editor by default only on fedora -%if 0%{?fedora} -%bcond_without default_editor -%else -%bcond_with default_editor -%endif - Summary: A small text editor Name: nano -Version: 8.7 -Release: 1%{?dist} -License: GPL-3.0-or-later +Version: 2.9.8 +Release: 2%{?dist} +License: GPLv3+ URL: https://www.nano-editor.org - -Source0: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz -Source1: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz.asc -# gpg --keyserver keyserver.ubuntu.com --recv-key 168E6F4297BFD7A79AFD4496514BBE2EB8E1961F -# gpg --output bensberg.pgp --armor --export bensberg@telfort.nl -Source2: bensberg.pgp - -# Additional sources -Source3: nanorc - -# Shell snippets for default-editor setup -Source11: nano-default-editor.sh -Source12: nano-default-editor.csh -Source13: nano-default-editor.fish - -# gnulib C23 support -# https://github.com/coreutils/gnulib/commit/df17f4f37ed3ca373d23ad42eae51122bdb96626 -Patch: nano-8.7-gnulib-c23.patch +Source: https://www.nano-editor.org/dist/v2.9/%{name}-%{version}.tar.gz +Source2: nanorc BuildRequires: file-devel BuildRequires: gettext-devel BuildRequires: gcc -BuildRequires: git-core -BuildRequires: gnupg2 +BuildRequires: git BuildRequires: groff -BuildRequires: make BuildRequires: ncurses-devel BuildRequires: sed BuildRequires: texinfo Conflicts: filesystem < 3 +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info + +# do not crash on a bad quoting regex +Patch2: 0002-nano-3.0-crash-on-bad-quoting-regex.patch + +# fix user-after-free bug on position_history +Patch3: 0003-nano-3.0-history-use-after-free.patch + +# display partial lines properly on unindent +Patch4: 0004-nano-3.0-unindent-partial-line.patch + +# fix possible crash while opening help +Patch5: 0005-nano-4.2-help-crash.patch %description GNU nano is a small and friendly text editor. -%if %{with default_editor} -%package default-editor -Summary: Sets GNU nano as the default editor -Requires: nano = %{version}-%{release} -# Ensure that only one package with this capability is installed -Provides: system-default-editor -Conflicts: system-default-editor -BuildArch: noarch - -%description default-editor -This package ensures the EDITOR shell variable -is set in common shells to GNU nano. - -%package -n default-editor -Summary: Metapackage for DNF group -Recommends: nano-default-editor -Requires: system-default-editor -BuildArch: noarch - -%description -n default-editor -The package acts as a placeholder in DNF group 'Standard', which will -install nano-default-editor on fresh installs and it will not block users -who don't have nano as a default editor during upgrade. -%endif - %prep -%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' -%autosetup -S git_am +%autosetup -S git %build mkdir build cd build %global _configure ../configure %configure -%make_build +make %{?_smp_mflags} # generate default /etc/nanorc +# - disable line wrapping by default # - set hunspell as the default spell-checker # - enable syntax highlighting by default (#1270712) -sed -E -e 's/^#.*set speller.*$/set speller "hunspell"/' \ - -e 's|^# (include "?/usr/share/nano/\*.nanorc"?)|\1|' \ - %{SOURCE3} doc/sample.nanorc > ./nanorc +sed -e 's/# set nowrap/set nowrap/' \ + -e 's/^#.*set speller.*$/set speller "hunspell"/' \ + -e 's|^# \(include "/usr/share/nano/\*.nanorc"\)|\1|' \ + %{SOURCE2} doc/sample.nanorc > ./nanorc %install cd build @@ -100,263 +65,38 @@ rm -f %{buildroot}%{_docdir}/nano/{nano,nano.1,nanorc.5,rnano.1}.html mkdir -p %{buildroot}%{_sysconfdir} install -m 0644 ./nanorc %{buildroot}%{_sysconfdir}/nanorc -# enable all extra syntax highlighting files by default -mv %{buildroot}%{_datadir}/nano/extra/* %{buildroot}%{_datadir}/nano -rm -rf %{buildroot}%{_datadir}/nano/extra - %find_lang %{name} -%if %{with default_editor} -# install nano-default-editor snippets -install -Dpm 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/profile.d/%{basename:%{S:11}} -install -Dpm 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/profile.d/%{basename:%{S:12}} -install -Dpm 0644 %{SOURCE13} %{buildroot}%{_datadir}/fish/vendor_conf.d/%{basename:%{S:13}} -%endif +%post +if [ -f %{_infodir}/%{name}.info.gz ]; then + /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir +fi +exit 0 + +%preun +if [ $1 -eq 0 ]; then + if [ -f %{_infodir}/%{name}.info.gz ]; then + /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir + fi +fi +exit 0 %files -f build/%{name}.lang -%license COPYING -%doc AUTHORS ChangeLog NEWS README THANKS TODO +%doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO %doc build/doc/sample.nanorc %doc doc/{faq,nano}.html -%{_bindir}/{,r}nano +%{_bindir}/* %config(noreplace) %{_sysconfdir}/nanorc -%{_mandir}/man1/{,r}nano.1* -%{_mandir}/man5/nanorc.5* +%{_mandir}/man*/* %{_infodir}/nano.info* %{_datadir}/nano -%if %{with default_editor} -%files default-editor -%dir %{_sysconfdir}/profile.d -%config(noreplace) %{_sysconfdir}/profile.d/nano-default-editor.* -%dir %{_datadir}/fish/vendor_conf.d -%{_datadir}/fish/vendor_conf.d/nano-default-editor.fish - -%files -n default-editor -%endif - - %changelog -* Wed Nov 26 2025 Lukáš Zaoral - 8.7-1 -- require only git-core which is already sufficient for %%autosetup -S git_am -- rebase to latest upstream release (rhbz#2414527) - -* Thu Aug 21 2025 Lukáš Zaoral - 8.6-1 -- rebase to the latest upstream release (rhbz#2390027) - -* Thu Jul 24 2025 Fedora Release Engineering - 8.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Thu Jun 12 2025 Lukáš Zaoral - 8.5-1 -- rebase to latest upstream release (rhbz#2372436) - -* Mon Apr 07 2025 Lukáš Zaoral - 8.4-1 -- rebase to latest upstream release (rhbz#2357699) - -* Thu Mar 20 2025 Lukáš Zaoral - 8.3-3 -- fix nano syntax highlighting in default nanorc (rhbz#2353508) - -* Fri Jan 17 2025 Fedora Release Engineering - 8.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Thu Jan 02 2025 Lukáš Zaoral - 8.3-1 -- rebase to latest upstream version (rhbz#2333643) - -* Thu Sep 05 2024 Lukáš Zaoral - 8.2-1 -- rebase to latest upstream release (rhbz#2310179) - -* Thu Jul 18 2024 Lukáš Zaoral - 8.1-1 -- rebase to latest upstream release (rhbz#2297610) - -* Thu May 02 2024 Lukáš Zaoral - 8.0-1 -- rebase to latest upstream version (rhbz#2278126) - -* Thu Jan 25 2024 Fedora Release Engineering - 7.2-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 7.2-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Jul 20 2023 Fedora Release Engineering - 7.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue Mar 21 2023 Lukáš Zaoral - 7.2-3 -- migrated to SPDX license - -* Thu Jan 19 2023 Fedora Release Engineering - 7.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Wed Jan 18 2023 Lukáš Zaoral - 7.2-1 -- Update to 7.2 (rhbz#2161916) -- Do not use %%{_bindir}/* and %%{_mandir}/* as suggested by the packaging - guidelines. - -* Wed Dec 14 2022 Lukáš Zaoral - 7.1-1 -- new upstream release (#2153268) - -* Tue Nov 15 2022 Lukáš Zaoral - 7.0-1 -- new upstream release (#2142885) -- update GPG signature key - -* Tue Aug 02 2022 Lukáš Zaoral - 6.4-1 -- new upstream release (#2113894) - -* Fri Jul 22 2022 Fedora Release Engineering - 6.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Apr 28 2022 Kamil Dudka - 6.3-1 -- new upstream release - -* Sat Feb 19 2022 Kamil Dudka - 6.2-1 -- new upstream release - -* Wed Feb 09 2022 Kamil Dudka - 6.1-1 -- new upstream release - -* Thu Jan 20 2022 Fedora Release Engineering - 6.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Dec 15 2021 Kamil Dudka - 6.0-1 -- new upstream release - -* Wed Oct 06 2021 Kamil Dudka - 5.9-1 -- new upstream release - -* Thu Jul 22 2021 Fedora Release Engineering - 5.8-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jul 07 2021 Kamil Dudka - 5.8-3 -- fix infinite recursion when handling an error (#1976410) - -* Wed Jun 16 2021 Zdenek Dohnal - 5.8-2 -- introduce 'default-editor' subpackage to support smooth non-nano upgrades (#1955884) - -* Tue Jun 15 2021 Kamil Dudka - 5.8-1 -- new upstream release - -* Tue May 25 2021 Florian Weimer - 5.7-3 -- Rebuild with new binutils to fix ppc64le corruption (#1960730) - -* Wed May 05 2021 Kamil Dudka - 5.7-2 -- build nano-default-editor by default only on fedora - -* Thu Apr 29 2021 Kamil Dudka - 5.7-1 -- new upstream release - -* Wed Mar 03 2021 Kamil Dudka - 5.6.1-1 -- new upstream release - -* Wed Feb 24 2021 Kamil Dudka - 5.6-1 -- new upstream release - -* Tue Jan 26 2021 Fedora Release Engineering - 5.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Thu Jan 14 2021 Kamil Dudka - 5.5-1 -- new upstream release - -* Wed Dec 02 2020 Kamil Dudka - 5.4-1 -- new upstream release - -* Thu Oct 15 2020 Zdenek Dohnal - 5.3-4 -- fix nano-default-editor.fish - don't give EDITOR an universal scope - -* Mon Oct 12 2020 Neal Gompa - 5.3-3 -- Ensure default-editor subpackage is easily swappable - -* Thu Oct 08 2020 Neal Gompa - 5.3-2 -- Enable all extra definitions for syntax highlighting (#1886561) - -* Wed Oct 07 2020 Kamil Dudka - 5.3-1 -- new upstream release - -* Mon Aug 24 2020 Kamil Dudka - 5.2-1 -- new upstream release - -* Sat Aug 15 2020 Kamil Dudka - 5.1-1 -- new upstream release - -* Thu Jul 30 2020 Kamil Dudka - 5.0-1 -- new upstream release - -* Tue Jul 28 2020 Fedora Release Engineering - 4.9.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Thu Jul 23 2020 Tom Stellard - 4.9.3-3 -- Use make macros -- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro - -* Thu Jul 16 2020 Neal Gompa - 4.9.3-2 -- Add default-editor subpackage (#1854444) - -* Mon May 25 2020 Kamil Dudka - 4.9.3-1 -- new upstream release - -* Tue Apr 07 2020 Kamil Dudka - 4.9.2-1 -- new upstream release - -* Tue Mar 31 2020 Kamil Dudka - 4.9.1-1 -- new upstream release - -* Tue Mar 24 2020 Kamil Dudka - 4.9-1 -- new upstream release - -* Fri Feb 07 2020 Kamil Dudka - 4.8-1 -- new upstream release - -* Wed Jan 29 2020 Fedora Release Engineering - 4.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Mon Dec 23 2019 Kamil Dudka - 4.7-1 -- new upstream release - -* Fri Nov 29 2019 Kamil Dudka - 4.6-1 -- new upstream release - -* Fri Oct 04 2019 Kamil Dudka - 4.5-1 -- new upstream release - -* Mon Aug 26 2019 Kamil Dudka - 4.4-1 -- new upstream release - -* Thu Jul 25 2019 Fedora Release Engineering - 4.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Tue Jun 18 2019 Kamil Dudka - 4.3-1 -- new upstream release - -* Tue May 28 2019 Kamil Dudka - 4.2-2 +* Tue May 28 2019 Kamil Dudka - 2.9.8-2 - fix possible crash while opening help - -* Wed Apr 24 2019 Kamil Dudka - 4.2-1 -- new upstream release - -* Mon Apr 15 2019 Kamil Dudka - 4.1-1 -- new upstream release - -* Tue Apr 02 2019 Kamil Dudka - 4.0-2 -- make sure that variables on stack are initialized - -* Mon Mar 25 2019 Kamil Dudka - 4.0-1 -- new upstream release - -* Fri Feb 01 2019 Fedora Release Engineering - 3.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Nov 12 2018 Kamil Dudka - 3.2-1 -- new upstream release - -* Wed Sep 19 2018 Kamil Dudka - 3.1-1 -- new upstream release - -* Fri Sep 14 2018 Kamil Dudka - 3.0-2 -- when Ctrl+Shift+Delete has no key code, do not fall back to KEY_BACKSPACE - -* Mon Sep 10 2018 Kamil Dudka - 3.0-1 -- new upstream release - -* Fri Jul 13 2018 Fedora Release Engineering - 2.9.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild +- display partial lines properly on unindent +- fix user-after-free bug on position_history +- do not crash on a bad quoting regex * Mon Jun 04 2018 Kamil Dudka - 2.9.8-1 - new upstream release diff --git a/sources b/sources index 3c344f6..dd705e1 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (nano-8.7.tar.xz.asc) = b525ae9bdd69eae326c364ffd76a03592f4012132fdbff061ec804741857f6cb7428ffa4ebb65ab584a3eb1ce310bf9865d4ad2f73b11d2b156b55bd2ade23c1 -SHA512 (nano-8.7.tar.xz) = 0aac5b1708b05a882cba57f718154e42a6cd8a57f1e1c13c76598fe85645c49703f0c17d2e650da90348eb60c2bdbe349925415b6511c27e5b1bea77d107ab37 +SHA512 (nano-2.9.8.tar.gz) = dcc7b074b585135e34339648fc725f54964488813d49fac50cf88c11d7cfcb8514907dbc2631ce7664ab0241717e8c42833e3c037070c80c8e7bee68fc280a2d