aboutsummaryrefslogtreecommitdiffstats
path: root/main/krb5
diff options
context:
space:
mode:
Diffstat (limited to 'main/krb5')
-rw-r--r--main/krb5/APKBUILD7
-rw-r--r--main/krb5/fix-includes.patch10
2 files changed, 16 insertions, 1 deletions
diff --git a/main/krb5/APKBUILD b/main/krb5/APKBUILD
index 061e981050..fbaebb5f1d 100644
--- a/main/krb5/APKBUILD
+++ b/main/krb5/APKBUILD
@@ -16,6 +16,8 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-server
source="http://web.mit.edu/kerberos/dist/krb5/1.11/krb5-$pkgver-signed.tar
mit-krb5-1.11_uninitialized.patch
mit-krb5_krb5-config_LDFLAGS.patch
+ fix-includes.patch
+
krb5kadmind.initd
krb5kdc.initd
krb5kpropd.initd
@@ -28,10 +30,10 @@ unpack() {
tar -zxf krb5-$pkgver.tar.gz
}
-
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -115,18 +117,21 @@ libs() {
md5sums="56f0ae274b285320b8a597cb89442449 krb5-1.11.3-signed.tar
597cd7ab74a8113b86e3405c15ccfecb mit-krb5-1.11_uninitialized.patch
656e242de9b5ada1edf398983db51eef mit-krb5_krb5-config_LDFLAGS.patch
+2ad9ee0493e4bc376e317d9f76202c75 fix-includes.patch
29906e70e15025dda8b315d8209cab4c krb5kadmind.initd
47efe7f24c98316d38ea46ad629b3517 krb5kdc.initd
3e0b8313c1e5bfb7625f35e76a5e53f1 krb5kpropd.initd"
sha256sums="9abd94bb94a70996da0f8d90408957154bb543271b097e86c63eb33e5f5751b5 krb5-1.11.3-signed.tar
81a0d432b6d1686587b25b6ce70f0b8558e0c693da4c63b9de881962ae01c043 mit-krb5-1.11_uninitialized.patch
9ebfc38cc167bbf451105807512845cd961f839d64b7e2904a6c4e722e41fe2b mit-krb5_krb5-config_LDFLAGS.patch
+2eaa327bb57408558ed20279b0ba8078c826210c861af0c83a0c22d26c9b1b3a fix-includes.patch
c7a1ec03472996daaaaf1a4703566113c80f72ee8605d247098a25a13dad1f5f krb5kadmind.initd
709309dea043aa306c2fcf0960e0993a6db540c220de64cf92d6b85f1cca23c5 krb5kdc.initd
86b15d691e32b331ac756ee368b7364de6ab238dcae5adfed2a00b57d1b64ef4 krb5kpropd.initd"
sha512sums="4d4c5d5c3a495da141bca40fe73378db190ace8ed397b7bb8e38c53757e6df3ec55fa0eb5628f7c6204d1265f8451535e65c4ebd844821c64cdfd0c6e32468a5 krb5-1.11.3-signed.tar
4d2ea5189971df13bf874d29bcf89fa3bfeb1d25b3bd9245ee7c88f5c4834e950c5978ce13df3b8fc05f98dd7d5510dad43af0440436958fa23f9e1a51f60f76 mit-krb5-1.11_uninitialized.patch
8118518e359cb5e69e3321b7438b200d5d74ceeac16b4623bf4e4bfb4ead6c656de6fa153f9bcc454097b45a512bc8cd0798b1f062a2c4a09f75253b204a7a17 mit-krb5_krb5-config_LDFLAGS.patch
+aa33bcd481f85f7456fe9cfaa3842d86a08d8cdc9c30523f7524586d706e9ad905c63f1514173a209a2fc1071443a5c23d530b0960d0d5e0a6c32133fb7a0e9a fix-includes.patch
561af06b4e0f0e130dda345ad934bcdb9984ec00cc38d871df1d3bb3f9e1c7d86f06db5b03229707c88b96ad324e3a2222420f8494aa431002cacea0246b1153 krb5kadmind.initd
d6d0076886ce284fc395fafc2dc253b4b3ee97b2986dea51388d96a1e1294680fb171f475efc7844559e2c6aac44b26678a9255921db9a58dcf2e7164f0aeec5 krb5kdc.initd
f97d33fa977c132a470d95fd539d8e8db018e03f28dbc9d3e04faf78ebb7392196e7d5135f138c2390979bf37b3ae0265e6827f0c17b44b277eb2dfff0a96f77 krb5kpropd.initd"
diff --git a/main/krb5/fix-includes.patch b/main/krb5/fix-includes.patch
new file mode 100644
index 0000000000..d5305ef689
--- /dev/null
+++ b/main/krb5/fix-includes.patch
@@ -0,0 +1,10 @@
+--- krb5-1.11.3.orig/src/lib/rpc/bindresvport.c
++++ krb5-1.11.3/src/lib/rpc/bindresvport.c
+@@ -40,6 +40,7 @@
+ #include <netinet/in.h>
+ #include <gssrpc/rpc.h>
+ #include <errno.h>
++#include <netdb.h>
+
+ /*
+ * Bind a socket to a privileged IP port