pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/djbsort math/djbsort: import djbsort-20180717



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a50f7481033
branches:  trunk
changeset: 383364:5a50f7481033
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 29 07:38:48 2018 +0000

description:
math/djbsort: import djbsort-20180717

djbsort is a software library for sorting arrays of integers. It
provides the following features:

- Speed: djbsort holds new speed records for in-memory sorting.

- Security: djbsort is designed to be safe for cryptographic contexts.

- Verification: djbsort includes tools to automatically verify correctness.

These features are not separate options: there is a single sorting
function that is simultaneously fast, secure, and verified.

Packaged for wip by schmonz@

diffstat:

 math/djbsort/DESCR         |  11 +++++++++++
 math/djbsort/Makefile      |  35 +++++++++++++++++++++++++++++++++++
 math/djbsort/PLIST         |   5 +++++
 math/djbsort/buildlink3.mk |  13 +++++++++++++
 math/djbsort/distinfo      |   6 ++++++
 5 files changed, 70 insertions(+), 0 deletions(-)

diffs (90 lines):

diff -r f69d5d1cd4d3 -r 5a50f7481033 math/djbsort/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/djbsort/DESCR        Sun Jul 29 07:38:48 2018 +0000
@@ -0,0 +1,11 @@
+djbsort is a software library for sorting arrays of integers. It
+provides the following features:
+
+- Speed: djbsort holds new speed records for in-memory sorting.
+
+- Security: djbsort is designed to be safe for cryptographic contexts.
+
+- Verification: djbsort includes tools to automatically verify correctness.
+
+These features are not separate options: there is a single sorting
+function that is simultaneously fast, secure, and verified.
diff -r f69d5d1cd4d3 -r 5a50f7481033 math/djbsort/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/djbsort/Makefile     Sun Jul 29 07:38:48 2018 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2018/07/29 07:38:48 wiz Exp $
+
+DISTNAME=              djbsort-20180717
+CATEGORIES=            math
+MASTER_SITES=          ${HOMEPAGE}
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              https://sorting.cr.yp.to/
+COMMENT=               Library for sorting arrays of integers
+LICENSE=               public-domain
+
+PYTHON_FOR_BUILD_ONLY= yes
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+REPLACE_PYTHON=                build test upgrade verif/tryinput
+
+INSTALLATION_DIRS=     include lib
+
+do-build:
+       cd ${WRKSRC} && ./build
+
+do-test: do-build
+       cd ${WRKSRC} && ./test
+
+do-install: do-test
+       cd ${WRKSRC} && ./upgrade &&                            \
+       cd link-install/newest &&                               \
+       for i in include/*.h; do                                \
+         ${INSTALL_DATA} $${i} ${DESTDIR}${PREFIX}/include;    \
+       done;                                                   \
+       for i in lib/*/*.a; do                                  \
+         ${INSTALL_DATA} $${i} ${DESTDIR}${PREFIX}/lib;        \
+       done
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f69d5d1cd4d3 -r 5a50f7481033 math/djbsort/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/djbsort/PLIST        Sun Jul 29 07:38:48 2018 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/29 07:38:48 wiz Exp $
+include/djbsort_cpucycles.h
+include/int32_sort.h
+include/uint32_sort.h
+lib/libdjbsort.a
diff -r f69d5d1cd4d3 -r 5a50f7481033 math/djbsort/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/djbsort/buildlink3.mk        Sun Jul 29 07:38:48 2018 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/07/29 07:38:48 wiz Exp $
+
+BUILDLINK_TREE+=       djbsort
+
+.if !defined(DJBSORT_BUILDLINK3_MK)
+DJBSORT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.djbsort+=        djbsort>=20180717
+BUILDLINK_PKGSRCDIR.djbsort?=  ../../math/djbsort
+BUILDLINK_DEPMETHOD.djbsort?=  build
+.endif # DJBSORT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -djbsort
diff -r f69d5d1cd4d3 -r 5a50f7481033 math/djbsort/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/djbsort/distinfo     Sun Jul 29 07:38:48 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/07/29 07:38:48 wiz Exp $
+
+SHA1 (djbsort-20180717.tar.gz) = 8f6efd8f66aa23707d54c083b9fb28371a409c55
+RMD160 (djbsort-20180717.tar.gz) = 64d92cccf13d8a997ea25ee77491f54b6a6b3ce1
+SHA512 (djbsort-20180717.tar.gz) = c26a871c46006580343b2876203264c8de0db613ee90ba5dd050f46a71a346d9340ecd06220dc1c0a46a6c1cd910af4bd2cb3fcd39588a62cc2a4a996fc9113e
+Size (djbsort-20180717.tar.gz) = 25055 bytes



Home | Main Index | Thread Index | Old Index