the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libaprutil.0-shlibs
Version: 1.4.1
Revision: 1
Depends: <<
db53-aes-shlibs,
expat1-shlibs,
gdbm3-shlibs,
libapr.0-shlibs (>= 1.4.5-1),
libiconv,
openldap24-shlibs
<<
BuildDepends: <<
db53-aes,
expat1,
fink (>= 0.24.12),
gdbm3,
libapr.0-dev (>= 1.4.5-1),
libiconv-dev,
openldap24-dev,
pkgconfig,
system-openssl-dev
<<
Replaces: libaprutil0-shlibs
# a transient libaprutil0-shlibs accidentally installed something else at the install_name location
Suggests: libaprutil.0-mysql, libaprutil.0-odbc, libaprutil.0-postgresql, libaprutil.0-sqlite2, libaprutil.0-sqlite3
Source: mirror:apache:apr/apr-util-%v.tar.bz2
Source-MD5: 52b31b33fb1aa16e65ddaefc76e41151
PatchFile: %n.patch
PatchFile-MD5: 6f63a00b02f0274c27e8753a3044e342
PatchScript: <<
### Fix layout
perl -pi -e 's,/usr/local,%p,g' config.layout
%{default_script}
<<
UseMaxBuildJobs: false
ConfigureParams: <<
--enable-layout=GNU \
--with-apr=%p \
--with-ldap-include=%p/include \
--with-ldap-lib=%p/lib \
--with-ldap \
--with-dbm=db \
--with-gdbm=%p \
--with-berkeley-db=%p \
--with-crypto \
--with-openssl=%p/lib/system-openssl \
--without-pgsql \
--without-mysql \
--without-sqlite2 \
--without-sqlite3 \
--without-odbc \
--with-expat=%p \
--with-iconv=%p
<<
NoSetLDFLAGS: true
InstallScript: <<
make install DESTDIR=%d
/bin/rm %i/lib/aprutil.exp
cd %i/lib && ln -s libaprutil.0.dylib libaprutil-1.dylib
<<
DocFiles: CHANGES LICENSE NOTICE README
Shlibs: <<
%p/lib/libaprutil.0.dylib 5.0.0 %n (>= 1.4.1-4)
<<
SplitOff: <<
Package: libaprutil.0-dev
Conflicts: apr-common (<< 1:0-0), apr-ssl-common (<< 1:0-0), aprutil-dev (<< 1:0-0), libaprutil-dev (<< 1:0-0)
Replaces: apr-common (<< 1:0-0), apr-ssl-common (<< 1:0-0), aprutil-dev (<< 1:0-0), libaprutil-dev (<< 1:0-0)
Depends: %N (= %v-%r), pkgconfig
BuildDependsOnly: True
Description: Headers and static libraries for APRUTIL
Files: <<
bin
include
lib/pkgconfig
lib/libaprutil.la
lib/libaprutil.dylib
lib/libaprutil-1.dylib
<<
DocFiles: CHANGES LICENSE NOTICE README
<<
Description: APRUTIL shared libraries
DescDetail: <<
The mission of the Apache Portable Runtime (APR) project is to create and
maintain software libraries that provide a predictable and consistent
interface to underlying platform-specific implementations. The primary goal
is to provide an API to which software developers may code and be assured
of predictable if not identical behaviour regardless of the platform on
which their software is built, relieving them of the need to code
special-case conditions to work around or take advantage of
platform-specific deficiencies or features.
<<
DescUsage: <<
The following packages provide optional database backends that you
can install separately:
libaprutil.0-mysql, libaprutil.0-odbc, libaprutil.0-postgresql,
libaprutil.0-sqlite2, libaprutil.0-sqlite3
<<
DescPackaging: <<
Must keep the libaprutil.0-*.info versions in sync with this.
Previously maintained by Justin F. Hallett
<<
License: BSD
Maintainer: Daniel Johnson
Homepage: http://apr.apache.org/
InfoTest: TestScript: make check || exit 2
diff -ru apr-util-1.4.1.orig/apr-util.pc.in apr-util-1.4.1/apr-util.pc.in
--- apr-util-1.4.1.orig/apr-util.pc.in 2008-05-23 17:27:37.000000000 -0400
+++ apr-util-1.4.1/apr-util.pc.in 2012-01-18 14:21:54.000000000 -0500
@@ -9,5 +9,5 @@
Version: @APRUTIL_DOTTED_VERSION@
# assume that apr-util requires libapr of same major version
Requires: apr-@APRUTIL_MAJOR_VERSION@
-Libs: -L${libdir} -l@APRUTIL_LIBNAME@ @LDADD_ldap@ @APRUTIL_EXPORT_LIBS@
+Libs: -L${libdir} -l@APRUTIL_LIBNAME@
Cflags: -I${includedir}
diff -ru apr-util-1.4.1.orig/apu-config.in apr-util-1.4.1/apu-config.in
--- apr-util-1.4.1.orig/apu-config.in 2010-11-26 09:21:37.000000000 -0500
+++ apr-util-1.4.1/apu-config.in 2012-01-18 15:29:48.000000000 -0500
@@ -27,9 +27,9 @@
libdir="@libdir@"
includedir="@includedir@"
-LIBS="@APRUTIL_EXPORT_LIBS@"
-INCLUDES="@APRUTIL_INCLUDES@"
-LDFLAGS="@APRUTIL_LDFLAGS@"
+LIBS=""
+INCLUDES="-I${prefix}/include"
+LDFLAGS="-L${prefix}/lib"
LDAP_LIBS="@LDADD_ldap@"
DBM_LIBS="@LDADD_dbm_db@ @LDADD_dbm_gdbm@ @LDADD_dbm_ndbm@"
@@ -122,7 +122,7 @@
DBM_LIBS=""
;;
--libs)
- flags="$flags $LDAP_LIBS $DBM_LIBS $LIBS"
+ flags="$flags $LIBS"
;;
--ldap-libs)
flags="$flags $LDAP_LIBS"
diff -ru apr-util-1.4.1.orig/configure apr-util-1.4.1/configure
--- apr-util-1.4.1.orig/configure 2011-12-07 17:53:06.000000000 -0500
+++ apr-util-1.4.1/configure 2012-01-18 14:41:34.000000000 -0500
@@ -12857,14 +12857,14 @@
bdb_version="5"
if test ""1"" != "-1"; then
- bdb_version="$bdb_version."1""
+ bdb_version="$bdb_version."3""
if test ""-1"" != "-1"; then
bdb_version="$bdb_version."-1""
fi
fi
bdb_places="$places"
bdb_default_search_headers="db51/db.h db5/db.h db.h"
- bdb_default_search_lib_names="db-5.1 db5-5.1 db51 db5 db"
+ bdb_default_search_lib_names="db-5.3 db5-5.1 db51 db5 db"
apu_have_db=0
@@ -12946,7 +12946,7 @@
apu_try_berkeley_db_save_libs="$LIBS"
apu_check_berkeley_db_major="5"
- apu_check_berkeley_db_minor="1"
+ apu_check_berkeley_db_minor="3"
apu_check_berkeley_db_patch="-1"
apu_try_berkeley_db_header=$bdb_header
apu_try_berkeley_db_libname=$bdb_libname
diff -ru apr-util-1.4.1.orig/test/Makefile.in apr-util-1.4.1/test/Makefile.in
--- apr-util-1.4.1.orig/test/Makefile.in 2009-11-12 19:16:38.000000000 -0500
+++ apr-util-1.4.1/test/Makefile.in 2012-01-18 14:21:54.000000000 -0500
@@ -23,7 +23,7 @@
TARGETS = $(PROGRAMS)
-LOCAL_LIBS = ../lib@APRUTIL_LIBNAME@@APRUTIL_MAJOR_VERSION@.la
+LOCAL_LIBS = ../lib@APRUTIL_LIBNAME@.la
CLEAN_TARGETS = manyfile.bin testfile.txt data/sqlite*.db