123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494 |
- %define apuver 1
- Summary: Apache Portable Runtime Utility library
- Summary(ja): Apache ポータブルランタイムユーティリティライブラリ
- Name: apr-util
- Version: 1.6.1
- Release: 3%{?_dist_release}
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- License: Apache Software License 2.0
- URL: http://apr.apache.org/
- Source0: %{name}-%{version}.tar.bz2
- Patch1: apr-util-1.2.7-pkgconf.patch
- Patch2: apr-util-1.6.1-r1894933.patch
- Patch4: apr-util-1.4.1-private.patch
- Patch5: apr-util-mariadb-upstream.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: autoconf, doxygen, apr-devel >= 1.2.0
- BuildRequires: libdb-devel, expat-devel, libuuid-devel
- BuildRequires: libpq-devel
- BuildRequires: libmariadb-devel
- BuildRequires: zlib-devel
- BuildRequires: sqlite3-devel
- BuildRequires: unixODBC-devel
- BuildRequires: openldap-devel
- Conflicts: subversion < 0.20.1-2
- Obsoletes: apache2-apr
- %description
- The mission of the Apache Portable Runtime (APR) is to provide a
- free library of C data structures and routines. This library
- contains additional utility interfaces for APR; including support
- for XML, LDAP, database interfaces, URI parsing and more.
- %package devel
- Summary: APR utility library development kit
- Summary(ja): APR ユーティリティライブラリ開発キット
- Group: programming
- Requires: apr-util = %{version}-%{release}, apr-devel, pkgconfig
- Requires: openldap-devel, libdb-devel, expat-devel
- Conflicts: subversion-devel < 0.20.1-2
- Obsoletes: apache2-apr-devel
- %description devel
- This package provides the support files which can be used to
- build applications using the APR utility library. The mission
- of the Apache Portable Runtime (APR) is to provide a free
- library of C data structures and routines.
- %package pgsql
- Summary: APR utility library PostgreSQL DBD driver
- Group: system
- Requires: apr-util = %{version}-%{release}
- %description pgsql
- This package provides the PostgreSQL driver for the apr-util
- DBD (database abstraction) interface.
- %package bdb
- Summary: APR utility library Berkeley DB driver
- Group: system
- Requires: apr-util%{?_isa} = %{version}-%{release}
- %description bdb
- This package provides the Berkeley DB driver for the apr-util
- DBM (database abstraction) interface.
- %package mysql
- Summary: APR utility library MySQL DBD driver
- Group: system
- Requires: apr-util = %{version}-%{release}
- %description mysql
- This package provides the MySQL driver for the apr-util DBD
- (database abstraction) interface.
- %package sqlite
- Summary: APR utility library SQLite DBD driver
- Group: system
- Requires: apr-util = %{version}-%{release}
- %description sqlite
- This package provides the SQLite driver for the apr-util DBD
- (database abstraction) interface.
- #%package freetds
- #Group: Development/Libraries
- #Summary: APR utility library FreeTDS DBD driver
- #BuildRequires: freetds-devel
- #Requires: apr-util = %{version}-%{release}
- #%description freetds
- #This package provides the FreeTDS driver for the apr-util DBD
- #(database abstraction) interface.
- %package odbc
- Summary: APR utility library ODBC DBD driver
- Group: system
- Requires: apr-util = %{version}-%{release}
- %description odbc
- This package provides the ODBC driver for the apr-util DBD
- (database abstraction) interface.
- %package ldap
- Summary: APR utility library LDAP support
- Group: system
- Requires: apr-util = %{version}-%{release}
- %description ldap
- This package provides the LDAP support for the apr-util.
- %debug_package
- %prep
- %setup -q
- %patch1 -p1 -b .pkgconf
- %patch2 -p1 -b .r1894933
- %patch4 -p1 -b .private
- %patch5 -p1 -b .mariadb
- %build
- autoheader && autoconf
- export ac_cv_ldap_set_rebind_proc_style=three
- %configure --with-apr=%{_prefix} \
- --includedir=%{_includedir}/apr-%{apuver} \
- --with-ldap=ldap --without-gdbm \
- --with-sqlite3 --with-pgsql --with-mysql --with-odbc \
- --with-dbm=db5 --with-berkeley-db \
- --without-sqlite2
- # --disable-util-dso
- make %{?_smp_mflags} && make dox
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- mkdir -p $RPM_BUILD_ROOT/%{_datadir}/aclocal
- install -m 644 build/find_apu.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal
- # Documentation
- rm -rf html
- mkdir -p html
- cp -pr docs/dox/html/* html
- # Unpackaged files; remove the static libaprutil
- rm -f $RPM_BUILD_ROOT%{_libdir}/aprutil.exp \
- $RPM_BUILD_ROOT%{_libdir}/libapr*.a
- # remove *.la
- rm -f $RPM_BUILD_ROOT%{_libdir}/libapr*.la
- # And remove the reference to the static libaprutil from the .la
- # file.
- #sed -i '/^old_library/s,libapr.*\.a,,' \
- # $RPM_BUILD_ROOT%{_libdir}/libapr*.la
- # Remove unnecessary exports from dependency_libs
- #sed -ri '/^dependency_libs/{s,-l(pq|sqlite[0-9]|rt|dl|uuid) ,,g}' \
- # $RPM_BUILD_ROOT%{_libdir}/libapr*.la
- # Trim libtool DSO cruft
- rm -f $RPM_BUILD_ROOT%{_libdir}/apr-util-%{apuver}/*.*a
- %check
- # Run the less verbose test suites
- export MALLOC_CHECK_=2 MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
- cd test
- make %{?_smp_mflags} testall
- # testall breaks with DBD DSO; ignore
- export LD_LIBRARY_PATH="`echo "../dbm/.libs:../dbd/.libs:../ldap/.libs:$LD_LIBRARY_PATH" | sed -e 's/::*$//'`"
- ./testall -v -q || true
- ./testall testrmm
- ./testall testdbm
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %license LICENSE
- %doc CHANGES NOTICE
- %{_libdir}/libaprutil-%{apuver}.so.*
- %dir %{_libdir}/apr-util-%{apuver}
- %files devel
- %defattr(-,root,root,-)
- %{_bindir}/apu-%{apuver}-config
- #{_libdir}/libaprutil-%{apuver}.a
- %{_libdir}/libaprutil-%{apuver}.so
- %{_includedir}/apr-%{apuver}/*.h
- %{_libdir}/pkgconfig/*.pc
- %{_datadir}/aclocal/*.m4
- %files pgsql
- %defattr(-,root,root,-)
- %{_libdir}/apr-util-%{apuver}/apr_dbd_pgsql*
- %files bdb
- %{_libdir}/apr-util-%{apuver}/apr_dbm_db*
- %files mysql
- %defattr(-,root,root,-)
- %{_libdir}/apr-util-%{apuver}/apr_dbd_mysql*
- %files sqlite
- %defattr(-,root,root,-)
- %{_libdir}/apr-util-%{apuver}/apr_dbd_sqlite*
- #files freetds
- #defattr(-,root,root,-)
- #{_libdir}/apr-util-%{apuver}/apr_dbd_freetds*
- %files odbc
- %defattr(-,root,root,-)
- %{_libdir}/apr-util-%{apuver}/apr_dbd_odbc*
- %files ldap
- %defattr(-,root,root,-)
- %{_libdir}/apr-util-%{apuver}/apr_ldap*
- %changelog
- * Fri Nov 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.1-3
- - dropped ldconfig scriptlets.
- * Wed Aug 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.1-2
- - rebuilt with current environment.
- * Sun Nov 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.1-1
- - updated to 1.6.1.
- - dropped Patch2.
- - imported Patch5 from rawhide to build with libmariadb.
- - made BerkeleyDB to be dynamically linked.
- * Mon May 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-1
- - updated to 1.5.4.
- * Tue Jul 22 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.5.3-2
- - add BR: libpq-devel instead of postgresql-devel
- * Thu May 22 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.3-1
- - update to 1.5.3
- - add BR: libdb-devel, libmysqlclient-devel
- - remove BR: db4-devel, MySQL-devel
- * Sat Oct 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.12-1
- - new upstream release
- - rebuilt with MySQL-5.5.15
- * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 1.3.9-7
- - rebuilt with postgresql-9.0.3
- * Sat Apr 9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.9-6
- - rebuilt with unixODBC-2.2.14
- * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 1.3.9-5
- - rebuilt with rpm-4.8.1 for pkg-config
- * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.9-4
- - rebuilt with gcc-4.4.3-3 on ppc
- * Fri Feb 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.9-3
- - rebuilt with rpm-4.8.0-3 (on ppc)
- * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-2
- - rebuild with db4-4.8.0
- * Sat Jan 9 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.9-1
- - new upstream release
- - dropped Patch100, 110, 120 and 130 (merged into upstream)
- - added BR: zlib-devel
- * Mon Aug 10 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.4-5
- - add Patch130 for fix CVE-2009-2412 (IOF apr_rmm_malloc)
- - This patch is included in 1.3.9
- * Thu Jun 11 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.4-4
- - add patch100 for fix CVE-2009-0023
- - add patch110 for fix CVE-2009-1955
- - add patch120 for fix CVE-2009-1956
- - These patches are included in 1.3.7 or later
- * Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.4-3
- - rebuilt with MySQL-5.1.34.
- * Thu Apr 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.4-2
- - rebuilt with openldap-2.4.11
- * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.4-1vl5
- - new upstream release
- - split out DBD drivers and ldap support into subpackage
- * Fri Jun 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.0-1vl5
- - new upstream release
- - built with db-4.6.21
- * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.12-2vl5
- - removed *.la files from devel package
- * Sat Apr 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.12-1vl5
- - new upstream release
- - added Patch3 from Fedora Core
- * Fri Mar 23 2007 Joe Orton <jorton@redhat.com> 1.2.8-6
- - add DBD DSO lifetime fix (r521327)
- * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.10-0vl2
- - rebuild with expat-2.0.1
- * Sat Sep 29 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.10-0vl1
- - new upstream release
- * Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.8-0vl2
- - rebuilt with new toolchain
- * Sat Jan 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.8-0vl1
- - new upstream release
- - dropped Patch1 (merged into upstream)
- * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.7-0vl2
- - rebuilt with openldap-2.3.27-0vl1
- * Mon May 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.7-0vl1
- - initial build for Vine Linux based on FC package
- * Tue May 2 2006 Joe Orton <jorton@redhat.com> 1.2.7-2
- - update to 1.2.7
- - use pkg-config in apu-1-config to make it libdir-agnostic
- * Thu Apr 6 2006 Joe Orton <jorton@redhat.com> 1.2.6-2
- - update to 1.2.6
- - define LDAP_DEPRECATED in apr_ldap.h (r391985, #188073)
- * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.2-4.2
- - bump again for double-long bug on ppc(64)
- * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.2-4.1
- - rebuilt for new gcc4.1 snapshot and glibc changes
- * Mon Jan 30 2006 Joe Orton <jorton@redhat.com> 1.2.2-4
- - rebuild to drop reference to libexpat.la
- * Wed Jan 18 2006 Joe Orton <jorton@redhat.com> 1.2.2-3
- - disable sqlite2 support
- - BuildRequire e2fsprogs-devel
- - enable malloc paranoia in %%check
- * Tue Jan 3 2006 Jesse Keating <jkeating@redhat.com> 1.2.2-2.2
- - rebuilt again
- * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- - rebuilt
- * Tue Dec 6 2005 Joe Orton <jorton@redhat.com> 1.2.2-2
- - trim exports from .la file/--libs output (#174924)
- * Fri Nov 25 2005 Joe Orton <jorton@redhat.com> 1.2.2-1
- - update to 1.2.2
- * Thu Oct 20 2005 Joe Orton <jorton@redhat.com> 0.9.7-3
- - fix epoch again
- * Thu Oct 20 2005 Joe Orton <jorton@redhat.com> 0.9.7-2
- - update to 0.9.7
- - drop static libs (#170051)
- * Tue Jul 26 2005 Joe Orton <jorton@redhat.com> 0.9.6-3
- - add FILE bucket fix for truncated files (#159191)
- - add epoch to dependencies
- * Fri Mar 4 2005 Joe Orton <jorton@redhat.com> 0.9.6-2
- - rebuild
- * Wed Feb 9 2005 Joe Orton <jorton@redhat.com> 0.9.6-1
- - update to 0.9.6
- * Wed Jan 19 2005 Joe Orton <jorton@redhat.com> 0.9.5-3
- - restore db-4.3 detection lost in 0.9.5 upgrade
- * Wed Jan 19 2005 Joe Orton <jorton@redhat.com> 0.9.5-2
- - rebuild
- * Mon Nov 22 2004 Joe Orton <jorton@redhat.com> 0.9.5-1
- - update to 0.9.5
- * Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 0.9.4-19
- - actually explicitly check for and detect db-4.3.
- * Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 0.9.4-18
- - rebuild against db-4.3.21.
- * Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 0.9.4-17
- - add security fix for CAN-2004-0786
- * Sat Jun 19 2004 Joe Orton <jorton@redhat.com> 0.9.4-16
- - have -devel require matching release of apr-util
- * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- - rebuilt
- * Thu Apr 1 2004 Joe Orton <jorton@redhat.com> 0.9.4-14
- - fix use of SHA1 passwords (#119651)
- * Tue Mar 30 2004 Joe Orton <jorton@redhat.com> 0.9.4-13
- - remove fundamentally broken check_sbcs() from xlate code
- * Fri Mar 19 2004 Joe Orton <jorton@redhat.com> 0.9.4-12
- - tweak xlate fix
- * Fri Mar 19 2004 Joe Orton <jorton@redhat.com> 0.9.4-11
- - rebuild with xlate fixes and tests enabled
- * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> 0.9.4-10.1
- - rebuilt
- * Tue Mar 2 2004 Joe Orton <jorton@redhat.com> 0.9.4-10
- - rename sdbm_* symbols to apu__sdbm_*
- * Mon Feb 16 2004 Joe Orton <jorton@redhat.com> 0.9.4-9
- - fix sdbm apr_dbm_exists() on s390x/ppc64
- * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 0.9.4-8
- - rebuilt
- * Thu Feb 5 2004 Joe Orton <jorton@redhat.com> 0.9.4-7
- - fix warnings from use of apr_optional*.h with gcc 3.4
- * Thu Jan 29 2004 Joe Orton <jorton@redhat.com> 0.9.4-6
- - drop gdbm support
- * Thu Jan 8 2004 Joe Orton <jorton@redhat.com> 0.9.4-5
- - fix DB library detection
- * Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 0.9.4-4
- - rebuild against db-4.2.52.
- * Mon Oct 13 2003 Jeff Johnson <jbj@jbj.org> 0.9.4-3
- - rebuild against db-4.2.42.
- * Mon Oct 6 2003 Joe Orton <jorton@redhat.com> 0.9.4-2
- - fix 'apu-config --apu-la-file' output
- * Mon Oct 6 2003 Joe Orton <jorton@redhat.com> 0.9.4-1
- - update to 0.9.4.
- * Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.9.3-10
- - rebuild
- * Mon Jul 7 2003 Joe Orton <jorton@redhat.com> 0.9.3-9
- - rebuild
- - don't run testuuid test because of #98677
- * Thu Jul 3 2003 Joe Orton <jorton@redhat.com> 0.9.3-8
- - rebuild
- * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- - rebuilt
- * Tue May 20 2003 Joe Orton <jorton@redhat.com> 0.9.3-6
- - fix to detect crypt_r correctly (CAN-2003-0195)
- * Thu May 15 2003 Joe Orton <jorton@redhat.com> 0.9.3-5
- - fix to try linking against -ldb first (#90917)
- - depend on openldap, gdbm, db4, expat appropriately.
- * Tue May 13 2003 Joe Orton <jorton@redhat.com> 0.9.3-4
- - rebuild
- * Wed May 7 2003 Joe Orton <jorton@redhat.com> 0.9.3-3
- - make devel package conflict with old subversion-devel
- - run the less crufty parts of the test suite
- * Tue Apr 29 2003 Joe Orton <jorton@redhat.com> 0.9.3-2
- - run ldconfig in post/postun
- * Mon Apr 28 2003 Joe Orton <jorton@redhat.com> 0.9.3-1
- - initial build
|