Update of /cvsroot/fink/dists/10.4/unstable/crypto/finkinfo
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15478

Modified Files:
        libmd.info 
Added Files:
        openssl-0.9.8k.info 
Log Message:
Update of openssl.
Also, hopefully correct (and long overdue..) fix for case-insensitive build- 
and/or install-dirs.

--- NEW FILE: openssl-0.9.8k.info ---
Package: openssl
Version: 0.9.8k
Revision: 1
Depends: %N098-shlibs (= %v-%r), pkgconfig
Conflicts: openssl097
Replaces: openssl097
Source: mirror:custom:source/openssl-%v.tar.gz
CustomMirror: <<
  Primary:   http://www.openssl.org/
  Secondary: http://www.planetmirror.com/pub/openssl/
<<
Source-MD5: e555c6d58d276aec7fdc53363e338ab3

PatchScript: <<
  perl util/perlpath.pl /usr/bin
  perl -pi -e 's,LIBDEPS,SHARED_LDFLAGS=-bundle $&,' engines/Makefile
<<
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
CompileScript: <<
 PERL=/usr/bin/perl ./config shared --prefix=%p --openssldir=%p/etc/ssl 
zlib-dynamic --with-krb5-dir=/usr
 make
<<
InfoTest: <<
TestScript: make test || exit 2
<<
InstallScript: <<
#!/bin/sh -e
 make install INSTALL_PREFIX=%d MANDIR=%p/share/man
 ### special care for case-insensitive systems _ to get same deb everywhere
 p=`readlink -f %i/share/man/man3`
 for f in `find $p -type l`; do \
        g=`readlink -f $f`
        fl=`tr '[:upper:]' '[:lower:]'<<<"$f"`
        gl=`tr '[:upper:]' '[:lower:]'<<<"$g"`
        if [ "$fl" = "$gl" ] ; then /bin/rm $f ; fi
 done
 ## There remain symlinks BN_print.3 -> BN_bn2bin.3 and bn_print.3 -> 
bn_internal.3, we rename the latter.
 rm -f %i/share/man/man3/BN_print.3 %i/share/man/man3/bn_print.3 || true
 ln -fs BN_bn2bin.3 %i/share/man/man3/BN_print.3
 ln -fs bn_internal.3 %i/share/man/man3/_bn_print.3
 ### for comptibility with libmd (don't know how to set up update-alternatives 
with original capitalisation)
 mv %i/share/man/man3/md5.3 %i/share/man/man3/MD5.3
 for i in 2 4 5; do
        mv %i/share/man/man3/MD$i.3 %i/share/man/man3/md$i.3.%N098
 done
<<
SplitOff: <<
  Package: %N098-shlibs
  Files: lib/libcrypto.0.9.8.dylib lib/libssl.0.9.8.dylib lib/engines
  Shlibs: <<
    %p/lib/libcrypto.0.9.8.dylib 0.9.8 %n (>= 0.9.8-1)
    %p/lib/libssl.0.9.8.dylib 0.9.8 %n (>= 0.9.8-1)
  <<
  DocFiles: README LICENSE CHANGES FAQ NEWS
<<
SplitOff2: <<
  Package: %N098-dev
  Depends: %N098-shlibs (= %v-%r)
  DescPackaging: <<
    Uses pkgconfig, but there are no pkgconfig-related dependencies.
  <<
  Conflicts: libmd (<= 0.3-2), openssl-dev, openssl097-dev
  Replaces: openssl-dev, openssl097-dev, openssl, openssl097, openssl098
  BuildDependsOnly: True
  Files: include lib share/man/man3 share/man/man5 share/man/man7
  DocFiles: README LICENSE CHANGES FAQ NEWS
  PostInstScript: <<
   for i in 2 4 5; do
        update-alternatives --install %p/share/man/man3/md$i.3 md$i.3 
%p/share/man/man3/md$i.3.%N098 60
   done
  <<
  PreRmScript: <<
   if [ $1 != "upgrade" ]; then
   for i in 2 4 5; do
        update-alternatives --remove md$i.3 %p/share/man/man3/md$i.3.%N098
   done
   fi
  <<
<<
DocFiles: README LICENSE CHANGES FAQ NEWS
ConfFiles: %p/etc/ssl/openssl.cnf
#
Description: Secure Sockets Layer and Crypto Library
DescDetail: <<
OpenSSL is a free implementation of the Secure Sockets Layer (SSL)
and Transport Layer Security (TLS) protocols. It includes command line
utilities to manager certificates and a separate library implementing
common cryptograhic algorithms.
<<
DescPort: <<
Older versions of the openssl package used to use a compatibility version of 
0.9.6.
To stay compatbile with those, we build dylibs with that compatibility version.
This works since the old version luckily also hardcoded 0.9.6 into the library
install_name.

For the new version of the libs, we use an install_name following the one used 
by
Apple's version of openssl (and unlike the default openssl wants to build), 
that is,
libssl.0.9.dylib.

We have to apply a small trick to get it to link against its own static libs
instead of the system's ssl dylibs.

Patch Configure: i386 is little-endian
<<
License: OSI-Approved
Homepage: http://www.openssl.org/
Maintainer: None <fink-de...@lists.sourceforge.net>

Index: libmd.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/crypto/finkinfo/libmd.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- libmd.info  12 Jan 2009 00:06:12 -0000      1.2
+++ libmd.info  18 Apr 2009 16:14:54 -0000      1.3
@@ -1,6 +1,6 @@
 Package: libmd
 Version: 0.3
-Revision: 3
+Revision: 4
 Description: MD2 MD4 MD5 SHA-1 RIPEMD-160 message digests
 License: Restrictive/Distributable
 DescDetail: <<
@@ -18,7 +18,7 @@
 <<
 Conflicts: openssl-dev (<= 0.9.6g-3)
 DescPackaging: <<
- OpenSSL also installs a md5.3 man file, managed with
+ OpenSSL also installs md{2,4,5}.3 man file, managed with
  update-alternatives.
 
  Various licenses:
@@ -49,18 +49,25 @@
 UpdateConfigGuess: true
 ConfigureParams: --mandir='${prefix}/share/man'
 InstallScript: <<
+#!/bin/sh -ev
  make install BUILDROOT=%i
- mv %i/share/man/man3/md5.3 %i/share/man/man3/md5.3.%n
+ for i in 2 4 5; do
+       mv %i/share/man/man3/md$i.3 %i/share/man/man3/md$i.3.%n
+ done
 <<
 DocFiles: <<
  README INSTALL TODO md2.copyright md4.copyright md5.copyright
 <<
 PostInstScript: <<
- update-alternatives --install %p/share/man/man3/md5.3 md5.3 
%p/share/man/man3/md5.3.libmd 65
+ for i in 2 4 5; do
+       update-alternatives --install %p/share/man/man3/md$i.3 md$i.3 
%p/share/man/man3/md$i.3.libmd 65
+ done
 <<
 PreRmScript: <<
  if [ $1 != "upgrade" ]; then
-    update-alternatives --remove md5.3 %p/share/man/man3/md5.3.libmd
+ for i in 2 4 5; do
+       update-alternatives --remove md$i.3 %p/share/man/man3/md$i.3.libmd
+ done
  fi
 <<
 Maintainer: Carsten Klapp <carstenkl...@users.sourceforge.net>


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to