summaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>2003-05-08 18:08:38 +0000
committerjwise <jwise@pkgsrc.org>2003-05-08 18:08:38 +0000
commit73357897ce1c988545fd14c8f2ad4a604e84690f (patch)
tree043c8fc785a69ac650374ea2288a785742a9b8a5 /security/sudo
parent45c06af189053b53e979c6394acc462092a6df65 (diff)
downloadpkgsrc-73357897ce1c988545fd14c8f2ad4a604e84690f.tar.gz
Add patch from lha@netbsd.org to fix build when KERBEROS == 5.
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/distinfo3
-rw-r--r--security/sudo/patches/patch-ab15
2 files changed, 17 insertions, 1 deletions
diff --git a/security/sudo/distinfo b/security/sudo/distinfo
index bcb3e6a6734..e607a0eaeb8 100644
--- a/security/sudo/distinfo
+++ b/security/sudo/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.16 2003/05/03 18:27:46 jmmv Exp $
+$NetBSD: distinfo,v 1.17 2003/05/08 18:08:38 jwise Exp $
SHA1 (sudo-1.6.7p4.tar.gz) = e8feb075f09c48ee0d7b5d9e7d5f67f068a5b690
Size (sudo-1.6.7p4.tar.gz) = 349533 bytes
SHA1 (patch-aa) = 23c35edd2aad78cc94881a8b03e2ade66dc7c993
+SHA1 (patch-ab) = 08cd6169b90b58474226561916343e37e5989ef7
SHA1 (patch-af) = 33ed24f6c812f3a2fc5fead32352d0dbf199b248
SHA1 (patch-ag) = 40b6a5a97f6bed16248cb2c1d94ce7f42aba9b2a
diff --git a/security/sudo/patches/patch-ab b/security/sudo/patches/patch-ab
new file mode 100644
index 00000000000..fcb69ee949a
--- /dev/null
+++ b/security/sudo/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.7 2003/05/08 18:08:38 jwise Exp $
+
+Broken macro
+
+--- auth/kerb5.c.old 2003-05-08 19:49:33.000000000 +0200
++++ auth/kerb5.c 2003-05-08 19:49:39.000000000 +0200
+@@ -73,7 +73,7 @@
+ #endif /* lint */
+
+ #ifdef HAVE_HEIMDAL
+-# define extract_name(c, p) krb5_principal_get_comp_string(c, p, 0);
++# define extract_name(c, p) krb5_principal_get_comp_string(c, p, 0)
+ # define krb5_free_data_contents(c, d) krb5_data_free(d)
+ # define ENCTYPE_DES_CBC_MD5 ETYPE_DES_CBC_MD5 /* XXX */
+ #else