Commit Graph

24 Commits

Author SHA1 Message Date
krant 55abc039ff apr-util: update to 1.6.3
- Remove upstreamed patches
- Fix OS path leak in iconv configure script

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-07 14:00:33 -08:00
Michal Vasilek bd9e119d68 apr-util: disable parallel build
Build reliably fails with -j20

    crypto/apr_passwd.c:200:1: fatal error: error closing -: Broken pipe
      200 | }
          | ^
    compilation terminated.

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-12-16 20:47:42 -08:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev 04b597a52d
apr-util: fix config file and install to proper location
This allows subversion to find it properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-08 16:56:00 -08:00
Sebastian Kemper 7582f7fca6 apache/apr/apr-util: remove maintainer
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-07-08 18:28:35 +02:00
Sebastian Kemper f6c218e74d apr-util: add configure vars
Adds configure variables for features that the compiler or the libc
supports and which cannot be detected by apr-util's configure script
when cross-compiling.

Also removes one call to INSTALL_DIR (no functional change here).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-04 21:55:38 +01:00
Sebastian Kemper c24f5d258b apr-util: workaround reconfigure issue
PKG_CONFIG_DEPENDS causes a rebuild when needed. Alas the apr-util build
system doesn't always work out the way OpenWrt intends it to. This was
found by pure chance. apr-util was in build directory without any
plugins selected. Then apache got selected, causing plugins to be
selected. So PKG_CONFIG_DEPENDS caused a reconfigure and another make in
apr-util. But afterward apache couldn't find symbols related to LDAP.

To workaround this add "clean" to make targets.

No rev bump because no change for the apr-util packages.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-30 22:01:04 +01:00
Sebastian Kemper a16b294805 apr-util: clean up InstallDev
This removes the ifneq in InstallDev, because the maintainers are likely
to forget to extend it when new plugins are added (this has already
occurred).

Also, this removes the la files, because OpenWrt won't allow them into
staging anyway.

No rev bump because meaningless for the apr-util packages.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-30 21:53:09 +01:00
Sebastian Kemper a62c0e599b apr-util: clean up Makefile and remove patch
- removes 001-automake-compat.patch:
  Looks like this was meant as a workaround for a libtool issue. But it
  doesn't appear to be needed anymore.

- cleans up installation defines (uses macros, cleans up sed scripts,
  removes gratuitous slashes & whitespaces)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-26 19:00:48 +01:00
Sebastian Kemper ea5b746e58 apr-util: prevent recursive linking
004-avoid_ldap_by_defaut.patch:
 By default use --avoid-ldap since apache2 is the only user, and we don't
 want to add extra dependencies to other apr-utils rdepends. Patch from
 Ryan Niebur <ryanryan52@gmail.com>, copied from Debian.

005-apu_config_dont_list_indep_libs.patch:
 Prevent recursive linking of dependent libraries by apr-util users.
 Patch from Peter Samuelson <peter@p12n.org>, also copied from Debian.
 Makes libexpat and libiconv private.

006-avoid_db_by-default.patch:
 Make apu-config not output dbm libs by default. See Debian #622081.
 Patch from Stefan Fritsch <sf@debian.org>, also copied from Debian

While bumping the revision also correct license information.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-15 19:27:19 +01:00
Sebastian Kemper 1d25dcde24 apr-util: add mariadb patch
Patch by Kris Karas from
https://bz.apache.org/bugzilla/attachment.cgi?id=35326&action=diff

This patch is also used by Debian.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-13 21:40:02 +01:00
Sebastian Kemper 40c7e95210 apr/apr-util: add myself as maintainer
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-12 22:30:32 +01:00
Sebastian Kemper 141bd55316 apr-util: add drivers
This adds the following drivers as extra packages:

- openssl
- mysql
- odbc
- pgsql
- sqlite3
- gdbm (dbm)
- ldap

This also removes the gratuitous dependency on libsqlite3 from
libaprutil (dbd_sqlite3 was nevery packaged before, after all).

With this ldap and session-crypto support can be enabled in apache.

The mysql driver is currently marked BROKEN, because apr-util still uses
mysql server headers, which aren't part of mariadb-connector-c. But
there's work underway at apr-util upstream to fix that so that BROKEN
can be removed during a feature version bump.

The gdbm dbm driver got added together with a patch that fixes the error
handling. Patch is from Debian.

Resolves #10886

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-06 13:10:26 +01:00
Sebastian Kemper 03124bf4b4 apr-util: allow iconv-stub use
Allow iconv-stub use when NLS support is disabled.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-30 19:06:36 +01:00
Sebastian Kemper 27c4723936 apr-util: clean up the package
- removes extra flags '$(FPIC)' etc., there is no good reason for them
  being used
- stops removing aclocal.m4 and build/ltmain.sh (reason of removal of
  these files is not apparent anymore)
- adds PKG_BUILD_PARALLEL:=1

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-30 19:02:19 +01:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Rosen Penev c235c21a93
apr-util: Update to 1.6.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-06-09 14:56:37 -07:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Thomas Heil 5ce39d8c90 apr-util: bump to 1.6.0
Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2017-08-17 01:16:57 +02:00
Don Rumata 5b65fbcc65 remove unnecessary libiconv dependencies
The compiled libaprutil library contains references to libiconv,
libiconv_open and libiconv_close functions from the full gettext
package even when the full gettext support is disabled (i.e. the
CONFIG_BUILD_NLS configuration parameter is not set). The dependency
on these ICONV functions breaks compilation of some packages that
depend on libaprutil, such as subversion:

<targetdir>/usr/lib/libaprutil-1.so: undefined reference to `libiconv'
<targetdir>/usr/lib/libaprutil-1.so: undefined reference to `libiconv_open'
<targetdir>/usr/lib/libaprutil-1.so: undefined reference to `libiconv_close'

Signed-off-by: Don Rumata <don.rumata.vk@gmail.com>
2016-02-18 15:23:11 -05:00
Heinrich Schuchardt ca2e6c20ab libs/apr-util: use @APACHE download facility
Instead of explicitly specyfing an Apache mirror use the
@APACHE download facility.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-01-17 19:24:32 +01:00
Thomas Heil 4ab4cf2d4f apr-util 1.5.3 is no longer hosted on biblio.org.
- Get it from archive.apache.org.

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2014-10-07 20:58:04 +02:00
Jiri Slachta d52532c198 apr-util: update to 1.5.4
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-09-27 16:35:09 +02:00
Thomas Heil b272f84c1e apr-util: import from oldpackages, add myself as maintainer, add license
information, update source-url update to v1.5.3

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2014-07-12 13:39:14 +02:00