Merge pull request #25 from wigyori/master
authorZoltan Herpai <wigyori@uid0.hu>
Fri, 8 Jul 2016 15:00:34 +0000 (17:00 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Jul 2016 15:00:34 +0000 (17:00 +0200)
package updates, cmake fixes, bump arm64 to 4.4

package/system/ca-certificates/Makefile

index 9b6dbd61fee61c5e10415f4235f693f2c192cd77..859095215402ebac45035dc4a7d09dfcfec76d47 100644 (file)
@@ -26,6 +26,13 @@ define Package/ca-certificates
   PKGARCH:=all
 endef
 
+define Package/ca-bundle
+  SECTION:=base
+  CATEGORY:=Base system
+  TITLE:=System CA certificates as a bundle
+  PKGARCH:=all
+endef
+
 define Build/Install
        mkdir -p \
                $(PKG_INSTALL_DIR)/usr/sbin \
@@ -47,4 +54,9 @@ define Package/ca-certificates/install
        done
 endef
 
+define Package/ca-bundle/install
+       $(INSTALL_DIR) $(1)/etc/ssl/certs
+       cat $(PKG_INSTALL_DIR)/usr/share/ca-certificates/*/*.crt >$(1)/etc/ssl/certs/ca-certificates.crt
+endef
 $(eval $(call BuildPackage,ca-certificates))
+$(eval $(call BuildPackage,ca-bundle))