git: d3ea761b291e - main - misc/codex: Update to 0.173.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Thu, 03 Dec 2026 03:05:09 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d3ea761b291eab81a9d05cc179f74a9e3e54e666

commit d3ea761b291eab81a9d05cc179f74a9e3e54e666
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-12-03 03:03:56 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-12-03 03:05:00 +0000

    misc/codex: Update to 0.173.0
    
    Changelog: https://github.com/openai/codex/releases/tag/rust-v0.173.0
    
    Reported by:    GitHub (watch releases)
---
 misc/codex/Makefile                                |  2 +-
 misc/codex/distinfo                                |  6 +++---
 misc/codex/files/patch-codex-rs_Cargo.lock         | 22 +++++++++++-----------
 misc/codex/files/patch-codex-rs_Cargo.toml         |  4 ++--
 .../files/patch-codex-rs_core_tests_suite_hooks.rs |  4 ++--
 .../patch-codex-rs_core_tests_suite_remote__env.rs |  8 ++++----
 .../codex/files/patch-codex-rs_features_src_lib.rs |  4 ++--
 7 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/misc/codex/Makefile b/misc/codex/Makefile
index 1abbe8aed75f..532fc35517ed 100644
--- a/misc/codex/Makefile
+++ b/misc/codex/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	codex
 DISTVERSIONPREFIX=	rust-v
-DISTVERSION=	0.172.0
+DISTVERSION=	0.173.0
 CATEGORIES=	misc devel
 DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${DISTFILE_DEFAULT} \
diff --git a/misc/codex/distinfo b/misc/codex/distinfo
index 1b763052e64f..fc366b343d81 100644
--- a/misc/codex/distinfo
+++ b/misc/codex/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1795742488
+TIMESTAMP = 1796259047
 SHA256 (codex/build-2c779f961da7f5632d6836113112179e67938868.tar.gz) = 1d63e74e909fcc1ae814eb928bb54dd210565c04d9432e3e4d338916e8b8cf36
 SIZE (codex/build-2c779f961da7f5632d6836113112179e67938868.tar.gz) = 1852097
 SHA256 (codex/buildtools-0d8a204ff274ee12fa9ace5e3ffd8e5fbcb54926.tar.gz) = adb9e0362be5924b57da9147d8605763526b11c9c5a84ca2b51c88326581e66b
