aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/usign
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-06 19:38:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-04-06 19:38:07 +0000
commitd43c6f9831001bfe35dd8e91a56d1b914d5ca144 (patch)
tree963eece6501fc883a1e0a5fa8c1e46111da1a5a5 /package/system/usign
parenta8aab06962e56610906b0a86341034c2b40360bd (diff)
downloadupstream-d43c6f9831001bfe35dd8e91a56d1b914d5ca144.tar.gz
upstream-d43c6f9831001bfe35dd8e91a56d1b914d5ca144.tar.bz2
upstream-d43c6f9831001bfe35dd8e91a56d1b914d5ca144.zip
usign: add new package for generating/verifying verification (similar to signify)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45283 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/usign')
-rw-r--r--package/system/usign/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/package/system/usign/Makefile b/package/system/usign/Makefile
new file mode 100644
index 0000000000..3f3243878a
--- /dev/null
+++ b/package/system/usign/Makefile
@@ -0,0 +1,39 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=usign
+PKG_VERSION:=2015-04-06
+PKG_RELEASE=$(PKG_SOURCE_VERSION)
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=git://git.openwrt.org/project/usign.git
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=395369a223b6c48e0d897d0c4c4d17236edbeea9
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+CMAKE_INSTALL:=1
+PKG_CHECK_FORMAT_SECURITY:=1
+PKG_USE_MIPS16:=0
+
+PKG_LICENSE:=ISC
+PKG_LICENSE_FILES:=
+
+PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/host-build.mk
+include $(INCLUDE_DIR)/cmake.mk
+
+define Package/usign
+ SECTION:=base
+ CATEGORY:=Base system
+ TITLE:=OpenWrt signature verification utility
+endef
+
+define Package/usign/install
+ $(INSTALL_DIR) $(1)/usr/bin
+
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/usign $(1)/usr/bin
+ ln -s usign $(1)/usr/bin/signify
+endef
+
+$(eval $(call BuildPackage,usign))
+$(eval $(call HostBuild))