head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.140 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.138 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.136 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.134 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.132 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.130 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.128 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.126 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.124 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.122 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.120 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.118 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.116 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.114 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.112 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.110 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.108 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.106 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.104 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.102 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.100 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.98 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.96 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.92 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.72 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.94 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.90 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.88 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.86 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.84 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.82 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.80 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.78 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.76 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.74 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.70 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.68 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.66 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.64 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.62 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.60 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.58 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.56 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.54 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.52 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.50 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.48 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.46 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.44 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.42 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.40 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.38 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.36 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.34 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.32 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.30 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.28 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.26 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.24 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.22 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.20 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.18 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.16 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.14 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.12 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.10 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.8 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.6 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.4 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.2 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.6.0.42 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.40 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.38 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.36 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.34 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.32 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.30 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.28 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.26 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.24 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.22 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.20 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.18 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.16 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.14 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.12 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.10 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.8 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.6 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.4 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.5.0.6 netbsd-1-6-1-base:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2-base:1.5 buildlink2:1.5.0.2 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.7 date 2008.11.15.01.19.08; author dmcmahill; state Exp; branches; next 1.6; 1.6 date 2003.02.22.04.31.34; author dmcmahill; state dead; branches; next 1.5; 1.5 date 2002.05.22.10.37.05; author dmcmahill; state Exp; branches 1.5.2.1; next 1.4; 1.4 date 99.12.22.13.25.47; author dmcmahill; state dead; branches; next 1.3; 1.3 date 99.10.20.13.17.00; author dmcmahill; state Exp; branches; next 1.2; 1.2 date 99.03.05.11.22.35; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.08.25.12.53.10; author agc; state Exp; branches; next ; 1.5.2.1 date 2002.05.22.10.37.05; author jlam; state dead; branches; next 1.5.2.2; 1.5.2.2 date 2002.06.23.18.52.47; author jlam; state Exp; branches; next ; desc @@ 1.7 log @Address tmp file vulnerability noted at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4983 Bump pkgrev. @ text @$NetBSD$ Address tmp file vulnerability at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4983 --- util/scidem.orig 2002-09-02 11:14:52.000000000 +0000 +++ util/scidem @@@@ -5,34 +5,49 @@@@ # Copyright INRIA echo ------------------- File $2-------------------- SCI1=$1 +tmpd=/tmp/scidem.$$ +mkdir -m 0700 $tmpd +rc=$? +if test $rc -ne 0 ; then + cat << EOF + +ERROR: $0 failed to create the directory + $tmpd + securily. It either already exists or you do not have sufficient permissions + +EOF + exit 1 +fi + if [ -f $3 ]; then rm $3;fi; -trap "rm -f /tmp/$2.$$ /tmp/$2.$$.res /tmp/$2.$$.err /tmp/$2.$$.diff\ +trap "rm -f ${tmpd}/$2.$$ ${tmpd}/$2.$$.res ${tmpd}/$2.$$.err ${tmpd}/$2.$$.diff\ ;exit 1" 1 2 13 15 echo "clear;lines(0);deff('[]=bugmes()','write(%io(2),''error on test'')');\ - diary('$3');driver('Pos');" >> /tmp/$2.$$ ; + diary('$3');driver('Pos');" >> ${tmpd}/$2.$$ ; sed -e "s/pause,end/bugmes();quit;end/" \ -e "s/halt()//" \ - $2 >> /tmp/$2.$$ ; -echo "diary(0);xend();exit;" >> /tmp/$2.$$ ; -($SCI1/bin/scilab -nwni < /tmp/$2.$$ > /tmp/$2.$$.res ) 2> /tmp/$2.$$.err ; + $2 >> ${tmpd}/$2.$$ ; +echo "diary(0);xend();exit;" >> ${tmpd}/$2.$$ ; +($SCI1/bin/scilab -nwni < ${tmpd}/$2.$$ > ${tmpd}/$2.$$.res ) 2> ${tmpd}/$2.$$.err ; sed -e "s/ \./0\./g" -e "s/E+/D+/g" -e "s/E-/D-/g" -e "s/-\./-0\./g" -e "s/^-->//g" -e "s/^-1->//g" $3 > $3.n grep -v "xinit(" $3.n | grep -v "diary(" | grep -v "exec(" > $3 rm -f $3.n -if ( grep " error" /tmp/$2.$$.res > /dev/null ) ; then +if ( grep " error" ${tmpd}/$2.$$.res > /dev/null ) ; then if [ $# != 4 ]; then echo "Test failed ERROR DETECTED while executing $2" ; - else if (grep "$4" /tmp/$2.$$.res > /dev/null ) ; + else if (grep "$4" ${tmpd}/$2.$$.res > /dev/null ) ; then echo Test skipped ; else echo "Test failed ERROR DETECTED while executing $2" ; fi; fi; else if [ -f $3.ref ];then - if ( diff -w $3 $3.ref > /tmp/$2.$$.diff ) ; + if ( diff -w $3 $3.ref > ${tmpd}/$2.$$.diff ) ; then echo Test passed ; else echo Test Failed SEE : diff -w $3 $3.ref ; fi; fi; fi; echo ---------------------------------------------------------- -#rm -f /tmp/$2.$$ /tmp/$2.$$.res /tmp/$2.$$.err /tmp/$2.$$.diff +#rm -f ${tmpd}/$2.$$ ${tmpd}/$2.$$.res ${tmpd}/$2.$$.err ${tmpd}/$2.$$.diff +rm -fr ${tmpd} exit 0 @ 1.6 log @update to scilab-2.7. Main Changes Scilab 2.6 -> 2.7 ============================== THANKS ====== Scilab group wants to thank the increasing number of people who have contributed to this new version of Scilab, with special mention to Anders Blomdell, Stephane Mottelet, Dan McMahill Ton van Overbeek, Bruno Pincon and Enrico Segre. NEW FUNCTIONALITIES =================== Slicot based control routines (www.win.tue.nl/wgs/slicot.html) have been introduced with a special attention to identification functions, lyapunov, sylvester and riccati equation solvers. Interface with TeXmacs (www.texmacs.org) a high level scientific text editor. The editor allows you to write structured documents via a wysiwyg interface including Scilab sessions and results. An embedded text editor scipad derived from TkNotepad (www.mindspring.com/~joeja/programs.html) as been developped. C Code generation from Scicos discrete models Blocks defining DAE are now usable in Scicos. Statistic toolbox added (labostat). A new graphics version based on objects and entities has been developped (beta version). It allows to edit the properties of graphics objects. By default, the old graphics version is used. Tu use the new graphics version see the help of "graphics_entities". OTHERS IMPROVEMENTS =================== Linear algebra primitives now based on Lapack instead of Linpack/Eispack. Basic functions revised (thanks to B Pincon). stacksize use is no more restricted. Hypertext, xml based, online help. Binary Matlab file .mat loader (loadmatfile) added. Possibility to customize graphics window event handlers (seteventhandler). edit_graph, a graph editor for Metanet toolbox, written in Scilab, replaces xmetanet. It works on both Unix and Windows. INCOMPATIBLITIES ================ It is higly recommended to rebuild user's scilab functions libraries. This can be done as follow: predef(0);genlib('mylib','mylib_path',%t) gschur and gspec functions are now obsolete and replaced by schur and spec. Geci and the communication library have been removed. Use PVM interface instead. Metanet graph editor has been rewritten. Use edit_graph instead. man pages have to be written in HTML or better in XML but chapters written in the old ascii files are still handled. Scicos internal data structure have been changed. Automatic translation is made when old diagrams are loaded. @ text @d1 1 a1 1 $NetBSD: patch-ay,v 1.5 2002/05/22 10:37:05 dmcmahill Exp $ d3 1 a3 3 compile intmgetl without optimization. The symptom is that the scilab function mgetl() will cause scilab to exit on netbsd-1.5.1/sparc. This breaks the formatman() function and causes the man pages to not be built. d5 11 a15 11 --- routines/interf/Makefile.orig Mon May 20 20:51:57 2002 +++ routines/interf/Makefile Tue May 21 19:33:48 2002 @@@@ -109,5 +109,4 @@@@ intfile.o : ../stack.h intgetenv.o : ../stack.h -intmgetl.o: ../stack.h stack0.o stack1.o stack2.o: ../stack.h getdate.o: ../machine.h @@@@ -120,2 +119,6 @@@@ Makefile.amk : Makefile $(SCIDIR)/util/Mak2ABSMak Makefile d17 3 a19 2 +intmgetl.o: intmgetl.f ../stack.h + $(FC) $(FC_OPTIONS_O0) -c intmgetl.f -o intmgetl.o d21 45 @ 1.5 log @turn off optimization on one particular fortran file. Fixes a crashing bug in the scilab function mgetl() which prevents the build from completing correctly. Problem noted in recent sparc bulk build. @ text @d1 1 a1 1 $NetBSD$ @ 1.5.2.1 log @file patch-ay was added on branch buildlink2 on 2002-06-23 18:52:47 +0000 @ text @d1 21 @ 1.5.2.2 log @Merge from pkgsrc-current to buildlink2 branch. @ text @a0 21 $NetBSD: patch-ay,v 1.5.2.1 2002/06/23 18:52:47 jlam Exp $ compile intmgetl without optimization. The symptom is that the scilab function mgetl() will cause scilab to exit on netbsd-1.5.1/sparc. This breaks the formatman() function and causes the man pages to not be built. --- routines/interf/Makefile.orig Mon May 20 20:51:57 2002 +++ routines/interf/Makefile Tue May 21 19:33:48 2002 @@@@ -109,5 +109,4 @@@@ intfile.o : ../stack.h intgetenv.o : ../stack.h -intmgetl.o: ../stack.h stack0.o stack1.o stack2.o: ../stack.h getdate.o: ../machine.h @@@@ -120,2 +119,6 @@@@ Makefile.amk : Makefile $(SCIDIR)/util/Mak2ABSMak Makefile + +intmgetl.o: intmgetl.f ../stack.h + $(FC) $(FC_OPTIONS_O0) -c intmgetl.f -o intmgetl.o + @ 1.4 log @Update the package from scilab-2.4.1 to scilab-2.5. Many thanks to the authors at Inria who, through their willingness to accept feedback, have helped me remove 39 patches! Changes to scilab include (from scilab-2.5/CHANGES): NEW FUNCTIONALITIES =================== Global variables have been introduced New graphic mode has been added to allow scrollbar handling (panner for X Window and scrollbars for Windows). GIF export format is now available for Scilab graphic windows. Keyboard events and window closing within graphical windows can now be captured. Scicos graphical user interface has been made more intuitive and keyboard shortcuts have been added. Scilab Binary files created by "save" are now system-independent so they can be exchanged. In particular (compiled macros) *.bin files and *.cos (scicos diagrams) can be exchanged. It is now possible to dynamically link C++ procedures with Scilab. A new data type "mlist" has been added. A new function "genlib" allows users to compile the .sci files in a given directory, generate associated library and load it. This function is particularly useful under windows if VC++ is not available. C formatted input output functions (printf, scanf, ..) have been interfaced to scilab. OTHERS IMPROVEMENTS =================== Efficiency has been improved using reference argument passing when possible instead of value passing. Hypermatrix opreations have been accelerated. On X Window systems 3D Athena Widgets are preferably used instead of standard Athena Widgets for a better look. The "Matlab 4" to Scilab translator has been completed and considerably improved. NEW TOOLBOXES ============= True integer data types (1,2 and 4 bytes) with associated operations and some functions acting on them have been added. A library of procedures has been added to allow the use of Matlab mex-files under Scilab. PORTS ===== Scilab has been successfully compiled with Windows ABSOFT development environment. INCOMPATIBILITIES ================= New Scilab "save"d files cannot be loaded by earlier Scilab versions. A new function "oldsave" has been added to save in old format. Scilab help mechanism has changed. The $MANCHAPTERS/Chapter is no more used, instead a Scilab variable "helps" is used. @ text @d1 1 a1 1 $NetBSD: patch-ay,v 1.3 1999/10/20 13:17:00 dmcmahill Exp $ d3 19 a21 16 --- examples/misc-examples/zlink.dia.ref.orig Tue Sep 15 07:28:05 1998 +++ examples/misc-examples/zlink.dia.ref Fri Oct 8 19:36:36 1999 @@@@ -231,5 +231,5 @@@@ yy2=dassl([y0,y0d],t0,t,'dres1',info); //=yy0 -if norm(dres1(yy2(1,:),yy2(2:3,:),yy2(4:5,:)),1)>1.d-6 then bugmes();quit;end +if norm(dres1(yy2(1,:),yy2(2:3,:),yy2(4:5,:)),1)>1.4d-6 then bugmes();quit;end // fortran routines dres1 and djac1 in dir. routines/default, with jacobian @@@@ -346,5 +346,5 @@@@ xn=dassl([x0,x0d],t0,t,g,j,info); -if norm(x-xn,1) > Eps then bugmes();quit;end +if norm(x-xn,1) > 2.0*Eps then bugmes();quit;end @ 1.3 log @Make scilab always use f2c for compiling the fortran part of the code. This is because the g77 compiled code doesn't work properly on several machine architectures. In particular using g77 on (all 1.4.1 machines): pmax - can't even compile sparc - binary sometimes crashes mac68k - doesn't handle sparc matrices correctly using f2c fixes all these problems. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update scilab to 2.4.1. This is based on the work provided in pr 6889 by Dan McMahill. It fixes several serious problems for NetBSD/alpha and some for NetBSD/sparc. Thanx for doing the work, Dan! @ text @d3 2 a4 2 --- examples/misc-examples/zlink.dia.ref.orig Mon Aug 24 12:07:41 1998 +++ examples/misc-examples/zlink.dia.ref Mon Aug 24 12:07:58 1998 d12 7 @ 1.1 log @Addition of scilab-2.4 to the packages collection. This is from Dan McMahill (mcmahill@@mtl.mit.edu) in PR pkg/6034. scilab is a high level scientific math programming environment with graphics. [scilab is HUGE.] The only major thing I changed was the way of creating the PLIST. @ text @d3 9 a11 8 --- ./pvm3/src/sdpro.c.orig Sat Jul 18 22:31:51 1998 +++ ./pvm3/src/sdpro.c Sat Jul 18 22:31:51 1998 @@@@ -73,4 +73,5 @@@@ +#include #ifdef NEEDMENDIAN #include @