# -*- coding: ascii; tab-width: 4 -*- Package: libapr.0-shlibs Version: 1.7.4 Revision: 1 BuildDepends: pkgconfig, autoconf2.6 Replaces: libapr0-shlibs # a transient libapr0-shlibs accidentally installed something else at the install_name location Source: mirror:apache:apr/apr-%v.tar.bz2 Source-Checksum: SHA256(fc648de983f3a2a6c9e78dea1f180639bd2fad6c06d556d4367a701fe5c35577) PatchFile: %n.patch PatchFile-MD5: d1b42884a3862afa1c4a9b32ac9be676 PatchScript: << %{default_script} autoconf ### Fix layout perl -pi -e 's,/usr/local,%p,g' config.layout # Patch configure to detect pid_t_fmt on Big Sur (https://bz.apache.org/bugzilla/show_bug.cgi?id=64753) perl -pi -e 's|(^#ifdef WIN32)|#ifdef HAVE_STDLIB_H\n#include \n#endif\n$1|;' configure # Patch apr_want.h to avoid duplicate definition of struct iovec on Big Sur perl -pi -e 's|(.if)(ndef )(APR_IOVEC_DEFINED)|$1 !defined($3) && !defined(_STRUCT_IOVEC)|' include/apr_want.h << UseMaxBuildJobs: false ConfigureParams: << --enable-layout=GNU \ --enable-shared \ --disable-static \ --enable-threads \ --with-pic \ --includedir=%p/include/apr \ --with-installbuilddir=%p/share/apr/build \ SED=/usr/bin/sed \ lt_cv_path_SED=/usr/bin/sed \ AWK=/usr/bin/awk << NoSetCPPFLAGS: true NoSetLDFLAGS: true CompileScript: << ./configure %c make << InstallScript: << make install DESTDIR=%d rm %i/lib/apr.exp cd %i/lib && ln -s libapr.0.dylib libapr-1.dylib << DocFiles: CHANGES LICENSE NOTICE README Shlibs: << %p/lib/libapr.0.dylib 8.0.0 %n (>= 1.7.0-1) << SplitOff: << Package: libapr.0-dev Depends: %N (= %v-%r) Conflicts: apr-common (<< 1:0-0), apr-ssl-common (<< 1:0-0), apr-dev, apr-ssl-dev (<< 1:0-0), apr (<< 1:0-0), apr-ssl (<< 1:0-0), libapr-dev (<< 1:0-0) Replaces: apr-common (<< 1:0-0), apr-ssl-common (<< 1:0-0), apr-dev, apr-ssl-dev (<< 1:0-0), apr (<< 1:0-0), apr-ssl (<< 1:0-0), libapr-dev (<< 1:0-0) BuildDependsOnly: True Description: Headers and static libraries for APR Files: << bin share/apr include lib/libapr.la lib/libapr-1.dylib lib/libapr.dylib lib/pkgconfig << DocFiles: CHANGES LICENSE NOTICE README << Description: Apache Portable Runtime 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: << You may need to force this update since apr and apr-util are now seperate packages it caused an upgrade issue. The easiest way is to run sudo dpkg --force-all --remove aprutil-dev libaprutil0-shlibs This may break apache2 temporarily. << DescPackaging: << Previously maintained by Justin F. Hallett As of 1.4.8-1 headers have been moved from %p/include/apache2 to %p/include/apr to avoid conflicts with newer apaches. *Always* use apr-1-config to get the include directory! << License: BSD Maintainer: Daniel Johnson Homepage: https://apr.apache.org/ InfoTest: TestScript: make check || exit 2