commit csound for openSUSE:Factory

2020-07-10 Thread root
Hello community,

here is the log from the commit of package csound for openSUSE:Factory checked 
in at 2020-07-10 14:12:35

Comparing /work/SRC/openSUSE:Factory/csound (Old)
 and  /work/SRC/openSUSE:Factory/.csound.new.3060 (New)


Package is "csound"

Fri Jul 10 14:12:35 2020 rev:30 rq:819908 version:6.14.0+git20200601

Changes:

--- /work/SRC/openSUSE:Factory/csound/csound.changes2019-07-02 
10:39:50.318713547 +0200
+++ /work/SRC/openSUSE:Factory/.csound.new.3060/csound.changes  2020-07-10 
14:12:49.883519597 +0200
@@ -1,0 +2,20 @@
+Fri Jul 10 08:45:28 UTC 2020 - Dave Plater 
+
+- Removed unused util/new_srconv.c from sources to fix licensing.
+
+---
+Wed Jun 03 08:03:33 UTC 2020 - davejpla...@gmail.com
+
+- Update to version 6.14.0+git20200601 and fix factory build
+- Use service file instead of pre_checkin.sh to create tarball.
+- Remove incorporated patche fluidsynth2.patch.
+  * init
+  * resonbnk and apoleparams
+  * fix to multicore + etter code
+  * resonator bank
+  * fix prepiano meory issue
+  * allpoleb opcode
+  * Nearly there
+  * coeffs to params fix
+
+---

Old:

  csound-6.12.2-distibutable.tar.xz
  fluidsynth2.patch
  pre_checkin.sh

New:

  _service
  _servicedata
  csound-6.14.0+git20200601.tar.xz



Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.aBkCwe/_old  2020-07-10 14:12:51.023523341 +0200
+++ /var/tmp/diff_new_pack.aBkCwe/_new  2020-07-10 14:12:51.027523355 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package csound
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,12 +16,14 @@
 #
 
 
+%define rev 0dad8304c78efba48b4f405f4757f3e0a7e339c0
+
 %define py3version %(pkg-config python3 --modversion)
 %define support_fltk 1
 %bcond_with python
 
 %if 0%{?suse_version} > 1500
-%bcond_without java
+%bcond_with java
 %else
 %bcond_with java
 %endif
@@ -30,25 +32,21 @@
 %define min 0
 
 Name:   csound
-Version:6.12.2
+Version:6.14.0+git20200601
 Release:0
 Summary:Computer Sound Synthesis and Composition Program
-License:GPL-2.0-or-later AND BSD-3-Clause AND PostgreSQL
+License:LGPL-2.1-or-later AND GPL-2.0-or-later
 Group:  Productivity/Multimedia/Sound/Utilities
-Url:http://www.csounds.com
+URL:http://www.csounds.com
 #Source: 
https://github.com/%%{name}/%%{name}/archive/%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
-Source0:%{name}-%{version}-distibutable.tar.xz
+Source0:%{name}-%{version}.tar.xz
 Source1:README.SUSE
 Source2:COPYING_gpl2+.txt
-#Update and remove undistributable files from the sources and repack with this 
script
-#Usage = sh pre_checkin.sh
-Source3:pre_checkin.sh
 # Default to using pulseaudio instead of portaudio
 Patch2: csound-6.08-default-pulse.patch
 # Use xdg-open to open a browser to view the manual
 Patch4: csound-6.08-xdg-open.patch
-Patch6: fluidsynth2.patch
-Patch7: csound-rename-sndinfo.patch
+Patch5: csound-rename-sndinfo.patch
 BuildRequires:  alsa-devel
 BuildRequires:  bison
 BuildRequires:  cmake
@@ -173,6 +171,7 @@
 %cmake_install
 #python bindings are wip
 rm -rf %{buildroot}root
+cp -v OOps/README.md README.OOps
 
 %fdupes -s %{buildroot}
 %find_lang %{name}%{maj}
@@ -187,8 +186,8 @@
 %postun java-bindings -p /sbin/ldconfig
 
 %files
