[arch-commits] Commit in opensc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Wed Nov 25 14:23:31 UTC 2020
Date: Wednesday, November 25, 2020 @ 14:23:31
Author: ffy00
Revision: 761054
archrelease: copy trunk to community-x86_64
Added:
opensc/repos/community-x86_64/PKGBUILD
(from rev 761053, opensc/trunk/PKGBUILD)
Deleted:
opensc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 108 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 52 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-25 14:23:27 UTC (rev 761053)
+++ PKGBUILD 2020-11-25 14:23:31 UTC (rev 761054)
@@ -1,56 +0,0 @@
-# Maintainer: Alad
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Sébastien Luttringer
-# Contributor: kevku <kevku at msn.com>
-
-pkgname=opensc
-pkgver=0.20.0
-pkgrel=3
-pkgdesc='Tools and libraries for smart cards'
-arch=('x86_64')
-url='https://github.com/OpenSC/OpenSC/wiki'
-license=('LGPL')
-backup=('etc/opensc.conf')
-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')
-
-prepare() {
- 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 \
- --sysconfdir=/etc \
- --with-completiondir=/usr/share/bash-completion/completions \
- --enable-man \
- --enable-doc \
- --enable-readline \
- --enable-openssl \
- --enable-pcsc \
- --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"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: opensc/repos/community-x86_64/PKGBUILD (from rev 761053, opensc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-25 14:23:31 UTC (rev 761054)
@@ -0,0 +1,52 @@
+# Maintainer: Alad
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Sébastien Luttringer
+# Contributor: kevku <kevku at msn.com>
+
+pkgname=opensc
+pkgver=0.21.0
+pkgrel=1
+pkgdesc='Tools and libraries for smart cards'
+arch=('x86_64')
+url='https://github.com/OpenSC/OpenSC/wiki'
+license=('LGPL')
+backup=('etc/opensc.conf')
+makedepends=('docbook-xsl')
+depends=('pcsclite' 'glib2' 'libltdl')
+options=('!emptydirs')
+source=("https://github.com/OpenSC/OpenSC/releases/download/$pkgver/opensc-$pkgver.tar.gz")
+sha512sums=('3511b0a04a96e62011c48667e3fd36a1611fe67a89f7626ff056c9c3614f8cabc91c9924a6ca7a8ea50076a128e3967277a0dd624b4fa27c62cefee9fab22646')
+
+build() {
+ cd $pkgname-$pkgver
+
+ _sheetdir=(/usr/share/xml/docbook/xsl-stylesheets-*-nons)
+
+ ./bootstrap
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-completiondir=/usr/share/bash-completion/completions \
+ --enable-man \
+ --enable-doc \
+ --enable-readline \
+ --enable-openssl \
+ --enable-pcsc \
+ --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"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list