diff options
author | nikita <nikita@pkgsrc.org> | 2020-04-28 13:46:35 +0000 |
---|---|---|
committer | nikita <nikita@pkgsrc.org> | 2020-04-28 13:46:35 +0000 |
commit | 6512f47b8c92edac1bd90118cfdb829817924906 (patch) | |
tree | 0690288fbd4f8bc0d3e6e07131e0ca25e987c90b /security | |
parent | 1025cb2b4ae87128e85c741ee88b2ca1be9e07e4 (diff) | |
download | pkgsrc-6512f47b8c92edac1bd90118cfdb829817924906.tar.gz |
Add security/libgabe Version 1.0
Import from wip
Fork of the CP ABE library libbswabe (http://hms.isi.jhu.edu/acsc/cpabe/)
replacing OpenSSL with libgcrypt and fixing some bugs.
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 3 | ||||
-rw-r--r-- | security/libgabe/DESCR | 2 | ||||
-rw-r--r-- | security/libgabe/Makefile | 22 | ||||
-rw-r--r-- | security/libgabe/PLIST | 3 | ||||
-rw-r--r-- | security/libgabe/buildlink3.mk | 20 | ||||
-rw-r--r-- | security/libgabe/distinfo | 6 |
6 files changed, 55 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile index 3283eeb262c..94d196d2942 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.753 2020/04/25 18:36:10 gutteridge Exp $ +# $NetBSD: Makefile,v 1.754 2020/04/28 13:46:35 nikita Exp $ # COMMENT= Security tools @@ -163,6 +163,7 @@ SUBDIR+= libdecaf SUBDIR+= libdes SUBDIR+= libfprint SUBDIR+= libfwbuilder +SUBDIR+= libgabe SUBDIR+= libgcrypt SUBDIR+= libgfshare SUBDIR+= libglobalplatform diff --git a/security/libgabe/DESCR b/security/libgabe/DESCR new file mode 100644 index 00000000000..8938666162c --- /dev/null +++ b/security/libgabe/DESCR @@ -0,0 +1,2 @@ +Fork of the CP ABE library libbswabe (http://hms.isi.jhu.edu/acsc/cpabe/) +replacing OpenSSL with libgcrypt and fixing some bugs. diff --git a/security/libgabe/Makefile b/security/libgabe/Makefile new file mode 100644 index 00000000000..db5268d849c --- /dev/null +++ b/security/libgabe/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2020/04/28 13:46:35 nikita Exp $ + +DISTNAME= libgabe-1.0 +CATEGORIES= security devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=schanzen/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= nikita@NetBSD.org +HOMEPAGE= https://github.com/schanzen/libgabe +COMMENT= Ciphertext-Policy Attribute-Based Encryption library +LICENSE= gnu-gpl-v2 + +USE_LANGUAGES= c c++ + +GNU_CONFIGURE= yes +USE_TOOLS+= gmake pkg-config + +.include "../../security/libgcrypt/buildlink3.mk" +.include "../../security/libpbc/buildlink3.mk" +.include "../../devel/gmp/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/libgabe/PLIST b/security/libgabe/PLIST new file mode 100644 index 00000000000..4ebef5bb221 --- /dev/null +++ b/security/libgabe/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2020/04/28 13:46:35 nikita Exp $ +include/gabe.h +lib/libgabe.a diff --git a/security/libgabe/buildlink3.mk b/security/libgabe/buildlink3.mk new file mode 100644 index 00000000000..3459977cc03 --- /dev/null +++ b/security/libgabe/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2020/04/28 13:46:35 nikita Exp $ + +BUILDLINK_TREE+= libgabe + +.if !defined(LIBGABE_BUILDLINK3_MK) +LIBGABE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libgabe+= libgabe>=1.0 +BUILDLINK_PKGSRCDIR.libgabe?= ../../security/libgabe + +pkgbase:= libgabe +.include "../../mk/pkg-build-options.mk" + +.include "../../security/libgcrypt/buildlink3.mk" +.include "../../security/libpbc/buildlink3.mk" +.include "../../devel/gmp/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.endif # LIBGABE_BUILDLINK3_MK + +BUILDLINK_TREE+= -libgabe diff --git a/security/libgabe/distinfo b/security/libgabe/distinfo new file mode 100644 index 00000000000..66155ae8c4a --- /dev/null +++ b/security/libgabe/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/04/28 13:46:35 nikita Exp $ + +SHA1 (libgabe-1.0.tar.gz) = e0a63abae4b35b5b5e16ed3a131ef4ebc56a012b +RMD160 (libgabe-1.0.tar.gz) = e8169f90e803e245de27124efe74995492fb3730 +SHA512 (libgabe-1.0.tar.gz) = 9603d8317a498da3004a43df4ce6bb903a925bf3eecdb465d222748a19f72d2b5f5399194d7bfb7864a7d53bf19a7ece9c599bb57d40692b811d1927fb90ab48 +Size (libgabe-1.0.tar.gz) = 73297 bytes |