2021-11-28 13:57:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.83 2021/11/28 12:57:05 he Exp $
|
2017-06-19 22:52:46 +02:00
|
|
|
#
|
|
|
|
# Take care, changelogs often include "PR 12345" strings
|
|
|
|
# which cause GNATS indigestion.
|
2004-11-23 01:02:49 +01:00
|
|
|
|
apr: update to 1.7.0.
Changes for APR 1.7.0
*) apr_dir_read: [Unix] Dropped the preference of the dirread_r() flavor
for dirread(), because the former is both deprecated and unneeded.
[Yann Ylavic, William Rowe]
*) apr_file_info: [Win32 only] Treat only "name surrogate" reparse points
as symlinks, and not other reparse tag types. bug 47630
[Oleg Liatte <olegliatte gmail.com>]
*) Test %ld vs. %lld to avoid compiler emits using APR_OFF_T_FMT, in the
case of apparently equivilant long and long long types. [William Rowe]
*) Recognize APPLE predefined macros as equivilant to DARWIN. [Jim Jagielski]
*) Signals: Allow handling of SIGUSR2 in apr_signal_thread. [Yann Ylavic]
*) Atomics: Support for 64bit ints. [Jim Jagielski]
*) Add the apr_encode_* API that implements RFC4648 and RFC7515
compliant BASE64, BASE64URL, BASE32, BASE32HEX and BASE16
encode/decode functions. [Graham Leggett]
*) rand: Use arc4random_buf() on BSD platforms and getrandom() on Linux,
when available. [Christian Weisgerber <naddy openbsd.org, Yann Ylavic]
*) Add apr_sockaddr_zone_set, apr_sockaddr_zone_set to set and retrieve
the zone for link-local IPv6 addresses. [Joe Orton]
*) apr_sockaddr_equal: Compare link-local IPv6 addresses with different
zones as not equal. [Joe Orton]
*) apr_sockaddr_ip_getbuf, apr_sockaddr_ip_get: Append "%zone" for
IPv6 link-local addresses. [Joe Orton]
*) Locks: add a --disable-timedlocks config option in case users
encounter more platforms where it fails [Nick Kew].
*) apr_allocator, apr_pools: Add apr_allocator_page_size() and
apr_allocator_min_order_set() to respectively get the (system's) page size
in use and set the minimum allocation size for an allocator (expressed in
2^order pages). [Yann Ylavic]
*) locks: provide portable implementations of timedlock()s for
posix-sems, sysv-sems and pthreads for those platforms that
lack native versions (eg: OSX/macOS). [Jim Jagielski]
*) locks: Introduce apr_{thread,proc,global}_mutex_timedlock().
[Yann Ylavic]
2019-04-12 15:02:44 +02:00
|
|
|
DISTNAME= apr-1.7.0
|
2021-11-28 13:57:05 +01:00
|
|
|
PKGREVISION= 2
|
2003-05-25 10:55:18 +02:00
|
|
|
CATEGORIES= devel
|
2007-01-24 20:46:45 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=apr/}
|
2010-11-01 18:20:03 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2003-05-25 10:55:18 +02:00
|
|
|
|
2007-05-22 12:53:20 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-19 00:30:13 +01:00
|
|
|
HOMEPAGE= https://apr.apache.org/
|
2003-05-25 10:55:18 +02:00
|
|
|
COMMENT= Apache Portable Runtime
|
2009-06-08 16:23:10 +02:00
|
|
|
LICENSE= apache-2.0
|
2003-05-25 10:55:18 +02:00
|
|
|
|
2005-04-25 11:13:02 +02:00
|
|
|
USE_LIBTOOL= yes
|
2010-11-01 18:20:03 +01:00
|
|
|
USE_TOOLS+= pkg-config
|
2007-01-24 20:46:45 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= apr.pc.in
|
2010-11-01 18:20:03 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-devrandom=/dev/urandom
|
|
|
|
CONFIGURE_ARGS+= --with-installbuilddir=${PREFIX}/libexec/apr
|
2007-01-24 20:46:45 +01:00
|
|
|
CONFIGURE_ENV+= LIBS=${LIBS:M*:Q}
|
|
|
|
LIBS.SunOS+= -lnsl
|
2004-11-23 01:02:49 +01:00
|
|
|
|
2006-04-14 20:14:34 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2003-05-25 10:55:18 +02:00
|
|
|
post-install:
|
2006-10-09 14:52:34 +02:00
|
|
|
${RM} ${DESTDIR}${PREFIX}/libexec/apr/libtool
|
2010-11-01 18:20:03 +01:00
|
|
|
${INSTALL_SCRIPT} ${PKG_LIBTOOL} ${DESTDIR}${PREFIX}/libexec/apr/libtool
|
2006-10-05 19:05:59 +02:00
|
|
|
|
2011-12-02 08:13:28 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
|
2011-11-30 20:28:56 +01:00
|
|
|
.include "../../devel/libuuid/buildlink3.mk"
|
2011-12-02 08:13:28 +01:00
|
|
|
.endif
|
2003-05-25 10:55:18 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|