head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.140 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.138 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.136 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.134 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.132 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.130 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.128 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.126 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.124 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.122 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.120 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.118 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.116 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.114 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.112 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.110 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.108 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.106 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.104 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.102 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.100 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.98 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.96 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.92 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.72 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.94 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.90 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.88 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.86 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.84 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.82 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.80 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.78 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.76 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.74 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.70 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.68 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.66 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.64 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.62 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.60 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.58 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.56 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.54 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.52 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.50 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.48 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.46 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.44 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.42 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.40 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.38 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.36 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.34 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.32 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.30 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.28 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.26 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.24 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.22 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.20 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.18 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.16 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.14 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.12 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.10 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.8 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.6 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.4 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.2 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.3.0.42 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.40 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.38 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.36 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.34 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.32 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.30 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.28 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.26 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.3 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.4 date 2008.11.15.01.19.08; author dmcmahill; state Exp; branches; next 1.3; 1.3 date 99.12.22.13.25.47; author dmcmahill; state dead; 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 ; desc @@ 1.4 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/scidoc.orig 2006-01-04 14:40:34.000000000 +0000 +++ util/scidoc @@@@ -6,25 +6,40 @@@@ echo ------------------- File $2-------------------- SCI=$1 export SCI +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();quit;quit;quit;quit;quit;quit;" >> /tmp/$2.$$ ; -($SCI/bin/scilex -nw < /tmp/$2.$$ > /tmp/$2.$$.res ) 2> /tmp/$2.$$.err ; + $2 >> ${tmpd}$2.$$ ; +echo "diary(0);xend();quit;quit;quit;quit;quit;quit;" >> ${tmpd}$2.$$ ; +($SCI/bin/scilex -nw < ${tmpd}$2.$$ > ${tmpd}$2.$$.res ) 2> ${tmpd}$2.$$.err ; sed -e "s/ \.[0-9]/0&/g" -e "s/0 \./0./g" -e "s/E+/D+/g" -e "s/E-/D-/g" -e "s/-\./-0\./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 "ERROR DETECTED while executing $2" ; fi; fi; echo ---------------------------------------------------------- -rm -f /tmp/$2.$$ /tmp/$2.$$.res /tmp/$2.$$.err /tmp/$2.$$.diff +rm -fr ${tmpd} exit 0 @ 1.3 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-az,v 1.2 1999/03/05 11:22:35 frueauf Exp $ d3 51 a53 8 --- routines/xsci/wf_w_dir.c.orig Sat Dec 19 22:43:24 1998 +++ routines/xsci/wf_w_dir.c Sat Dec 19 22:45:42 1998 @@@@ -56,5 +56,7 @@@@ #endif +#if !defined(freebsd) #include +#endif a54 1 #include "../machine.h" @ 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 @d1 1 a1 1 $NetBSD$ @ 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 4 a6 4 --- ./pvm3/src/task.c.orig Sat Jul 18 22:31:52 1998 +++ ./pvm3/src/task.c Sat Jul 18 22:31:52 1998 @@@@ -143,4 +143,5 @@@@ */ d8 5 a12 3 +#include #ifdef NEEDMENDIAN #include @