From 87f6275d1fdc24b4706bef66103698d8b2c13f9d Mon Sep 17 00:00:00 2001 From: "Satadru Pramanik, DO, MPH, MEng" Date: Mon, 29 Apr 2024 17:00:45 -0400 Subject: [PATCH] Update tmux, libevent, rebuild tmate (#9735) Signed-off-by: Satadru Pramanik --- manifest/armv7l/t/tmux.filelist | 2 +- manifest/i686/t/tmux.filelist | 2 +- manifest/x86_64/t/tmux.filelist | 2 +- packages/libevent.rb | 12 ++++++------ packages/tmate.rb | 8 ++++---- packages/tmux.rb | 33 +++++++++++++-------------------- 6 files changed, 26 insertions(+), 33 deletions(-) diff --git a/manifest/armv7l/t/tmux.filelist b/manifest/armv7l/t/tmux.filelist index fcc2f2aea..4ea37a5b9 100644 --- a/manifest/armv7l/t/tmux.filelist +++ b/manifest/armv7l/t/tmux.filelist @@ -1,2 +1,2 @@ /usr/local/bin/tmux -/usr/local/share/man/man1/tmux.1.gz +/usr/local/share/man/man1/tmux.1.zst diff --git a/manifest/i686/t/tmux.filelist b/manifest/i686/t/tmux.filelist index fcc2f2aea..4ea37a5b9 100644 --- a/manifest/i686/t/tmux.filelist +++ b/manifest/i686/t/tmux.filelist @@ -1,2 +1,2 @@ /usr/local/bin/tmux -/usr/local/share/man/man1/tmux.1.gz +/usr/local/share/man/man1/tmux.1.zst diff --git a/manifest/x86_64/t/tmux.filelist b/manifest/x86_64/t/tmux.filelist index fcc2f2aea..4ea37a5b9 100644 --- a/manifest/x86_64/t/tmux.filelist +++ b/manifest/x86_64/t/tmux.filelist @@ -1,2 +1,2 @@ /usr/local/bin/tmux -/usr/local/share/man/man1/tmux.1.gz +/usr/local/share/man/man1/tmux.1.zst diff --git a/packages/libevent.rb b/packages/libevent.rb index 871dc1ce8..e76eba611 100644 --- a/packages/libevent.rb +++ b/packages/libevent.rb @@ -3,18 +3,18 @@ require 'buildsystems/cmake' class Libevent < CMake description 'The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.' homepage 'http://libevent.org/' - version '2.2-f2b3ce6' + version '2.2-64decd4' license 'BSD' compatibility 'all' source_url 'https://github.com/libevent/libevent.git' - git_hashtag 'f2b3ce6b5587efb206bc74298d7a835372ce2caf' + git_hashtag '64decd48e20f6d20d6f510aa75ab05861fd3d51c' binary_compression 'tar.zst' binary_sha256({ - aarch64: '6a8f0cb7221c99bcafac9e859b29f8f2e2598fc27a4298d846996100dafc2556', - armv7l: '6a8f0cb7221c99bcafac9e859b29f8f2e2598fc27a4298d846996100dafc2556', - i686: '163311e020dc2c2bf9825518e990efbd3373a2a7f8251d625b63bca1e4547baa', - x86_64: '6885dced405129dd97bf398517d35dbdab2797b9c9f117dcbdc2a78764e67b05' + aarch64: 'd8e80ad3a816756ed0a10d2b036f756dbee87cefc8eada17a2e81184ec79343b', + armv7l: 'd8e80ad3a816756ed0a10d2b036f756dbee87cefc8eada17a2e81184ec79343b', + i686: '79aeefd04d639e1a57bd3e0acdb91196ccb5bd326f25d10d8b2b4da5b22cf8cc', + x86_64: '5fee31e3b068d46c7cddb56c830893ac2bedcac948f0ef2c3f655f6c5fc2b448' }) depends_on 'glibc' # R diff --git a/packages/tmate.rb b/packages/tmate.rb index eb14eeb00..55a5ac0f7 100644 --- a/packages/tmate.rb +++ b/packages/tmate.rb @@ -14,10 +14,10 @@ class Tmate < Autotools binary_compression 'tar.zst' binary_sha256({ - aarch64: '9484bfb931621e2b63c1d5b6401ba47336df5b0fb363020918749439b00cba2c', - armv7l: '9484bfb931621e2b63c1d5b6401ba47336df5b0fb363020918749439b00cba2c', - i686: '12821785cd37aee98841d606fc68cb7958454f3e0a9aedce8d795c3176e13218', - x86_64: '52c51e577c993bb4dcee5f1191bc73e442ffe27fc2ba83b4674bda1f4936bbcb' + aarch64: '53ca884b461b0e34612171b60c28b6838c9dc33ecb36c2d6da8befef1fba605b', + armv7l: '53ca884b461b0e34612171b60c28b6838c9dc33ecb36c2d6da8befef1fba605b', + i686: '5928cc1a9f8d2b2535f785f76e1547caf8991299aeeb847e7bd521aa973eea3e', + x86_64: 'dc79411626db463321de78c38d06e9183bd1aea714082a944c4bc298aeb3146d' }) depends_on 'glibc' # R diff --git a/packages/tmux.rb b/packages/tmux.rb index 381c5c5fd..46cd8c20a 100644 --- a/packages/tmux.rb +++ b/packages/tmux.rb @@ -1,30 +1,23 @@ -require 'package' +require 'buildsystems/autotools' -class Tmux < Package +class Tmux < Autotools description 'tmux is a terminal multiplexer' homepage 'https://tmux.github.io/' - version '2.9' + version '3.4' license 'ISC' compatibility 'all' - source_url 'https://github.com/tmux/tmux/releases/download/2.9/tmux-2.9.tar.gz' - source_sha256 '34901232f486fd99f3a39e864575e658b5d49f43289ccc6ee57c365f2e2c2980' - binary_compression 'tar.xz' + source_url 'https://github.com/tmux/tmux.git' + git_hashtag version + binary_compression 'tar.zst' binary_sha256({ - aarch64: '99938a59550bdbc0354332c6960a8648fc5096d611ae0b595c1b806d6fbe9064', - armv7l: '99938a59550bdbc0354332c6960a8648fc5096d611ae0b595c1b806d6fbe9064', - i686: 'b8266f980bb84415518a129aa816486e76a518fe52766fbb683d2c3144ef106b', - x86_64: 'd16ffdb0c0cc7378587e43a06823404061e7db65a4fcbcaf7f59548c3eb3646f' + aarch64: 'dfe0099a97b2fa8d59d1a75adbc51583236f76c499cae9cd91e984884b157f77', + armv7l: 'dfe0099a97b2fa8d59d1a75adbc51583236f76c499cae9cd91e984884b157f77', + i686: '64623bec015fb85c9c3fc1c942f40fdcdaad6cdf137aecf56ca9ba3a32293e34', + x86_64: '7cff38ef399a12659899b5c40701ba9e17350838013d1ed90890af6cfcf7473a' }) - depends_on 'libevent' - - def self.build - system "CPPFLAGS=-I#{CREW_PREFIX}/include/ncurses ./configure --prefix=#{CREW_PREFIX}" - system 'make' - end - - def self.install - system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' - end + depends_on 'glibc' # R + depends_on 'libevent' # R + depends_on 'ncurses' # R end