Skip to content
Permalink
Browse files

package/system - sync to owrt 2020.01

  • Loading branch information
zyxmon committed Jan 8, 2020
1 parent 4ecfc0d commit 63019121c70a2c6cd47513761f5bb9cfc0ed57a4
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=ca-certificates
PKG_VERSION:=20190110
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=

PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
@@ -24,13 +24,15 @@ define Package/ca-certificates
CATEGORY:=Base system
TITLE:=System CA certificates
PKGARCH:=all
PROVIDES:=ca-certs
endef

define Package/ca-bundle
SECTION:=base
CATEGORY:=Base system
TITLE:=System CA certificates as a bundle
PKGARCH:=all
PROVIDES:=ca-certs
endef

define Build/Install
@@ -59,5 +61,5 @@ define Package/ca-bundle/install
cat $(PKG_INSTALL_DIR)/opt/share/ca-certificates/*/*.crt >$(1)/opt/etc/ssl/certs/ca-certificates.crt
$(LN) /opt/etc/ssl/certs/ca-certificates.crt $(1)/opt/etc/ssl/cert.pem
endef
$(eval $(call BuildPackage,ca-certificates))
$(eval $(call BuildPackage,ca-bundle))
$(eval $(call BuildPackage,ca-certificates))
@@ -12,9 +12,9 @@ PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/fstools.git
PKG_SOURCE_DATE:=2019-08-28
PKG_SOURCE_VERSION:=6a61b9ac105b8eb28680e728a2723e302a91304d
PKG_MIRROR_HASH:=f617d06ccea732fcbfdc2a2bd70c59726d37f61de100fae895d718884a9624d1
PKG_MIRROR_HASH:=7077c90f3938c7316ff7c8c353a178c4de61ef107b08b79209b93916a67c951d
PKG_SOURCE_DATE:=2020-01-05
PKG_SOURCE_VERSION:=823faa0f3edb93fac528bc35588cea81f0a77146
CMAKE_INSTALL:=1

PKG_LICENSE:=GPL-2.0
@@ -10,13 +10,22 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=fwtool
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/fwtool.git
PKG_SOURCE_DATE:=2019-11-12
PKG_SOURCE_VERSION:=8f7fe925ca205c8e8e2d0d1b16218c1e148d5173
PKG_MIRROR_HASH:=ff68e77397a7ba8f497aae9a6d1f89e196c89391a8d5ed0b81c4eafb889ba744
CMAKE_INSTALL:=1

PKG_FLAGS:=nonshared

PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER := Felix Fietkau <nbd@nbd.name>
PKG_BUILD_DEPENDS := fwtool/host

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/cmake.mk

HOST_BUILD_PREFIX:=$(STAGING_DIR_HOST)

@@ -26,21 +35,13 @@ define Package/fwtool
TITLE:=Utility for appending and extracting firmware metadata and signatures
endef

define Host/Compile
$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $(HOST_BUILD_DIR)/fwtool ./src/fwtool.c
endef

define Host/Install
$(INSTALL_BIN) $(HOST_BUILD_DIR)/fwtool $(1)/bin/
endef

define Build/Compile
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -o $(PKG_BUILD_DIR)/fwtool ./src/fwtool.c
endef

define Package/fwtool/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fwtool $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fwtool $(1)/usr/bin/
endef

$(eval $(call HostBuild))

This file was deleted.

This file was deleted.

0 comments on commit 6301912

Please sign in to comment.
You can’t perform that action at this time.