* update lsof to 4.99.3-2
This commit is contained in:
parent
7f00f712b4
commit
9775fadfd7
@ -8,8 +8,8 @@
|
|||||||
# Contributor: Hendrik Meyer <archlinux@t4cc0.re>
|
# Contributor: Hendrik Meyer <archlinux@t4cc0.re>
|
||||||
|
|
||||||
pkgname=lsof
|
pkgname=lsof
|
||||||
pkgver=4.99.0
|
pkgver=4.99.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Lists open files for running Unix processes'
|
pkgdesc='Lists open files for running Unix processes'
|
||||||
url='https://github.com/lsof-org/lsof'
|
url='https://github.com/lsof-org/lsof'
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
@ -21,8 +21,18 @@ depends=(
|
|||||||
makedepends=(
|
makedepends=(
|
||||||
groff
|
groff
|
||||||
)
|
)
|
||||||
source=(https://github.com/lsof-org/lsof/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
source=(https://github.com/lsof-org/lsof/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz
|
||||||
sha512sums=('6fe3039f1167fb3023a7f358dda2b4ea6eace1e50a97d0168af494217581eef73cc1742f544d2fb9f85ded8370c86e63d48104da899396de7b3007997a201825')
|
reproducible-builds.patch)
|
||||||
|
sha256sums=('86428a8881b0d1147a52058e853c775b83d794f0da685d549b2bfd07063ed1cd'
|
||||||
|
'fdc62c85a7ace604aec5248d0543e6789c0042bc8be1ae0717561e088c85eb08')
|
||||||
|
b2sums=('f2f298d8fe3f03b192984a31bd6b368e08c3ae5b8776625df413b94a0db59258e8aadb8ab4b94b9a3a54803fab463c1b920b524ee0ff512c8cda4b88e89b4c50'
|
||||||
|
'f42255d02b1b56692e1b28a282b9490901882a0c4b3991ae39e8fcfc62a4eb8183db370b26e67e700334d1141dcc3e725d9ee8a1981f9108c992c88fd4089732')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
# https://github.com/lsof-org/lsof/issues/310
|
||||||
|
patch -Np1 -i ../reproducible-builds.patch
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd ${pkgname}-${pkgver}
|
||||||
|
11
lsof/reproducible-builds.patch
Normal file
11
lsof/reproducible-builds.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- 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)))
|
Loading…
x
Reference in New Issue
Block a user