summaryrefslogtreecommitdiffstats
path: root/lib/libnetbsd
Commit message (Collapse)AuthorAgeFilesLines
* MFC r315640vangyzen2017-03-283-1/+320
| | | | | | | | | | Port the getaddrinfo(1) utility from NetBSD. PR: 183148 Submitted by: Lohith Bellad <lohithbsd@gmail.com> Obtained from: NetBSD Relnotes: yes Sponsored by: Dell EMC
* MFC r313404:ngie2017-02-218-3/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve libnetbsd compatibility with NetBSD This change is being made to diff reduce/reduce duplication in contrib/netbsd-tests and to facilitate further porting of software from NetBSD Add the following headers: - sys/event.h: -- sys/types.h is required for kqueue on FreeBSD, but not NetBSD. - sys/types.h: -- NBBY is defined in sys/param.h on FreeBSD, not sys/types.h like on NetBSD. Pull in sys/param.h to have parity with NetBSD. - sys/wait.h: -- Define wrusage as __wrusage for parity with NetBSD typedef. - glob.h -- Define __gl_stat_t as "struct stat" for parity with NetBSD typedef. - pthread.h: -- Pull in pthread_np.h for _np functions defined separately on FreeBSD. Improve compatibility with NetBSD in the following headers: - sha1.h: -- define SHA1_CTX as SHA_CTX -- define SHA1Final as SHA1_Final - sha2.h: -- #include sha384 to pick up all of the SHA 384 bit macros and definitions. - util.h: -- Add sys/types.h to util.h to pollute the header for types used in flags_to_string and string_to_flags (u_long) as NetBSD doesn't require them for the functions.
* MFC r311972:ngie2017-02-041-0/+9
| | | | Add __BIT and __BITS macros from NetBSD to help support new testcases
* First pass through library packaging.gjb2016-02-041-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Fix spelling error.rodrigc2015-11-051-1/+1
| | | | Reported by: junovitch
* Add META_MODE support.sjg2015-06-131-0/+14
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge from head@274682sjg2014-11-193-0/+159
| |\ | |/ |/|
| * New dependenciessjg2013-10-131-0/+15
| |
* | Commit missing header for sys/time.h compat on NetBSD to unbreak the amd64/i386ngie2014-11-041-0/+65
| | | | | | | | | | | | build Pointyhat to: me (forgot to svn add it sooner)
* | The NetBSD libc tests use several definitions/macros that aren't available inngie2014-10-222-0/+94
|/ | | | | | | | | | | | FreeBSD Add the missing compat definitions/macros to lib/libnetbsd so the testcases can be compiled with libnetbsd without having to invent ad hoc #define's, or having to convert things over to FreeBSD idioms Reviewed by: brooks Phabric: D993 Sponsored by: EMC / Isilon Storage Division
* Add libnetbsd, a thin compatibility layer intended to allow a limitedbrooks2012-12-2110-0/+588
set of NetBSD software to compile as part of the FreeBSD build with little or no modifiction. It is built as a static library and not installed for general use. Likewise, its header files are not installed. Sponsored by: DARPA, AFRL
OpenPOWER on IntegriCloud