-%doc AUTHORS README.md README.SUSE Release_Notes
-%license COPYING OOps/LICENCE.random COPYING_gpl2+.txt COPYING.PostgreSQL
+%doc AUTHORS README.md README.SUSE Release_Notes README.OOps
+%license COPYING COPYING_gpl2+.txt COPYING.PostgreSQL
 %{_bindir}/*
 
 %files -n libcsnd6-%{maj}_%{min}

++ _service ++


  
https://github.com/csound/csound.git
git
disable
no
enable
.git
Opcodes/scansyn*
Android
util/new_srconv.c
6.14.0+git%cd
csound
0dad8304c78efba48b4f405f4757f3e0a7e339c0
  
  
*.tar
xz
  
  

++ _servicedata ++


https://github.com/csound/csound.git
  0dad8304c78efba48b4f405f4757f3e0a7e339c0++
 csound-6.08-default-pulse.patch ++
--- /var/tmp/diff_new_pack.aBkCwe/_old  2020-07-10 14:12:51.115523644 +0200
+++ /var/tmp/diff_new_pack.aBkCwe/_new  2020-07-10 14:12:51.115523644 +0200
@@ -1,13 +1,13 @@
-Index: csound-6.12.2/Top/csound.c
+Index: csound-6.14.0/Top/csound.c
 ===

commit csound for openSUSE:Factory

2019-07-02 Thread root
Hello community,

here is the log from the commit of package csound for openSUSE:Factory checked 
in at 2019-07-02 10:39:47

Comparing /work/SRC/openSUSE:Factory/csound (Old)
 and  /work/SRC/openSUSE:Factory/.csound.new.4615 (New)


Package is "csound"

Tue Jul  2 10:39:47 2019 rev:29 rq:712999 version:6.12.2

Changes:

--- /work/SRC/openSUSE:Factory/csound/csound.changes2017-11-24 
10:55:10.874727534 +0100
+++ /work/SRC/openSUSE:Factory/.csound.new.4615/csound.changes  2019-07-02 
10:39:50.318713547 +0200
@@ -1,0 +2,33 @@
+Wed Jun 26 08:00:12 UTC 2019 - Dave Plater 
+
+- Renamed sndifo to csndinfo again to fix conflict with snd package
+  using csound-rename-sndinfo.patch this time.
+
+---
+Wed Jun  5 13:57:01 UTC 2019 - Dave Plater 
+
+- Added pre_checkin.sh to remove undistributable scansyn files from
+  the source tarball.
+- Relicenced to GPL-2.0-or-later AND BSD-3-Clause AND PostgreSQL
+  GPL-2.0 or later source file which relicenses the LGPL sources
+- Added COPYING_gpl2+.txt to licenses.
+
+---
+Tue Apr  9 07:29:47 UTC 2019 - Jan Engelhardt 
+
+- Update summaries.
+
+---
+Sat Apr  6 11:05:19 UTC 2019 - plater 
+
+- Update to version 6.12.2 and fix Factory build.
+- Remove obsolete patches:
+  csound-scons-on-py3.patch and csound-strncat-fix.patch
+- Added fluidsynth2.patch from Arch linux
+- Added csound-6.08-default-pulse.patch, csound-6.08-xdg-open.patch
+  from Fedora.
+- Now builds with cmake
+- For upstream changes see:
+  /usr/share/doc/packages/csound/Release_Notes/
+
+---

Old:

  Csound5.18.02.tar.gz
  csound-scons-on-py3.patch
  csound-strncat-fix.patch

New:

  COPYING_gpl2+.txt
  csound-6.08-default-pulse.patch
  csound-6.08-xdg-open.patch
  csound-6.12.2-distibutable.tar.xz
  csound-rename-sndinfo.patch
  fluidsynth2.patch
  pre_checkin.sh



Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.RKtb3c/_old  2019-07-02 10:39:51.190714874 +0200
+++ /var/tmp/diff_new_pack.RKtb3c/_new  2019-07-02 10:39:51.194714880 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package csound
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,103 +12,206 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define support_fltk 0
+%define py3version %(pkg-config python3 --modversion)
+%define support_fltk 1
+%bcond_with python
+
+%if 0%{?suse_version} > 1500
+%bcond_without java
+%else
+%bcond_with java
+%endif
+
+%define maj 6
+%define min 0
 
 Name:   csound
+Version:6.12.2
+Release:0
+Summary:Computer Sound Synthesis and Composition Program
+License:GPL-2.0-or-later AND BSD-3-Clause AND PostgreSQL
+Group:  Productivity/Multimedia/Sound/Utilities
+Url:http://www.csounds.com
+#Source: 
https://github.com/%%{name}/%%{name}/archive/%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
+Source0:%{name}-%{version}-distibutable.tar.xz
+Source1:README.SUSE
+Source2:COPYING_gpl2+.txt
+#Update and remove undistributable files from the sources and repack with this 
script
+#Usage = sh pre_checkin.sh
+Source3:pre_checkin.sh
+# Default to using pulseaudio instead of portaudio
+Patch2: csound-6.08-default-pulse.patch
+# Use xdg-open to open a browser to view the manual
+Patch4: csound-6.08-xdg-open.patch
+Patch6: fluidsynth2.patch
+Patch7: csound-rename-sndinfo.patch
 BuildRequires:  alsa-devel
 BuildRequires:  bison
+BuildRequires:  cmake
+BuildRequires:  doxygen
+BuildRequires:  eigen3-devel
 BuildRequires:  fdupes
 BuildRequires:  flex
 BuildRequires:  fluidsynth-devel
 BuildRequires:  gcc-c++
 BuildRequires:  jack-devel
+%if %{with java}
+BuildRequires:  java-devel-openjdk
+%endif
+BuildRequires:  libboost_atomic-devel
+BuildRequires:  libboost_filesystem-devel
+BuildRequires:  libboost_locale-devel
+BuildRequires:  libboost_regex-devel
+BuildRequires:  libboost_thread-devel
 BuildRequires:  liblo-devel
 BuildRequires:  libsndfile-devel
+BuildRequires:  lua-devel
 BuildRequires:  portaudio-devel
-BuildRequires:  python-devel
-BuildRequires:

commit csound for openSUSE:Factory

2017-11-24 Thread root
Hello community,

here is the log from the commit of package csound for openSUSE:Factory checked 
in at 2017-11-24 10:55:04

Comparing /work/SRC/openSUSE:Factory/csound (Old)
 and  /work/SRC/openSUSE:Factory/.csound.new (New)


Package is "csound"

Fri Nov 24 10:55:04 2017 rev:28 rq:544858 version:5.18.02

Changes:

--- /work/SRC/openSUSE:Factory/csound/csound.changes2017-11-10 
14:57:27.955929450 +0100
+++ /work/SRC/openSUSE:Factory/.csound.new/csound.changes   2017-11-24 
10:55:10.874727534 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 14:49:33 UTC 2017 - dims...@opensuse.org
+
+- Add csound-scons-on-py3.patch: Fix build with scons using python3
+  as interpreter.
+
+---

New:

  csound-scons-on-py3.patch



Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.HFRr6Q/_old  2017-11-24 10:55:12.382672456 +0100
+++ /var/tmp/diff_new_pack.HFRr6Q/_new  2017-11-24 10:55:12.386672310 +0100
@@ -46,6 +46,7 @@
 Url:http://www.csounds.com
 Source: Csound%{version}.tar.gz
 Source1:README.SUSE
+Patch0: csound-scons-on-py3.patch
 Patch3: %{name}-strncat-fix.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -64,6 +65,7 @@
 
 %prep
 %setup -q -n Csound%{version}
+%patch0 -p1
 %patch3
 # remove __DATE__ from source files, causes unnecessary rebuilds
 sed -i 's:__DATE__:"":' Engine/musmon.c frontends/CsoundVST/CsoundVstFltk.cpp 
Top/main.c

++ csound-scons-on-py3.patch ++
 962 lines (skipped)




commit csound for openSUSE:Factory

2017-11-10 Thread root
Hello community,

here is the log from the commit of package csound for openSUSE:Factory checked 
in at 2017-11-10 14:57:11

Comparing /work/SRC/openSUSE:Factory/csound (Old)
 and  /work/SRC/openSUSE:Factory/.csound.new (New)


Package is "csound"

Fri Nov 10 14:57:11 2017 rev:27 rq:540137 version:5.18.02

Changes:

--- /work/SRC/openSUSE:Factory/csound/csound.changes2017-02-15 
10:05:27.296231510 +0100
+++ /work/SRC/openSUSE:Factory/.csound.new/csound.changes   2017-11-10 
14:57:27.955929450 +0100
@@ -1,0 +2,6 @@
+Wed Nov  8 18:22:43 UTC 2017 - dims...@opensuse.org
+
+- Rename README.SuSE to README.SUSE, adhering to the correct
+  spelling.
+
+---

Old:

  README.SuSE

New:

  README.SUSE



Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.n8K3sN/_old  2017-11-10 14:57:28.951893426 +0100
+++ /var/tmp/diff_new_pack.n8K3sN/_new  2017-11-10 14:57:28.955893281 +0100
@@ -45,7 +45,7 @@
 Group:  Productivity/Multimedia/Sound/Utilities
 Url:http://www.csounds.com
 Source: Csound%{version}.tar.gz
-Source1:README.SuSE
+Source1:README.SUSE
 Patch3: %{name}-strncat-fix.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -100,7 +100,7 @@
 
 %files -f %{name}5.lang
 %defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog README README.SuSE
+%doc AUTHORS COPYING ChangeLog README README.SUSE
 %{_bindir}/*
 %{_libdir}/csound/
 

++ README.SUSE ++
Plugin Directories
==

The plugin binaries are installed under /usr/lib/csound/plugins
(/usr/lib64/csound/plugins in x86_64).  Please set the environment variable
"OPCODEDIR" to this direcrory before starting csound.
in bash style,
export OPCODEDIR=/usr/lib/csound/plugins
in tcsh style,
setenv OPCODEDIR /usr/lib/csound/plugins

Also, set CSSTRINGS variable such as
export CSSTRINGS=/usr/share/csound/xmg


Binary Renaming
===

sndinfo is renamed to csndinfo in this package due to the name
confliction with snd package.

Simiarly, extract was renamed to csound-extract.



commit csound for openSUSE:Factory

2017-02-15 Thread root
Hello community,

here is the log from the commit of package csound for openSUSE:Factory checked 
in at 2017-02-15 10:05:26

Comparing /work/SRC/openSUSE:Factory/csound (Old)
 and  /work/SRC/openSUSE:Factory/.csound.new (New)


Package is "csound"

Changes:

--- /work/SRC/openSUSE:Factory/csound/csound.changes2017-01-17 
14:37:48.977083090 +0100
+++ /work/SRC/openSUSE:Factory/.csound.new/csound.changes   2017-02-15 
10:05:27.296231510 +0100
@@ -1,0 +2,7 @@
+Sat Feb 11 14:14:39 UTC 2017 - jeng...@inai.de
+
+- Fix RPM groups, trim descriptions from repeated information.
+  Remove unnecessary ldconfig calls (they do not apply for
+  plugin directories).
+
+---



Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.dAiKtU/_old  2017-02-15 10:05:28.032127855 +0100
+++ /var/tmp/diff_new_pack.dAiKtU/_new  2017-02-15 10:05:28.032127855 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package csound
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -53,11 +53,9 @@
 Csound is a software synthesis program. It is fully modular and
 supports an unlimited amount of oscillators and filters.
 
-For detailed information, refer to http://www.csounds.com.
-
 %package devel
-Summary:Development files for Csound
-Group:  System/Libraries
+Summary:Development files for Csound, a sound synthesis program
+Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 Provides:   %{name}-devel-static = %{version}
 
@@ -100,10 +98,6 @@
 %fdupes -s %{buildroot}
 %find_lang %{name}5
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
 %files -f %{name}5.lang
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog README README.SuSE




commit csound for openSUSE:Factory

2017-01-17 Thread root
Hello community,

here is the log from the commit of package csound for openSUSE:Factory checked 
in at 2017-01-17 14:37:47

Comparing /work/SRC/openSUSE:Factory/csound (Old)
 and  /work/SRC/openSUSE:Factory/.csound.new (New)


Package is "csound"

Changes:

--- /work/SRC/openSUSE:Factory/csound/csound.changes2012-11-08 
08:03:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.csound.new/csound.changes   2017-01-17 
14:37:48.977083090 +0100
@@ -1,0 +2,5 @@
+Mon Jan 16 19:54:07 UTC 2017 - bwiedem...@suse.com
+
+- drop useless uninstall script and make build reproducible
+
+---



Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.E6ZuGD/_old  2017-01-17 14:37:49.896952689 +0100
+++ /var/tmp/diff_new_pack.E6ZuGD/_new  2017-01-17 14:37:49.896952689 +0100
@@ -92,7 +92,7 @@
 args=""
 %endif
 ./install.py --prefix=%{_prefix} --instdir=%{buildroot} $args
-rm -f %{buildroot}%{_prefix}/csound5-*.md5sums
+rm -f %{buildroot}%{_prefix}/csound5-*.md5sums 
%{buildroot}%{_bindir}/uninstall-csound5
 rm -rf %{buildroot}%{_datadir}/doc/csound
 # rename conflicting binary names
 mv %{buildroot}%{_bindir}/sndinfo %{buildroot}%{_bindir}/csndinfo




commit csound for openSUSE:Factory

2012-11-07 Thread h_root
Hello community,

here is the log from the commit of package csound for openSUSE:Factory checked 
in at 2012-11-08 08:03:36

Comparing /work/SRC/openSUSE:Factory/csound (Old)
 and  /work/SRC/openSUSE:Factory/.csound.new (New)


Package is "csound", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/csound/csound.changes2012-04-19 
08:48:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.csound.new/csound.changes   2012-11-08 
08:03:39.0 +0100
@@ -1,0 +2,7 @@
+Tue Nov  6 16:03:11 CET 2012 - ti...@suse.de
+
+- updated to version 5.18.02, including previous security fixes:
+  this fixes the build failure on FACTORY with new bison, too;
+  see ChangeLog for detailed updates and fixes
+
+---

Old:

  Csound5.16.6.tar.gz
  csound-fix-CVE-2012-2107.patch

New:

  Csound5.18.02.tar.gz



Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.sDnhJL/_old  2012-11-08 08:03:42.0 +0100
+++ /var/tmp/diff_new_pack.sDnhJL/_new  2012-11-08 08:03:42.0 +0100
@@ -38,16 +38,15 @@
 BuildRequires:  libpng-devel
 BuildRequires:  xorg-x11-devel
 %endif
-Version:5.16.6
+Version:5.18.02
 Release:0
 Summary:Computer Sound Synthesis and Composition Program
-License:GFDL-1.2 ; LGPL-2.1+ ; MIT
+License:GFDL-1.2 and LGPL-2.1+ and MIT
 Group:  Productivity/Multimedia/Sound/Utilities
 Url:http://www.csounds.com
 Source: Csound%{version}.tar.gz
 Source1:README.SuSE
 Patch3: %{name}-strncat-fix.patch
-Patch4: csound-fix-CVE-2012-2107.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -68,7 +67,6 @@
 %prep
 %setup -q -n Csound%{version}
 %patch3
-%patch4 -p1
 # remove __DATE__ from source files, causes unnecessary rebuilds
 sed -i 's:__DATE__:"":' Engine/musmon.c frontends/CsoundVST/CsoundVstFltk.cpp 
Top/main.c
 # copy readme

++ Csound5.16.6.tar.gz -> Csound5.18.02.tar.gz ++
/work/SRC/openSUSE:Factory/csound/Csound5.16.6.tar.gz 
/work/SRC/openSUSE:Factory/.csound.new/Csound5.18.02.tar.gz differ: char 5, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit csound for openSUSE:Factory

2012-04-18 Thread h_root
Hello community,

here is the log from the commit of package csound for openSUSE:Factory checked 
in at 2012-04-19 08:48:43

Comparing /work/SRC/openSUSE:Factory/csound (Old)
 and  /work/SRC/openSUSE:Factory/.csound.new (New)


Package is "csound", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/csound/csound.changes2012-03-01 
17:19:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.csound.new/csound.changes   2012-04-19 
08:48:49.0 +0200
@@ -1,0 +2,11 @@
+Wed Apr 18 11:21:46 CEST 2012 - ti...@suse.de
+
+- VUL-0: csound: buffer overflow in pv_import (CVE-2012-2106,
+  bnc#757254),
+  VUL-0: csound: buffer overflow in lpc_import (CVE-2012-2107,
+  bnc#757255),
+  VUL-0: csound: Stack-based buffer overflow in lpc_import
+  (CVE-2012-2108, bnc#757256):
+  a single patch for all three issues
+
+---

New:

  csound-fix-CVE-2012-2107.patch



Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.zC6z4W/_old  2012-04-19 08:48:51.0 +0200
+++ /var/tmp/diff_new_pack.zC6z4W/_new  2012-04-19 08:48:51.0 +0200
@@ -47,6 +47,7 @@
 Source: Csound%{version}.tar.gz
 Source1:README.SuSE
 Patch3: %{name}-strncat-fix.patch
+Patch4: csound-fix-CVE-2012-2107.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -67,6 +68,7 @@
 %prep
 %setup -q -n Csound%{version}
 %patch3
+%patch4 -p1
 # remove __DATE__ from source files, causes unnecessary rebuilds
 sed -i 's:__DATE__:"":' Engine/musmon.c frontends/CsoundVST/CsoundVstFltk.cpp 
Top/main.c
 # copy readme

++ csound-fix-CVE-2012-2107.patch ++
>From 61d1df45ca9a52bab62892a3c3a13c41e6384505 Mon Sep 17 00:00:00 2001
From: John ffitch 
Date: Tue, 6 Mar 2012 17:12:43 +
Subject: [PATCH] security in utilities

---
 util/lpci_main.c |   17 ++---
 util/pv_import.c |4 
 2 files changed, 18 insertions(+), 3 deletions(-)

--- a/util/lpci_main.c
+++ b/util/lpci_main.c
@@ -73,17 +73,28 @@ int main(int argc, char **argv)
 hdr.headersize, hdr.lpmagic, hdr.npoles, hdr.nvals,
 hdr.framrate, hdr.srate, hdr.duration);
 str = (char *)malloc(hdr.headersize-sizeof(LPHEADER)+4);
-fread(&hdr, sizeof(char), hdr.headersize-sizeof(LPHEADER)+4, inf);
+if (str==NULL) {
+  printf("memory allocation failure\n");
+  exit(1);
+}
+if (hdr.headersize-sizeof(LPHEADER)+4 !=
+fread(&hdr, sizeof(char), hdr.headersize-sizeof(LPHEADER)+4, inf)) {
+  printf("Ill formed data\n");
+  exit(1);
+}
 for (i=0; iMalloc(csound, data.nAnalysisBins*2*sizeof(float));
   int i;
+  if (frame==NULL) {
+csound->Message(csound, Str("Memory failure\n"));
+exit(1);
+  }
   for (i=1;;i++) {
 int j;
 for (j=0; j

commit csound for openSUSE:Factory

2012-03-01 Thread h_root
Hello community,

here is the log from the commit of package csound for openSUSE:Factory checked 
in at 2012-03-01 17:19:05

Comparing /work/SRC/openSUSE:Factory/csound (Old)
 and  /work/SRC/openSUSE:Factory/.csound.new (New)


Package is "csound", Maintainer is "ti...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/csound/csound.changes2011-09-23 
11:43:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.csound.new/csound.changes   2012-03-01 
17:19:08.0 +0100
@@ -1,0 +2,16 @@
+Mon Feb 27 12:04:56 CET 2012 - ti...@suse.de
+
+- updated to version 5.16.6, including a fix for
+  VUL-0: CVE-2012-0270: csound: two buffer overflow flaws in
+  getnum() (bnc#749073)
+- drop obsoleted patches
+
+---
+Sun Jan  8 15:04:23 UTC 2012 - prus...@opensuse.org
+
+- updated to version 5.15.0
+- drop unused patches
+- fix wrong memset and strncat usage ({memset,strncat}-fix.patch)
+- create -devel subpackage
+
+---

Old:

  Csound5.06.0.tar.bz2
  csound-alsa-fix.diff
  csound-gcc-warning-fix.diff
  csound-python-2.6-fix.diff
  csound-sanitize-sys.patch
  csound-tmpnam-fix.diff

New:

  Csound5.16.6.tar.gz
  csound-strncat-fix.patch



Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.BUDADC/_old  2012-03-01 17:19:10.0 +0100
+++ /var/tmp/diff_new_pack.BUDADC/_new  2012-03-01 17:19:10.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package csound
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,28 +16,37 @@
 #
 
 
+%define support_fltk 0
 
 Name:   csound
-%define support_fltk   0
-BuildRequires:  alsa-devel fdupes fluidsynth-devel gcc-c++ jack-devel 
liblo-devel libsndfile-devel portaudio-devel python-devel scons swig
+BuildRequires:  alsa-devel
+BuildRequires:  bison
+BuildRequires:  fdupes
+BuildRequires:  flex
+BuildRequires:  fluidsynth-devel
+BuildRequires:  gcc-c++
+BuildRequires:  jack-devel
+BuildRequires:  liblo-devel
+BuildRequires:  libsndfile-devel
+BuildRequires:  portaudio-devel
+BuildRequires:  python-devel
+BuildRequires:  scons
+BuildRequires:  swig
 %if %support_fltk
-BuildRequires:  fltk-devel libjpeg-devel libpng-devel xorg-x11-devel
+BuildRequires:  fltk-devel
+BuildRequires:  libjpeg-devel
+BuildRequires:  libpng-devel
+BuildRequires:  xorg-x11-devel
 %endif
+Version:5.16.6
+Release:0
 Summary:Computer Sound Synthesis and Composition Program
-Version:5.06.0
-Release:130
 License:GFDL-1.2 ; LGPL-2.1+ ; MIT
 Group:  Productivity/Multimedia/Sound/Utilities
-Source: Csound%{version}.tar.bz2
-Source1:README.SuSE
-Patch:  csound-alsa-fix.diff
-Patch1: csound-tmpnam-fix.diff
-Patch2: csound-gcc-warning-fix.diff
-Patch3: csound-python-2.6-fix.diff
-Patch4: csound-sanitize-sys.patch
 Url:http://www.csounds.com
-AutoReq:on
-Autoprov:   off
+Source: Csound%{version}.tar.gz
+Source1:README.SuSE
+Patch3: %{name}-strncat-fix.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -46,59 +55,64 @@
 
 For detailed information, refer to http://www.csounds.com.
 
+%package devel
+Summary:Development files for Csound
+Group:  System/Libraries
+Requires:   %{name} = %{version}
+Provides:   %{name}-devel-static = %{version}
 
+%description devel
+Development files for Csound.
 
 %prep
 %setup -q -n Csound%{version}
-%patch
-%patch1
-%patch2
 %patch3
-%patch4 -p1
+# remove __DATE__ from source files, causes unnecessary rebuilds
+sed -i 's:__DATE__:"":' Engine/musmon.c frontends/CsoundVST/CsoundVstFltk.cpp 
Top/main.c
+# copy readme
 cp %{SOURCE1} .
 # fix encoding
-iconv -f latin1 -t utf8 readme-csound5.txt > readme-csound5.txt.utf8
-mv readme-csound5.txt.utf8 readme-csound5.txt
+iconv -f latin1 -t utf8 readme-csound5.txt > README
 test -f custom.py || cp custom.py.mkg custom.py
 
 %build
-%if %_lib == "lib64"
+%if %{_lib} == "lib64"
 args="Word64=1"
 %else
 args=""
 %endif
 scons prefix=%{_prefix} buildRelease=1 $args \
-  customCCFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
-  customCXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+  customCCFLAGS="%{optflags} -fno-strict-aliasing" \
+  customCXXFLAGS="%{optflags} -fno-strict-aliasing"
 
 %install
-%if %_lib == "lib64"
+%if %{_lib} == "lib64"
 args="--word64"
 %else
 args=""
 %endif
-./insta

commit csound for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package csound for openSUSE:Factory checked 
in at 2011-12-06 18:04:51

Comparing /work/SRC/openSUSE:Factory/csound (Old)
 and  /work/SRC/openSUSE:Factory/.csound.new (New)


Package is "csound", Maintainer is "ti...@suse.com"

Changes:




Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.9s1JTr/_old  2011-12-06 18:07:53.0 +0100
+++ /var/tmp/diff_new_pack.9s1JTr/_new  2011-12-06 18:07:53.0 +0100
@@ -26,7 +26,7 @@
 Summary:Computer Sound Synthesis and Composition Program
 Version:5.06.0
 Release:130
-License:GFDL v1.2 ; LGPL v2.1 or later ; MIT License (or similar)
+License:GFDL-1.2 ; LGPL-2.1+ ; MIT
 Group:  Productivity/Multimedia/Sound/Utilities
 Source: Csound%{version}.tar.bz2
 Source1:README.SuSE

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit csound for openSUSE:Factory

2011-09-23 Thread h_root

Hello community,

here is the log from the commit of package csound for openSUSE:Factory
checked in at Fri Sep 23 10:22:04 CEST 2011.




--- csound/csound.changes   2009-07-16 18:05:26.0 +0200
+++ /mounts/work_src_done/STABLE/csound/csound.changes  2011-09-18 
02:04:42.0 +0200
@@ -1,0 +2,5 @@
+Sun Sep 18 00:04:38 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+
+---

calling whatdependson for head-i586




Other differences:
--
++ csound.spec ++
--- /var/tmp/diff_new_pack.vz1r4s/_old  2011-09-23 10:22:00.0 +0200
+++ /var/tmp/diff_new_pack.vz1r4s/_new  2011-09-23 10:22:00.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package csound (Version 5.06.0)
+# spec file for package csound
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   csound
@@ -89,9 +88,6 @@
 rm -rf $RPM_BUILD_ROOT%{_includedir}
 %fdupes -s $RPM_BUILD_ROOT
 
-%clean
-[ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org