head 1.6; access; symbols pkgsrc-2025Q2:1.5.0.2 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.4.0.12 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.10 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.8 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.6 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.4 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.2 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.2.0.26 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.24 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.22 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.20 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.18 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.16 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.14 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.12 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.10 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.8 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.6 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.4 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.2 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.1.0.6 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.4 pkgsrc-2019Q4-base:1.1; locks; strict; comment @# @; 1.6 date 2025.07.08.21.13.37; author schmonz; state dead; branches; next 1.5; commitid whcP7jss1X3UgZ1G; 1.5 date 2025.05.13.03.42.25; author schmonz; state Exp; branches; next 1.4; commitid ehcH1GDy5pnSfHUF; 1.4 date 2023.11.23.18.50.30; author schmonz; state Exp; branches; next 1.3; commitid bZ3pJQYrvawAxLNE; 1.3 date 2023.11.11.11.52.16; author schmonz; state Exp; branches; next 1.2; commitid yHcr01TyWBH1CbME; 1.2 date 2020.07.07.10.31.03; author schmonz; state Exp; branches; next 1.1; commitid ySoFi4aBy4bur8fC; 1.1 date 2019.12.15.19.03.51; author schmonz; state Exp; branches; next ; commitid weRWLcqp2P4XRPOB; desc @@ 1.6 log @skalibs: build from git to get macOS shlibs. Bump PKGREVISION. Other changes from the next release-to-be: - Bugfixes. - crc32c implementation: skalibs/crc32c.h pkgsrc changes: - Add shlibs.mk to simplify PLIST management (also for use by dependent packages that will install shlibs without libtool in the same way) @ text @$NetBSD: patch-Makefile,v 1.5 2025/05/13 03:42:25 schmonz Exp $ Libtoolize for shared libraries on Darwin. --- Makefile.orig 2025-05-01 15:14:10.000000000 +0000 +++ Makefile @@@@ -15,6 +15,8 @@@@ endif -include config.mak include package/deps.mak +LIBTOOL=libtool --tag=CC + version_m := $(basename $(version)) version_M := $(basename $(version_m)) version_l := $(basename $(version_M)) @@@@ -83,8 +85,8 @@@@ endif install: install-sysconf install-sysdeps install-dynlib install-lib install-include install-pkgconfig install-sysconf: $(ALL_DATA:src/etc/%=$(DESTDIR)$(sysconfdir)/%) install-sysdeps: $(ALL_SYSDEPS:$(sysdeps)/%=$(DESTDIR)$(sysdepdir)/%) -install-dynlib: $(SHARED_LIBS:lib%.so.xyzzy=$(DESTDIR)$(dynlibdir)/lib%.so) -install-lib: $(STATIC_LIBS:lib%.a.xyzzy=$(DESTDIR)$(libdir)/lib%.a) +install-dynlib: $(SHARED_LIBS:lib%.la=$(DESTDIR)$(dynlibdir)/lib%.la) +install-lib: install-include: $(ALL_INCLUDES:src/include/$(package)/%.h=$(DESTDIR)$(includedir)/$(package)/%.h) install-pkgconfig: $(PC_TARGETS:%=$(DESTDIR)$(pkgconfdir)/%) @@@@ -110,13 +112,8 @@@@ $(DESTDIR)$(sysconfdir)/%: src/etc/% $(DESTDIR)$(sysdepdir)/%: $(sysdeps)/% exec $(INSTALL) -D -m 644 $< $@@ -$(DESTDIR)$(dynlibdir)/lib%.so $(DESTDIR)$(dynlibdir)/lib%.so.$(version_M): lib%.so.xyzzy - $(INSTALL) -D -m 755 $< $@@.$(version) && \ - $(INSTALL) -l $(@@F).$(version) $@@.$(version_M) && \ - exec $(INSTALL) -l $(@@F).$(version_M) $@@ - -$(DESTDIR)$(libdir)/lib%.a: lib%.a.xyzzy - exec $(INSTALL) -D -m 644 $< $@@ +$(DESTDIR)$(dynlibdir)/%.la: %.la + exec $(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $< $@@ $(DESTDIR)$(includedir)/$(package)/%.h: src/include/$(package)/%.h exec $(INSTALL) -D -m 644 $< $@@ @@@@ -124,18 +121,16 @@@@ $(DESTDIR)$(includedir)/$(package)/%.h: $(DESTDIR)$(pkgconfdir)/lib%.pc: lib%.pc exec $(INSTALL) -D -m 644 $< $@@ -%.o: %.c - exec $(CC) $(CPPFLAGS_ALL) $(CFLAGS_ALL) -c -o $@@ $< - %.lo: %.c - exec $(CC) $(CPPFLAGS_ALL) $(CFLAGS_ALL) $(CFLAGS_SHARED) -c -o $@@ $< + exec $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS_ALL) $(CFLAGS_ALL) $(CFLAGS_SHARED) -c -o $@@ $< + +libskarnet.a.xyzzy: libskarnet.la -libskarnet.a.xyzzy: $(ALL_SOBJS) - exec $(AR) rc $@@ $^ - exec $(RANLIB) $@@ +libskarnet.la: libtool-version-number $(ALL_DOBJS) + exec $(LIBTOOL) --mode=link $(CC) -o $@@ $(CFLAGS_ALL) $(CFLAGS_SHARED) $(LDFLAGS_ALL) $^ $(SOCKET_LIB) $(SPAWN_LIB) $(SYSCLOCK_LIB) $(TAINNOW_LIB) $(TIMER_LIB) $(UTIL_LIB) -version-number `cat libtool-version-number` -rpath $(dynlibdir) -libskarnet.so.xyzzy: $(ALL_DOBJS) - exec $(CC) -o $@@ $(CFLAGS_ALL) $(CFLAGS_SHARED) $(LDFLAGS_ALL) $(LDFLAGS_SHARED) -Wl,-soname,libskarnet.so.$(version_M) -Wl,-rpath=$(dynlibdir) $^ $(SOCKET_LIB) $(SPAWN_LIB) $(SYSCLOCK_LIB) $(TAINNOW_LIB) $(TIMER_LIB) $(UTIL_LIB) +libtool-version-number: + echo $(version_m) | awk -F. '{ printf "%d:%d:%d", $$1, $$2, $$3 }' > $@@ libskarnet.pc: exec env \ @ 1.5 log @skalibs: update to 2.14.4.0. Changes: - Bugfixes. - Documentation fixes. (This file, in particular.) - New functions: buffer_timed_getv, buffer_timed_putv, timed_read, timed_readv, timed_Write, timed_writev - New sysdeps, better handling of variable sysdeps - New functions: sagetexecname, tain_addmsec, millisleep - Install .pc file @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.4 2023/11/23 18:50:30 schmonz Exp $ @ 1.4 log @skalibs: update to 2.14.0.1. Changes: - Revamped ipv6 parsing code. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.3 2023/11/11 11:52:16 schmonz Exp $ d5 1 a5 1 --- Makefile.orig 2023-11-17 05:03:33.000000000 +0000 d7 1 a7 1 @@@@ -17,6 +17,8 @@@@ CC = $(error Please use ./configure firs d16 2 a17 2 @@@@ -79,8 +81,8 @@@@ endif install: install-sysconf install-sysdeps install-dynlib install-lib install-include d25 1 d27 1 a27 2 ifneq ($(exthome),) @@@@ -105,29 +107,22 @@@@ $(DESTDIR)$(sysconfdir)/%: src/etc/% d43 3 d63 1 a63 1 - exec $(CC) -o $@@ $(CFLAGS_ALL) $(CFLAGS_SHARED) $(LDFLAGS_ALL) $(LDFLAGS_SHARED) -Wl,-soname,libskarnet.so.$(version_M) $^ $(SOCKET_LIB) $(SPAWN_LIB) $(SYSCLOCK_LIB) $(TAINNOW_LIB) $(TIMER_LIB) $(UTIL_LIB) d67 2 a68 2 .PHONY: it all clean distclean tgz strip install install-data install-sysdeps install-dynlib install-lib install-include @ 1.3 log @skalibs: update to 2.14.0.0. Changes: - Bugfixes. - New accessor function: selfpipe_fd(). - New functions: slurpn(), openslurpnclose(). - slurp() and openslurpclose() are now macros. - New strerr macros to warn with a "fatal" message. - New cdb functions: cdb_hashv(), cdbmake_addv(). - child_spawn() revamp. Prototype change (last arg is a size_t). - case_lowerb() and friends now use ctype.h functions. - case_str() removed, strcasestr() fallback implementation added. - cspawn(): finally unifying fork() and posix_spawn(). - Better support for nonstandard posix_spawn subfunctions. - Lots of new sysdeps. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2020/07/07 10:31:03 schmonz Exp $ d5 1 a5 1 --- Makefile.orig 2023-10-12 03:09:38.000000000 +0000 d7 2 a8 2 @@@@ -19,6 +19,8 @@@@ endif include config.mak d16 1 a16 1 @@@@ -81,8 +83,8 @@@@ endif d27 1 a27 1 @@@@ -107,29 +109,22 @@@@ $(DESTDIR)$(sysconfdir)/%: src/etc/% @ 1.2 log @Update to 2.9.2.1. From the changelog: - Bugfixes. - New bigkv_* set of functions in libdatastruct. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2019/12/15 19:03:51 schmonz Exp $ d5 1 a5 1 --- Makefile.orig 2020-01-27 16:20:44.000000000 +0000 d7 2 a8 2 @@@@ -17,6 +17,8 @@@@ CC = $(error Please use ./configure firs -include config.mak d16 3 a18 3 @@@@ -79,8 +81,8 @@@@ endif install: install-data install-sysdeps install-dynlib install-lib install-include install-data: $(ALL_DATA:src/etc/%=$(DESTDIR)$(datadir)/%) d27 1 a27 1 @@@@ -105,29 +107,22 @@@@ $(DESTDIR)$(datadir)/%: src/etc/% @ 1.1 log @Update to 2.9.1.0. From the changelog: - Bugfixes. - Better support for GNU Hurd. - Added path_canonicalize(). - Better support of out-of-path toolchains (among other things, that means better autotools emulation). - Build more friendly to recent glibc. - Refactoring and optimization of scanning and formatting functions. - Refactoring of stopwatch/wallclock functions. The --enable-clock and --enable-monotonic configure switches have been removed. tain_now() can now be set at run time to use a wall clock (default, or via tain_now_set_wallclock()) or a stopwatch (via tain_now_set_stopwatch()), instead of it being fixed at build time. - Easy cross-compilation: no need to provide a whole sysdeps directory anymore. Only a few sysdeps have to be provided manually, via a --with-sysdep-K=V option to configure. Currently, that means one: --with-sysdep-devurandom=yes|no pkgsrc changes: - Libtoolize for shared libraries on Darwin. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- Makefile.orig 2019-09-19 14:00:38.000000000 +0000 d27 1 a27 1 @@@@ -105,30 +107,22 @@@@ $(DESTDIR)$(datadir)/%: src/etc/% d31 1 a31 1 -$(DESTDIR)$(dynlibdir)/%.so: %.so.xyzzy d33 1 a33 2 - $(INSTALL) -l $(@@F).$(version) $@@.$(version_m) && \ - $(INSTALL) -l $(@@F).$(version_m) $@@.$(version_M) && \ @