[arch-commits] Commit in signify/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Sep 3 21:51:12 UTC 2018
Date: Monday, September 3, 2018 @ 21:51:11
Author: anthraxx
Revision: 376484
upgpkg: signify 24-1
Modified:
signify/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-03 21:41:54 UTC (rev 376483)
+++ PKGBUILD 2018-09-03 21:51:11 UTC (rev 376484)
@@ -2,7 +2,7 @@
# Contributor: Adrian Perez de Castro <aperez at igalia.com>
pkgname=signify
-pkgver=23
+pkgver=24
pkgrel=1
pkgdesc='OpenBSD tool to signs and verify signatures on files'
url='https://github.com/aperezdc/signify'
@@ -11,14 +11,22 @@
depends=('glibc' 'libbsd>=0.8')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aperezdc/${pkgname}/archive/v${pkgver}.tar.gz
LICENSE)
-sha512sums=('f0330994f3d308e9ad7c7bf4b6d6f8e8bef914d6d10d83507002ad97f853b4e0a829997a0225373e2c34829a611b70980d7d3674247d4b5b447204ad7f039608'
+sha512sums=('d612aca617f44ea7bf32a31d65da7e265dfdbe67f7983fc095b1f2d5c83cfa27f4c857279d98f6928199d15193c706cf3c77022fec70529a7b5d38b16ce64df5'
'a587ef19d5481a81945475a2c1dde0fbf8022e0a28db06389c73df1b7118fb94399f5e4523b91df3d846707dcaffff482ae6e58902b6620bf7b2019a8e15efec')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ # using O_NOFOLLOW doesn't lock anything down here, swapping files
+ # without symlinks is still equally open to TOCTOU and it doesn't even
+ # matter here. lets prefere supporting symlinked target files.
+ sed -E 's/\| ?O_NOFOLLOW//g' -i ./*.c
+}
+
build () {
cd ${pkgname}-${pkgver}
make PREFIX=/usr \
LTO=1 \
- EXTRA_CFLAGS="${CFLAGS}" \
+ EXTRA_CFLAGS="${CFLAGS} ${CPPFLAGS}" \
EXTRA_LDFLAGS="${LDFLAGS}" \
GIT_TAG=''
}
More information about the arch-commits
mailing list