head 1.11; access; symbols pkgsrc-2020Q2:1.10.0.20 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.16 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.10.0.18 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.10.0.14 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.12 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.10.0.10 pkgsrc-2019Q1-base:1.10 pkgsrc-2018Q4:1.10.0.8 pkgsrc-2018Q4-base:1.10 pkgsrc-2018Q3:1.10.0.6 pkgsrc-2018Q3-base:1.10 pkgsrc-2018Q2:1.10.0.4 pkgsrc-2018Q2-base:1.10 pkgsrc-2018Q1:1.10.0.2 pkgsrc-2018Q1-base:1.10 pkgsrc-2017Q4:1.9.0.10 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.8 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.4 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.2 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.6.0.62 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.60 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.58 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.56 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.54 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.52 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.50 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.48 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.46 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.44 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.42 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.40 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.38 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.36 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.34 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.32 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.30 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.28 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.26 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.24 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.22 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.20 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.18 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.16 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.14 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.12 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.10 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.8 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.6 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.4 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.2 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.5.0.12 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.10 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.8 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.6 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.4 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.2 pkgsrc-2008Q1:1.3.0.12 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.10 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.8 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.6 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.4 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.2 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.1.0.6 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.4 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.2 pkgsrc-2006Q1-base:1.1; locks; strict; comment @# @; 1.11 date 2020.06.30.13.24.05; author schmonz; state dead; branches; next 1.10; commitid MDLWrRiBprjNCfeC; 1.10 date 2018.02.24.01.03.53; author schmonz; state Exp; branches; next 1.9; commitid yO6PROFXpQqM43sA; 1.9 date 2017.01.02.14.13.32; author schmonz; state Exp; branches; next 1.8; commitid zHCepIiHRx7ISoAz; 1.8 date 2017.01.02.02.18.30; author schmonz; state Exp; branches; next 1.7; commitid yn0T72SxqLKpVkAz; 1.7 date 2016.12.31.15.13.43; author schmonz; state Exp; branches; next 1.6; commitid URqNumZOdTvlh9Az; 1.6 date 2009.04.07.02.59.04; author schmonz; state Exp; branches; next 1.5; 1.5 date 2008.04.10.03.20.49; author schmonz; state Exp; branches; next 1.4; 1.4 date 2008.04.04.16.23.27; author schmonz; state Exp; branches; next 1.3; 1.3 date 2006.12.29.22.00.17; author markd; state Exp; branches; next 1.2; 1.2 date 2006.12.28.03.20.32; author schmonz; state Exp; branches; next 1.1; 1.1 date 2006.02.24.14.55.45; author joerg; state Exp; branches; next ; desc @@ 1.11 log @Modernize patch filenames. NFCI. @ text @$NetBSD: patch-ab,v 1.10 2018/02/24 01:03:53 schmonz Exp $ Avoid "echo -n" in subshells and unsupported linker flags to fix OS X build. --- Makefile.orig 2018-02-23 16:24:54.000000000 +0000 +++ Makefile @@@@ -69,7 +69,7 @@@@ adt/hashb.lo adt/hashb.o: ltcompile adt/ adt/hashs.lo adt/hashs.o: ltcompile adt/hashs.c include/bglibs/adt_common.h ./ltcompile adt/hashs.c -all: sysdeps.h libraries programs man selftests +all: sysdeps.h libraries programs man base64/asc2bin.lo base64/asc2bin.o: ltcompile base64/asc2bin.c include/bglibs/base64.h include/bglibs/str.h sysdeps.h ./ltcompile base64/asc2bin.c @@@@ -90,7 +90,7 @@@@ base64/encode_part.lo base64/encode_part ./ltcompile base64/encode_part.c bg-installer: bg-installer.o ltload libbg-cli.la libbg.la bg-installer-cli.o - ./ltload bg-installer libbg-cli.la libbg.la bg-installer-cli.o -lbg-cli -static + ./ltload bg-installer libbg-cli.la libbg.la bg-installer-cli.o -static bg-installer-cli.c: bg-installer.cli cli-generate sysdeps.h ./cli-generate -c $< >$@@ @@@@ -157,7 +157,7 @@@@ compile: conf-cc chmod 755 compile crc-gentab: crc-gentab.o load fmt/lcase.o fmt/ucase.o fmt/unum.o iobuf/iobuf_timeout.o iobuf/obuf_flush.o iobuf/obuf_pad.o iobuf/obuf_put3s.o iobuf/obuf_put5s.o iobuf/obuf_putc.o iobuf/obuf_putunumw.o iobuf/obuf_stderr.o iobuf/obuf_stdout.o iobuf/obuf_write.o msg/common.o msg/die.o sys/iopoll.o - ./load crc-gentab fmt/lcase.o fmt/ucase.o fmt/unum.o iobuf/iobuf_timeout.o iobuf/obuf_flush.o iobuf/obuf_pad.o iobuf/obuf_put3s.o iobuf/obuf_put5s.o iobuf/obuf_putc.o iobuf/obuf_putunumw.o iobuf/obuf_stderr.o iobuf/obuf_stdout.o iobuf/obuf_write.o msg/common.o msg/die.o sys/iopoll.o -static + ./load crc-gentab fmt/lcase.o fmt/ucase.o fmt/unum.o iobuf/iobuf_timeout.o iobuf/obuf_flush.o iobuf/obuf_pad.o iobuf/obuf_put3s.o iobuf/obuf_put5s.o iobuf/obuf_putc.o iobuf/obuf_putunumw.o iobuf/obuf_stderr.o iobuf/obuf_stdout.o iobuf/obuf_write.o msg/common.o msg/die.o sys/iopoll.o crc-gentab.o: compile crc-gentab.c sysdeps.h include/bglibs/iobuf.h include/bglibs/iobuf_common.h include/bglibs/ibuf.h include/iobuf_common.h include/bglibs/obuf.h sysdeps.h include/bglibs/msg.h sysdeps.h include/bglibs/debug.h ./compile crc-gentab.c @@@@ -863,9 +863,7 @@@@ path/mktemp.lo path/mktemp.o: ltcompile ./ltcompile path/mktemp.c perl-head.pl: - ( set -e; PATH="/bin:/usr/bin:/usr/local/bin:$$PATH"; export PATH; \ - perl=`which perl`; \ - echo "#! $$perl"; \ + ( echo "#! ${PERL5}"; \ echo "# WARNING: This file was auto-generated. Do not edit!"; \ echo ) >perl-head.pl @ 1.10 log @Update to version 2.04. From the changelog: - Fixed DNS self-tests relying on external data. - Added support for DNS queries on an alternate port. - Added support for $MSG_NO_PROGRAM to suppress the "program: " prefix. - Fixed problem with struct ucred not being pulled in properly. - Fixed several problems with dns_qualify. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.9 2017/01/02 14:13:32 schmonz Exp $ @ 1.9 log @Fix build on NetBSD, Linux, Solaris: when linking bg-installer, remove -lbg-cli and restore -static. Add LICENSE while here. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.8 2017/01/02 02:18:30 schmonz Exp $ d5 1 a5 1 --- Makefile.orig 2015-02-06 23:57:34.000000000 +0000 a33 9 @@@@ -293,7 +293,7 @@@@ dl.lib: compile load @@echo 'main() { ; }' >trylib-ldl.c @@{ ./compile trylib-ldl.c && ./load trylib-ldl -ldl; } >/dev/null 2>&1 \ && { echo -ldl >dl.lib; echo yes; } \ - || { echo -n >dl.lib; echo no; } + || { : >dl.lib; echo no; } @@rm -f trylib-ldl.c trylib-ldl.o trylib-ldl fmt/char.lo fmt/char.o: ltcompile fmt/char.c include/bglibs/fmt.h a44 9 @@@@ -885,7 +883,7 @@@@ rt.lib: compile load @@echo 'main() { ; }' >trylib-lrt.c @@{ ./compile trylib-lrt.c && ./load trylib-lrt -lrt; } >/dev/null 2>&1 \ && { echo -lrt >rt.lib; echo yes; } \ - || { echo -n >rt.lib; echo no; } + || { : >rt.lib; echo no; } @@rm -f trylib-lrt.c trylib-lrt.o trylib-lrt selftest-cmp: selftest-cmp.o ltload libbg.la @ 1.8 log @Update to 2.03. From the changelog: - Reverted libbg-cli back to static linkage (for now) to fix problem with cli-generate generated code. - Fixed header include path in cli-generate. - Rewrote iobuf and str number formatting using fmt. - Added missing selftest.c file to the dist tarball (oops). - Fixed uint##.h headers. - Flattened out the installed headers and libraries. NOTE: This means this package is not backwards compatible. - Added dns library (modified from public domain djbdns-1.05) - Added wildcard handling and substitution to bg-installer. - Added reversed IPv4 formatting functions (from Jorge Valdes). - Added str_end* and str_case_end* functions, parallel to str_start* and str_case_start* but for suffixes. - Added the ability to use arbitrary format functions in fmt_multi. - Added support for enumerate and itemize in cli-generate. - Added surfrand_uniform function, protected against bias. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.7 2016/12/31 15:13:43 schmonz Exp $ d16 1 a16 2 @@@@ -89,8 +89,8 @@@@ base64/encode_line.lo base64/encode_line base64/encode_part.lo base64/encode_part.o: ltcompile base64/encode_part.c include/bglibs/base64.h include/bglibs/str.h sysdeps.h d19 1 a19 1 -bg-installer: bg-installer.o ltload libbg-cli.la libbg.la bg-installer-cli.o d21 1 a21 2 +bg-installer: bg-installer.o load libbg-cli.la libbg.la bg-installer-cli.o + ./load bg-installer .libs/libbg-cli.a .libs/libbg.a bg-installer-cli.o @ 1.7 log @Avoid "echo -n" in subshells to fix build on OS X (by consistently applying the pattern used by the socket.lib target). @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2009/04/07 02:59:04 schmonz Exp $ d3 3 a5 1 --- Makefile.orig 2009-02-19 17:11:51.000000000 +0000 d8 1 a8 1 adt/hashs.lo adt/hashs.o: ltcompile adt/hashs.c adt/common.h d11 2 a12 2 -all: dotlibs sysdeps.h libraries bg-installer cli-generate selftests +all: dotlibs sysdeps.h libraries bg-installer cli-generate d14 1 a14 1 base64/asc2bin.lo base64/asc2bin.o: ltcompile base64/asc2bin.c base64/base64.h str/str.h d16 21 a36 10 @@@@ -210,7 +210,7 @@@@ crypt.lib: compile load @@echo 'main() { ; }' >trylib-lcrypt.c @@{ ./compile trylib-lcrypt.c && ./load trylib-lcrypt -lcrypt; } >/dev/null 2>&1 \ && { echo -lcrypt >crypt.lib; echo yes; } \ - || { echo -n >crypt.lib; echo no; } + || { : >crypt.lib; echo no; } @@rm -f trylib-lcrypt.c trylib-lcrypt.o trylib-lcrypt crypto/hmac-md5.lo crypto/hmac-md5.o: ltcompile crypto/hmac-md5.c sysdeps.h crypto/hmac.h crypto/md5.h str/str.h @@@@ -290,7 +290,7 @@@@ dl.lib: compile load d44 2 a45 29 dotlibs: crypt.lib dl.lib m.lib net.lib rt.lib s.lib shadow.lib socket.lib @@@@ -624,7 +624,7 @@@@ m.lib: compile load @@echo 'main() { ; }' >trylib-lm.c @@{ ./compile trylib-lm.c && ./load trylib-lm -lm; } >/dev/null 2>&1 \ && { echo -lm >m.lib; echo yes; } \ - || { echo -n >m.lib; echo no; } + || { : >m.lib; echo no; } @@rm -f trylib-lm.c trylib-lm.o trylib-lm makeshlib: conf-ld conf-lib LIBVERSION Makefile @@@@ -632,7 +632,7 @@@@ makeshlib: conf-ld conf-lib LIBVERSION M echo '#!/bin/sh'; \ echo 'lib="$$1"; shift';\ echo 'rm -f "$$lib"';\ - echo libtool --mode=link --silent $$tag `head -n 1 conf-ld` '-o "$$lib" -rpath' `head -n 1 conf-lib` -version-info `head -n 1 LIBVERSION` '$${1+"$$@@"}';\ + echo libtool --mode=link --silent $$tag `head -n 1 conf-ld` '-o "$$lib" -rpath' `head -n 1 conf-lib` -version-info `head -n 1 LIBVERSION` '$${1+"$$@@"}' `cat socket.lib`;\ ) >makeshlib chmod 755 makeshlib @@@@ -710,7 +710,7 @@@@ net.lib: compile load @@echo 'main() { ; }' >trylib-lnet.c @@{ ./compile trylib-lnet.c && ./load trylib-lnet -lnet; } >/dev/null 2>&1 \ && { echo -lnet >net.lib; echo yes; } \ - || { echo -n >net.lib; echo no; } + || { : >net.lib; echo no; } @@rm -f trylib-lnet.c trylib-lnet.o trylib-lnet net/accept4.lo net/accept4.o: ltcompile net/accept4.c net/socket.h net/ipv4.h sysdeps.h net/ipv6.h sysdeps.h @@@@ -876,9 +876,7 @@@@ path/mktemp.lo path/mktemp.o: ltcompile d56 1 a56 1 @@@@ -896,7 +894,7 @@@@ rt.lib: compile load d64 1 a64 19 s.lib: compile load @@@@ -904,7 +902,7 @@@@ s.lib: compile load @@echo 'main() { ; }' >trylib-ls.c @@{ ./compile trylib-ls.c && ./load trylib-ls -ls; } >/dev/null 2>&1 \ && { echo -ls >s.lib; echo yes; } \ - || { echo -n >s.lib; echo no; } + || { : >s.lib; echo no; } @@rm -f trylib-ls.c trylib-ls.o trylib-ls selftests: selftests.sh sysdeps.h libbg-sysdeps.la libbg.la @@@@ -915,7 +913,7 @@@@ shadow.lib: compile load @@echo 'main() { ; }' >trylib-lshadow.c @@{ ./compile trylib-lshadow.c && ./load trylib-lshadow -lshadow; } >/dev/null 2>&1 \ && { echo -lshadow >shadow.lib; echo yes; } \ - || { echo -n >shadow.lib; echo no; } + || { : >shadow.lib; echo no; } @@rm -f trylib-lshadow.c trylib-lshadow.o trylib-lshadow socket.lib: compile load @ 1.6 log @Update to 1.106. From the changelog: - Fixed installation of msg/debug.h header file. - Fixed envstr_unset to remove all instances of the given name. - Added sysdep for d_ino and d_type in struct dirent. - Fixed the path_match function to match filenames containing pattern characters (ie [filename] etc) the same way shells do. - Files generated by cli-generate now indicate the source .cli file. - Fixed the debug messages to not enable any by default. - Modified the build procedure to build all sources with libtool. This should fix problems with parallel make. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2008/04/10 03:20:49 schmonz Exp $ d3 1 a3 1 --- Makefile.orig 2009-02-19 12:11:51.000000000 -0500 d14 27 d50 9 d70 27 @ 1.5 log @Update to 1.104. From the changelog: - Fixed several typos in the installation files. - Renamed some files that differed only in upper/lower case. This should fix building on OSX. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2008/04/04 16:23:27 schmonz Exp $ d3 1 a3 1 --- Makefile.orig 2008-04-09 11:24:31.000000000 -0400 d5 3 a7 3 @@@@ -132,7 +132,7 @@@@ adt/hashs.lo: libcompile adt/hashs.c adt adt/hashs.o: compile adt/hashs.c adt/common.h ./compile adt/hashs.c d12 3 a14 3 base64/asc2bin.lo: libcompile base64/asc2bin.c base64/base64.h str/str.h ./libcompile base64/asc2bin.c @@@@ -1054,7 +1054,7 @@@@ makeshlib: conf-ld conf-lib LIBVERSION M d23 2 a24 2 @@@@ -1529,9 +1529,7 @@@@ path/mktemp.o: compile path/mktemp.c sys ./compile path/mktemp.c @ 1.4 log @Update to 1.103. From the changelog: - Added two missing header files: fmt/misc.h and fmt/multi.h - Added a ghash_set function (like ghash_add, but overwrites). - Added a set of "signalfd" functions as a generic self-pipe setup. - Added a random number generator based on SURF. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2006/12/29 22:00:17 markd Exp $ d3 1 a3 1 --- Makefile.orig 2008-04-02 19:42:02.000000000 -0400 a13 9 @@@@ -1028,7 +1028,7 @@@@ load: conf-ld conf-bglibs ( bglibs=`head -n 1 conf-bglibs`; \ echo '#!/bin/sh';\ echo 'main="$$1"; shift';\ - echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" "-Wl,-R'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@@"}' -lbg-sysdeps; \ + echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" "-Wl,-R'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@@"}'; \ ) >load chmod 755 load @ 1.3 log @Fix Solaris issues by linking socket libraries where required. OKed schmonz. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2006/12/28 03:20:32 schmonz Exp $ d3 1 a3 1 --- Makefile.orig 2006-10-31 10:11:21.000000000 +1300 d5 1 a5 1 @@@@ -126,7 +126,7 @@@@ adt/hashs.lo: libcompile adt/hashs.c adt d14 10 a23 1 @@@@ -1033,7 +1033,7 @@@@ makeshlib: conf-ld conf-lib LIBVERSION M d32 1 a32 1 @@@@ -1505,9 +1505,7 @@@@ path/mktemp.o: compile path/mktemp.c sys @ 1.2 log @The self-tests fail on OS X. This may or may not be a real problem, but the test suite returning a error code before install definitely is. Make the tests available via TEST_TARGET instead of as part of the default build, fixing installation on OS X. Bump BUILDLINK_API_DEPENDS to the version most bgware wants these days. No change to installed package, hence no PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2006/02/24 14:55:45 joerg Exp $ d3 1 a3 1 --- Makefile.orig 2006-10-30 16:11:21.000000000 -0500 d14 9 @ 1.1 log @Correctly depend on perl and embedded the right location into cli-generate. Bump revision. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Makefile.orig 2006-02-19 06:53:08.000000000 +0000 d5 10 a14 1 @@@@ -1163,9 +1163,7 @@@@ path/mktemp.o: compile path/mktemp.c sys @