summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-06-24 13:55:26 +0000
committernia <nia@pkgsrc.org>2021-06-24 13:55:26 +0000
commitd1431caa0ccc4ea90fcecbfa22e0e7a17a05ab9a (patch)
tree68798b026ca70243ec77c015289b7e41ac2027d9 /security
parent7144ad709ea776e8843985f367004d46744414d1 (diff)
downloadpkgsrc-d1431caa0ccc4ea90fcecbfa22e0e7a17a05ab9a.tar.gz
add security/libuecc
libuecc is a very small generic-purpose Elliptic Curve Cryptography library compatible with Ed25519.
Diffstat (limited to 'security')
-rw-r--r--security/libuecc/DESCR2
-rw-r--r--security/libuecc/Makefile17
-rw-r--r--security/libuecc/PLIST7
-rw-r--r--security/libuecc/buildlink3.mk12
-rw-r--r--security/libuecc/distinfo6
5 files changed, 44 insertions, 0 deletions
diff --git a/security/libuecc/DESCR b/security/libuecc/DESCR
new file mode 100644
index 00000000000..0cb6c995a0b
--- /dev/null
+++ b/security/libuecc/DESCR
@@ -0,0 +1,2 @@
+libuecc is a very small generic-purpose Elliptic Curve Cryptography library
+compatible with Ed25519.
diff --git a/security/libuecc/Makefile b/security/libuecc/Makefile
new file mode 100644
index 00000000000..da318f93333
--- /dev/null
+++ b/security/libuecc/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/06/24 13:55:26 nia Exp $
+
+DISTNAME= libuecc-7
+CATEGORIES= security
+MASTER_SITES= https://git.universe-factory.net/libuecc/snapshot/
+EXTRACT_SUFX= .tar
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://git.universe-factory.net/libuecc/
+COMMENT= Very small Elliptic Curve Cryptography library
+LICENSE= 2-clause-bsd
+
+USE_CMAKE= yes
+
+PKGCONFIG_OVERRIDE+= libuecc.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/libuecc/PLIST b/security/libuecc/PLIST
new file mode 100644
index 00000000000..aa2df8f9b47
--- /dev/null
+++ b/security/libuecc/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2021/06/24 13:55:26 nia Exp $
+include/${PKGNAME}/libuecc/ecc.h
+lib/libuecc.a
+lib/libuecc.so
+lib/libuecc.so.0
+lib/libuecc.so.0.${PKGVERSION}
+lib/pkgconfig/libuecc.pc
diff --git a/security/libuecc/buildlink3.mk b/security/libuecc/buildlink3.mk
new file mode 100644
index 00000000000..38f2ecdf4fc
--- /dev/null
+++ b/security/libuecc/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/06/24 13:55:26 nia Exp $
+
+BUILDLINK_TREE+= libuecc
+
+.if !defined(LIBUECC_BUILDLINK3_MK)
+LIBUECC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libuecc+= libuecc>=7
+BUILDLINK_PKGSRCDIR.libuecc?= ../../security/libuecc
+.endif # LIBUECC_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libuecc
diff --git a/security/libuecc/distinfo b/security/libuecc/distinfo
new file mode 100644
index 00000000000..fc401c8b04b
--- /dev/null
+++ b/security/libuecc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/06/24 13:55:26 nia Exp $
+
+SHA1 (libuecc-7.tar) = 7aa9a1d879008620f6482be0202ebc8637bd73d7
+RMD160 (libuecc-7.tar) = 6f55e2b6792b9afba4415b6b12dfc473a37c2807
+SHA512 (libuecc-7.tar) = 3b9bfc62709bf8242fc4caeeda1c079fe17bb74492eb14527d0a8afbe969a836dd5b62b4408adb3ff80b9f7dcdfdc8f6be9886dc6e4181780b55c71fd6c604d8
+Size (libuecc-7.tar) = 174080 bytes