Up to [cvs.NetBSD.org] / src / tools / compat
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.92 / (download) - annotate - [select for diffs], Tue May 30 18:27:04 2023 UTC (9 months, 2 weeks ago) by lukem
Branch: MAIN
CVS Tags: triaxx-drm,
HEAD
Changes since 1.91: +4 -5
lines
Diff to previous 1.91 (colored)
tools/compat: use autoreconf, support MAKEVERBOSE Use autoreconf instead of autoconf + autoheader; we'll need aclocal in the near future. If MAKEVERBOSE >= 2, add -v to autoreconf.
Revision 1.91 / (download) - annotate - [select for diffs], Tue May 23 20:20:54 2023 UTC (9 months, 3 weeks ago) by lukem
Branch: MAIN
Changes since 1.90: +3 -1
lines
Diff to previous 1.90 (colored)
tools/compat: MAKEVERBOSE support in regen
Revision 1.90 / (download) - annotate - [select for diffs], Sat Sep 18 01:47:10 2021 UTC (2 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Changes since 1.89: +6 -6
lines
Diff to previous 1.89 (colored)
Patch the build script and toolchain to allow passing through HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks the build. These variables are necessary to support building NetBSD from a GNU Guix or NixOS host, where /usr/include, /lib, and all but /bin/sh do not exist. In many cases, support for HOST_CPPFLAGS was incomplete. From Ryan Sundberg
Revision 1.89 / (download) - annotate - [select for diffs], Thu Feb 25 13:41:58 2021 UTC (3 years ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Changes since 1.88: +3 -2
lines
Diff to previous 1.88 (colored)
Add reallocarray; this is used by the new regex code and we don't want to convert it to reallocarr so the code is kept similar with the original from FreeBSD.
Revision 1.88 / (download) - annotate - [select for diffs], Sat Jun 13 10:49:17 2020 UTC (3 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.87: +7 -2
lines
Diff to previous 1.87 (colored)
tools: configure --silent if MAKEVERBOSE == 0
Revision 1.87 / (download) - annotate - [select for diffs], Wed May 8 02:25:50 2019 UTC (4 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
is-mlppp-base,
is-mlppp
Changes since 1.86: +3 -2
lines
Diff to previous 1.86 (colored)
Fix building libprop as a host tool library on platforms that don't have the Matt Thomas rbtree: - Include rb.c in libnbcompat, and provide a nbcompat sys/rbtree.h header. - Make sure libprop's source file include prop_object_impl.h before anything else, and pull in nbtool_config.h from there. Tested by simulating such a host system by renaming the host's <sys/rbtree.h> out of the way (which reproduced the build failure) and verifying that the host-tool installboot contained the rb_* functions in its own .text segment.
Revision 1.86 / (download) - annotate - [select for diffs], Thu Aug 30 12:05:34 2018 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Changes since 1.85: +2 -2
lines
Diff to previous 1.85 (colored)
deal with getsubopt and strncasecmp (needed by mdocml)
Revision 1.85 / (download) - annotate - [select for diffs], Thu Aug 16 12:03:36 2018 UTC (5 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.84: +2 -2
lines
Diff to previous 1.84 (colored)
add strncasecmp
Revision 1.84 / (download) - annotate - [select for diffs], Sat Aug 11 16:24:59 2018 UTC (5 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.83: +2 -2
lines
Diff to previous 1.83 (colored)
Add strcasecmp
Revision 1.83 / (download) - annotate - [select for diffs], Tue May 1 19:59:46 2018 UTC (5 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502
Branch point for: phil-wifi
Changes since 1.82: +2 -2
lines
Diff to previous 1.82 (colored)
Create a new bsd.hostinit.mk file and put the build definitions for all host programs there; make all Makefiles that use bsd.hostprog.mk include it. Namely turn off MKREPRO and don't make lint, man pages, info files etc. Remove the Makefile.inc files that contained these same settings, and remove the settings from Makefile.host
Revision 1.82 / (download) - annotate - [select for diffs], Tue May 1 00:04:35 2018 UTC (5 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.81: +2 -2
lines
Diff to previous 1.81 (colored)
PR/53238: Robert Elz: Disable MKREPRO in tools; the host compiler might not support the necessary options. This is done thusly: 1. Set MKREPRO=no in Makefile.host. This handles all the Makefiles that use it and don't include bsd.own.mk. 2. Create Makefile.inc and set MKREPRO=no in it. Change the Makefiles that include bsd.own.mk, to include bsd.init.mk which includes Makefile.inc first. This will also allow us to control other tools options from a single location if we need to. XXX: pullup-8
Revision 1.81 / (download) - annotate - [select for diffs], Sun Mar 6 10:19:01 2016 UTC (8 years ago) by aymeric
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-base,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-compat,
netbsd-8
Changes since 1.80: +3 -1
lines
Diff to previous 1.80 (colored)
add our libc's regex implementation to libnbcompat. This way, nbsed picks it up and it unbreaks the build of xf86-video-intel-old's man page under Linux and probably other future changes which rightfully expect the (net)bsd behaviour. Full release tested on ArchLinux and NetBSD 7.0_STABLE
Revision 1.80 / (download) - annotate - [select for diffs], Tue Mar 1 10:09:00 2016 UTC (8 years ago) by martin
Branch: MAIN
Changes since 1.79: +1 -3
lines
Diff to previous 1.79 (colored)
Revert to rev 1.77 for now on Aymeric's request
Revision 1.79 / (download) - annotate - [select for diffs], Tue Mar 1 06:48:55 2016 UTC (8 years ago) by aymeric
Branch: MAIN
Changes since 1.78: +2 -2
lines
Diff to previous 1.78 (colored)
remove regsub.c from the list of files to build because it unbreaks the build and this API is not yet endorsed. OK christos@
Revision 1.78 / (download) - annotate - [select for diffs], Mon Feb 29 22:19:29 2016 UTC (8 years ago) by aymeric
Branch: MAIN
Changes since 1.77: +3 -1
lines
Diff to previous 1.77 (colored)
add our libc's regex implementation to libnbcompat. This way, nbsed picks it up and it unbreaks the build of xf86-video-intel-old's man page under Linux and probably other future changes which rightfully expect the (net)bsd behaviour.
Revision 1.77 / (download) - annotate - [select for diffs], Sat Jan 9 17:40:37 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.76: +2 -2
lines
Diff to previous 1.76 (colored)
lex source moved.
Revision 1.76 / (download) - annotate - [select for diffs], Thu Sep 17 14:25:43 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.75: +2 -2
lines
Diff to previous 1.75 (colored)
undo previous; include is in ${.OBJDIR}
Revision 1.75 / (download) - annotate - [select for diffs], Thu Sep 17 02:22:47 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.74: +2 -2
lines
Diff to previous 1.74 (colored)
make this more robust by using .CURDIR to cd.
Revision 1.74 / (download) - annotate - [select for diffs], Sun Jul 26 14:01:53 2015 UTC (8 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.73: +2 -2
lines
Diff to previous 1.73 (colored)
Add reallocarr(3) to tools/compat This should unbreak libutil(3) creation on systems withot reallocarr(3).
Revision 1.73 / (download) - annotate - [select for diffs], Sun Jan 18 18:09:10 2015 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.72: +2 -1
lines
Diff to previous 1.72 (colored)
add strtoi strtou (Kamil Rytarowski)
Revision 1.72 / (download) - annotate - [select for diffs], Thu Jan 16 17:24:56 2014 UTC (10 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
netbsd-7-base
Branch point for: netbsd-7
Changes since 1.71: +4 -3
lines
Diff to previous 1.71 (colored)
Add the {v,}{err,warn}c functions
Revision 1.71 / (download) - annotate - [select for diffs], Thu Jan 9 11:31:12 2014 UTC (10 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.70: +3 -2
lines
Diff to previous 1.70 (colored)
Declare and define strnlen if necessary.
Revision 1.70 / (download) - annotate - [select for diffs], Wed Dec 11 01:24:08 2013 UTC (10 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.69: +2 -1
lines
Diff to previous 1.69 (colored)
Allow kernel code to access constant databases by moving cdbr(3) and the required mi_vector_hash(3) into src/common.
Revision 1.69 / (download) - annotate - [select for diffs], Tue Aug 6 22:04:25 2013 UTC (10 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.68: +6 -4
lines
Diff to previous 1.68 (colored)
Compile snprintb.c into libnbcompat. The source file is found in the common/lib/libutil directory.
Revision 1.68 / (download) - annotate - [select for diffs], Tue Mar 5 16:27:29 2013 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
agc-symver-base,
agc-symver
Changes since 1.67: +2 -2
lines
Diff to previous 1.67 (colored)
add dprintf
Revision 1.67 / (download) - annotate - [select for diffs], Mon Dec 10 00:34:56 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7
Changes since 1.66: +3 -3
lines
Diff to previous 1.66 (colored)
first define HOSTLIB and then include bsd.own.mk!
Revision 1.66 / (download) - annotate - [select for diffs], Sun Dec 9 23:18:30 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.65: +6 -13
lines
Diff to previous 1.65 (colored)
restore the find loop to include files generated by configure
Revision 1.65 / (download) - annotate - [select for diffs], Sun Dec 9 21:48:04 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.64: +14 -3
lines
Diff to previous 1.64 (colored)
handle the list of files and directories generated dynamically by configure
Revision 1.64 / (download) - annotate - [select for diffs], Sun Dec 9 19:15:48 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.63: +16 -11
lines
Diff to previous 1.63 (colored)
make this work
Revision 1.63 / (download) - annotate - [select for diffs], Sun Dec 9 18:08:08 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.62: +3 -1
lines
Diff to previous 1.62 (colored)
Include <bsd.own.mk> to give a chance to ${TOOLDIR} to be defined before using it in rules. Before there was another .mk file included before ${TOOLDIR} was used.
Revision 1.62 / (download) - annotate - [select for diffs], Sun Dec 9 15:22:54 2012 UTC (11 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.61: +4 -4
lines
Diff to previous 1.61 (colored)
Use a "find | while read" loop to install all *.h files anywhere under ${.OBJDIR}/include, and remove the previous hack of touching a "dummy" file in each subdirectory. This should fix a problem on some platforms where include files directly under ${.OBJDIR}/include (not in a subdirectory) were not installed.
Revision 1.61 / (download) - annotate - [select for diffs], Sun Dec 2 12:34:51 2012 UTC (11 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.60: +52 -6
lines
Diff to previous 1.60 (colored)
Make tools/compat/Makefile install the library in ${TOOLDIR}/lib/libnbcompat.a, install the include files in ${TOOLDIR}/include/compat/**, and install defs.mk in ${TOOLDIR}/share/compat/defs.mk. Previously, nothing from tools/compat was installed under TOOLDIR. Adjust tools/compat/Makefile to use an uninstalled copy of host-mkdep from the .OBJDIR of tools/host-mkdep, and an uninstalled copy of the install program from the .OBJDIR of tools/binstall. This allows it to be built after tools/host-mkdep is built but before tools/host-mkdep is installed; and to be installed after tools/binstall is built but before tools/binstall is installed.
Revision 1.60 / (download) - annotate - [select for diffs], Sun Dec 2 12:19:34 2012 UTC (11 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.59: +12 -7
lines
Diff to previous 1.59 (colored)
Teach tools/compat/Makefile to use an uninstalled copy of host-mkdep from the.OBJDIR of tools/host-mkdep. This is in preparation for building all three of tools/host-mkdep, tools/compat, and tools/binstall, before installing any of them. While here, also move the regen target to the end.
Revision 1.59 / (download) - annotate - [select for diffs], Mon Jun 4 19:06:45 2012 UTC (11 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.58: +2 -2
lines
Diff to previous 1.58 (colored)
Add cdbr(3) support to tools/compat.
Revision 1.58 / (download) - annotate - [select for diffs], Mon Jun 4 18:53:02 2012 UTC (11 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.57: +2 -2
lines
Diff to previous 1.57 (colored)
Build getcap.c only once.
Revision 1.57 / (download) - annotate - [select for diffs], Sun Jun 3 21:02:50 2012 UTC (11 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.56: +6 -4
lines
Diff to previous 1.56 (colored)
Add a special seeder for cdbw_output that gives stable results. Hook up cdbw(3) for the tool build.
Revision 1.56 / (download) - annotate - [select for diffs], Sat Feb 18 17:51:21 2012 UTC (12 years, 1 month ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4
Changes since 1.55: +2 -2
lines
Diff to previous 1.55 (colored)
Adjust libyywrap.c location.
Revision 1.55 / (download) - annotate - [select for diffs], Thu Nov 3 19:30:05 2011 UTC (12 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
netbsd-6-base
Branch point for: netbsd-6
Changes since 1.54: +3 -2
lines
Diff to previous 1.54 (colored)
Add getline.c here too.
Revision 1.54 / (download) - annotate - [select for diffs], Wed Feb 3 15:34:44 2010 UTC (14 years, 1 month ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.53: +4 -3
lines
Diff to previous 1.53 (colored)
Userland now builds and uses terminfo instead of termcap. OK: core@, jdc@
Revision 1.53 / (download) - annotate - [select for diffs], Wed Jun 17 23:34:45 2009 UTC (14 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.52: +2 -2
lines
Diff to previous 1.52 (colored)
add fpurge
Revision 1.52 / (download) - annotate - [select for diffs], Sat Oct 18 16:25:04 2008 UTC (15 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.51: +2 -2
lines
Diff to previous 1.51 (colored)
Prepare dummy <resolv.h> and <arpa/nameser.h> to make asn1_compile and compile_et compile on systems which don't have these BIND headers like Cygwin. Tested by "build.sh -m i386 -U release" on CYGWIN_NT-5.1-1.5.25, and should close PR toolchain/29032.
Revision 1.51 / (download) - annotate - [select for diffs], Fri Sep 28 09:12:49 2007 UTC (16 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
mjf-devfs2-base,
mjf-devfs2,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Changes since 1.50: +4 -2
lines
Diff to previous 1.50 (colored)
add raise_default_signal
Revision 1.50 / (download) - annotate - [select for diffs], Tue Aug 7 07:47:50 2007 UTC (16 years, 7 months ago) by apb
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.49: +4 -2
lines
Diff to previous 1.49 (colored)
More detailed instructions for what to do when editing configure.ac. In particular, discourage the use of non-tools versions of autoconf and autoheader.
Revision 1.49 / (download) - annotate - [select for diffs], Tue Jul 3 12:11:09 2007 UTC (16 years, 8 months ago) by nakayama
Branch: MAIN
CVS Tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Changes since 1.48: +2 -2
lines
Diff to previous 1.48 (colored)
Add strndup(3) to libnbcompat, since estrndup(3) added into efun.c calls it.
Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 14 20:09:36 2006 UTC (17 years, 3 months ago) by he
Branch: MAIN
Changes since 1.47: +2 -2
lines
Diff to previous 1.47 (colored)
Complete the move of string_to_flags() and flags_to_string() from the bin/ls sources to libutil: o Bump libutil minor version number o Fix uses to include <util.h> to pick up the function definitions o Fix most uses of flags_to_string() to release the now-malloc()ed result
Revision 1.47 / (download) - annotate - [select for diffs], Sun Oct 29 06:56:01 2006 UTC (17 years, 4 months ago) by dogcow
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: wrstuden-fixsa,
netbsd-4
Changes since 1.46: +3 -3
lines
Diff to previous 1.46 (colored)
...and one more for xcompilation (due to lib/libc/hash/sha1/sha1hl.c, sigh.)
Revision 1.46 / (download) - annotate - [select for diffs], Fri Oct 27 22:25:26 2006 UTC (17 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.45: +3 -1
lines
Diff to previous 1.45 (colored)
add ${.CURDIR}/../../common/lib/libc/hash/{rmd160,sha2} to the .PATH so that these sources are found after this code moved. (hi christos!)
Revision 1.45 / (download) - annotate - [select for diffs], Sun Oct 8 04:31:55 2006 UTC (17 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.44: +2 -1
lines
Diff to previous 1.44 (colored)
Put common/lib/libc/stdlib into .PATH. From Hisashi T Fujinaka.
Revision 1.44 / (download) - annotate - [select for diffs], Sat Aug 26 18:26:14 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.43: +4 -3
lines
Diff to previous 1.43 (colored)
Some tools need efuns.
Revision 1.43 / (download) - annotate - [select for diffs], Sat May 20 00:23:39 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.42: +5 -6
lines
Diff to previous 1.42 (colored)
Don't remove files that are needed for a build after make clean. Before 'make clean; make' failed in tools because necessary configure generated files were removed. The failure manifested itself with string_to_flags being undefined in binstall.
Revision 1.42 / (download) - annotate - [select for diffs], Sat Feb 11 10:35:29 2006 UTC (18 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.41: +3 -3
lines
Diff to previous 1.41 (colored)
Redo previous differently: use AH_TOP and AH_BOTTOM macros to insert header and footer into nbtool_config.h.in directly.
Revision 1.41 / (download) - annotate - [select for diffs], Sat Feb 11 01:28:01 2006 UTC (18 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.40: +3 -3
lines
Diff to previous 1.40 (colored)
Make using autoheader easier: split off the autogenerated file into nbtool_config_internal.h, and let nbtool_config.h be a file with the proper wrappers. This way you can just change configure.ac, run autoconf and autoheader, verify the result, and commit, but don't have to edit nbtool_config*in manually every time.
Revision 1.40 / (download) - annotate - [select for diffs], Tue Dec 20 20:39:15 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.39: +5 -2
lines
Diff to previous 1.39 (colored)
Search the new common framework.
Revision 1.39 / (download) - annotate - [select for diffs], Sat Sep 24 20:52:22 2005 UTC (18 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.38: +5 -4
lines
Diff to previous 1.38 (colored)
Sync with recent MD2 changes.
Revision 1.38 / (download) - annotate - [select for diffs], Sat Sep 24 19:06:20 2005 UTC (18 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.37: +4 -1
lines
Diff to previous 1.37 (colored)
Sync with recent changes.
Revision 1.37 / (download) - annotate - [select for diffs], Tue Sep 13 15:32:48 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.36: +2 -2
lines
Diff to previous 1.36 (colored)
We don't need any ndbm sources.
Revision 1.36 / (download) - annotate - [select for diffs], Tue Sep 13 13:52:23 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.35: +3 -3
lines
Diff to previous 1.35 (colored)
don't use the _foo.c files; all the code is in foo.c now.
Revision 1.35 / (download) - annotate - [select for diffs], Tue Sep 13 02:30:23 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.34: +2 -2
lines
Diff to previous 1.34 (colored)
compat reorg.
Revision 1.34 / (download) - annotate - [select for diffs], Fri Aug 26 15:59:00 2005 UTC (18 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.33: +4 -2
lines
Diff to previous 1.33 (colored)
Pull in SHA2 routines from libc to nbcompat.
Revision 1.33 / (download) - annotate - [select for diffs], Fri Aug 19 02:08:24 2005 UTC (18 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (colored)
64 bit inode changes
Revision 1.32 / (download) - annotate - [select for diffs], Sun Nov 28 06:57:14 2004 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.31: +2 -2
lines
Diff to previous 1.31 (colored)
Add heapsort to libnbcompat
Revision 1.31 / (download) - annotate - [select for diffs], Sun Jun 20 22:20:15 2004 UTC (19 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.30: +2 -5
lines
Diff to previous 1.30 (colored)
Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different') Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc). Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9. Fixes PR's: PR#17762 PR#25944
Revision 1.30 / (download) - annotate - [select for diffs], Fri Jun 18 20:26:51 2004 UTC (19 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +2 -2
lines
Diff to previous 1.29 (colored)
Use ${_TOOL_PREFIX} as appropriate.
Revision 1.29 / (download) - annotate - [select for diffs], Mon May 3 03:20:20 2004 UTC (19 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.28: +2 -2
lines
Diff to previous 1.28 (colored)
Make this build on non-NetBSD again (specifically linux). Exclude __ndbm13.c from the imported db sources as well
Revision 1.28 / (download) - annotate - [select for diffs], Mon Oct 27 00:12:42 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.27: +4 -4
lines
Diff to previous 1.27 (colored)
Overhaul how `build.sh tools' are used: * Rename "config.h" to "nbtool_config.h" and HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H. This makes in more obvious in the source when we're using tools/compat/config.h versus "standard autoconf" config.h * Consistently move the inclusion of nbtool_config.h to before <sys/cdefs.h> so that the former can provide __RCSID() (et al), and there's no need to protect those macros any more. These changes should make it easier to "tool-ify" a program by adding: #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #endif to the top of the source files (for the general case).
Revision 1.27 / (download) - annotate - [select for diffs], Sun Oct 26 07:25:38 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.26: +2 -2
lines
Diff to previous 1.26 (colored)
Use ${HOST_SH} instead of `sh'. If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH; Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Aug 1 17:04:02 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.25: +3 -2
lines
Diff to previous 1.25 (colored)
Rework how dependency generation is performed: * DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES. This is a change of behaviour. If a Makefile wants the clean semantics it must specifically append to CLEANFILES. Resolves PR toolchain/5204. * To recap: .d (depend) files are generated for all files in SRCS and DPSRCS that have a suffix of: .c .m .s .S .C .cc .cpp .cxx * If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES * Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS} * Deprecate the (short lived) DEPENDSRCS Update the various Makefiles to these new semantics; generally either adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing specific .o dependencies with DPSRCS entries. Tested with "make -j 8 distribution" and "make distribution".
Revision 1.25 / (download) - annotate - [select for diffs], Tue Jul 29 19:25:02 2003 UTC (20 years, 7 months ago) by fredb
Branch: MAIN
Changes since 1.24: +2 -2
lines
Diff to previous 1.24 (colored)
Must add "configure.lineno" to CLEANFILES after updating to autoconf 2.57.
Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 3 03:16:48 2003 UTC (20 years, 9 months ago) by uwe
Branch: MAIN
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (colored)
Add atoll(3) to libnbcompat. We need it when building target's gcc for a 64-bit target on a 32-bit host. NB: There seems to be a bug in either gcc itself or the way we import it, b/c the incorrect #define HAVE_ATOLL is picked from (e.g. for sparc64) gnu/usr.bin/gcc/arch/sparc64/auto-host.h - so when gen* auxilary (host) programs are built in gnu/usr.bin/gcc/backend, they incorrectly pick-up target's HAVE_ATOLL. For now providing atoll(3) in libnbcompat is a simple and sufficient workaround.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Apr 28 23:16:11 2003 UTC (20 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.22: +5 -2
lines
Diff to previous 1.22 (colored)
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour. This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place. I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order. Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week.
Revision 1.22 / (download) - annotate - [select for diffs], Fri Mar 14 03:38:42 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.21: +7 -7
lines
Diff to previous 1.21 (colored)
Add a putc_unlocked().
Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 13 05:00:28 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.20: +8 -1
lines
Diff to previous 1.20 (colored)
Disable pre-compiled headers on Darwin.
Revision 1.20 / (download) - annotate - [select for diffs], Wed Dec 4 23:27:54 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.19: +7 -4
lines
Diff to previous 1.19 (colored)
Tweak dependencies so that defs.mk depends upon config.cache, and config.cache depends upon 'include/.stamp configure config.h.in defs.mk.in' and runs configure. Forcebly remove config.cache before running configure. This change means that config.cache is (still) retained between "make clean" (but not "make cleandir") runs, but is flushed if configure or config.h.in is changed, as the cache may contain incorrect information in that case.
Revision 1.19 / (download) - annotate - [select for diffs], Sat Nov 30 03:04:46 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.18: +1 -2
lines
Diff to previous 1.18 (colored)
- Migrate fparseln(3) from libutil to libc, where it should have been in the first place... - Bump libutil major (to 7.0) and libc minor (to 12.91).
Revision 1.18 / (download) - annotate - [select for diffs], Fri Nov 29 13:00:22 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.17: +2 -2
lines
Diff to previous 1.17 (colored)
replace missing strsuftoll(3)
Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 8 00:28:36 2002 UTC (21 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.16: +3 -2
lines
Diff to previous 1.16 (colored)
Implement replacements for lchflags(), lchmod(), and lchown(), which first lstat(2) the target and return EINVAL if it's a symlink, and then call ch{flags,mod,own} as appropriate. Removes the need for hokey code inside the tools themselves...
Revision 1.16 / (download) - annotate - [select for diffs], Sun Oct 6 12:09:34 2002 UTC (21 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored)
Provide strtoll() in libnbcompat. Should fix relevant build issue on HP-UX and MacOS X hosts.
Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 14 04:30:27 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +8 -7
lines
Diff to previous 1.14 (colored)
* Check for mkstemp() and mkdtemp(), and build them into libnbcompat if necessary. * mktemp is now a host-tool, so nuke the lame script (which isn't even properly installed during the tools bootstrap).
Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 13 19:07:01 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (colored)
* Always include the NetBSD glob(3) in libnbcompat, as the host tools use some features of glob(3) that are not available on all systems. * Always include the NetBSD vis(3) in libnbcompat, since vis(3) is not really standardized, and the vis(3) present on some systems is different from ours. * Always include the NetBSD MD2, MD4, MD5, RMD160, and SHA1 implementations in libnbcompat. The host tools use features of the NetBSD versions which aren't present on all systems that include those functions. * Add a check for random(3) -- the Heimdal host tools want it. * Add a check for termios.h -- the Heimdal host tools want it. * Update the README to indicate the current state of building the host tools on Solaris 8 (for SPARC).
Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 18 21:15:08 2002 UTC (21 years, 11 months ago) by tv
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
Actually put the include directory timestamp under the "include" directory, such that nuking the dir by hand also nukes the timestamp.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 18 15:31:51 2002 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.11: +2 -2
lines
Diff to previous 1.11 (colored)
Add a stub issetugid() for platforms that don't have it. For now, we assume that no host program will be installed set-id, so the stub function always returns 0.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 1 13:59:35 2002 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.10: +3 -4
lines
Diff to previous 1.10 (colored)
Revert addition of mkdtemp() to libnbcompat. I don't think we need mktemp(1) after all.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 31 18:04:11 2002 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.9: +4 -3
lines
Diff to previous 1.9 (colored)
Add mkdtemp to libnbcompat, since glibc doesn't have it an mktemp(1) will need it.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 31 12:58:54 2002 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.8: +9 -5
lines
Diff to previous 1.8 (colored)
Add the md[245], sha1 and rmd160 functions to libnbcompat, conditional on their not being in the host libc. This will be necessary to make cksum into a host tool.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 26 22:29:38 2002 UTC (22 years ago) by tv
Branch: MAIN
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored)
Add some more bits of host compatibility.
Revision 1.7 / (download) - annotate - [select for diffs], Thu Jan 31 22:43:45 2002 UTC (22 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.6: +10 -9
lines
Diff to previous 1.6 (colored)
Roll in fixes to permit cross-compiling from non-NetBSD hosts. This round has been tested on Solaris/x86 and Linux hosts. * Add host tools cap_mkdb, ctags, m4, uudecode. * Protect __RCSID() and __COPYRIGHT() better. * Reduce the number of places that need to include "config.h", to keep sources closer to their "vanilla" versions. * Add more compat #defines and autoconf-checked functions.
Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 29 10:20:31 2002 UTC (22 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.5: +30 -11
lines
Diff to previous 1.5 (colored)
Make almost all tools compile and run properly on non-NetBSD hosts. (In particular, most tools now run correctly on Solaris 7.)
Revision 1.5 / (download) - annotate - [select for diffs], Thu Jan 24 04:05:27 2002 UTC (22 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.4: +5 -4
lines
Diff to previous 1.4 (colored)
- Replace pwcache(3) if necessary (pwcache_userdb(3) is checked for). Tested on -current and 1.5.3. - Wrap some long lines.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 21 23:35:14 2002 UTC (22 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.3: +5 -3
lines
Diff to previous 1.3 (colored)
reachover to ../../lib/libutil for fparseln.c
Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 21 20:04:36 2002 UTC (22 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.2: +22 -7
lines
Diff to previous 1.2 (colored)
Make many host tools compile on non-NetBSD hosts. Not complete, but very nearly there.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 4 14:39:06 2002 UTC (22 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
Add replacement fgetln(3) (from lukemftp/libukem), as fparseln(3) uses it
Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 11 21:17:57 2001 UTC (22 years, 3 months ago) by tv
Branch: MAIN
Add the framework for autoconf-based src/tools/compat structure. This will (after it is more fleshed out) allow the host tools to work more cleanly on non-NetBSD hosts.