mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
e8725a932e
Different from OPKG, APK uses a deterministic version schema which chips the version into chunks and compares them individually. This enforces a certain schema which was previously entirely flexible. - Releases are added at the very and end prefixed with an `r` like `1.2.3-r3`. - Hashes are prefixed with a `~` like `1.2.3~abc123`. - Dates become semantic versions, like `2024.04.01` - Extra tags are possible like `_git`, `_alpha` and more. For full details see the APK test list: https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/test/version.data Signed-off-by: Paul Spooren <mail@aparcar.org>
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# Copyright (C) 2016 LEDE project
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=openwrt-keyring
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/keyring.git
|
|
PKG_SOURCE_DATE:=2022-03-25
|
|
PKG_SOURCE_VERSION:=62471e693b4f9f19dd88afa6827fc3a2cf121d9a
|
|
PKG_MIRROR_HASH:=805bc093b13d9faa4751f7236421199554e6ddbd7d8ae399b9ca3925dcdc5374
|
|
|
|
PKG_MAINTAINER:=John Crispin <john@phrozen.org>
|
|
PKG_LICENSE:=GPL-2.0
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/openwrt-keyring
|
|
SECTION:=base
|
|
CATEGORY:=Base system
|
|
PROVIDES:=lede-keyring
|
|
TITLE:=OpenWrt Developer Keyring
|
|
URL:=https://openwrt.org/docs/guide-user/security/signatures
|
|
endef
|
|
|
|
define Package/openwrt-keyring/description
|
|
The keyring of with the developer using and gpg public keys.
|
|
endef
|
|
|
|
Build/Compile=
|
|
|
|
define Package/openwrt-keyring/install
|
|
$(INSTALL_DIR) $(1)/etc/opkg/keys/
|
|
# Public usign key for unattended snapshot builds
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/usign/b5043e70f9a75cde $(1)/etc/opkg/keys/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,openwrt-keyring))
|