Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12950
Modified Files:
cernlib.info cernlib.patch cernlib2002.info cernlib2002.patch
Log Message:
Sync with unstable
Index: cernlib2002.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci/cernlib2002.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cernlib2002.patch 25 Sep 2004 17:40:41 -0000 1.1
+++ cernlib2002.patch 27 Apr 2005 06:04:51 -0000 1.2
@@ -908,7 +908,7 @@
fi
-drv="/X11" ; ver="pro" ; OUT="/tmp/GEANT$$"
-+drv="/X11" ; ver="" ; OUT="/tmp/GEANT$$"
++drv="/X11" ; ver="" ; OUT="${HOME}/GEANT$$"
gxint=""
while [ $# -gt 0 ]
@@ -1039,3 +1039,1253 @@
+
+ return !i;
[...1231 lines suppressed...]
+
++#if 0
+ strcpy(tmp,tmppath);
+ strcat(tmp,TMP_TEMPLATE);
+ mktemp(tmp);
++#endif
+
+ /* builtin ftp client */
++ /* Fixed to use tmpfile() rather than the insecure mktemp()
++ -- Kevin McCarty, for Debian, 24 April 2003 */
+
+ if (bftp.bf_bufsize > 0) {
+- if (!(f = fopen(tmp,"w"))) {
+- errlog(LOG_ERR,"c_stage_tape() : can't open %s",tmp);
++ if (!(f = tmpfile())) {
++ errlog(LOG_ERR,"c_stage_tape() : tmpfile() failed : %s",
++ strerror(errno));
+ return SGD_RET_FOPEN;
+ }
+ ret = ftp_clio(f,cl_dat,st_dat,volid,fseqid,lbltyp,volser);
Index: cernlib2002.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci/cernlib2002.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cernlib2002.info 11 Apr 2005 02:16:52 -0000 1.2
+++ cernlib2002.info 27 Apr 2005 06:04:51 -0000 1.3
@@ -1,6 +1,6 @@
Package: cernlib2002
Version: 2002
-Revision: 4
+Revision: 5
GCC: 3.3
Description: Paw and other basic executables
Depends: x11
@@ -27,6 +27,7 @@
Source10: mirror:custom:%v_source/tar/src_mathlib.tar.gz
Source11: mirror:custom:%v_source/tar/src_graflib.tar.gz
Source12: mirror:custom:%v_source/tar/src_geant321.tar.gz
+Source13: mirror:custom:%v_source/tar/src_patchy.tar.gz
SourceRename: cernlib-%v_Imakefile.tar.gz
Source2Rename: cernlib-%v_config.tar.gz
Source3Rename: cernlib-%v_include.tar.gz
@@ -39,6 +40,7 @@
Source10Rename: cernlib-%v_mathlib.tar.gz
Source11Rename: cernlib-%v_graflib.tar.gz
Source12Rename: cernlib-%v_geant321.tar.gz
+Source13Rename: cernlib-%v_patchy.tar.gz
Source-MD5: 086556e4310073261a2393863d81a684
Source2-MD5: 7ac4211c3ac97740c3fc24de20fdd37a
Source3-MD5: 2af7abe09c5674293b51a7b6620ad111
@@ -51,6 +53,7 @@
Source10-MD5: 75671fb9fbe2ac501196a1cd6d484b63
Source11-MD5: a4a6bb638248986ca97b08f39b251eca
Source12-MD5: 685870b95aa2b6c6130eff2cff6bd1e4
+Source13-MD5: 91046f73c8823309f7847f20fa84dae2
SourceDirectory: %v/src
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
NoSetCXXFLAGS: true
Index: cernlib.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci/cernlib.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cernlib.patch 25 Sep 2004 17:40:41 -0000 1.4
+++ cernlib.patch 27 Apr 2005 06:04:51 -0000 1.5
@@ -948,7 +948,7 @@
fi
-drv="/X11" ; ver="pro" ; OUT="/tmp/GEANT$$"
-+drv="/X11" ; ver="" ; OUT="/tmp/GEANT$$"
++drv="/X11" ; ver="" ; OUT="${HOME}/GEANT$$"
gxint=""
while [ $# -gt 0 ]
@@ -1031,4 +1031,1254 @@
+$LDN -o $OUT $gxint $pgm $userpath $userlibs `cernlib $CLIB`; cc=$?
[...1232 lines suppressed...]
+
++#if 0
+ strcpy(tmp,tmppath);
+ strcat(tmp,TMP_TEMPLATE);
+ mktemp(tmp);
++#endif
+
+ /* builtin ftp client */
++ /* Fixed to use tmpfile() rather than the insecure mktemp()
++ -- Kevin McCarty, for Debian, 24 April 2003 */
+
+ if (bftp.bf_bufsize > 0) {
+- if (!(f = fopen(tmp,"w"))) {
+- errlog(LOG_ERR,"c_stage_tape() : can't open %s",tmp);
++ if (!(f = tmpfile())) {
++ errlog(LOG_ERR,"c_stage_tape() : tmpfile() failed : %s",
++ strerror(errno));
+ return SGD_RET_FOPEN;
+ }
+ ret = ftp_clio(f,cl_dat,st_dat,volid,fseqid,lbltyp,volser);
Index: cernlib.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci/cernlib.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cernlib.info 25 Sep 2004 17:40:41 -0000 1.7
+++ cernlib.info 27 Apr 2005 06:04:51 -0000 1.8
@@ -1,6 +1,6 @@
Package: cernlib
Version: 2003
-Revision: 20
+Revision: 21
GCC: 3.3
Description: Paw and other basic executables
Depends: x11
@@ -38,6 +38,8 @@
Source11Rename: cernlib-%v_graflib.tar.gz
Source12: mirror:custom:%v_source/tar/src_geant321.tar.gz
Source12Rename: cernlib-%v_geant321.tar.gz
+Source13: mirror:custom:%v_source/tar/src_patchy.tar.gz
+Source13Rename: cernlib-%v_patchy.tar.gz
Source-MD5: d70e68ba8b12e98a3d3e64a1740e4ca1
Source2-MD5: c2ce47d2d3b6dc3fcda459775fbdb5d0
Source3-MD5: 814a4cb8596029d7fb84bb9e6f951648
@@ -50,6 +52,7 @@
Source10-MD5: 6523df2f1536b3b59b7ea0a5fc0369f9
Source11-MD5: 5b9b23b90161c7ef9abb988bbc10734b
Source12-MD5: e5b9acafa125f224809d935054d111ac
+Source13-MD5: 93c73419f254ae234de83b800219c703
SourceDirectory: %v/src
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
CompileScript: <<
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits