Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/crypto
In directory vz-cvs-3.sog:/tmp/cvs-serv7494

Added Files:
        openssl100-dev.info openssl100-dev.patch 
Log Message:
to 10.7

--- NEW FILE: openssl100-dev.patch ---
diff -Nurd -x'*~' openssl-0.9.8k.orig/util/point.sh openssl-0.9.8k/util/point.sh
--- openssl-0.9.8k.orig/util/point.sh   2003-06-11 15:44:37.000000000 -0400
+++ openssl-0.9.8k/util/point.sh        2009-04-19 13:34:49.000000000 -0400
@@ -1,10 +1,17 @@
 #!/bin/sh
 
-rm -f "$2"
+if [ `echo "$1" | tr '[[:upper:]]' '[[:lower:]]'` = `echo "$2" | tr 
'[[:upper:]]' '[[:lower:]]'` ]; then
+    echo "$2 => $1 not done ($1 =~ $2)"
+    echo "ln -s \"$1\" \"$2\"" >> @BUILDDIR@/skipped-links
+elif [ -e $2 ]; then   # this part is useless (given linking below with "ln 
-s"), except for the file "skipped-links" 
+    echo "$2 => $1 not done (-e $2)"
+    echo "ln -s \"$1\" \"$2\"" >> @BUILDDIR@/skipped-links
+else
 if test "$OSTYPE" = msdosdjgpp || test "x$PLATFORM" = xmingw ; then
     cp "$1" "$2"
 else
     ln -s "$1" "$2"
 fi
 echo "$2 => $1"
+fi
 

--- NEW FILE: openssl100-dev.info ---
Package: openssl100-dev
Version: 1.0.0d
Revision: 2
Description: Secure Sockets Layer and Crypto Library
License: OSI-Approved
Homepage: http://www.openssl.org/
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>

Conflicts: libmd (<= 0.3-2), system-openssl-dev, openssl-dev, openssl097-dev, 
openssl098-dev
Replaces: system-openssl-dev, openssl-dev, openssl097-dev, openssl098-dev, 
openssl, openssl097, openssl100
BuildDependsOnly: True

Source: mirror:custom:source/openssl-%v.tar.gz
CustomMirror: <<
  Primary:   http://www.openssl.org/
  Secondary: ftp://ftp.openssl.org/
<<
Source-MD5: 40b6ea380cc8a5bf9734c2f8bf7e701e

PatchFile: %n.patch
PatchFile-MD5: bafcb8df300f6c995940947456d165c4
PatchScript: <<
  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)
Depends: openssl100-shlibs (= %v-%r)
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
CompileScript: <<
  #!/bin/sh -ev
  if [ "%m" = "powerpc" ]
  then
    PERL=/usr/bin/perl ./Configure shared darwin-ppc-cc --prefix=%p 
--openssldir=%p/etc/ssl zlib-dynamic
  else
    if [ "%m" = "i386" ]
    then
      PERL=/usr/bin/perl ./Configure shared darwin-i386-cc --prefix=%p 
--openssldir=%p/etc/ssl zlib-dynamic
    else
      PERL=/usr/bin/perl ./Configure shared darwin64-x86_64-cc --prefix=%p 
--openssldir=%p/etc/ssl zlib-dynamic
    fi
  fi
  make
<<

InfoTest: <<
TestScript: make test || exit 2
<<

InstallScript: <<
#!/bin/sh -ev
 make install INSTALL_PREFIX=%d MANDIR=%p/share/man

 ## skipped-links contains symlink commands that fail because they
 ## would involve filenames that differ only by case (rebuild on a
 ## case-insensitive filesystem to make sure the list is complete).
 ## as of 1.0.0k-3, the list is:
 ##   ln -s "bn_internal.3" "bn_print.3" # created iff build on case-sens fs
 ##   ln -s "hmac.3" "HMAC.3"            # not created anywhere
 ##   ln -s "md5.3" "MD5.3"              # not created anywhere
 ##   ln -s "mdc2.3" "MDC2.3"            # not created anywhere
 ##   ln -s "pem.3" "PEM.3"              # not created anywhere
 ##   ln -s "rc4.3" "RC4.3"              # not created anywhere
 ##   ln -s "ssl.3" "SSL.3"              # not created anywhere
 ## i.e., those symlink names already exist as something else.
 
 ## Should patch build to avoid even trying to create these so get
 ## same .deb on all build FS even without hacks.
 ## 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.openssl100
 for i in 2 4; do
        mv %i/share/man/man3/MD$i.3 %i/share/man/man3/md$i.3.openssl100
 done
<<

DocFiles: README LICENSE CHANGES FAQ NEWS

PostInstScript: <<
  update-alternatives --install %p/share/man/man3/md5.3 md5.3 
%p/share/man/man3/md5.3.openssl100 80 \
    --slave %p/share/man/man3/md2.3 md2.3 %p/share/man/man3/md2.3.openssl100 \
    --slave     %p/share/man/man3/md4.3 md4.3 %p/share/man/man3/md4.3.openssl100
<<
PreRmScript: <<
  if [ $1 != "upgrade" ]; then
    update-alternatives --remove md5.3 %p/share/man/man3/md5.3.openssl100
  fi
<<

SplitOff: <<
  Package: openssl100-shlibs
  Files: lib/libcrypto.1.0.0.dylib lib/libssl.1.0.0.dylib lib/engines100
  Shlibs: <<
    %p/lib/libcrypto.1.0.0.dylib 1.0.0 %n (>= 1.0.0a-1)
    %p/lib/libssl.1.0.0.dylib 1.0.0 %n (>= 1.0.0a-1)
  <<
  DocFiles: README LICENSE CHANGES FAQ NEWS
<<

SplitOff2: <<
  Package: openssl
  Depends: openssl100-shlibs (= %v-%r)
  Conflicts: openssl097
  Replaces: openssl097
  Files: bin etc share/man/man1
  DocFiles: README LICENSE CHANGES FAQ NEWS
  ConfFiles: %p/etc/ssl/openssl.cnf
<<

DescDetail: <<
OpenSSL is a free implementation of the Secure Sockets Layer (SSL)
and Transport Layer Security (TLS) protocols. It includes command line
utilities to manage certificates and a separate library implementing common
cryptograhic algorithms.
<<


------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to