the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gnutls28
Version: 3.0.17
Revision: 2
Source: mirror:custom:gnutls-%v.tar.xz
CustomMirror: <<
nam-US: ftp://ftp.gnutls.org/pub/gnutls/
<<
Source-MD5: 5e87bd73a237749e2acbbb7161f11d5e
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,
gmp5, libidn, libtool2, libgettext8-dev, libiconv-dev, pkgconfig,
nettle4, libtasn1-3, readline5, xcode (>=3.1-1)
<<
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
<<
CompileScript: <<
#!/bin/bash -ev
# use gcc-4.2 on 10.5
osversion=`uname -r | cut -d. -f1`
if [ $osversion -eq 9 ] ; then
export CC=/usr/bin/gcc-4.2
fi
# regenerate configure and lib/accelerated/x86/Makfile.in
autoconf
automake
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 36.0.0 %n (>= 3.0.17-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 had 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.
stdalign.h patch added to circumvent Xcode 4.3.1 issue
<<
License: GPL/LGPL
Maintainer: Dave Reiser
Homepage: http://www.gnutls.org/