pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/sfsexp



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Apr 26 19:36:49 UTC 2023

Modified Files:
        pkgsrc/devel/sfsexp: Makefile PLIST distinfo

Log Message:
sfsexp: update to 1.4.1.

1.4.1

Summary

This is a bug fix release that addresses a race condition that can
occur in multi-threaded programs when memory management is enabled.
In previous versions of the library memory management was enabled
by default. This is no longer the case, and it must be enabled
explicitly at configure time.

Explanation of bug: The global variables used for caching and
reusing allocated structures and the functions that manipulate them
do not currently protect critical sections to guarantee atomicity
which can lead to failures in multithreaded programs. The current
fix is to disable memory management by compiling with the
_NO_MEMORY_MANAGEMENT_ directive such that the thread-unsafe code
must be enabled explicitly. The unsafe code may be removed in future
releases if performance evaluation determines that it is a legacy
feature that no longer provides a tangible performance benefit. If
it does provide a measurable benefit, a thread-safe fix will be
implemented.

1.4.0

Updates

    updates to build and installation process, pkg-config
    rename package from sexpr to sfsexp to avoid confusion
    documentation updates
    additional UTF-8 tests
    removal of archaic code that is no longer necessary
    fix for sexp_to_dotfile looping on empty lists
    update sexpvis.c to add arguments

Pull request changes

    generate pkgconfig file during configure by @bremner in #5
    make _sexp_to_dot static / hidden by @bremner in #4
    fix for sexp_to_dotfile looping on empty lists by @bremner in #8
    add some simple non-ascii tests by @bremner in #6
    remove archive/ by @bremner in #10
    Install sfsexp.pc file by @ryoon in #11
    Honor LDFLAGS to fix RELRO build, for example by @ryoon in #12
    Enhance markdown in README.md by @jpellegrini in #13
    Rename sexpr to sfsexp by @mjg in #17
    Pkgincludedir by @mjg in #18


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/sfsexp/Makefile \
    pkgsrc/devel/sfsexp/PLIST pkgsrc/devel/sfsexp/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/sfsexp/Makefile
diff -u pkgsrc/devel/sfsexp/Makefile:1.1 pkgsrc/devel/sfsexp/Makefile:1.2
--- pkgsrc/devel/sfsexp/Makefile:1.1    Mon Nov  1 14:15:42 2021
+++ pkgsrc/devel/sfsexp/Makefile        Wed Apr 26 19:36:49 2023
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2021/11/01 14:15:42 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2023/04/26 19:36:49 wiz Exp $
 
-GITHUB_PROJECT=        sfsexp
-DISTNAME=      sexpr-1.3.1pre20211025
-PKGNAME=       ${DISTNAME:S/sexpr-/sfsexp-/}
+DISTNAME=      sfsexp-1.4.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mjsottile/}
-GITHUB_TAG=    30739f9544cfa43212769bb3b4eabfaba44b8ff6
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/mjsottile/sfsexp/
@@ -15,13 +13,7 @@ LICENSE=     gnu-lgpl-v2.1
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_LANGUAGES= c c++
-USE_TOOLS+=    automake
 
 PKGCONFIG_OVERRIDE=    sfsexp.pc.in
 
-pre-configure:
-       set -e; cd ${WRKSRC}; \
-       ${MKDIR} m4; \
-       aclocal; libtoolize; autoheader; automake -a --foreign -i; autoconf
-
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/sfsexp/PLIST
diff -u pkgsrc/devel/sfsexp/PLIST:1.1 pkgsrc/devel/sfsexp/PLIST:1.2
--- pkgsrc/devel/sfsexp/PLIST:1.1       Mon Nov  1 14:15:42 2021
+++ pkgsrc/devel/sfsexp/PLIST   Wed Apr 26 19:36:49 2023
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2021/11/01 14:15:42 ryoon Exp $
-include/cstring.h
-include/faststack.h
-include/sexp.h
-include/sexp_errors.h
-include/sexp_memory.h
-include/sexp_ops.h
-include/sexp_vis.h
+@comment $NetBSD: PLIST,v 1.2 2023/04/26 19:36:49 wiz Exp $
+include/sfsexp/cstring.h
+include/sfsexp/faststack.h
+include/sfsexp/sexp.h
+include/sfsexp/sexp_errors.h
+include/sfsexp/sexp_memory.h
+include/sfsexp/sexp_ops.h
+include/sfsexp/sexp_vis.h
 lib/libsexp.la
 lib/pkgconfig/sfsexp.pc
Index: pkgsrc/devel/sfsexp/distinfo
diff -u pkgsrc/devel/sfsexp/distinfo:1.1 pkgsrc/devel/sfsexp/distinfo:1.2
--- pkgsrc/devel/sfsexp/distinfo:1.1    Mon Nov  1 14:15:42 2021
+++ pkgsrc/devel/sfsexp/distinfo        Wed Apr 26 19:36:49 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2021/11/01 14:15:42 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2023/04/26 19:36:49 wiz Exp $
 
-BLAKE2s (sexpr-1.3.1pre20211025-30739f9544cfa43212769bb3b4eabfaba44b8ff6.tar.gz) = f2563ac2b68126e4fca2f5f664fb23bf4e21b248f8f9341f308df22af6b1054d
-SHA512 (sexpr-1.3.1pre20211025-30739f9544cfa43212769bb3b4eabfaba44b8ff6.tar.gz) = 
41c070d67ca317042b9bb4d149f9b52f9966767d1f213a200831277a15a67d414ccbdc5f9665e60a8e3aa8ec774787123a17b9007b8aaebc6c384582f562d3a5
-Size (sexpr-1.3.1pre20211025-30739f9544cfa43212769bb3b4eabfaba44b8ff6.tar.gz) = 115585 bytes
+BLAKE2s (sfsexp-1.4.1.tar.gz) = 5d26b0fe2d641a04ad8d07226b84773c90d19369040baf5d655e7997202d0e30
+SHA512 (sfsexp-1.4.1.tar.gz) = d7625f1b58b12bf34d0d0e9a110bac7ea48ce7b5d9920bb4dd11e5dacf1e9fd998f974fc5da9669797496bb43702319cee44f2e760d0888b2d22db80a55e5f44
+Size (sfsexp-1.4.1.tar.gz) = 465297 bytes



Home | Main Index | Thread Index | Old Index