Dave,
   The gnutls28 package in 10.7 fink is currently broken against Xcode 4.3(.1)
due to http://savannah.gnu.org/support/?107896. The attached packaging solves 
the problem with a...

  perl -pi -e "s|STDALIGN_H=''|STDALIGN_H='stdalign.h'|g" ./configure

before  %{default_script} to ensure that the bundled copy is used rather than 
clang's.
          Jack
Package: gnutls28
Version: 3.0.8
Revision: 2
Source: mirror:custom:gnutls-%v.tar.xz
CustomMirror: <<
  nam-US: ftp://ftp.gnutls.org/pub/gnutls/
<<
Source-MD5: bce40a4e9bec343b266707eb9819132b
GCC: 4.0
Depends: %N-shlibs (= %v-%r), libidn-shlibs
Replaces: gnutls-dev, gnutls, gnutls12, gnutls14, gnutls26, gnutls-2.12
Conflicts: gnutls-dev, gnutls, gnutls12, gnutls14, gnutls26, gnutls-2.12
BuildDepends: <<
  autoconf2.6 (>=2.63-1), automake1.11, fink (>= 0.32), fink-package-precedence,
  libidn, libtool2, libgettext8-dev, libiconv-dev, pkgconfig,
  nettle4, libtasn1-3, readline5
<<
BuildDependsOnly: True
SourceDirectory: gnutls-%v
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
ConfigureParams: <<
  --libdir=%p/lib/gnutls28 --without-p11-kit --mandir=%p/share/man 
--infodir=%p/share/info --enable-dependency-tracking --disable-guile 
--disable-openpgp-authentication --disable-hardware-acceleration 
<<
CompileScript: <<
  #!/bin/bash -ev
  perl -pi -e "s|STDALIGN_H=''|STDALIGN_H='stdalign.h'|g" ./configure
  %{default_script}
  sed -i.orig -e '/Requires.private/s| , zlib||' lib/gnutls.pc
  fink-package-precedence 
--prohibit-bdep=gnutls,gnutls-dev,gnutls12,gnutls14,gnutls26,gnutls-2.12 .
  <<
InstallScript: <<
  #!/bin/bash -ev
  make install DESTDIR=%d
  /bin/mv %i/lib/gnutls28/pkgconfig %i/lib  
<<  
SplitOff: <<
  Package: %N-shlibs
  Depends: <<
    gmp5-shlibs,libgettext8-shlibs, nettle4-shlibs, libhogweed,
    libiconv, libtasn1-3-shlibs, readline5-shlibs
  <<
  DocFiles: COPYING README lib/README:README.lib 
  Files: <<
    lib/gnutls28/libgnutls.28.dylib
    lib/gnutls28/libgnutls-openssl.27.dylib
    lib/gnutls28/libgnutlsxx.28.dylib
  <<
  Shlibs: <<
    %p/lib/gnutls28/libgnutls.28.dylib         32.0.0 %n (>= 3.0.8-1)
    %p/lib/gnutls28/libgnutls-openssl.27.dylib 28.0.0 %n (>= 3.0.8-1)
    %p/lib/gnutls28/libgnutlsxx.28.dylib       29.0.0 %n (>= 3.0.8-1)
  <<
<<
#InfoTest: TestScript: make -k check || exit 2
DocFiles: AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README 
doc/reference/html
InfoDocs: gnutls.info
Description: GNU TLS encryption library
DescDetail: <<
GnuTLS is a project that aims to develop a library which provides
a secure layer, over a reliable transport layer. Currently the GnuTLS
library implements the proposed standards by the IETF's TLS working group. 

  Quoting from RFC2246 - the TLS 1.0 protocol specification: 
  "The TLS protocol provides communications privacy over the Internet.
   The protocol allows client/server applications to communicate in a way that
   is designed to prevent eavesdropping, tampering, or message forgery."
<<
DescPort: <<
   GnuTLS now uses an internal opencdk, even if the independent lib and headers 
are installed.
   Version 3.0.8 has new libversions of the two main shlibs, but the same 
libversion of openssl
   lib as 2.12.x -- so all 3 shlibs are installed in a private dir to allow 
prior shlibs
   with the same libversion to exist according to policy.
   Asm acceleration disabled because I have no clue how to fix the build 
failures.
<<
License: GPL/LGPL
Maintainer: Dave Reiser <dbrei...@users.sourceforge.net>
Homepage: http://www.gnutls.org/
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to