Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-vty-crossplatform for
openSUSE:Factory checked in at 2026-11-24 12:37:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vty-crossplatform (Old)
and /work/SRC/openSUSE:Factory/.ghc-vty-crossplatform.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-vty-crossplatform"
Tue Nov 24 12:37:17 2026 rev:2 rq:1399402 version:0.5.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-vty-crossplatform/ghc-vty-crossplatform.changes
2024-01-10 21:51:26.110307572 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-vty-crossplatform.new.1340718/ghc-vty-crossplatform.changes
2026-11-24 12:44:01.208164484 +0100
@@ -1,0 +2,15 @@
+Sat Nov 22 23:42:28 UTC 2025 - Peter Simons <[email protected]>
+
+- Update vty-crossplatform to version 0.5.0.0.
+ 0.5.0.0
+ =======
+
+ * Addressed a security issue that would have allowed a malicious third
+ party to upload a 'unknown-vty-build-platform' package to Hackage to
+ introduce malicious code on platforms where 'vty-crossplatform' isn't
+ supported. Now, instead of failing to build against a fake package for
+ build error readability purposes, 'buildable' is set to 'False' to
+ fail the build more directly.
+ * Updated to work with `vty-windows` 0.2.0.1.
+
+-------------------------------------------------------------------
Old:
----
vty-crossplatform-0.4.0.0.tar.gz
New:
----
vty-crossplatform-0.5.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-vty-crossplatform.spec ++++++
--- /var/tmp/diff_new_pack.Hprf8Z/_old 2026-11-24 12:44:03.156247046 +0100
+++ /var/tmp/diff_new_pack.Hprf8Z/_new 2026-11-24 12:44:03.159247173 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-vty-crossplatform
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,26 @@
%global pkg_name vty-crossplatform
-%global pkgver %{pkg_name}-%{version}
-Name: ghc-%{pkg_name}
-Version: 0.4.0.0
+%bcond_with ghc_prof
+Name: ghc-%pkg_name
+Version: 0.5.0.0
Release: 0
+%global pkgver %pkg_name-%{version}
Summary: Cross-platform support for Vty
License: BSD-3-Clause
-URL: https://hackage.haskell.org/package/%{pkg_name}
-Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+URL: https://hackage.haskell.org/package/%pkg_name
+Source0:
https://hackage.haskell.org/package/%pkg_name-%{version}/%pkg_name-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
-BuildRequires: ghc-base-prof
-BuildRequires: ghc-rpm-macros
+BuildRequires: ghc-rpm-macros >= 2.9.2
BuildRequires: ghc-vty-devel
-BuildRequires: ghc-vty-prof
BuildRequires: ghc-vty-unix-devel
-BuildRequires: ghc-vty-unix-prof
ExcludeArch: %{ix86}
+%if %{with ghc_prof}
+BuildRequires: ghc-base-prof
+BuildRequires: ghc-vty-prof
+BuildRequires: ghc-vty-unix-prof
+%endif
%description
This package provides a generic interface for multiple Vty platforms in one
@@ -50,24 +53,27 @@
This package provides the Haskell %{pkg_name} library development
files.
-%package -n ghc-%{pkg_name}-doc
+%package -n ghc-%pkg_name-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
-%description -n ghc-%{pkg_name}-doc
+%description -n ghc-%pkg_name-doc
This package provides the Haskell %{pkg_name} library documentation.
-%package -n ghc-%{pkg_name}-prof
+%if %{with ghc_prof}
+%package -n ghc-%pkg_name-prof
Summary: Haskell %{pkg_name} profiling library
-Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
-Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
+Requires: ghc-%pkg_name-devel = %{version}-%{release}
+Supplements: (ghc-%pkg_name-devel and ghc-prof)
-%description -n ghc-%{pkg_name}-prof
+%description -n ghc-%pkg_name-prof
This package provides the Haskell %{pkg_name} profiling library.
+%endif
+
%prep
-%autosetup -n %{pkg_name}-%{version}
+%autosetup -p1 -n %pkg_name-%{version}
%build
%ghc_lib_build
@@ -87,8 +93,10 @@
%files devel -f %{name}-devel.files
%doc CHANGELOG.md
-%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%files -n ghc-%pkg_name-doc -f ghc-%pkg_name-doc.files
%license LICENSE
-%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+%if %{with ghc_prof}
+%files -n ghc-%pkg_name-prof -f ghc-%pkg_name-prof.files
+%endif
++++++ vty-crossplatform-0.4.0.0.tar.gz -> vty-crossplatform-0.5.0.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/vty-crossplatform-0.4.0.0/CHANGELOG.md
new/vty-crossplatform-0.5.0.0/CHANGELOG.md
--- old/vty-crossplatform-0.4.0.0/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
+++ new/vty-crossplatform-0.5.0.0/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,14 @@
+0.5.0.0
+=======
+
+* Addressed a security issue that would have allowed a malicious third
+ party to upload a 'unknown-vty-build-platform' package to Hackage to
+ introduce malicious code on platforms where 'vty-crossplatform' isn't
+ supported. Now, instead of failing to build against a fake package for
+ build error readability purposes, 'buildable' is set to 'False' to
+ fail the build more directly.
+* Updated to work with `vty-windows` 0.2.0.1.
+
0.4.0.0
=======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/vty-crossplatform-0.4.0.0/programs/interactive_terminal_test.hs
new/vty-crossplatform-0.5.0.0/programs/interactive_terminal_test.hs
--- old/vty-crossplatform-0.4.0.0/programs/interactive_terminal_test.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/vty-crossplatform-0.5.0.0/programs/interactive_terminal_test.hs
2001-09-09 03:46:40.000000000 +0200
@@ -98,7 +98,7 @@
doTestMenu :: Int -> IO [(String, Bool)]
doTestMenu nextID
| nextID > length allTests = do
- putStrLn $ "Done! If there were problems, feel free to open an issue
at https://github.com/jtdaugherty/vty/issues and paste the contents of the file
" <> outputFilePath
+ putStrLn $ "Done! If there were problems, feel free to open an issue
at https://github.com/jtdaugherty/vty-crossplatfrm/issues and paste the
contents of the file " <> outputFilePath
return []
| otherwise = do
displayTestMenu
@@ -719,9 +719,6 @@
For instance, one line will be the word "magenta" and that word should be
rendered in the magenta color.
-I'm not actually sure exactly what "vivid" means in this context. For xterm the
-vivid colors are brighter.
-
Verify:
* The first column: The foreground color matches the named color.
* The second column: The foreground color matches the named color but is
@@ -780,9 +777,6 @@
For instance, one line will contain be the word "magenta" and the word should
be rendered in the default foreground color over a magenta background.
-I'm not actually sure exactly what "vivid" means in this context. For xterm the
-vivid colors are brighter.
-
Verify:
* The first column: The background color matches the named color.
* The second column: The background color matches the named color and is
@@ -898,7 +892,7 @@
0. The screen will be cleared.
1. The cursor will be hidden.
2. A 20 character wide and 12 row high block of color squares. This should
look like a palette
- of some sort. I'm not exactly sure if all color terminals use the same
palette. I doubt it...
+ of some sort.
Verify:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/vty-crossplatform-0.4.0.0/vty-crossplatform.cabal
new/vty-crossplatform-0.5.0.0/vty-crossplatform.cabal
--- old/vty-crossplatform-0.4.0.0/vty-crossplatform.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/vty-crossplatform-0.5.0.0/vty-crossplatform.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: vty-crossplatform
-version: 0.4.0.0
+version: 0.5.0.0
synopsis: Cross-platform support for Vty
description: This package provides a generic interface for multiple
Vty platforms in one package so you don't have to
@@ -39,9 +39,9 @@
elif os(solaris) || os(aix) || os(hpux) || os(irix) || os(hurd)
build-depends: vty-unix
elif os(windows)
- build-depends: vty-windows >= 0.2.0.0
+ build-depends: vty-windows >= 0.2.0.1
else
- build-depends: unknown-vty-build-platform
+ Buildable: False
executable vty-rogue-demo
if !flag(demos)