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:   hauke
Date:           Tue Aug 12 18:13:55 UTC 2025

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/libbstring: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add devel/libbstring

This is a fork of Paul Hsieh's Better String Library. The following
features (or mis-features, depending on your point of view) are
included:

    Autotools build system
    Updated test suite based on Check
    Add Valgrind to the workflow
    Add continuous integration via GitHub Actions
    Remove C++ code
    Other various improvements

Currently this fork should be binary-compatible with the original
code. The only source incompatibility is the removal of the
const_bstring type.

(used by net/netatalk4)


To generate a diff of this commit:
cvs rdiff -u -r1.4509 -r1.4510 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libbstring/DESCR \
    pkgsrc/devel/libbstring/Makefile pkgsrc/devel/libbstring/PLIST \
    pkgsrc/devel/libbstring/buildlink3.mk pkgsrc/devel/libbstring/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.4509 pkgsrc/devel/Makefile:1.4510
--- pkgsrc/devel/Makefile:1.4509        Tue Aug 12 12:17:15 2025
+++ pkgsrc/devel/Makefile       Tue Aug 12 18:13:54 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4509 2025/08/12 12:17:15 ryoon Exp $
+# $NetBSD: Makefile,v 1.4510 2025/08/12 18:13:54 hauke Exp $
 #
 
 COMMENT=       Development utilities
@@ -967,6 +967,7 @@ SUBDIR+=    libbegemot
 SUBDIR+=       libbinio
 SUBDIR+=       libblkid
 SUBDIR+=       libbsd
+SUBDIR+=       libbstring
 SUBDIR+=       libcbor
 SUBDIR+=       libcerf
 SUBDIR+=       libcompizconfig

Added files:

Index: pkgsrc/devel/libbstring/DESCR
diff -u /dev/null pkgsrc/devel/libbstring/DESCR:1.1
--- /dev/null   Tue Aug 12 18:13:55 2025
+++ pkgsrc/devel/libbstring/DESCR       Tue Aug 12 18:13:55 2025
@@ -0,0 +1,14 @@
+This is a fork of Paul Hsieh's Better String Library
+<https://bstring.sourceforge.net/>. The following features (or
+mis-features, depending on your point of view) are included:
+
+1. Autotools build system
+2. Updated test suite based on Check
+3. Add Valgrind to the workflow
+4. Add continuous integration via GitHub Actions
+5. Remove C++ code
+6. Other various improvements
+
+Currently this fork should be binary-compatible with the original
+code. The only source incompatibility is the removal of the
+`const_bstring` type.
Index: pkgsrc/devel/libbstring/Makefile
diff -u /dev/null pkgsrc/devel/libbstring/Makefile:1.1
--- /dev/null   Tue Aug 12 18:13:55 2025
+++ pkgsrc/devel/libbstring/Makefile    Tue Aug 12 18:13:55 2025
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2025/08/12 18:13:55 hauke Exp $
+
+DISTNAME=      bstring-${PKGVER}
+PKGNAME=       libbstring-${PKGVER}
+PKGVER=                1.0.1
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=msteinert/bstring/releases/download/v${PKGVER}}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    hauke%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/msteinert/bstring/
+COMMENT=       String data type superior to the C library char buffer
+LICENSE=       modified-bsd
+
+PKGCONFIG_OVERRIDE+=   bstring.pc.in
+
+INSTALLATION_DIRS=     include lib lib/pkgconfig
+
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/libbstring/PLIST
diff -u /dev/null pkgsrc/devel/libbstring/PLIST:1.1
--- /dev/null   Tue Aug 12 18:13:55 2025
+++ pkgsrc/devel/libbstring/PLIST       Tue Aug 12 18:13:55 2025
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2025/08/12 18:13:55 hauke Exp $
+include/bstraux.h
+include/bstrlib.h
+lib/libbstring.so
+lib/libbstring.so.1
+lib/libbstring.so.1.0.0
+lib/pkgconfig/bstring.pc
Index: pkgsrc/devel/libbstring/buildlink3.mk
diff -u /dev/null pkgsrc/devel/libbstring/buildlink3.mk:1.1
--- /dev/null   Tue Aug 12 18:13:55 2025
+++ pkgsrc/devel/libbstring/buildlink3.mk       Tue Aug 12 18:13:55 2025
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2025/08/12 18:13:55 hauke Exp $
+
+BUILDLINK_TREE+=       libbstring
+
+.if !defined(LIBBSTRING_BUILDLINK3_MK)
+LIBBSTRING_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libbstring+=     libbstring>=1.0.1
+BUILDLINK_PKGSRCDIR.libbstring?=       ../../devel/libbstring
+.endif # LIBBSTRING_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libbstring
Index: pkgsrc/devel/libbstring/distinfo
diff -u /dev/null pkgsrc/devel/libbstring/distinfo:1.1
--- /dev/null   Tue Aug 12 18:13:55 2025
+++ pkgsrc/devel/libbstring/distinfo    Tue Aug 12 18:13:55 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/08/12 18:13:55 hauke Exp $
+
+BLAKE2s (bstring-1.0.1.tar.xz) = 7bb58e6b8a6524bf36b7b7288d2fc598a3b94148d680b87e8335415d0599ffb4
+SHA512 (bstring-1.0.1.tar.xz) = bdbe065981a3242e1f020275169347d712d6abc697be62acf0d26b4b9bf677c4dd96e6063e9bfa56f91f9b49f8d22bbb1ef62640957d53c99c3c787db2faf9c4
+Size (bstring-1.0.1.tar.xz) = 93096 bytes



Home | Main Index | Thread Index | Old Index