[arch-commits] Commit in opensc/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Wed Nov 25 14:23:28 UTC 2020


    Date: Wednesday, November 25, 2020 @ 14:23:27
  Author: ffy00
Revision: 761053

upgpkg: opensc 0.21.0-1

Modified:
  opensc/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-25 14:18:23 UTC (rev 761052)
+++ PKGBUILD	2020-11-25 14:23:27 UTC (rev 761053)
@@ -4,8 +4,8 @@
 # Contributor: kevku <kevku at msn.com>
 
 pkgname=opensc
-pkgver=0.20.0
-pkgrel=3
+pkgver=0.21.0
+pkgrel=1
 pkgdesc='Tools and libraries for smart cards'
 arch=('x86_64')
 url='https://github.com/OpenSC/OpenSC/wiki'
@@ -14,22 +14,14 @@
 makedepends=('docbook-xsl')
 depends=('pcsclite' 'glib2' 'libltdl')
 options=('!emptydirs')
-source=("https://github.com/OpenSC/OpenSC/releases/download/$pkgver/opensc-$pkgver.tar.gz"
-        'fix-cve-2020-26570.patch::https://github.com/OpenSC/OpenSC/commit/6903aebfddc466d966c7b865fae34572bf3ed23e.patch'
-        'fix-cve-2020-26571.patch::https://github.com/OpenSC/OpenSC/commit/9d294de90d1cc66956389856e60b6944b27b4817.patch')
-sha512sums=('71f71fa6062410e63c6c60f5b2d10d1d855cc6cc815ef0e42e42a1ddd25bbd52fc396c1e495ef54610f3243996dec84dacc8007b186deb670ed645b04ee6eda5'
-            'e5d3aa047459986bbdefcb436ada8079345fa5f5d4498062f8cd1c1af9c769b56e7b1a79f792aa85e767b21d802815ec52fff5093540ac928da203c634b01996'
-            '0e71e69396123578def598cdb9f359000e15bf4d9cfeca0df50808d31bbeee8ecd458333fb8734a7569112c5559ca2d4bdb740cef9360a8bcba3be3650bd32bf')
+source=("https://github.com/OpenSC/OpenSC/releases/download/$pkgver/opensc-$pkgver.tar.gz")
+sha512sums=('3511b0a04a96e62011c48667e3fd36a1611fe67a89f7626ff056c9c3614f8cabc91c9924a6ca7a8ea50076a128e3967277a0dd624b4fa27c62cefee9fab22646')
 
-prepare() {
+build() {
   cd $pkgname-$pkgver
-  patch -p1 -i ../fix-cve-2020-26570.patch
-  patch -p1 -i ../fix-cve-2020-26571.patch
-}
 
-build() {
-  cd $pkgname-$pkgver
   _sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*-nons)
+
   ./bootstrap
   ./configure \
     --prefix=/usr \
@@ -43,13 +35,17 @@
     --enable-zlib \
     --enable-sm \
     --with-xsl-stylesheetsdir="$_sheetdir"
+
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
   make
 }
 
 package(){
   cd $pkgname-$pkgver
+
   make DESTDIR="$pkgdir" install
+
   install -D -m644 etc/opensc.conf "$pkgdir/etc/opensc.conf"
 }
 



More information about the arch-commits mailing list