p11-kit: fix configuration directory (#12246)

* p11-kit: fix configuration directory

p11-kit looks for its configuration files in /etc/pkcs11, not /etc/p11-kit

Signed-off-by: Thibaut Robert <thibaut.robert@gmail.com>

* p11-kit: bump PKG_RELEASE

Signed-off-by: Thibaut Robert <thibaut.robert@gmail.com>
This commit is contained in:
Thibaut Robert 2020-05-22 10:43:50 +02:00 committed by GitHub
parent 29a18ee811
commit 68bbd6d435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=p11-kit
PKG_VERSION:=0.23.20
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/p11-glue/p11-kit/releases/download/$(PKG_VERSION)
@ -62,9 +62,9 @@ endef
define Package/p11-kit/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libp11-kit.so.* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/etc/p11-kit/modules/
$(INSTALL_DIR) $(1)/etc/pkcs11/modules/
ifneq ($(CONFIG_PACKAGE_libopensc),)
$(CP) ./files/opensc.module $(1)/etc/p11-kit/modules/
$(CP) ./files/opensc.module $(1)/etc/pkcs11/modules/
endif
endef