@@ -2681,5 +2681,5 @@ SHA256 (codex/openai-oss-forks-crossterm-37ca4a27a9424ec5dbe6451f48c339d7b45f8d6
 SIZE (codex/openai-oss-forks-crossterm-37ca4a27a9424ec5dbe6451f48c339d7b45f8d63_GH0.tar.gz) = 162868
 SHA256 (codex/openai-oss-forks-rusty_v8-90a65f887a0c0f048f3784afbcb320b373c8a2e0_GH0.tar.gz) = b0b188d1f1d851abd78337818a28a15e84f143b082ce966976e9206617684373
 SIZE (codex/openai-oss-forks-rusty_v8-90a65f887a0c0f048f3784afbcb320b373c8a2e0_GH0.tar.gz) = 405004
-SHA256 (codex/openai-codex-rust-v0.172.0_GH0.tar.gz) = 8a4a4bd174f87394ed7a63c8fe1bf8207d9d691468e465fe56e418018ecc5549
-SIZE (codex/openai-codex-rust-v0.172.0_GH0.tar.gz) = 21016626
+SHA256 (codex/openai-codex-rust-v0.173.0_GH0.tar.gz) = 752ec1791e3303173fcd7d144a6fe22d7a6a63e1905bbed0f8d6a65749ad849e
+SIZE (codex/openai-codex-rust-v0.173.0_GH0.tar.gz) = 21108395
diff --git a/misc/codex/files/patch-codex-rs_Cargo.lock b/misc/codex/files/patch-codex-rs_Cargo.lock
index c584c845e255..4920a0f7a3db 100644
--- a/misc/codex/files/patch-codex-rs_Cargo.lock
+++ b/misc/codex/files/patch-codex-rs_Cargo.lock
@@ -1,6 +1,6 @@
---- codex-rs/Cargo.lock.orig	2026-11-23 22:48:37 UTC
+--- codex-rs/Cargo.lock.orig	2026-12-02 01:08:25 UTC
 +++ codex-rs/Cargo.lock
-@@ -7890,15 +7890,6 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9
+@@ -7950,15 +7950,6 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9
  checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
  
  [[package]]
@@ -16,7 +16,7 @@
  name = "fslock"
  version = "0.2.1"
  source = "registry+https://github.com/rust-lang/crates.io-index"
-@@ -9914,9 +9905,9 @@ name = "inotify"
+@@ -9974,9 +9965,9 @@ name = "inotify"
  
  [[package]]
  name = "inotify"
@@ -28,7 +28,7 @@
  dependencies = [
   "bitflags 2.13.1",
   "inotify-sys",
-@@ -9925,9 +9916,9 @@ name = "inotify-sys"
+@@ -9985,9 +9976,9 @@ name = "inotify-sys"
  
  [[package]]
  name = "inotify-sys"
@@ -40,7 +40,7 @@
  dependencies = [
   "libc",
  ]
-@@ -10305,9 +10296,9 @@ name = "kqueue"
+@@ -10365,9 +10356,9 @@ name = "kqueue"
  
  [[package]]
  name = "kqueue"
@@ -52,7 +52,7 @@
  dependencies = [
   "kqueue-sys",
   "libc",
-@@ -10315,11 +10306,11 @@ name = "kqueue-sys"
+@@ -10375,11 +10366,11 @@ name = "kqueue-sys"
  
  [[package]]
  name = "kqueue-sys"
@@ -67,7 +67,7 @@
   "libc",
  ]
  
-@@ -11006,27 +10997,29 @@ name = "notify"
+@@ -11066,27 +11057,29 @@ name = "notify"
  
  [[package]]
  name = "notify"
@@ -103,7 +103,7 @@
  dependencies = [
   "bitflags 2.13.1",
  ]
-@@ -11355,6 +11348,16 @@ dependencies = [
+@@ -11415,6 +11408,16 @@ dependencies = [
  ]
  
  [[package]]
@@ -120,7 +120,7 @@
  name = "objc2-core-text"
  version = "0.3.2"
  source = "registry+https://github.com/rust-lang/crates.io-index"
-@@ -12690,7 +12693,7 @@ dependencies = [
+@@ -12750,7 +12753,7 @@ dependencies = [
   "once_cell",
   "socket2 0.6.3",
   "tracing",
@@ -129,7 +129,7 @@
  ]
  
  [[package]]
-@@ -12703,7 +12706,7 @@ dependencies = [
+@@ -12763,7 +12766,7 @@ dependencies = [
   "libc",
   "log",
   "socket2 0.6.3",
@@ -138,7 +138,7 @@
  ]
  
  [[package]]
-@@ -18321,6 +18324,12 @@ checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd46
+@@ -18381,6 +18384,12 @@ checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd46
  version = "0.13.6"
  source = "registry+https://github.com/rust-lang/crates.io-index"
  checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4"
diff --git a/misc/codex/files/patch-codex-rs_Cargo.toml b/misc/codex/files/patch-codex-rs_Cargo.toml
index 3c7471325b1d..369802241247 100644
--- a/misc/codex/files/patch-codex-rs_Cargo.toml
+++ b/misc/codex/files/patch-codex-rs_Cargo.toml
@@ -1,6 +1,6 @@
---- codex-rs/Cargo.toml.orig	2026-11-23 22:48:37 UTC
+--- codex-rs/Cargo.toml.orig	2026-12-02 01:08:25 UTC
 +++ codex-rs/Cargo.toml
-@@ -440,7 +440,7 @@ mxc-sdk = { git = "https://github.com/microsoft/mxc", 
+@@ -448,7 +448,7 @@ mxc-sdk = { git = "https://github.com/microsoft/mxc", 
  mime_guess = "2.0.5"
  multimap = "0.10.0"
  mxc-sdk = { git = "https://github.com/microsoft/mxc", rev = "c66201839d63cae2239db5e92f1f1d6076cf5181" }
diff --git a/misc/codex/files/patch-codex-rs_core_tests_suite_hooks.rs b/misc/codex/files/patch-codex-rs_core_tests_suite_hooks.rs
index 4b380f8c3618..922a1b88b9fb 100644
--- a/misc/codex/files/patch-codex-rs_core_tests_suite_hooks.rs
+++ b/misc/codex/files/patch-codex-rs_core_tests_suite_hooks.rs
@@ -1,6 +1,6 @@
---- codex-rs/core/tests/suite/hooks.rs.orig	2026-11-19 23:07:36 UTC
+--- codex-rs/core/tests/suite/hooks.rs.orig	2026-12-02 01:08:25 UTC
 +++ codex-rs/core/tests/suite/hooks.rs
-@@ -3114,7 +3114,7 @@ async fn permission_request_hook_allow_bypasses_strict
+@@ -3222,7 +3222,7 @@ async fn permission_request_hook_allow_bypasses_strict
      let command_call_id = "strict-hook-exec-command";
      let marker_name = "strict-hook-exec-command-marker";
      let command = match test_target_os() {
diff --git a/misc/codex/files/patch-codex-rs_core_tests_suite_remote__env.rs b/misc/codex/files/patch-codex-rs_core_tests_suite_remote__env.rs
index 48ddb8408bab..b05042ba9737 100644
--- a/misc/codex/files/patch-codex-rs_core_tests_suite_remote__env.rs
+++ b/misc/codex/files/patch-codex-rs_core_tests_suite_remote__env.rs
@@ -1,6 +1,6 @@
---- codex-rs/core/tests/suite/remote_env.rs.orig	2026-11-19 23:07:36 UTC
+--- codex-rs/core/tests/suite/remote_env.rs.orig	2026-12-02 01:08:25 UTC
 +++ codex-rs/core/tests/suite/remote_env.rs
-@@ -398,7 +398,7 @@ async fn remote_test_env_exposes_target_shell_and_exec
+@@ -397,7 +397,7 @@ async fn remote_test_env_exposes_target_shell_and_exec
      // TODO(anp): Assert Wine-exec exposes a `C:\\...` cwd after model-visible paths preserve
      // target-native spelling instead of the Linux orchestrator's `/C:/...` representation.
      let expected_shell = match test_target_os() {
@@ -9,7 +9,7 @@
          TestTargetOs::Windows => "<shell>powershell</shell>",
          TestTargetOs::MacOs => unreachable!("remote test targets do not run macOS"),
      };
-@@ -427,7 +427,7 @@ async fn approved_remote_shell_runs_in_remote_cwd() ->
+@@ -426,7 +426,7 @@ async fn approved_remote_shell_runs_in_remote_cwd() ->
      skip_if_no_remote_env!(Ok(()));
  
      let (shell, command) = match test_target_os() {
@@ -18,7 +18,7 @@
              "bash",
              r#"case "$PWD" in /tmp/codex-core-test-cwd-*) ;; *) echo "unexpected cwd: $PWD" >&2; exit 1 ;; esac"#,
          ),
-@@ -548,7 +548,7 @@ async fn environment_permissions_follow_configuration_
+@@ -547,7 +547,7 @@ async fn environment_permissions_follow_configuration_
      );
  
      let (shell, command) = match test_target_os() {
diff --git a/misc/codex/files/patch-codex-rs_features_src_lib.rs b/misc/codex/files/patch-codex-rs_features_src_lib.rs
index d47a8532a3b6..f2c0f08ec00d 100644
--- a/misc/codex/files/patch-codex-rs_features_src_lib.rs
+++ b/misc/codex/files/patch-codex-rs_features_src_lib.rs
@@ -1,6 +1,6 @@
---- codex-rs/features/src/lib.rs.orig	2026-11-23 22:48:37 UTC
+--- codex-rs/features/src/lib.rs.orig	2026-12-02 01:08:25 UTC
 +++ codex-rs/features/src/lib.rs
-@@ -1173,7 +1173,8 @@ pub const FEATURES: &[FeatureSpec] = &[
+@@ -1176,7 +1176,8 @@ pub const FEATURES: &[FeatureSpec] = &[
          id: Feature::DaemonAutoStart,
          key: "daemon_auto_start",
          stage: Stage::Stable,