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: agc
Date: Wed Oct 14 03:20:32 UTC 2026
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/libagcre: DESCR Makefile PLIST distinfo
Log Message:
devel/libagcre: Add libagcre, a regular expression library, version 20261013
to the packages collection.
The library is libagcre, which implements regular expression compilation
and execution. It uses the Pike Virtual Machine approach:
+ standard POSIX features where sane
+ some/most Perl escapes
+ lazy matching via '?'
+ non-capture parentheses (?:...)
+ in-expression case-insensitive directives are supported (?i)...(?-i)
+ all case-insensitivity is actioned at expression exec time - compile
with case-sensitive matching, execute with case-insensitive
+ utf-8 is supported both for expressions and for input text when
matching
+ unicode escapes (in the Java format of \uABCD) are supported
+ wide character support is also provided. Expressions can be compiled
in utf-8, and searched using wchar_t arrays. When matching, start and
end offsets are given relative to the input format: utf-8 is a byte
offset from the start of the stream, and wide chars are given in
wide character offsets from the start
+ exact multiple repetition specifiers {N}, and {N,M} are supported
+ backreferences are supported
+ at the most basic level, individual 32bit unicode characters are
matched
To generate a diff of this commit:
cvs rdiff -u -r1.4703 -r1.4704 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libagcre/DESCR \
pkgsrc/devel/libagcre/Makefile pkgsrc/devel/libagcre/PLIST \
pkgsrc/devel/libagcre/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.4703 pkgsrc/devel/Makefile:1.4704
--- pkgsrc/devel/Makefile:1.4703 Tue Oct 13 18:02:15 2026
+++ pkgsrc/devel/Makefile Wed Oct 14 03:20:32 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4703 2026/10/13 18:02:15 gdt Exp $
+# $NetBSD: Makefile,v 1.4704 2026/10/14 03:20:32 agc Exp $
#
COMMENT= Development utilities
@@ -974,6 +974,7 @@ SUBDIR+= lettuce
SUBDIR+= libadalang-tools
SUBDIR+= libadapta
SUBDIR+= libadwaita
+SUBDIR+= libagcre
SUBDIR+= libantlr3c
SUBDIR+= libappindicator
SUBDIR+= libarena
Added files:
Index: pkgsrc/devel/libagcre/DESCR
diff -u /dev/null pkgsrc/devel/libagcre/DESCR:1.1
--- /dev/null Wed Oct 14 03:20:32 2026
+++ pkgsrc/devel/libagcre/DESCR Wed Oct 14 03:20:32 2026
@@ -0,0 +1,22 @@
+The resulting library is libagcre, which implements regular expression
+compilation and execution. It uses the Pike Virtual Machine approach:
+
++ standard POSIX features where sane
++ some/most Perl escapes
++ lazy matching via '?'
++ non-capture parentheses (?:...)
++ in-expression case-insensitive directives are supported (?i)...(?-i)
++ all case-insensitivity is actioned at expression exec time.
++ utf-8 is supported both for expressions and for input text when
+ matching
++ unicode escapes (in the Java format of \uABCD) are supported
++ wide character support is also provided. Expressions can be compiled
+ in utf-8, and searched using wchar_t arrays. When matching, start and
+ end offsets are given relative to the input format: utf-8 is a byte
+ offset from the start of the stream, and wide chars are given in
+ wide character offsets from the start
++ exact multiple repetition specifiers {N}, and {N,M} are supported
++ backreferences are supported
++ at the most basic level, individual 32bit unicode characters are
+ matched
++ an egrep/grep implementation for matching unicode regexps included
Index: pkgsrc/devel/libagcre/Makefile
diff -u /dev/null pkgsrc/devel/libagcre/Makefile:1.1
--- /dev/null Wed Oct 14 03:20:32 2026
+++ pkgsrc/devel/libagcre/Makefile Wed Oct 14 03:20:32 2026
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2026/10/14 03:20:32 agc Exp $
+
+DISTNAME= agcre-${VERSION}
+PKGNAME= libagcre-${VERSION}
+VERSION= 20261013
+CATEGORIES= devel
+MASTER_SITES= -${MASTER_SITE_CODEBERG:=agc-codeberg/agcre/archive/${VERSION}.tar.gz}
+
+MAINTAINER= agc%NetBSD.org@localhost
+HOMEPAGE= https://codeberg.org/agc-codeberg/agcre/
+COMMENT= Efficient regular expression library for UTF-8 and wide chars
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/agcre/dist
+
+USE_LANGUAGES= c
+
+USE_LIBTOOL= yes
+
+GNU_CONFIGURE= yes
+MAKE_FILE= Makefile.libtool
+AUTO_MKDIRS= yes
+
+_WRAP_EXTRA_ARGS.CC+= ${_RELRO_LDFLAGS}
+CWRAPPERS_PREPEND.cc+= ${_RELRO_LDFLAGS}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/libagcre/PLIST
diff -u /dev/null pkgsrc/devel/libagcre/PLIST:1.1
--- /dev/null Wed Oct 14 03:20:32 2026
+++ pkgsrc/devel/libagcre/PLIST Wed Oct 14 03:20:32 2026
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2026/10/14 03:20:32 agc Exp $
+include/agcre.h
+lib/libagcre.la
+man/man3/libagcre.3
+man/man7/agcre_format.7
Index: pkgsrc/devel/libagcre/distinfo
diff -u /dev/null pkgsrc/devel/libagcre/distinfo:1.1
--- /dev/null Wed Oct 14 03:20:32 2026
+++ pkgsrc/devel/libagcre/distinfo Wed Oct 14 03:20:32 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/10/14 03:20:32 agc Exp $
+
+BLAKE2s (agcre-20261013.tar.gz) = 8387cba28a9d3fd5d63ec096681587a5439786354439ed260e364dfb59bfceb0
+SHA512 (agcre-20261013.tar.gz) = 603107c62e137f55bc587fe3586c03a24d65853ab20caf3596a6a8fa953cbab9b53aa234cfa3054b42b640e6da1ca5139799ff0c8e9c87e7be6bd1d47b99c0ee
+Size (agcre-20261013.tar.gz) = 802495 bytes
Home |
Main Index |
Thread Index |
Old Index