Sync from SUSE:SLFO:Main slang revision 96c85754a6ce325bf8779c6dbd69e55a
This commit is contained in:
commit
07d825214b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
baselibs.conf
Normal file
3
baselibs.conf
Normal file
@ -0,0 +1,3 @@
|
||||
libslang2
|
||||
obsoletes "slang-<targettype> < <version>"
|
||||
provides "slang-<targettype> = <version>"
|
BIN
slang-2.3.3.tar.bz2
(Stored with Git LFS)
Normal file
BIN
slang-2.3.3.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
17
slang-2.3.3.tar.bz2.asc
Normal file
17
slang-2.3.3.tar.bz2.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Comment: See http://www.jedsoft.org/signature.html for more information
|
||||
|
||||
iQIzBAABCgAdFiEEZAgzc+nh3pl+u+d4S4LQuCkwI30FAmLs9VEACgkQS4LQuCkw
|
||||
I314Vg//ZaFvxc3vEyo4BIlIJP7yQovsDf+DkXQScSIx9QnuZKnzznk4voM1JKDW
|
||||
YZr77fxRHKkFVB5AgP7CyC5LSqacysbng2S51ry1NT/uN41IkwKldbi4cDBj6iaF
|
||||
062kViTvlTexCuYmqtVc3ssrQGFec0eQdAsOcmikutp6Bx7pBlQ0oSevY/GU7dC5
|
||||
4uW4uFY94nJm3+mEEr/j2vyiaCrpLVSUUQHX9TbmjgL4mYulFNHDNAlf6xwxedwU
|
||||
QuRnBa97BYIuZbS/CK24X+7Dr8hiKsAiYBClmch9n6hS6NppNintCBbBEdH4Mer5
|
||||
x8fL9xWDbI6GAzgF0KV1tzWmE1xga9bf8V0YhDBVH5oyog/yQU5W2/2WwCnRSSL2
|
||||
TX1EU/KEGisbzjeruFKaN6Qo4UIfqBjpmNaM3ky02YXiKn8UQMCxfEJfVRWd3UYg
|
||||
8sI2bM3VPxSLp/V0eTB81rZ/PtJB6KD0l8oeUY/umwZYA28yYgxhOL08DW1Y0M6v
|
||||
YyiFifUzJcGrNJI1u20PHqC4kP92M0B9ZFU3hBT79fvsFpXyhCXKzwoHBywwE5Gp
|
||||
camSPKX/8FNV5Jnv+Ene9Oy3FjJo24Rs9fmq0G7loTNjK8ZdzNGYg/XOjyVQXnOi
|
||||
T8ezae10IjhOubm2r1gYxTbaLyTMMy9mT0sC0AuWo1/FlHJeDOQ=
|
||||
=iyx4
|
||||
-----END PGP SIGNATURE-----
|
103
slang-autoconf.patch
Normal file
103
slang-autoconf.patch
Normal file
@ -0,0 +1,103 @@
|
||||
Index: slang-2.3.3/autoconf/aclocal.m4
|
||||
===================================================================
|
||||
--- slang-2.3.3.orig/autoconf/aclocal.m4
|
||||
+++ slang-2.3.3/autoconf/aclocal.m4
|
||||
@@ -362,8 +362,11 @@ then
|
||||
if test -n "$gcc_warnings"
|
||||
then
|
||||
CFLAGS="$CFLAGS -Wall -W -pedantic -Winline -Wmissing-prototypes \
|
||||
- -Wnested-externs -Wpointer-arith -Wcast-align -Wshadow -Wstrict-prototypes \
|
||||
- -Wformat=2"
|
||||
+ -Wnested-externs -Wpointer-arith -Wcast-align -Wshadow -Wstrict-prototypes \
|
||||
+ -Wformat -Wformat-security"
|
||||
+ ELF_CFLAGS="$ELF_CFLAGS -Wall -W -pedantic -Winline -Wmissing-prototypes \
|
||||
+ -Wnested-externs -Wpointer-arith -Wcast-align -Wshadow -Wstrict-prototypes \
|
||||
+ -Wformat -Wformat-security"
|
||||
# Now trim excess whitespace
|
||||
CFLAGS=`echo $CFLAGS`
|
||||
fi
|
||||
@@ -578,7 +581,7 @@ dnl # Check for dynamic linker
|
||||
dnl #-------------------------------------------------------------------------
|
||||
DYNAMIC_LINK_LIB=""
|
||||
|
||||
-dnl# AH_TEMPLATE([HAVE_DLOPEN],1,[Define if you have dlopen])
|
||||
+AH_TEMPLATE([HAVE_DLOPEN],1,[Define if you have dlopen])
|
||||
|
||||
AC_CHECK_HEADER(dlfcn.h,[
|
||||
AC_DEFINE(HAVE_DLFCN_H,1,[Define if you have the dlfcn.h header])
|
||||
Index: slang-2.3.3/autoconf/configure.ac
|
||||
===================================================================
|
||||
--- slang-2.3.3.orig/autoconf/configure.ac
|
||||
+++ slang-2.3.3/autoconf/configure.ac
|
||||
@@ -17,6 +17,62 @@ dnl# fi
|
||||
AC_CONFIG_AUX_DIR(autoconf)
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
+AH_TOP([
|
||||
+/* -*- c -*- */
|
||||
+/* Note: this is for unix only. */
|
||||
+
|
||||
+#ifndef SL_CONFIG_H
|
||||
+#define SL_CONFIG_H
|
||||
+])
|
||||
+
|
||||
+AH_BOTTOM([
|
||||
+#if defined(HAVE_SIGADDSET) && defined(HAVE_SIGEMPTYSET)
|
||||
+# if defined(HAVE_SIGACTION) && defined(HAVE_SIGPROCMASK)
|
||||
+# define SLANG_POSIX_SIGNALS
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+/* Define if you need to in order for stat and other things to work. */
|
||||
+#undef _POSIX_SOURCE
|
||||
+
|
||||
+#ifdef _AIX
|
||||
+# ifndef _POSIX_SOURCE
|
||||
+# define _POSIX_SOURCE 1
|
||||
+# endif
|
||||
+# ifndef _ALL_SOURCE
|
||||
+# define _ALL_SOURCE
|
||||
+# endif
|
||||
+/* This may generate warnings but the fact is that without it, xlc will
|
||||
+ * INCORRECTLY inline many str* functions. */
|
||||
+# undef __STR__
|
||||
+#endif
|
||||
+
|
||||
+/* define USE_TERMCAP if you want to use it instead of terminfo. */
|
||||
+#if defined(sequent) || defined(NeXT)
|
||||
+# ifndef USE_TERMCAP
|
||||
+# define USE_TERMCAP
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+#if defined(ultrix) && !defined(__GNUC__)
|
||||
+# ifndef NO_PROTOTYPES
|
||||
+# define NO_PROTOTYPES
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+#ifndef unix
|
||||
+# define unix 1
|
||||
+#endif
|
||||
+
|
||||
+#ifndef __unix__
|
||||
+# define __unix__ 1
|
||||
+#endif
|
||||
+
|
||||
+#define _SLANG_SOURCE_ 1
|
||||
+#endif /* SL_CONFIG_H */
|
||||
+])
|
||||
+
|
||||
+
|
||||
JD_INIT
|
||||
JD_ANSI_CC
|
||||
|
||||
@@ -308,7 +364,7 @@ else
|
||||
fi
|
||||
AC_SUBST(ZLIB_MODULE)
|
||||
|
||||
-m4_include([./iconv.m4])
|
||||
+dnl m4_include([./iconv.m4])
|
||||
|
||||
ICONV_MODULE=""
|
||||
JD_CHECK_FOR_LIBRARY(iconv)
|
96
slang-fsuid.patch
Normal file
96
slang-fsuid.patch
Normal file
@ -0,0 +1,96 @@
|
||||
Index: slang-2.3.2/autoconf/configure.ac
|
||||
===================================================================
|
||||
--- slang-2.3.2.orig/autoconf/configure.ac
|
||||
+++ slang-2.3.2/autoconf/configure.ac
|
||||
@@ -177,9 +177,18 @@ sys/socket.h \
|
||||
netinet/in.h \
|
||||
arpa/inet.h \
|
||||
sys/un.h \
|
||||
+sys/fsuid.h \
|
||||
sys/resource.h \
|
||||
)
|
||||
|
||||
+AC_CHECK_FUNCS(setfsuid setfsgid)
|
||||
+
|
||||
+if test "${ac_cv_func_setfsuid}" != "yes" || test "${ac_cv_func_setfsgid}" != "yes"; then
|
||||
+ AC_MSG_ERROR([
|
||||
+*** setfsguid and setfsgid cannot be found!!!
|
||||
+ These are needed to support setuid/setgid applications ***])
|
||||
+fi
|
||||
+
|
||||
AC_TYPE_MODE_T
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_UID_T
|
||||
Index: slang-2.3.2/src/config.hin
|
||||
===================================================================
|
||||
--- slang-2.3.2.orig/src/config.hin
|
||||
+++ slang-2.3.2/src/config.hin
|
||||
@@ -201,6 +201,8 @@
|
||||
#undef HAVE_SYS_UN_H
|
||||
#undef socklen_t
|
||||
|
||||
+#undef HAVE_SYS_FSUID_H
|
||||
+#undef HAVE_SETFSUID
|
||||
#undef HAVE_CONFSTR
|
||||
#undef HAVE_SYSCONF
|
||||
#undef HAVE_PATHCONF
|
||||
Index: slang-2.3.2/src/slinclud.h
|
||||
===================================================================
|
||||
--- slang-2.3.2.orig/src/slinclud.h
|
||||
+++ slang-2.3.2/src/slinclud.h
|
||||
@@ -30,4 +30,8 @@
|
||||
# include <memory.h>
|
||||
#endif
|
||||
|
||||
+#ifdef HAVE_SYS_FSUID_H
|
||||
+# include <sys/fsuid.h>
|
||||
+#endif
|
||||
+
|
||||
#endif /* _SLANG_INCLUDE_H_ */
|
||||
Index: slang-2.3.2/src/sltermin.c
|
||||
===================================================================
|
||||
--- slang-2.3.2.orig/src/sltermin.c
|
||||
+++ slang-2.3.2/src/sltermin.c
|
||||
@@ -23,6 +23,9 @@ Foundation, Inc., 59 Temple Place - Suit
|
||||
USA.
|
||||
*/
|
||||
|
||||
+#include <unistd.h>
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
#include "slinclud.h"
|
||||
|
||||
#include "slang.h"
|
||||
@@ -142,7 +145,32 @@ static FILE *open_terminfo (char *file,
|
||||
* I will also look into the use of setreuid, seteuid and setregid, setegid.
|
||||
* FIXME: Priority=medium
|
||||
*/
|
||||
+ /* If your system lacks setfsuid/getfsuid either write
|
||||
+ equivalent support or dont use slang to build setuid/setgid
|
||||
+ apps like Mutt */
|
||||
+
|
||||
+ if(setfsuid(getuid())==-1)
|
||||
+ {
|
||||
+ perror("setfsuid");
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ if(setfsgid(getgid())==-1)
|
||||
+ {
|
||||
+ perror("setfsgid");
|
||||
+ return NULL;
|
||||
+ }
|
||||
fp = fopen (file, "rb");
|
||||
+ if(setfsuid(geteuid())==-1)
|
||||
+ {
|
||||
+ perror("setfsuid");
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ if(setfsgid(getegid())==-1)
|
||||
+ {
|
||||
+ perror("setfsgid");
|
||||
+ return NULL;
|
||||
+ }
|
||||
+
|
||||
if (fp == NULL) return NULL;
|
||||
|
||||
if (12 != fread ((char *)buf, 1, 12, fp))
|
468
slang.changes
Normal file
468
slang.changes
Normal file
@ -0,0 +1,468 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 09:16:20 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Drop slsh/lib/test/test_timestamp.sl: Do not test timestamps but
|
||||
trust on upstream (calculations in leap years are off in the
|
||||
test).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 13:20:53 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||
PatchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 10:51:04 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- slang 2.3.3:
|
||||
* This version includes a number of backward-compatible enhancements to
|
||||
the interpreter and its modules, as well as support for so-called
|
||||
user-defined terminfo extensions. It is also binary compatible with
|
||||
prior 2.x.y versions of the library.
|
||||
* See changes.txt
|
||||
- obsolete overflow.patch and rebase autoconf.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 6 12:17:00 UTC 2020 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- slang 2.3.2:
|
||||
* It is now possible to use reserved words as struct
|
||||
field names without quoting them. For example, it is now possible
|
||||
to write
|
||||
s = struct { public = value };
|
||||
Previously, this required the field name to be quoted:
|
||||
s = struct { "public" = value };
|
||||
|
||||
- drop static library and its LTO workaround
|
||||
- git-6dd5ade9a97b52ace4ac033779a6d3c1c51db4d1.patch: upstreamed
|
||||
- slang-fsuid.patch: refreshed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 2 08:24:02 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Use FAT LTO objects in order to provide proper static library.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 24 10:40:13 UTC 2018 - schwab@suse.de
|
||||
|
||||
- overflow.patch: fix overflow checks not to depend on undefined behaviour
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 15 13:21:43 CET 2018 - ro@suse.de
|
||||
|
||||
- handle s390 like s390x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 2 19:46:49 UTC 2018 - crrodriguez@opensuse.org
|
||||
|
||||
- BuildRequire default libpng on the system, builds and test
|
||||
pass fine. (drops slang-libpng12-linker-flag.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 9 08:46:48 UTC 2018 - werner@suse.de
|
||||
|
||||
- Add upstream commit 6dd5ade9a97b52ace4ac033779a6d3c1c51db4d1 as
|
||||
patch git-6dd5ade9a97b52ace4ac033779a6d3c1c51db4d1.patch (boo#1079543)
|
||||
* Added support for the new ncurses 32-bit terminfo database entries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 9 09:10:36 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Rectify RPM groups. Trim filler wording from description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 3 18:53:06 UTC 2017 - astieger@suse.com
|
||||
|
||||
- slang 2.3.1a:
|
||||
* 24 bitcolor support for 64 bit systems
|
||||
* various bug fixes and improvements
|
||||
- disable failing tests on i586 and s390x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 28 19:06:46 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Cleanup spec file with spec-cleaner
|
||||
- Add gpg signature
|
||||
- Remove upstreamed patch
|
||||
* sprintf-bug-concerning-c-for-8-bit-character-in-non-.patch
|
||||
- Update to 2.3.0
|
||||
* numerous changes, see included changes.txt for a detailed
|
||||
list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 26 12:20:26 UTC 2014 - fcrozat@suse.com
|
||||
|
||||
- Add obsoletes/provides to baselibs.conf.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 2 15:28:46 UTC 2014 - kkaempf@suse.com
|
||||
|
||||
- fix for running in non-utf-8 environments (bnc#885624)
|
||||
add sprintf-bug-concerning-c-for-8-bit-character-in-non-.patch
|
||||
|
||||
- drop slang-2.2.2-makefile.patch, obsolete
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 13:27:53 UTC 2012 - gber@opensuse.org
|
||||
|
||||
- update to version 2.2.4
|
||||
- numerous changes, see the included changes.txt for a detailed
|
||||
list
|
||||
- rebased slang-2.2.2.dif and renamed to slang.patch
|
||||
- rebased slang-2.2.2-autoconf.dif and renamed to
|
||||
slang-autoconf.patch
|
||||
- rebased slang-2.2.2-libpng12-linker-flag.patch and renamed to
|
||||
slang-libpng12-linker-flag.patch
|
||||
- rebased slang-2.2.2-fsuid.dif and renamed to slang-fsuid.patch
|
||||
- build oniguruma module on >= 12.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 19:20:43 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 16:32:55 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add automake as buildrequire to avoid implicit dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 09:29:49 UTC 2010 - coolo@novell.com
|
||||
|
||||
- fix baselibs.conf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 17 15:44:19 UTC 2010 - gber@opensuse.org
|
||||
|
||||
- disabled parallel build again, still broken
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 14 17:43:42 UTC 2010 - gber@opensuse.org
|
||||
|
||||
- updated to version 2.2.2
|
||||
+ new languag features
|
||||
* ternary expressions
|
||||
* break and condition statements can now work on several levels
|
||||
of loops
|
||||
* multiline strings
|
||||
* List_Type objects can now also be indexed using an array of
|
||||
indices
|
||||
+ new modules: zlib, fork, sysconf
|
||||
+ new intrinsic functions: sumsq, expm1, log1p, list_to_array,
|
||||
string_matches, _close, _fileno, dup2, getsid, killpg,
|
||||
getpriority, setpriority, ldexp, frexp
|
||||
+ provides pkg-info file
|
||||
+ many bugfixes
|
||||
- split package to conform to library naming policy
|
||||
- rebased patches, removed obsolete slang-2.2.1-format.patch
|
||||
- added patch slang-2.2.2-makefile.patch from Fedora which fixes
|
||||
shared libs permissions, the slang shared library symlink, and
|
||||
parallel build dependency issues and removes rpath
|
||||
- build pcre, png, and zlib modules
|
||||
- removed incorrect license information
|
||||
- more accurate summary and description
|
||||
- further cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 8 13:41:31 CEST 2010 - meissner@suse.de
|
||||
|
||||
- unbreak occasional build failures by disabling parallel make.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 13 13:49:12 CET 2010 - meissner@suse.de
|
||||
|
||||
- fixed better
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 12 20:15:12 UTC 2010 - coolo@novell.com
|
||||
|
||||
- include headers to fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 19 20:08:01 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- add baselibs.conf as a source
|
||||
- enable parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 7 12:34:56 CET 2009 - olh@suse.de
|
||||
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 27 15:56:41 CEST 2008 - schwab@suse.de
|
||||
|
||||
- Work around autoconf limitation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||
|
||||
- added baselibs.conf file to build xxbit packages
|
||||
for multilib support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 11 14:08:17 CEST 2007 - nadvornik@suse.cz
|
||||
|
||||
- updated to 2.1.1:
|
||||
* interpreter syntax enhancements
|
||||
* many bugfixes
|
||||
- fixed some rpmlint warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 28 17:22:16 CEST 2007 - nadvornik@suse.cz
|
||||
|
||||
- do not package binaries in documentation directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 10:22:08 CET 2006 - nadvornik@suse.cz
|
||||
|
||||
- fixed typo in locale code [#146603]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:41:38 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 16:31:33 CET 2006 - nadvornik@suse.cz
|
||||
|
||||
- compile with -fstack-protector
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 16:30:19 CET 2006 - nadvornik@suse.cz
|
||||
|
||||
- updated to 2.0.5
|
||||
- fixed output of multibyte chars to bottom right corner [#134037]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 17 11:11:08 CEST 2005 - nadvornik@suse.cz
|
||||
|
||||
- fixed filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 17:11:13 CEST 2005 - nadvornik@suse.cz
|
||||
|
||||
- updated documentation, specfile fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 16:42:25 CEST 2005 - nadvornik@suse.cz
|
||||
|
||||
- updated to 2.0.4
|
||||
* upstream UTF-8 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 16 16:44:41 CET 2005 - nadvornik@suse.cz
|
||||
|
||||
- fixed segfault in SLsmg_write_nwchars
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 6 16:02:05 CET 2005 - nadvornik@suse.cz
|
||||
|
||||
- fixed segfault on negative column value
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 10 10:34:09 CET 2004 - nadvornik@suse.cz
|
||||
|
||||
- removed symlinks pointing nowhere [#34927]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 20 10:17:59 CET 2004 - nadvornik@suse.cz
|
||||
|
||||
- used libdir macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 18 17:41:46 CET 2004 - sbrabec@suse.cz
|
||||
|
||||
- Added all available UTF-8 patches from Debian and Redhat.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 10 16:38:09 CET 2004 - nadvornik@suse.cz
|
||||
|
||||
- compiled with -fno-strict-aliasing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 18:46:14 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %defattr and %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 25 12:03:14 CEST 2003 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.4.9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 11:51:30 CEST 2003 - nadvornik@suse.cz
|
||||
|
||||
- remove unpackaged files from buildroot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 13 11:50:23 CET 2003 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.4.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 14:46:37 CET 2003 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.4.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 11:12:34 CEST 2002 - nadvornik@suse.cz
|
||||
|
||||
- removed the utf8 patch [#19941]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 16 11:44:37 CEST 2002 - pthomas@suse.de
|
||||
|
||||
- Check for availability of setfsuid/setfsgid and abort configuration
|
||||
if not found. Include sys/fsuid.h to get setfsuid/setfsgid declared.
|
||||
- Redo the utf8 patch to also define _GNU_SOURCE to get wcwidth
|
||||
declared.
|
||||
- Change configure.in to make the use of autoheader possible.
|
||||
- Make configure use a passed in ELF_CFLAGS.
|
||||
- Remove the unneeded -fno-strength-reduce from CFLAGS and ELF_CFLAGS.
|
||||
- devel package requires base package of same version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 9 14:21:09 CEST 2002 - nadvornik@suse.cz
|
||||
|
||||
- fixed macro SLSMG_BUILD_CHAR in utf8 patch, it fixes the crash
|
||||
of xjed [bug #16823]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 31 15:03:35 CEST 2002 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.4.5
|
||||
- created devel subpackage [bug #16241]
|
||||
- added html doc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 20 17:49:24 CET 2002 - nadvornik@suse.cz
|
||||
|
||||
- fixed color handling for tab character
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 30 12:50:58 CET 2002 - nadvornik@suse.cz
|
||||
|
||||
- fixed conversion of control characters to printable form in
|
||||
UTF-8 patch [bug #12894]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 10 10:57:49 CET 2002 - nadvornik@suse.cz
|
||||
|
||||
- used macros %{_lib} and %{_libdir}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 26 10:05:49 CEST 2001 - pmladek@suse.cz
|
||||
|
||||
- fixed displaying of long lines (#11919)
|
||||
* the begin of the visible part of the line is tested now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 13 17:18:43 CEST 2001 - schwab@suse.de
|
||||
|
||||
- Fix use of %suse_update_config.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 7 13:24:08 CEST 2001 - bjacke@suse.de
|
||||
|
||||
- apply UTF-8 patch from http://www.rano.org/mutt/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 6 11:46:38 CEST 2001 - nadvornik@suse.cz
|
||||
|
||||
- fixed to compile with new autoconf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 15:45:11 CET 2001 - nadvornik@suse.cz
|
||||
|
||||
- update to 1.4.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 9 09:45:54 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- fixed Copyright
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 15 13:50:41 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- update to 1.4.2
|
||||
- used suse_update_config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 19 16:21:45 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- added libslang.so.1 symlink (Bug#: 3545)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 18 15:44:41 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- changed Group tag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 24 10:58:12 CET 2000 - nadvornik@suse.cz
|
||||
|
||||
- added URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 13 13:53:46 CET 2000 - nadvornik@suse.cz
|
||||
|
||||
- upgrade to version 1.4.0
|
||||
- removed Makefile.Linux
|
||||
- added BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 7 18:53:19 MEST 1999 - fehr@suse.de
|
||||
|
||||
- recognize alternat xterm cursor sequences when doing line editing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Wed Jul 21 12:10:18 MEST 1999 - fehr@suse.de
|
||||
|
||||
- changed one patch slightly
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Tue Jun 30 17:46:09 MEST 1998 - fehr@suse.de
|
||||
|
||||
- integrate setuid security patches from Alan Cox in dif-file
|
||||
- change to version 1.2.2
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Tue Jun 30 16:26:27 MEST 1998 - fehr@suse.de
|
||||
|
||||
- add security patches from Alan Cox (overflow, setuid, termdir)
|
||||
- add dynamic version of slang library
|
||||
- install documentation to /usr/doc/packages/slang
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Wed Jan 22 22:24:11 CET 1997 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.99-38
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Tue Nov 26 20:15:03 CET 1996 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.99-37
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Sat Nov 16 20:28:43 CET 1996 - florian@suse.de
|
||||
|
||||
|
||||
- update to version 0.99-36 and add bug-fixes from mutt
|
||||
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Sat Nov 2 17:35:11 CET 1996 - florian@suse.de
|
||||
|
||||
|
||||
- update to new version 0.99-35
|
||||
|
||||
|
51
slang.keyring
Normal file
51
slang.keyring
Normal file
@ -0,0 +1,51 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
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
|
||||
=/DrM
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
39
slang.patch
Normal file
39
slang.patch
Normal file
@ -0,0 +1,39 @@
|
||||
Index: slang-2.2.4/src/sldisply.c
|
||||
===================================================================
|
||||
--- slang-2.2.4.orig/src/sldisply.c
|
||||
+++ slang-2.2.4/src/sldisply.c
|
||||
@@ -2609,6 +2609,13 @@ int SLtt_initialize (SLFUTURE_CONST char
|
||||
Start_Abs_Cursor_Addressing_Mode = tt_tgetstr ("ti");
|
||||
End_Abs_Cursor_Addressing_Mode = tt_tgetstr ("te");
|
||||
|
||||
+# ifndef USE_TERMCAP
|
||||
+ /* Use the given terminal specification of the terminfo entries
|
||||
+ * even if we have almost vtxxx.
|
||||
+ */
|
||||
+ Keypad_Init_Str = SLtt_tgetstr ("ks");
|
||||
+ Keypad_Reset_Str = SLtt_tgetstr ("ke");
|
||||
+# else
|
||||
/* If I do this for vtxxx terminals, arrow keys start sending ESC O A,
|
||||
* which I do not want. This is mainly for HP terminals.
|
||||
*/
|
||||
@@ -2626,6 +2633,7 @@ int SLtt_initialize (SLFUTURE_CONST char
|
||||
if (Del_N_Lines_Str == NULL) Del_N_Lines_Str = "\033[%dM";
|
||||
if (Add_N_Lines_Str == NULL) Add_N_Lines_Str = "\033[%dL";
|
||||
}
|
||||
+#endif
|
||||
|
||||
Scroll_R_Str = tt_tgetstr("cs");
|
||||
|
||||
@@ -2808,10 +2816,12 @@ int SLtt_initialize (SLFUTURE_CONST char
|
||||
/* specific to vtxxx only */
|
||||
void SLtt_enable_cursor_keys (void)
|
||||
{
|
||||
+#if 0
|
||||
#ifdef __unix__
|
||||
if (Vt100_Like)
|
||||
#endif
|
||||
tt_write_string("\033=\033[?1l");
|
||||
+#endif
|
||||
}
|
||||
|
||||
#ifdef VMS
|
151
slang.spec
Normal file
151
slang.spec
Normal file
@ -0,0 +1,151 @@
|
||||
#
|
||||
# spec file for package slang
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: slang
|
||||
Version: 2.3.3
|
||||
Release: 0
|
||||
Summary: Programming Library and Embeddable Extension Language
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: http://www.jedsoft.org/
|
||||
Source0: http://www.jedsoft.org/releases/slang/slang-%{version}.tar.bz2
|
||||
Source1: http://www.jedsoft.org/releases/slang/slang-%{version}.tar.bz2.asc
|
||||
Source2: %{name}.keyring
|
||||
Source3: baselibs.conf
|
||||
Patch0: slang.patch
|
||||
Patch1: slang-autoconf.patch
|
||||
Patch2: slang-fsuid.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: zlib-devel
|
||||
%if 0%{?suse_version} >= 1210
|
||||
BuildRequires: oniguruma-devel >= 5.9.0
|
||||
%endif
|
||||
BuildRequires: libpng-devel
|
||||
|
||||
%description
|
||||
S-Lang is a programming library for creating multi-platform software.
|
||||
It provides display/screen management, keyboard input, keymaps, etc.
|
||||
Another feature is the interpreter for the S-Lang extension language
|
||||
which can be embedded into an application to make it extensible. With
|
||||
slsh, a standalone interpreter is available as well.
|
||||
|
||||
%package slsh
|
||||
Summary: Interpreter for S-Lang Scripts
|
||||
Group: Development/Languages/Other
|
||||
Provides: slang = %{version}
|
||||
Obsoletes: slang <= 2.1.1
|
||||
|
||||
%description slsh
|
||||
slsh is a standalone interpreter of the S-Lang language. It can be used to
|
||||
execute scripts, or be run interactively.
|
||||
|
||||
%package -n libslang2
|
||||
Summary: Programming Library and Embeddable Extension Language
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libslang2
|
||||
S-Lang is a programming library for creating multi-platform software.
|
||||
It provides display/screen management, keyboard input, keymaps, etc.
|
||||
Another feature is the interpreter for the S-Lang extension language
|
||||
which can be embedded into an application to make it extensible. With
|
||||
slsh, a standalone interpreter is available as well.
|
||||
|
||||
%package devel
|
||||
Summary: Programming Library and Embeddable Extension Language - Development Package
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libslang2 = %{version}
|
||||
Provides: slang:%{_includedir}/slang.h
|
||||
|
||||
%description devel
|
||||
S-Lang is a programming library for creating multi-platform software.
|
||||
It provides display/screen management, keyboard input, keymaps, etc.
|
||||
Another feature is the interpreter for the S-Lang extension language
|
||||
which can be embedded into an application to make it extensible. With
|
||||
slsh, a standalone interpreter is available as well.
|
||||
|
||||
This package contains all necessary include files and libraries needed to
|
||||
develop applications that require it.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
# drop the timestamp test - leap year calc is just wrong in those tests
|
||||
rm slsh/lib/test/test_timestamp.sl
|
||||
|
||||
%build
|
||||
# %%global _lto_cflags %%{_lto_cflags} -ffat-lto-objects
|
||||
mv autoconf/configure.ac .
|
||||
mv autoconf/aclocal.m4 autoconf/acinclude.m4
|
||||
#autoheader -I autoconf
|
||||
aclocal -I autoconf --output=autoconf/aclocal.m4
|
||||
autoconf -I autoconf
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fstack-protector"
|
||||
export ELF_CFLAGS="$CFLAGS"
|
||||
%configure \
|
||||
--docdir=%{_docdir}/slang-devel \
|
||||
--with-pcre \
|
||||
--with-z
|
||||
# --with-onig
|
||||
# parallel make still broken in 2.2.2
|
||||
make --jobs 1
|
||||
# make static --jobs 1
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
# install-static
|
||||
|
||||
rm -rf %{buildroot}%{_datadir}/doc/
|
||||
|
||||
%check
|
||||
%ifnarch i586
|
||||
%ifnarch s390
|
||||
%ifnarch s390x
|
||||
make check
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%post -n libslang2 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libslang2 -p /sbin/ldconfig
|
||||
|
||||
%files slsh
|
||||
%doc COPYING slsh/README
|
||||
%doc slsh/doc/html/
|
||||
%config(noreplace) %{_sysconfdir}/slsh.rc
|
||||
%{_bindir}/slsh
|
||||
%{_libdir}/slang/
|
||||
%{_datadir}/slsh/
|
||||
%{_mandir}/man1/slsh.1*
|
||||
|
||||
%files -n libslang2
|
||||
%{_libdir}/libslang.so.*
|
||||
|
||||
%files devel
|
||||
%doc changes.txt NEWS README UPGRADE.txt demo/ examples/
|
||||
%doc doc/grammar.txt doc/text/
|
||||
%license COPYING
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/slang.pc
|
||||
# %%{_libdir}/libslang.a
|
||||
%{_libdir}/libslang.so
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user