0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 00:10:52 +00:00
termux-packages/packages/krb5/plugins-kdb-db2.patch
Vishal Biswas 0812ad2a2c Krb5 (#893)
* libdb: enable 1.85 compat api for krb5

* krb5: improve package

remove dependency on c-ares
use external shared libdb
use sample confs for defaults
provide check_krb5 aclocal
fix krb5-config --libs

* krb5: change defaults in kdc.conf
2017-04-02 17:06:58 +02:00

45 lines
1.2 KiB
Diff

--- ./plugins/kdb/db2/policy_db.h 2017-03-03 03:36:02.000000000 +0530
+++ ../policy_db.h 2017-04-02 09:46:43.244368060 +0530
@@ -30,7 +30,7 @@
where we find u_int32_t. */
#include <gssrpc/types.h>
#include <gssrpc/xdr.h>
-#include <db.h>
+#include <db_185.h>
#include "adb_err.h"
#include <com_err.h>
--- ./plugins/kdb/db2/adb_openclose.c 2017-03-03 03:36:02.000000000 +0530
+++ ../adb_openclose.c 2017-04-02 09:50:13.854729855 +0530
@@ -11,7 +11,7 @@
#include <unistd.h>
#include "policy_db.h"
#include <stdlib.h>
-#include <db.h>
+#include <db_185.h>
struct _locklist {
osa_adb_lock_ent lockinfo;
--- ./plugins/kdb/db2/db2_exp.c 2017-03-03 03:36:02.000000000 +0530
+++ ../db2_exp.c 2017-04-02 09:51:07.528042151 +0530
@@ -38,7 +38,7 @@
#include <unistd.h>
#endif
-#include <db.h>
+#include <db_185.h>
#include <stdio.h>
#include <errno.h>
#include <utime.h>
--- ./plugins/kdb/db2/kdb_db2.c 2017-03-03 03:36:02.000000000 +0530
+++ ../kdb_db2.c 2017-04-02 09:52:14.924568844 +0530
@@ -57,7 +57,7 @@
#include <unistd.h>
#endif
-#include <db.h>
+#include <db_185.h>
#include <stdio.h>
#include <errno.h>
#include <utime.h>