Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/crypto
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv32595

Modified Files:
        openssl-0.9.7m.info 
Added Files:
        openssl098-dev.info openssl098-dev.patch openssl100-dev.info 
        openssl100-dev.patch 
Removed Files:
        openssl-0.9.8k.info openssl-0.9.8k.patch openssl-0.9.8l.info 
        openssl-0.9.8l.patch 
Log Message:
Take over, update to 0.9.8o, add 1.0.0a, and clean up packaging.


--- 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
 

--- openssl-0.9.8k.patch DELETED ---

--- openssl-0.9.8l.patch DELETED ---

--- NEW FILE: openssl100-dev.info ---
Package: openssl100-dev
Version: 1.0.0a
Revision: 1
Description: Secure Sockets Layer and Crypto Library
License: OSI-Approved
Homepage: http://www.openssl.org/
Maintainer: Daniel Johnson <[email protected]>

Conflicts: libmd (<= 0.3-2), openssl-dev, openssl097-dev, openssl098-dev
Replaces: 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: e3873edfffc783624cfbdb65e2249cbd

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.
<<

--- NEW FILE: openssl098-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; then
     cp "$1" "$2"
 else
     ln -s "$1" "$2"
 fi
 echo "$2 => $1"
+fi
 

Index: openssl-0.9.7m.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/crypto/openssl-0.9.7m.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- openssl-0.9.7m.info 1 Jul 2010 01:37:10 -0000       1.1
+++ openssl-0.9.7m.info 16 Nov 2010 02:20:39 -0000      1.2
@@ -1,6 +1,6 @@
 Package: openssl
 Version: 0.9.7m
-Revision: 5
+Revision: 6
 BuildDepends: fink (>= 0.24.12-1)
 Depends: %N097-shlibs (= %v-%r)
 Replaces: openssl097, openssl
@@ -41,8 +41,8 @@
   DescPackaging: <<
     Uses pkgconfig, but there are no pkgconfig-related dependencies.
   <<
-  Conflicts: libmd (<= 0.3-2), openssl-dev, openssl098-dev
-  Replaces: openssl-dev, openssl098-dev, openssl, openssl097, openssl098
+  Conflicts: libmd (<= 0.3-2), openssl-dev, openssl098-dev, openssl100-dev
+  Replaces: openssl-dev, openssl098-dev, openssl100-dev, openssl, openssl097, 
openssl098
   BuildDependsOnly: True
   Files: include lib share/man/man3 share/man/man5 share/man/man7
   DocFiles: README LICENSE CHANGES FAQ NEWS

--- NEW FILE: openssl098-dev.info ---
Package: openssl098-dev
Version: 0.9.8o
Revision: 1
Description: Secure Sockets Layer and Crypto Library
License: OSI-Approved
Homepage: http://www.openssl.org/
Maintainer: Daniel Johnson <[email protected]>

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

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

PatchFile: %n.patch
PatchFile-MD5: e4435e76c23bd4a51ef5ec8fda4c904c
PatchScript: <<
  perl util/perlpath.pl /usr/bin
  perl -pi -e 's,LIBDEPS,SHARED_LDFLAGS=-bundle $&,' engines/Makefile
  perl -pi -e 's,/engines,/engines098,g' Configure Makefile Makefile.org 
engines/Makefile
  sed 's,@BUILDDIR@,%b,g' %{PatchFile} | patch -p1
<<

BuildDepends: fink (>= 0.24.12)
Depends: openssl098-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 0.9.8k-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.openssl098
 for i in 2 4; do
        mv %i/share/man/man3/MD$i.3 %i/share/man/man3/md$i.3.openssl098
 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.openssl098 70 \
    --slave %p/share/man/man3/md2.3 md2.3 %p/share/man/man3/md2.3.openssl098 \
    --slave     %p/share/man/man3/md4.3 md4.3 %p/share/man/man3/md4.3.openssl098
<<
PreRmScript: <<
  if [ $1 != "upgrade" ]; then
    update-alternatives --remove md5.3 %p/share/man/man3/md5.3.openssl098
  fi
<<

SplitOff: <<
  Package: openssl098-shlibs
  Files: lib/libcrypto.0.9.8.dylib lib/libssl.0.9.8.dylib lib/engines098
  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: openssl
  Depends: openssl098-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.
<<
DescPackaging: Previously maintained by Monic Polynomial 
<[email protected]>

--- openssl-0.9.8k.info DELETED ---

--- openssl-0.9.8l.info DELETED ---


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to