Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv17736
Modified Files:
cernlib2006.info cernlib2006.patch
Log Message:
Use the wrapper for paw++, too. Add some remarks to wrapper code.
Index: cernlib2006.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/cernlib2006.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cernlib2006.patch 1 Sep 2011 13:02:41 -0000 1.1
+++ cernlib2006.patch 1 Sep 2011 14:12:51 -0000 1.2
@@ -11,7 +11,19 @@
NeedTcpipLib
--- src.orig/pawlib/paw/programs/disableASLR.c 1970-01-01 01:00:00.000000000
+0100
+++ src.new/pawlib/paw/programs/disableASLR.c 2011-09-01 10:09:13.000000000
+0200
-@@ -0,0 +1,47 @@
+@@ -0,0 +1,59 @@
++//////////////////////////////////////////////////////////////
++// Wrapper executable to spawn a process with //
++// adress-space layout randomization (ASLR) disabled. //
++// This voids the enhanced security provided by Lion. //
++// The code works on current Mac OS Lion 10.7.1, but //
++// might break on future versions as it uses undocumented //
++// features. Thus, use it on your own risk. //
++// //
++// Copyright Remi Mommsen ([email protected]) 2011 //
++// //
++//////////////////////////////////////////////////////////////
++
+#include <stdio.h>
+#include <stdlib.h>
+#include <sys/types.h>
Index: cernlib2006.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/cernlib2006.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cernlib2006.info 1 Sep 2011 13:02:41 -0000 1.3
+++ cernlib2006.info 1 Sep 2011 14:12:51 -0000 1.4
@@ -1,7 +1,7 @@
Info3: <<
Package: cernlib2006
Version: 2006b
-Revision: 14
+Revision: 15
Description: Paw and other basic executables
Depends: x11
BuildDepends: <<
@@ -23,7 +23,7 @@
Source2-MD5: d91ac6aae72c953ba9aa1ac165f7bc24
SourceDirectory: 2006/src
PatchFile: %n.patch
-PatchFile-MD5: 9e4f752585d5a9c86fe6acdd41fe0a77
+PatchFile-MD5: 7c37eb492f369175fc4bb56da5376f91
PatchScript: <<
#!/bin/sh -ev
case "%m" in
@@ -130,8 +130,10 @@
<<
InstallScript: <<
install -d %i/bin
- install -m 755 cernlib/%v/bin/paw++ %i/bin
+ install -m 755 cernlib/%v/bin/paw++ %i/bin/paw++.exe
install -m 755 cernlib/%v/bin/kxterm %i/bin
+ /usr/bin/printf '#!/bin/sh\n%p/bin/disableASLR %p/bin/paw++.exe\n' >
%i/bin/paw++
+ chmod 755 %i/bin/paw++
<<
<<
SplitOff2: <<
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs