Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
yubikey-personalization


Commits:
d1149a0e by Christian Hesse at 2024-03-17T22:27:01+01:00
upgpkg: 1.20.0-4: rebuild old (2+ years) packages

- - - - -


3 changed files:

- .SRCINFO
- + 0002-make-header-declarations-extern.patch
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = yubikey-personalization
        pkgdesc = Yubico YubiKey Personalization library and tool
        pkgver = 1.20.0
-       pkgrel = 3
+       pkgrel = 4
        url = https://github.com/Yubico/yubikey-personalization
        arch = x86_64
        license = BSD
@@ -14,9 +14,11 @@ pkgbase = yubikey-personalization
        source = 
https://developers.yubico.com/yubikey-personalization/Releases/ykpers-1.20.0.tar.gz
        source = 
https://developers.yubico.com/yubikey-personalization/Releases/ykpers-1.20.0.tar.gz.sig
        source = 0001-fix-boolean-value-with-json-c-0.14.patch
+       source = 0002-make-header-declarations-extern.patch
        validpgpkeys = 0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A
        sha256sums = 
0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93
        sha256sums = SKIP
        sha256sums = 
f9b434e9570ce7d0192182aab979f767238b704f12645546e567db841bb7b5e2
+       sha256sums = 
7c9ff4dd0131c5efc5917f20fff7b1e9dbd58e22f754c7ac6d010c85df1e498d
 
 pkgname = yubikey-personalization


=====================================
0002-make-header-declarations-extern.patch
=====================================
@@ -0,0 +1,25 @@
+From 09ea16d9e2030e4da6ad00c1e5147e962aa7ff84 Mon Sep 17 00:00:00 2001
+From: Klas Lindfors <k...@yubico.com>
+Date: Mon, 17 Feb 2020 08:58:33 +0100
+Subject: make header declarations extern
+
+fixes #155
+---
+ ykpers-args.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/ykpers-args.h b/ykpers-args.h
+index 2a63268..9ff455a 100644
+--- a/ykpers-args.h
++++ b/ykpers-args.h
+@@ -33,8 +33,8 @@
+ 
+ #include "ykpers.h"
+ 
+-const char *usage;
+-const char *optstring;
++extern const char *usage;
++extern const char *optstring;
+ 
+ int args_to_config(int argc, char **argv, YKP_CONFIG *cfg, char *oathid,
+                  size_t oathid_len, const char **infname,


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 pkgname=yubikey-personalization
 _shortname=ykpers
 pkgver=1.20.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Yubico YubiKey Personalization library and tool'
 arch=('x86_64')
 url='https://github.com/Yubico/yubikey-personalization'
@@ -15,15 +15,18 @@ provides=('ykpers')
 conflicts=('ykpers')
 validpgpkeys=('0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A') # Klas Lindfors 
<k...@yubico.com>
 
source=("https://developers.yubico.com/${pkgname}/Releases/${_shortname}-${pkgver}.tar.gz"{,.sig}
-        '0001-fix-boolean-value-with-json-c-0.14.patch')
+        '0001-fix-boolean-value-with-json-c-0.14.patch'
+        '0002-make-header-declarations-extern.patch')
 sha256sums=('0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93'
             'SKIP'
-            'f9b434e9570ce7d0192182aab979f767238b704f12645546e567db841bb7b5e2')
+            'f9b434e9570ce7d0192182aab979f767238b704f12645546e567db841bb7b5e2'
+            '7c9ff4dd0131c5efc5917f20fff7b1e9dbd58e22f754c7ac6d010c85df1e498d')
 
 prepare() {
        cd "${_shortname}-${pkgver}"
 
        patch -Np1 < ../0001-fix-boolean-value-with-json-c-0.14.patch
+       patch -Np1 < ../0002-make-header-declarations-extern.patch
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/yubikey-personalization/-/commit/d1149a0e7f08ddafc36393a6d43913ad2bcdf8cc

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/yubikey-personalization/-/commit/d1149a0e7f08ddafc36393a6d43913ad2bcdf8cc
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to