the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: xmlsec-shlibs
Version: 1.2.18
Revision: 2
###
Source: http://www.aleksey.com/xmlsec/download/xmlsec1-%v.tar.gz
Source-MD5: 8694b4609aab647186607f79e1da7f1a
BuildDepends: <<
fink (>= 0.24.12), fink-package-precedence,
libiconv-dev, libgettext8-dev,
libtool2, pkgconfig,
libxml2 (>= 2.7.8-1), libxslt,
libgcrypt (>= 1.4.0-1), gnutls28, libgpg-error, libtasn1-3,
openssl100-dev
<<
Depends: <<
libiconv, libgettext8-shlibs,
libtool2-shlibs,
libxml2-shlibs (>= 2.7.8-1), libxslt-shlibs,
libgcrypt-shlibs (>= 1.4.0-1), gnutls28-shlibs, libgpg-error-shlibs,
openssl100-shlibs
<<
###
GCC: 4.0
###
ConfigureParams: --infodir=%i/share/info --enable-aes --mandir=%i/share/man --disable-apps-crypto-dl --with-html-dir=%i/share/doc/xmlsec --with-pic --enable-xkms --without-nss --enable-dependency-tracking
PatchFile: %n.patch
PatchFile-MD5: c397df4188201a4c6eac198b360e648a
PatchScript: <<
%{default_script}
mv INSTALL INSTALL.txt
<<
CompileScript: <<
./configure %c
make
fink-package-precedence --prohibit-bdep=xmlsec-dev .
<<
InstallScript: <<
make install prefix=%i
<<
Shlibs: <<
%p/lib/libxmlsec1.1.dylib 4.0.0 %n (>= 1.2.5-13)
%p/lib/libxmlsec1-openssl.1.dylib 4.0.0 %n (>= 1.2.4-13)
%p/lib/libxmlsec1-gnutls.1.dylib 4.0.0 %n (>= 1.2.5-13)
%p/lib/libxmlsec1-gcrypt.1.dylib 4.0.0 %n (>= 1.2.18-1)
<<
DocFiles: AUTHORS COPYING ChangeLog Copyright INSTALL.txt NEWS README
Splitoff2: <<
Package: xmlsec-bin
Depends: <<
%N (>= %v-%r),
libiconv,
libtool2-shlibs,
libxml2-shlibs (>= 2.7.8-1), libxslt-shlibs,
openssl098-shlibs
<<
Files: <<
bin/xmlsec1
share/man/man1/xmlsec1.1
<<
Description: xmlsec binary and config program for devels
DescDetail: <<
NOTE: You NEED to also install this package when you wish to develop
with xmlsec.
<<
DocFiles: AUTHORS COPYING ChangeLog Copyright INSTALL.txt NEWS README
<<
Splitoff3: <<
Package: xmlsec-dev
BuildDependsOnly: True
Replaces: xmlsec-bin (<< 1.2.9-12), xmlsec (<< 1.2.12-2)
Files: <<
bin/xmlsec1-config
include
lib/libxmlsec1.{a,la,dylib}
lib/libxmlsec1-openssl.{a,la,dylib}
lib/libxmlsec1-gnutls.{a,la,dylib}
lib/libxmlsec1-gcrypt.{a,la,dylib}
lib/pkgconfig
lib/xmlsec1Conf.sh
share/aclocal
share/doc/xmlsec
share/man/man1
<<
Description: xmlsec development headers
Depends: xmlsec-bin (>= %v-%r), %N (= %v-%r)
DescDetail: <<
NOTE: You need to install this package when you wish to develop with xmlsec.
<<
DocFiles: AUTHORS COPYING ChangeLog Copyright INSTALL.txt NEWS README
<<
###
Description: XML Security Library
DescDetail: <<
Shared libraries needed to run and link against the xmlsec framework.
<<
DescPort: <<
Fixed dlopen() extension to be .dylib
dmacks moved xmlsec1-config script from xmlsec-bin to xmlsec-dev and
manpages from xmlsec to the packages containing the bin/* that they
document starting in 1.2.9-12
dmacks moved xmlsec1.m4 and doc html from xmlsec to xmlsec-dev as of
1.2.12-2 (and moved the doc html from share/doc to share/doc/xmlsec)
dmacks fixed dynamic linking to have all symbols resolved (used to
happen automatically via .la dependencies)
dmacks fixed configure shell-syntax bug. See:
https://bugzilla.gnome.org/show_bug.cgi?id=656096
<<
###
License: OSI-Approved
Maintainer: Darian Lanx
Homepage: http://www.aleksey.com/xmlsec/
diff -Nurd -x'*~' xmlsec1-1.2.18.orig/configure xmlsec1-1.2.18/configure
--- xmlsec1-1.2.18.orig/configure 2011-05-11 19:02:14.000000000 -0400
+++ xmlsec1-1.2.18/configure 2012-03-26 08:46:49.000000000 -0400
@@ -11699,7 +11699,7 @@
XMLSEC_SHLIBSFX=".dll.a"
xmlsec_sharedlib_hack="yes"
;;
- *-*-cygwin*)
+ *)
XMLSEC_EXTRA_LDFLAGS="-no-undefined"
XMLSEC_CRYPTO_EXTRA_LDFLAGS="-no-undefined"
;;
@@ -14578,7 +14578,7 @@
ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
if test "x$ac_cv_header_ltdl_h" = x""yes; then :
- XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_DL_LIBLTDL=1",
+ XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_DL_LIBLTDL=1"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopenext in -lltdl" >&5
$as_echo_n "checking for lt_dlopenext in -lltdl... " >&6; }
if test "${ac_cv_lib_ltdl_lt_dlopenext+set}" = set; then :
diff -Nurd -x'*~' xmlsec1-1.2.18.orig/src/gnutls/Makefile.in xmlsec1-1.2.18/src/gnutls/Makefile.in
--- xmlsec1-1.2.18.orig/src/gnutls/Makefile.in 2011-05-11 19:02:19.000000000 -0400
+++ xmlsec1-1.2.18/src/gnutls/Makefile.in 2012-03-26 08:47:29.000000000 -0400
@@ -350,7 +350,7 @@
# xmlsec-gnutls library requires xmlsec-gcrypt
libxmlsec1_gnutls_la_LIBADD = \
- $(GNUTLS_LIBS) \
+ $(GNUTLS_LIBS) $(GCRYPT_LIBS) \
$(LIBXSLT_LIBS) \
$(LIBXML_LIBS) \
../libxmlsec1.la \