yubikey-personalization: Fix build with json-c 0.14

This commit is contained in:
Tim Biermann 2020-04-21 12:37:36 +02:00
parent de18685532
commit 0910d555e9
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF31QVONN6uwx8gRTyGK5m9qNUHz87R0/BAu3OhT5F0+dzaboaMjtraxC1ByexBj15YOU8mCi9wD8sJt9SCI1iogY=
SHA256 (Pkgfile) = a36a286486280100892fc7044ff6b850260b7c61615866a10c9e16705ff17c00
RWSagIOpLGJF34wCKyNrvoBIlXnlqGCXPjbion/POBgwD3ZmiWaJXjQ3EPEpaVBd4VKCARyHZq/BOkfW5tPzepVBoySDlBgvfAg=
SHA256 (Pkgfile) = 1cc46cb7f8250a6b742cdfaba2af1b052eddaaa13616fe5eefbc161afb026274
SHA256 (.footprint) = b5a7dbcdfabfd7c2f00d0fd1fffef558b3aff13c54655acfb07b28c1b0fa7261
SHA256 (yubikey-personalization-v1.20.0.tar.gz) = 12d93a40d4052ff0b597815fc85eb4de354423c41a749501cd97a2e879bebae1
SHA256 (10-security-key.rules) = e7cd6d8e595ceda4e8d907f2a579e88d2beb49a3d31eb70ef7a9fcca879f55d4

View File

@ -5,11 +5,15 @@
name=yubikey-personalization
version=1.20.0
release=1
release=2
source=(https://github.com/Yubico/yubikey-personalization/archive/v$version/$name-v$version.tar.gz 10-security-key.rules)
build() {
cd $name-$version
# Fix build with json-c 0.14
sed -e 's/TRUE/1/' -e 's/FALSE/0/' -i ykpers-json.c
autoreconf --install
./configure --prefix=/usr \
--with-udevrulesdir=/lib/udev/rules.d/