Browse Source

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>
lilik-openwrt-22.03
Thibaut Robert 5 years ago
committed by GitHub
parent
commit
68bbd6d435
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libs/p11-kit/Makefile

+ 3
- 3
libs/p11-kit/Makefile View File

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


Loading…
Cancel
Save