pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/djbsort



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jul 29 07:38:48 UTC 2018

Added Files:
        pkgsrc/math/djbsort: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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@


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/djbsort/DESCR pkgsrc/math/djbsort/Makefile \
    pkgsrc/math/djbsort/PLIST pkgsrc/math/djbsort/buildlink3.mk \
    pkgsrc/math/djbsort/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/math/djbsort/DESCR
diff -u /dev/null pkgsrc/math/djbsort/DESCR:1.1
--- /dev/null   Sun Jul 29 07:38:48 2018
+++ pkgsrc/math/djbsort/DESCR   Sun Jul 29 07:38:48 2018
@@ -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.
Index: pkgsrc/math/djbsort/Makefile
diff -u /dev/null pkgsrc/math/djbsort/Makefile:1.1
--- /dev/null   Sun Jul 29 07:38:48 2018
+++ pkgsrc/math/djbsort/Makefile        Sun Jul 29 07:38:48 2018
@@ -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"
Index: pkgsrc/math/djbsort/PLIST
diff -u /dev/null pkgsrc/math/djbsort/PLIST:1.1
--- /dev/null   Sun Jul 29 07:38:48 2018
+++ pkgsrc/math/djbsort/PLIST   Sun Jul 29 07:38:48 2018
@@ -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
Index: pkgsrc/math/djbsort/buildlink3.mk
diff -u /dev/null pkgsrc/math/djbsort/buildlink3.mk:1.1
--- /dev/null   Sun Jul 29 07:38:48 2018
+++ pkgsrc/math/djbsort/buildlink3.mk   Sun Jul 29 07:38:48 2018
@@ -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
Index: pkgsrc/math/djbsort/distinfo
diff -u /dev/null pkgsrc/math/djbsort/distinfo:1.1
--- /dev/null   Sun Jul 29 07:38:48 2018
+++ pkgsrc/math/djbsort/distinfo        Sun Jul 29 07:38:48 2018
@@ -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