pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   abs
Date:           Tue Apr  1 17:03:03 UTC 2025

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/p5-Data-ULID: DESCR Makefile distinfo

Log Message:
Add p5-Data-ULID 1.3

This is an implementation in Perl of the ULID identifier type
introduced by Alizain Feerasta. The original implementation (in
Javascript) can be found at https://github.com/alizain/ulid.

ULIDs have several advantages over UUIDs in many contexts. The
advantages include:

- Lexicographically sortable
- The canonical representation is shorter than UUID (26 vs 36
  characters)
- Case insensitve and safely chunkable.
- URL-safe
- Timestamp can always be easily extracted if so desired.
- Limited compatibility with UUIDs, since both are 128-bit formats.
  Some conversion back and forth is possible.


To generate a diff of this commit:
cvs rdiff -u -r1.4457 -r1.4458 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Data-ULID/DESCR \
    pkgsrc/devel/p5-Data-ULID/Makefile pkgsrc/devel/p5-Data-ULID/distinfo

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4457 pkgsrc/devel/Makefile:1.4458
--- pkgsrc/devel/Makefile:1.4457        Sun Mar 30 07:57:19 2025
+++ pkgsrc/devel/Makefile       Tue Apr  1 17:03:03 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4457 2025/03/30 07:57:19 wiz Exp $
+# $NetBSD: Makefile,v 1.4458 2025/04/01 17:03:03 abs Exp $
 #
 
 COMMENT=       Development utilities
@@ -1571,6 +1571,7 @@ SUBDIR+=  p5-Data-Stag
 SUBDIR+=       p5-Data-Structure-Util
 SUBDIR+=       p5-Data-Taxi
 SUBDIR+=       p5-Data-TemporaryBag
+SUBDIR+=       p5-Data-ULID
 SUBDIR+=       p5-Data-UUID
 SUBDIR+=       p5-Data-UUID-Base64URLSafe
 SUBDIR+=       p5-Data-Uniqid

Added files:

Index: pkgsrc/devel/p5-Data-ULID/DESCR
diff -u /dev/null pkgsrc/devel/p5-Data-ULID/DESCR:1.1
--- /dev/null   Tue Apr  1 17:03:03 2025
+++ pkgsrc/devel/p5-Data-ULID/DESCR     Tue Apr  1 17:03:03 2025
@@ -0,0 +1,15 @@
+This is an implementation in Perl of the ULID identifier type
+introduced by Alizain Feerasta. The original implementation (in
+Javascript) can be found at https://github.com/alizain/ulid.
+
+ULIDs have several advantages over UUIDs in many contexts. The
+advantages include:
+
+- Lexicographically sortable
+- The canonical representation is shorter than UUID (26 vs 36
+  characters)
+- Case insensitve and safely chunkable.
+- URL-safe
+- Timestamp can always be easily extracted if so desired.
+- Limited compatibility with UUIDs, since both are 128-bit formats.
+  Some conversion back and forth is possible.
Index: pkgsrc/devel/p5-Data-ULID/Makefile
diff -u /dev/null pkgsrc/devel/p5-Data-ULID/Makefile:1.1
--- /dev/null   Tue Apr  1 17:03:03 2025
+++ pkgsrc/devel/p5-Data-ULID/Makefile  Tue Apr  1 17:03:03 2025
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2025/04/01 17:03:03 abs Exp $
+
+DISTNAME=      Data-ULID-1.3
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Data/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://metacpan.org/release/Data-ULID
+COMMENT=       Perl 5 module for Unique Lexicographically Sortable Identifier ULID
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-Bytes-Random-Secure-Tiny-[0-9]*:../../security/p5-Bytes-Random-Secure-Tiny
+
+PERL5_PACKLIST=                auto/Data/ULID/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-Data-ULID/distinfo
diff -u /dev/null pkgsrc/devel/p5-Data-ULID/distinfo:1.1
--- /dev/null   Tue Apr  1 17:03:03 2025
+++ pkgsrc/devel/p5-Data-ULID/distinfo  Tue Apr  1 17:03:03 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/04/01 17:03:03 abs Exp $
+
+BLAKE2s (Data-ULID-1.3.tar.gz) = 8a86a913ed7de4ef46b6ccf3bebcf9dcd4d20a0111d5b86c94cf7752fc6917b4
+SHA512 (Data-ULID-1.3.tar.gz) = 5da85a04cbb135fc4b20f438583298f853b2474814dabec948e6bad7c36ea2d983712d9cd406b41e657b3f25dc69a0d7904c0596c36073db3fac26468e8c3e28
+Size (Data-ULID-1.3.tar.gz) = 13614 bytes



Home | Main Index | Thread Index | Old Index