AutoBuild: update-patch started at 2025-03-30-08UTC (#11639)

* Patch 2.7.6 => 2.8

* Add built packages for linux/386 to update-patch

* Add built packages for linux/amd64 to update-patch

* Add built packages for linux/arm/v7 to update-patch

---------

Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: uberhacker <uberhacker@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-03-31 08:24:59 +11:00
committed by GitHub
parent 357fddd43d
commit 908c7dacb4
4 changed files with 15 additions and 26 deletions

View File

@@ -1,2 +1,2 @@
/usr/local/bin/patch
/usr/local/share/man/man1/patch.1.gz
/usr/local/share/man/man1/patch.1.zst

View File

@@ -1,2 +1,2 @@
/usr/local/bin/patch
/usr/local/share/man/man1/patch.1.gz
/usr/local/share/man/man1/patch.1.zst

View File

@@ -1,2 +1,2 @@
/usr/local/bin/patch
/usr/local/share/man/man1/patch.1.gz
/usr/local/share/man/man1/patch.1.zst

View File

@@ -1,37 +1,26 @@
require 'package'
require 'buildsystems/autotools'
class Patch < Package
class Patch < Autotools
description 'Patch takes a patch file containing a difference listing produced by the diff program and applies those differences to one or more original files, producing patched versions.'
homepage 'https://www.gnu.org/software/patch/'
version '2.7.6'
version '2.8'
license 'GPL-3+'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/patch/patch-2.7.6.tar.xz'
source_sha256 'ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd'
binary_compression 'tar.xz'
source_url "https://ftpmirror.gnu.org/patch/patch-#{version}.tar.xz"
source_sha256 'f87cee69eec2b4fcbf60a396b030ad6aa3415f192aa5f7ee84cad5e11f7f5ae3'
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'f5ed23759094417cda17c86653388d8bfdacd8073f50b63754115bd1e3470718',
armv7l: 'f5ed23759094417cda17c86653388d8bfdacd8073f50b63754115bd1e3470718',
i686: '4e7dac3d38983a690496b00163b6a331754f9d510781a922f02fb2cedf1fe7ed',
x86_64: '2c756988d1ed11102e6bc33146d43349e303bac645ec8d16ef7ec521f3d0b5d9'
aarch64: '18339cb6ba301d4c5e6274d09c9bf51c1a14f715d485e0923ef9b0c4a689ee60',
armv7l: '18339cb6ba301d4c5e6274d09c9bf51c1a14f715d485e0923ef9b0c4a689ee60',
i686: 'ba54143694d67822637f7b76865538c7968343cffb691ee0fed2db73584f9d10',
x86_64: 'b6805b38f3cb66882c6ba9d17297b811b625f71e69dec686adb1212f5656b6ea'
})
depends_on 'attr' # R
depends_on 'glibc' # R
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
configure_options '--disable-year2038' unless ARCH.include?('x86_64')
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.check
system 'make', 'check'
end
run_tests
end