Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/crypto
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2355

Modified Files:
        openssl100-dev.info openssl100-dev.patch 
Log Message:
Correctly handle update-alternatives.

Index: openssl100-dev.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/crypto/openssl100-dev.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- openssl100-dev.patch        10 May 2012 22:06:28 -0000      1.3
+++ openssl100-dev.patch        18 Jul 2013 22:01:51 -0000      1.4
@@ -1,6 +1,22 @@
-diff -ru openssl-1.0.1a.orig/util/point.sh openssl-1.0.1a/util/point.sh
---- openssl-1.0.1a.orig/util/point.sh  2009-04-06 10:25:02.000000000 -0400
-+++ openssl-1.0.1a/util/point.sh       2012-04-19 19:22:44.000000000 -0400
+diff -ru openssl-1.0.1e.orig/util/perlpath.pl openssl-1.0.1e/util/perlpath.pl
+--- openssl-1.0.1e.orig/util/perlpath.pl       2013-02-11 10:02:48.000000000 
-0500
++++ openssl-1.0.1e/util/perlpath.pl    2013-06-26 07:57:20.000000000 -0400
+@@ -4,10 +4,10 @@
+ # line in all scripts that rely on perl.
+ #
+ 
+-require "find.pl";
++use File::Find;
+ 
+ $#ARGV == 0 || print STDERR "usage: perlpath newpath  (eg /usr/bin)\n";
+-&find(".");
++&File::Find::find(\&wanted, ".");
+ 
+ sub wanted
+       {
+diff -ru openssl-1.0.1e.orig/util/point.sh openssl-1.0.1e/util/point.sh
+--- openssl-1.0.1e.orig/util/point.sh  2013-02-11 10:26:04.000000000 -0500
++++ openssl-1.0.1e/util/point.sh       2013-06-26 07:55:53.000000000 -0400
 @@ -1,10 +1,17 @@
  #!/bin/sh
  

Index: openssl100-dev.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/crypto/openssl100-dev.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- openssl100-dev.info 1 Mar 2013 00:45:43 -0000       1.8
+++ openssl100-dev.info 18 Jul 2013 22:01:50 -0000      1.9
@@ -1,7 +1,7 @@
 Info2:<<
 Package: openssl100%type_pkg[-64bit]-dev
 Version: 1.0.1e
-Revision: 1
+Revision: 3
 Type: -64bit (boolean)
 Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] = 
-64bit ) i386
 Description: Secure Sockets Layer and Crypto Library
@@ -21,12 +21,13 @@
 Source-MD5: 66bf6f10f060d561929de96f9dfe5b8c
 
 PatchFile: %{ni}.patch
-PatchFile-MD5: bdedfbec3929ab3f36379704955c08c1
+PatchFile-MD5: 8d86d626da439dd15dfb515193d4d573 
 PatchScript: <<
+  #!/bin/bash -ev
+  sed 's|@BUILDDIR@|%b|g' < %{PatchFile} | patch -p1
   perl util/perlpath.pl /usr/bin
   perl -pi -e 's,LIBDEPS,SHARED_LDFLAGS=-bundle $&,' engines/Makefile 
engines/ccgost/Makefile
   perl -pi -e 's,/engines,/engines100,g' Configure Makefile Makefile.org 
engines/Makefile engines/ccgost/Makefile
-  sed 's,@BUILDDIR@,%b,g' %{PatchFile} | patch -p1
 <<
 
 BuildDepends: fink (>= 0.24.12)
@@ -84,7 +85,8 @@
  ## update-alternatives with original capitalisation).
  mv %i/share/man/man3/md5.3 %i/share/man/man3/md5.3.openssl100
  for i in 2 4; do
-       mv %i/share/man/man3/MD$i.3 %i/share/man/man3/md$i.3.openssl100
+       rm %i/share/man/man3/MD$i.3
+       cp %i/share/man/man3/md5.3.openssl100 
%i/share/man/man3/md$i.3.openssl100
  done
 <<
 


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to