diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:30:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:30:05 +0000 |
commit | dc8ec1eff31fb28d46ce91a3d4156d6babd628f9 (patch) | |
tree | 6de37370bf2d3fda32c42472360e7fc01aa1f879 /debian/patches/avoid_ldap_by_defaut.patch | |
parent | Adding upstream version 1.6.3. (diff) | |
download | apr-util-dc8ec1eff31fb28d46ce91a3d4156d6babd628f9.tar.xz apr-util-dc8ec1eff31fb28d46ce91a3d4156d6babd628f9.zip |
Adding debian version 1.6.3-1.debian/1.6.3-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/avoid_ldap_by_defaut.patch')
-rw-r--r-- | debian/patches/avoid_ldap_by_defaut.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/avoid_ldap_by_defaut.patch b/debian/patches/avoid_ldap_by_defaut.patch new file mode 100644 index 0000000..d3377d9 --- /dev/null +++ b/debian/patches/avoid_ldap_by_defaut.patch @@ -0,0 +1,34 @@ +From: Ryan Niebur <ryanryan52@gmail.com> +Subject: by default --avoid-ldap since apache2 is the only user, and we don't + want to add extra dependencies to other apr-utils rdepends + +--- apr-util.orig/apu-config.in ++++ apr-util/apu-config.in +@@ -30,7 +30,8 @@ includedir="@includedir@" + LIBS="@APRUTIL_EXPORT_LIBS@" + INCLUDES="@APRUTIL_INCLUDES@" + LDFLAGS="@APRUTIL_LDFLAGS@" +-LDAP_LIBS="@LDADD_ldap@" ++ORIG_LDAP_LIBS="@LDADD_ldap@" ++LDAP_LIBS="" + DBM_LIBS="@LDADD_dbm_db@ @LDADD_dbm_gdbm@ @LDADD_dbm_ndbm@" + + APRUTIL_LIBNAME="@APRUTIL_LIBNAME@" +@@ -55,7 +56,7 @@ Known values for OPTION are: + --includedir print location where headers are installed + --ldflags print linker flags + --libs print library information +- --avoid-ldap do not include ldap library information with --libs ++ --avoid-ldap do not include ldap library information with --libs (default on Debian) + --ldap-libs print library information to link with ldap + --avoid-dbm do not include DBM library information with --libs + --dbm-libs print additional library information to link with DBM +@@ -121,7 +122,7 @@ while test $# -gt 0; do + flags="$flags $LDAP_LIBS $DBM_LIBS $LIBS" + ;; + --ldap-libs) +- flags="$flags $LDAP_LIBS" ++ flags="$flags $ORIG_LDAP_LIBS" + ;; + --dbm-libs) + flags="$flags $DBM_LIBS" |