diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-02-08 10:39:38 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-02-08 10:39:38 +0200 |
commit | 008450c05a4e24e9be538c27f03082e4cdd5fbc3 (patch) | |
tree | f51d1a2860d8509d5fc07b4eb2fe61c96c03149c /main/openldap | |
parent | be0a2e91b79a77cda2e5953b4a14a6f056e19845 (diff) | |
download | aports-008450c05a4e24e9be538c27f03082e4cdd5fbc3.tar.bz2 aports-008450c05a4e24e9be538c27f03082e4cdd5fbc3.tar.xz |
main/openldap: fix crash with back-sql
Diffstat (limited to 'main/openldap')
-rw-r--r-- | main/openldap/APKBUILD | 3 | ||||
-rw-r--r-- | main/openldap/slapd-fix-back-sql.patch | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD index 4f173c1da4..5de7779377 100644 --- a/main/openldap/APKBUILD +++ b/main/openldap/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openldap pkgver=2.4.28 -pkgrel=2 +pkgrel=3 pkgdesc="LDAP Server" url="http://www.openldap.org/" arch="all" @@ -17,6 +17,7 @@ install="$pkgname.pre-install $pkgname.post-install" source="ftp://ftp.$pkgname.org/pub/OpenLDAP/$pkgname-release/$pkgname-$pkgver.tgz openldap-2.4-ppolicy.patch openldap-2.4.11-libldap_r.patch + slapd-fix-back-sql.patch slapd.initd slapd.confd slurpd.initd diff --git a/main/openldap/slapd-fix-back-sql.patch b/main/openldap/slapd-fix-back-sql.patch new file mode 100644 index 0000000000..4532f88027 --- /dev/null +++ b/main/openldap/slapd-fix-back-sql.patch @@ -0,0 +1,10 @@ +--- openldap-2.4.28/servers/slapd/back-sql/init.c.orig ++++ openldap-2.4.28/servers/slapd/back-sql/init.c +@@ -114,6 +114,7 @@ + } + + bd->be_private = bi; ++ bd->be_cf_ocs = bd->bd_info->bi_cf_ocs; + + Debug( LDAP_DEBUG_TRACE, "<==backsql_db_init()\n", 0, 0, 0 ); + |