Date: Friday, June 5, 2020 @ 01:18:29 Author: allan Revision: 388321 upgpkg: lsof 4.93.2-3: fix reproducibility
Modified: lsof/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-06-05 00:40:13 UTC (rev 388320) +++ PKGBUILD 2020-06-05 01:18:29 UTC (rev 388321) @@ -4,10 +4,11 @@ # Contributor: Daniel J Griffiths <[email protected]> # Contributor: Aaron Griffin <[email protected]> # Contributor: Jochem Kossen <[email protected]> +# Contributor: Hendrik Meyer <[email protected]> pkgname=lsof pkgver=4.93.2 -pkgrel=2 +pkgrel=3 pkgdesc='Lists open files for running Unix processes' url='https://github.com/lsof-org/lsof' arch=('x86_64') @@ -14,12 +15,18 @@ license=('custom') depends=('glibc' 'libtirpc') source=(https://github.com/lsof-org/lsof/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz + "lsof-reproducible.patch::https://github.com/lsof-org/lsof/commit/3e404f637c76949917435f4a086c40e644e0089c.patch" license.txt) sha512sums=('3c4a4d503391b1a648a08a4947c2e72a9629b169eddf50738b16a16a82f2a26967e4db2902e4a9157de5a73ae638db48e392117ffbd591e9fafd6b1725cd01a0' + 'ccb263eb04d3cc6a879f6a6bada680dee473920ea6460c4e048e7551a2716b937007bc91f21751fb3dd0a43320f9b263983e7c04e2bac46d45472ce97e50047b' '3bdbc8f213e9bdba946636498d21486e2b79d8ae44a45b284b4dff8875e76f992ab0977e3ed510525a8f74203028acb6b15315fda963666012874be4ce4fdd93') prepare() { cd lsof-${pkgver} + + # patch accepted upstream - in queue to be committed + patch -p1 -i "${srcdir}/lsof-reproducible.patch" + sed -i 's|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|' dialects/linux/machine.h sed -i "s|.so ./version|.ds VN ${pkgver}|" -i Lsof.8 }
