git: 6716e92f7676 - main - security/krb5-devel: update to the latest MIT/KRB5 github commit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Jul 2023 16:38:30 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6716e92f7676dfac7e0108c65ffcd654151ebcde
commit 6716e92f7676dfac7e0108c65ffcd654151ebcde
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-07-31 16:25:01 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-07-31 16:38:10 +0000
security/krb5-devel: update to the latest MIT/KRB5 github commit
-Wstrict-prototypes is temporarily disabled as it is expected that
our upstream will fix these errors as they discover them. This is
in fact their development branch -- they enable all warning errors
in their developtment branch but not in their release tarballs.
---
security/krb5-devel/Makefile | 4 ++--
security/krb5-devel/distinfo | 6 +++---
security/krb5-devel/files/patch-aclocal.m4 | 11 +++++++++++
security/krb5-devel/files/patch-util_et_Makefile.in | 11 +++++++++++
4 files changed, 27 insertions(+), 5 deletions(-)
diff --git a/security/krb5-devel/Makefile b/security/krb5-devel/Makefile
index df73eef1766d..cfda5ca3a3a0 100644
--- a/security/krb5-devel/Makefile
+++ b/security/krb5-devel/Makefile
@@ -4,8 +4,8 @@ CATEGORIES= security
.if !defined(MASTERDIR)
PKGNAMESUFFIX= -devel
.endif
-HASH= 0f870b1bc
-MIT_COMMIT_DATE= 2023.07.17
+HASH= 0ceab6c36
+MIT_COMMIT_DATE= 2023.07.27
PATCH_SITES= http://web.mit.edu/kerberos/advisories/
PATCH_DIST_STRIP= -p2
diff --git a/security/krb5-devel/distinfo b/security/krb5-devel/distinfo
index 320edcfd50ee..eb1bffc5cb2c 100644
--- a/security/krb5-devel/distinfo
+++ b/security/krb5-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1689605449
-SHA256 (krb5-krb5-1.22.2023.07.17-0f870b1bc_GH0.tar.gz) = 0be6de4831b20e3f929a886970a9443349c747cda388f5c45de43bd527cec017
-SIZE (krb5-krb5-1.22.2023.07.17-0f870b1bc_GH0.tar.gz) = 5115243
+TIMESTAMP = 1690817404
+SHA256 (krb5-krb5-1.22.2023.07.27-0ceab6c36_GH0.tar.gz) = 10d8e50125ca3f7dbc10c6b8bb59686d3098bc679d3a26032ddf403148070b84
+SIZE (krb5-krb5-1.22.2023.07.27-0ceab6c36_GH0.tar.gz) = 5111260
diff --git a/security/krb5-devel/files/patch-aclocal.m4 b/security/krb5-devel/files/patch-aclocal.m4
new file mode 100644
index 000000000000..28eb4173caeb
--- /dev/null
+++ b/security/krb5-devel/files/patch-aclocal.m4
@@ -0,0 +1,11 @@
+--- aclocal.m4.orig 2023-07-27 14:09:54.000000000 -0700
++++ aclocal.m4 2023-07-31 09:20:10.684567000 -0700
+@@ -545,7 +545,7 @@
+ TRY_WARN_CC_FLAG(-Wno-format-zero-length)
+ # Other flags here may not be supported on some versions of
+ # gcc that people want to use.
+- for flag in overflow strict-overflow missing-format-attribute missing-prototypes return-type missing-braces parentheses switch unused-function unused-label unused-variable unused-value unknown-pragmas sign-compare newline-eof error=uninitialized no-maybe-uninitialized error=pointer-arith error=int-conversion error=incompatible-pointer-types error=discarded-qualifiers error=implicit-int error=strict-prototypes; do
++ for flag in overflow strict-overflow missing-format-attribute missing-prototypes return-type missing-braces parentheses switch unused-function unused-label unused-variable unused-value unknown-pragmas sign-compare newline-eof error=uninitialized no-maybe-uninitialized error=pointer-arith error=int-conversion error=incompatible-pointer-types error=discarded-qualifiers error=implicit-int; do
+ TRY_WARN_CC_FLAG(-W$flag)
+ done
+ # old-style-definition? generates many, many warnings
diff --git a/security/krb5-devel/files/patch-util_et_Makefile.in b/security/krb5-devel/files/patch-util_et_Makefile.in
new file mode 100644
index 000000000000..d0e2b76b30fd
--- /dev/null
+++ b/security/krb5-devel/files/patch-util_et_Makefile.in
@@ -0,0 +1,11 @@
+--- util/et/Makefile.in.orig 2023-07-27 14:09:54.000000000 -0700
++++ util/et/Makefile.in 2023-07-31 09:19:14.036059000 -0700
+@@ -43,7 +43,7 @@
+ WFLAGS= -ansi -D_POSIX_SOURCE -pedantic \
+ -Wall -Wwrite-strings -Wpointer-arith \
+ -Wcast-qual -Wcast-align -Wtraditional \
+- -Wstrict-prototypes -Wmissing-prototypes \
++ -Wmissing-prototypes \
+ -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow
+
+ DEPLIBS=