Files
chromebrew/packages/alive.rb
Satadru Pramanik, DO, MPH, MEng ddd99a6e58 Update some packages with incomplete binary hash sections. — alive → 2.0.5,core,mold → 2.40.4,pkg_7_zip → 25.01,py3_asciidoc → 10.2.1,ruby → 3.4.5-07f783 (#12726)
* Update some packages with incomplete binary hash sections.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add mold to anitya set.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* mold => 2.40.4

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add 7z update.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* py3_cleanup: Build Run on linux/arm/v7.

* py3_cleanup: Build Run on linux/amd64.

* py3_cleanup: Build Run on linux/386.

* py3_cleanup: Package File Update Run on linux/386 container.

* py3_cleanup: Package File Update Run on linux/amd64 container.

* py3_cleanup: Package File Update Run on linux/arm/v7 container.

* revert py3_zcmd changes

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Print directory contents if not empty during install.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Bump version.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust crew-mvdir logic to be verbose if erroring.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust debugging code, and fixup color in outputs.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Do not update gems on every crew update.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* last_update_check => @last_update_check

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Handle crew-mvdir errors with rsync fallback.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add message if crew-mvdir errors with rsync fallback.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more reporting for broken installs.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Use verbose output if rsync fails.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Use rsync force as fallback.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Move workflows to use M139-based container images.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add workaround for ruby install race condition.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2025-09-11 18:00:18 +00:00

30 lines
1.2 KiB
Ruby

require 'buildsystems/autotools'
class Alive < Autotools
description 'Automatic login and keep-alive utility for Internet connections.'
homepage 'https://www.gnu.org/software/alive/'
version '2.0.5'
license 'GPL-3'
compatibility 'all'
source_url "https://ftpmirror.gnu.org/alive/alive-#{version}.tar.lz"
source_sha256 '94cf3dbffd9644405ed4944f94a7bb989674321607318c5a35d5fabc56a75089'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '8f87960381b9cc6d6697335fbdb8cf0fe9cdae6417c999c8dc81ab08e2b4e8ef',
armv7l: '8f87960381b9cc6d6697335fbdb8cf0fe9cdae6417c999c8dc81ab08e2b4e8ef',
i686: 'f5dc5db28371fedad458ee263c1cdc24b360ff9a7a42f3c1573da5f6c3516d68',
x86_64: '8ce43c4c5beaeef494a7fc48db0b6a4458f732243723ab0876f5e3b9b795a7d1'
})
depends_on 'guile' # R
depends_on 'inetutils' # L
def self.preflight
puts 'You need to be in the VT-2 shell for the install of alive to work.'.lightblue
puts 'Make sure you have used Ctrl-Alt-{F2/Right arrow/Refresh} to switch to VT-2.'.lightblue
puts "Then login as 'chronos' and install alive with 'crew install alive'.".lightblue
puts 'You can then switch back to your regular Chromeos windows with Ctrl-Alt-{F1/Left arrow}.'.lightblue
end
end