diff options
author | agc <agc@pkgsrc.org> | 2013-08-07 04:54:06 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2013-08-07 04:54:06 +0000 |
commit | 7f9cf88ee44327799ab22d700ffe6056187d9fe8 (patch) | |
tree | 88733b550feece69551b2504a47cecf526415179 /security | |
parent | a828b575ed3ecda36b41f100a469d081b0916310 (diff) | |
download | pkgsrc-7f9cf88ee44327799ab22d700ffe6056187d9fe8.tar.gz |
Initial import of libcurvecpr-20130806 into the packages collection.
libcurvecpr is a library implementation of Dan Bernstein's CurveCP
libcurvecpr is a low-level, networking-independent implementation of
Daniel J. Bernstein's CurveCP.
libcurvecpr is based on a system of callbacks that must be implemented
by library users. Like the reference CurveCP implementation, the
client, server, and message-handling portions of libcurvecpr are
entirely independent of each other.
This means that while it's slightly more effort to build software
based on libcurvecpr than other packages, it provides complete freedom
to use any underlying mechanism for handling network traffic you want
- whether it's an IPC connection to another program, standard
poll(2)-type functionality, or libev.
Diffstat (limited to 'security')
-rw-r--r-- | security/libcurvecpr/DESCR | 13 | ||||
-rw-r--r-- | security/libcurvecpr/Makefile | 29 | ||||
-rw-r--r-- | security/libcurvecpr/PLIST | 13 | ||||
-rw-r--r-- | security/libcurvecpr/buildlink3.mk | 13 | ||||
-rw-r--r-- | security/libcurvecpr/distinfo | 6 | ||||
-rw-r--r-- | security/libcurvecpr/patches/patch-configure.ac | 24 |
6 files changed, 98 insertions, 0 deletions
diff --git a/security/libcurvecpr/DESCR b/security/libcurvecpr/DESCR new file mode 100644 index 00000000000..e02b9abd89f --- /dev/null +++ b/security/libcurvecpr/DESCR @@ -0,0 +1,13 @@ +libcurvecpr is a low-level, networking-independent implementation of +Daniel J. Bernstein's CurveCP. + +libcurvecpr is based on a system of callbacks that must be implemented +by library users. Like the reference CurveCP implementation, the +client, server, and message-handling portions of libcurvecpr are +entirely independent of each other. + +This means that while it's slightly more effort to build software +based on libcurvecpr than other packages, it provides complete freedom +to use any underlying mechanism for handling network traffic you want +- whether it's an IPC connection to another program, standard +poll(2)-type functionality, or libev. diff --git a/security/libcurvecpr/Makefile b/security/libcurvecpr/Makefile new file mode 100644 index 00000000000..f06176b157f --- /dev/null +++ b/security/libcurvecpr/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2013/08/07 04:54:06 agc Exp $ + +DISTNAME= master +PKGNAME= libcurvecpr-20130806 +CATEGORIES= security +MASTER_SITES= https://github.com/impl/libcurvecpr/archive/ +EXTRACT_SUFX= .zip + +MAINTAINER= agc@NetBSD.org +HOMEPAGE= http://cr.yp.to/ecdh.html +COMMENT= Uses elliptic-curve cryptography to encrypt and authenticate data +LICENSE= modified-bsd + +DIST_SUBDIR= ${PKGNAME_NOREV} + +WRKSRC= ${WRKDIR}/libcurvecpr-master + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config automake autoreconf + +AUTO_MKDIRS= yes + +pre-configure: + cd ${WRKSRC} && ./autogen.sh + +.include "../../security/libsodium/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/security/libcurvecpr/PLIST b/security/libcurvecpr/PLIST new file mode 100644 index 00000000000..aa0a5ee97e7 --- /dev/null +++ b/security/libcurvecpr/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2013/08/07 04:54:06 agc Exp $ +include/curvecpr.h +include/curvecpr/block.h +include/curvecpr/bytes.h +include/curvecpr/chicago.h +include/curvecpr/client.h +include/curvecpr/messager.h +include/curvecpr/packet.h +include/curvecpr/server.h +include/curvecpr/session.h +include/curvecpr/util.h +lib/libcurvecpr.la +lib/pkgconfig/libcurvecpr.pc diff --git a/security/libcurvecpr/buildlink3.mk b/security/libcurvecpr/buildlink3.mk new file mode 100644 index 00000000000..0189f94c4ec --- /dev/null +++ b/security/libcurvecpr/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2013/08/07 04:54:06 agc Exp $ + +BUILDLINK_TREE+= libcurvecpr + +.if !defined(LIBCURVECPR_BUILDLINK3_MK) +LIBCURVECPR_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libcurvecpr+= libcurvecpr>=20130806 +BUILDLINK_PKGSRCDIR.libcurvecpr?= ../../security/libcurvecpr + +.endif # LIBCURVECPR_BUILDLINK3_MK + +BUILDLINK_TREE+= -libcurvecpr diff --git a/security/libcurvecpr/distinfo b/security/libcurvecpr/distinfo new file mode 100644 index 00000000000..55adf314e30 --- /dev/null +++ b/security/libcurvecpr/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2013/08/07 04:54:06 agc Exp $ + +SHA1 (libcurvecpr-20130806/master.zip) = 4083d5edaec792f68bfd91414ce5d4aedab8a688 +RMD160 (libcurvecpr-20130806/master.zip) = ae87ec907de18324c38e147b30c8cc7103380a48 +Size (libcurvecpr-20130806/master.zip) = 110182 bytes +SHA1 (patch-configure.ac) = ae60603706decaf38ad0b4b70aa98da6fee2a983 diff --git a/security/libcurvecpr/patches/patch-configure.ac b/security/libcurvecpr/patches/patch-configure.ac new file mode 100644 index 00000000000..4c83f0d0a02 --- /dev/null +++ b/security/libcurvecpr/patches/patch-configure.ac @@ -0,0 +1,24 @@ +$NetBSD: patch-configure.ac,v 1.1.1.1 2013/08/07 04:54:06 agc Exp $ + +New in autoconf-1.12 + +--- configure.ac 2013/08/07 04:25:57 1.1 ++++ configure.ac 2013/08/07 04:26:18 +@@ -11,7 +11,7 @@ + AC_SUBST(CURVECPR_LIBRARY_VERSION) + + # Checks for programs. +-AM_PROG_AR ++m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) + + AC_PROG_CC + AC_PROG_CPP +@@ -25,7 +25,7 @@ + PKG_PROG_PKG_CONFIG + + # Checks for libraries. +-PKG_CHECK_MODULES([CHECK], [check >= 0.9.8]) ++#PKG_CHECK_MODULES([CHECK], [check >= 0.9.8]) + AC_SEARCH_LIBS([clock_gettime], [rt posix4]) + AC_CHECK_LIB([sodium], [sodium_init], [], [AC_MSG_ERROR([missing libsodium])]) + |