Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / lsof
Commits: b826f4ad by Robin Candau at 2025-07-29T23:44:50+02:00 upgpkg: 4.99.5-2: Remove outdated patch Now fixed upstream in https://github.com/lsof-org/lsof/commit/4964dcadc86bca8e5eb41f081c47981650a847fc - - - - - 3 changed files: - .SRCINFO - PKGBUILD - − reproducible-builds.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,18 +1,15 @@ pkgbase = lsof pkgdesc = Lists open files for running Unix processes pkgver = 4.99.5 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lsof-org/lsof arch = x86_64 license = custom makedepends = groff depends = glibc depends = libtirpc - source = https://github.com/lsof-org/lsof/archive/refs/tags/4.99.5.tar.gz - source = reproducible-builds.patch + source = lsof-4.99.5.tar.gz::https://github.com/lsof-org/lsof/archive/refs/tags/4.99.5.tar.gz sha256sums = 3c591556c665196e0aada5982ff43c75e248187bad78bb1368d8fb9c1c527e6e - sha256sums = fdc62c85a7ace604aec5248d0543e6789c0042bc8be1ae0717561e088c85eb08 b2sums = 998ce85c7a0e742e6f7696d00ee3b6bb8aa6b6e5c30d5c76ac1fc74ea7d8062d73da4de54f433147b74ef4a6d6ac168f70ee68773c82269e07ec3f90bd9b8a8c - b2sums = f42255d02b1b56692e1b28a282b9490901882a0c4b3991ae39e8fcfc62a4eb8183db370b26e67e700334d1141dcc3e725d9ee8a1981f9108c992c88fd4089732 pkgname = lsof ===================================== PKGBUILD ===================================== @@ -9,7 +9,7 @@ pkgname=lsof pkgver=4.99.5 -pkgrel=1 +pkgrel=2 pkgdesc='Lists open files for running Unix processes' url='https://github.com/lsof-org/lsof' arch=('x86_64') @@ -21,21 +21,12 @@ depends=( makedepends=( groff ) -source=(${url}/archive/refs/tags/${pkgver}.tar.gz - reproducible-builds.patch) -sha256sums=('3c591556c665196e0aada5982ff43c75e248187bad78bb1368d8fb9c1c527e6e' - 'fdc62c85a7ace604aec5248d0543e6789c0042bc8be1ae0717561e088c85eb08') -b2sums=('998ce85c7a0e742e6f7696d00ee3b6bb8aa6b6e5c30d5c76ac1fc74ea7d8062d73da4de54f433147b74ef4a6d6ac168f70ee68773c82269e07ec3f90bd9b8a8c' - 'f42255d02b1b56692e1b28a282b9490901882a0c4b3991ae39e8fcfc62a4eb8183db370b26e67e700334d1141dcc3e725d9ee8a1981f9108c992c88fd4089732') - -prepare() { - cd ${pkgname}-${pkgver} - # https://github.com/lsof-org/lsof/issues/310 - patch -Np1 -i ../reproducible-builds.patch -} +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('3c591556c665196e0aada5982ff43c75e248187bad78bb1368d8fb9c1c527e6e') +b2sums=('998ce85c7a0e742e6f7696d00ee3b6bb8aa6b6e5c30d5c76ac1fc74ea7d8062d73da4de54f433147b74ef4a6d6ac168f70ee68773c82269e07ec3f90bd9b8a8c') build() { - cd ${pkgname}-${pkgver} + cd "${pkgname}-${pkgver}" autoreconf -fiv ./configure \ --prefix=/usr \ @@ -46,9 +37,9 @@ build() { } package() { - cd ${pkgname}-${pkgver} + cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } # vim: ts=2 sw=2 et: ===================================== reproducible-builds.patch deleted ===================================== @@ -1,11 +0,0 @@ ---- a/src/usage.c -+++ b/src/usage.c -@@ -903,8 +903,6 @@ void usage(struct lsof_context *ctx, /* context */ - (void)fprintf(stderr, " compiler: %s\n", cp); - if ((cp = isnullstr(LSOF_CCV))) - (void)fprintf(stderr, " compiler version: %s\n", cp); -- if ((cp = isnullstr(LSOF_CCFLAGS))) -- (void)fprintf(stderr, " compiler flags: %s\n", cp); - if ((cp = isnullstr(LSOF_LDFLAGS))) - (void)fprintf(stderr, " loader flags: %s\n", cp); - if ((cp = isnullstr(LSOF_SYSINFO))) View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/lsof/-/commit/b826f4adc42e3d702e1236afd1088b1c5eea6370 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/lsof/-/commit/b826f4adc42e3d702e1236afd1088b1c5eea6370 You're receiving this email because of your account on gitlab.archlinux.org.
