ca-certificates: add system CA certificates package (based on the debian one)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39984
This commit is contained in:
parent
84c3487e5a
commit
02373252ba
1 changed files with 41 additions and 0 deletions
41
package/system/ca-certificates/Makefile
Normal file
41
package/system/ca-certificates/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2006 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=ca-certificates
|
||||||
|
PKG_VERSION:=20140223
|
||||||
|
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
|
||||||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/c/ca-certificates
|
||||||
|
PKG_MD5SUM:=ff4049c32342ea450cda82bb14026ffd
|
||||||
|
|
||||||
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/ca-certificates
|
||||||
|
SECTION:=base
|
||||||
|
CATEGORY:=Base system
|
||||||
|
TITLE:=System CA certificates
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Install
|
||||||
|
mkdir -p \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/sbin \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/share/ca-certificates
|
||||||
|
$(call Build/Install/Default,)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/ca-certificates/install
|
||||||
|
$(INSTALL_DIR) $(1)/etc/ssl
|
||||||
|
ln -s ../../usr/share/ca-certificates $(1)/etc/ssl/certs
|
||||||
|
$(INSTALL_DIR) $(1)/usr/share/ca-certificates
|
||||||
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/ca-certificates/*/*.crt $(1)/usr/share/ca-certificates/
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,ca-certificates))
|
Loading…
Reference in a new issue