From 199c48d37bb29164454c19e90d5031de7dd94044 Mon Sep 17 00:00:00 2001 From: Ed Reel Date: Fri, 24 Apr 2026 05:11:10 -0500 Subject: [PATCH] Chrpath 0.16 => 0.18 (#15812) --- manifest/armv7l/c/chrpath.filelist | 10 ++---- manifest/i686/c/chrpath.filelist | 10 ++---- manifest/x86_64/c/chrpath.filelist | 10 ++---- packages/chrpath.rb | 31 +++++++++---------- tests/package/c/chrpath | 3 ++ .../automatically_updatable_packages/chrpath | 0 6 files changed, 23 insertions(+), 41 deletions(-) create mode 100755 tests/package/c/chrpath create mode 100644 tools/automatically_updatable_packages/chrpath diff --git a/manifest/armv7l/c/chrpath.filelist b/manifest/armv7l/c/chrpath.filelist index 7030648d7f..9f03ff3ee3 100644 --- a/manifest/armv7l/c/chrpath.filelist +++ b/manifest/armv7l/c/chrpath.filelist @@ -1,9 +1,3 @@ -# Total size: 101416 +# Total size: 13082 /usr/local/bin/chrpath -/usr/local/doc/chrpath-0.16/AUTHORS -/usr/local/doc/chrpath-0.16/COPYING -/usr/local/doc/chrpath-0.16/ChangeLog -/usr/local/doc/chrpath-0.16/INSTALL -/usr/local/doc/chrpath-0.16/NEWS -/usr/local/doc/chrpath-0.16/README -/usr/local/share/man/man1/chrpath.1.gz +/usr/local/share/man/man1/chrpath.1.zst diff --git a/manifest/i686/c/chrpath.filelist b/manifest/i686/c/chrpath.filelist index bc687e566d..90a84007d1 100644 --- a/manifest/i686/c/chrpath.filelist +++ b/manifest/i686/c/chrpath.filelist @@ -1,9 +1,3 @@ -# Total size: 97516 +# Total size: 15682 /usr/local/bin/chrpath -/usr/local/doc/chrpath-0.16/AUTHORS -/usr/local/doc/chrpath-0.16/COPYING -/usr/local/doc/chrpath-0.16/ChangeLog -/usr/local/doc/chrpath-0.16/INSTALL -/usr/local/doc/chrpath-0.16/NEWS -/usr/local/doc/chrpath-0.16/README -/usr/local/share/man/man1/chrpath.1.gz +/usr/local/share/man/man1/chrpath.1.zst diff --git a/manifest/x86_64/c/chrpath.filelist b/manifest/x86_64/c/chrpath.filelist index 0bb30c7a8c..6592d1b752 100644 --- a/manifest/x86_64/c/chrpath.filelist +++ b/manifest/x86_64/c/chrpath.filelist @@ -1,9 +1,3 @@ -# Total size: 115540 +# Total size: 17350 /usr/local/bin/chrpath -/usr/local/doc/chrpath-0.16/AUTHORS -/usr/local/doc/chrpath-0.16/COPYING -/usr/local/doc/chrpath-0.16/ChangeLog -/usr/local/doc/chrpath-0.16/INSTALL -/usr/local/doc/chrpath-0.16/NEWS -/usr/local/doc/chrpath-0.16/README -/usr/local/share/man/man1/chrpath.1.gz +/usr/local/share/man/man1/chrpath.1.zst diff --git a/packages/chrpath.rb b/packages/chrpath.rb index 9d62c478e2..ec8e3af237 100644 --- a/packages/chrpath.rb +++ b/packages/chrpath.rb @@ -1,28 +1,25 @@ -require 'package' +require 'buildsystems/autotools' -class Chrpath < Package +class Chrpath < Autotools description 'Change or delete the rpath or runpath in ELF files' - homepage 'https://directory.fsf.org/wiki/Chrpath' - version '0.16' + homepage 'https://codeberg.org/pere/chrpath' + version '0.18' license 'GPL-2+' compatibility 'all' - source_url 'https://httpredir.debian.org/debian/pool/main/c/chrpath/chrpath_0.16.orig.tar.gz' - source_sha256 'bb0d4c54bac2990e1bdf8132f2c9477ae752859d523e141e72b3b11a12c26e7b' - binary_compression 'tar.xz' + source_url 'https://codeberg.org/pere/chrpath.git' + git_hashtag "release-#{version}" + binary_compression 'tar.zst' binary_sha256({ - aarch64: '90a116020875ffc085d1da9352d6fadb08cedf5e50e73b296380e00d061d82f1', - armv7l: '90a116020875ffc085d1da9352d6fadb08cedf5e50e73b296380e00d061d82f1', - i686: 'af52c7da43448bb4ea99e96dd28534627cfc1665273fcfa5ecbba6093956f91c', - x86_64: '620cedb1453b3b30fa23d036708956dbadbf8dda7f1afd470c8bcfe2bba56f07' + aarch64: '34bfc9c812f5f2a307943ce02a62c21877a71224d2e0b1fc4e130789ccefad3f', + armv7l: '34bfc9c812f5f2a307943ce02a62c21877a71224d2e0b1fc4e130789ccefad3f', + i686: 'ca41ca56d462b3ae1ea3d61ccd0a134ae5eb7eee20c767f5c398b7a226f7cfdf', + x86_64: '5636d867e8c09cde4a7dfccd3f518af7d8dbdf7d9a2ba483a5dc0cd3765bd772' }) - def self.build - system "./configure #{CREW_CONFIGURE_OPTIONS}" - system 'make' - end + depends_on 'glibc' => :executable - def self.install - system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' + autotools_install_extras do + FileUtils.rm_rf "#{CREW_DEST_PREFIX}/doc" end end diff --git a/tests/package/c/chrpath b/tests/package/c/chrpath new file mode 100755 index 0000000000..5f4a52bbc4 --- /dev/null +++ b/tests/package/c/chrpath @@ -0,0 +1,3 @@ +#!/bin/bash +chrpath -h +chrpath -v diff --git a/tools/automatically_updatable_packages/chrpath b/tools/automatically_updatable_packages/chrpath new file mode 100644 index 0000000000..e69de29bb2