summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat
AgeCommit message (Collapse)AuthorFilesLines
2008-11-08OpenBSD headers are still not standalone, even though SUS is prettyjoerg2-5/+56
explicit about it at least for netinet/in.h. Include sys/types.h before checking for content of sys/socket.h and netinet/in.h to fix this. Reported and tested by Georg Schwarz.
2008-11-06Add some forgotten ifndefs to fix issues on DragonFly.joerg1-1/+7
2008-10-30Define __UNCONST. From PR 39797.joerg1-3/+5
2008-10-30Avoid STAT as macro, it exists in sys/dir.h on AIX already.joerg2-27/+15
2008-10-29Don't use __RENAME.joerg1-6/+6
2008-10-29Provide more compat glue for ndbm interface as shown in PR 39738.joerg4-10/+87
Bump to libnbcompat-20081029.
2008-10-28Define away O_EXLOCK and O_SHLOCK if they are missing.joerg1-2/+9
2008-10-28Use nbcompat/paths.h, Solaris is missing paths.h. From Uwe Klaus.joerg2-6/+6
2008-10-28Add circleq support. Bump to 20081028. Should fix IRIX build fromjoerg2-3/+134
PR 39797.
2008-10-28Replace EFTYPE with EINVAL if the former doesn't exist.joerg3-4/+18
2008-10-26Provide and use local mpool.h.joerg3-5/+108
2008-10-26Explicitly check for libnsl and libsocket as required by Solaris.joerg2-1/+155
Based on patches from Aleksey Cheusov.
2008-10-19Include nbcompat/types.h early to make sure that uintX_t are defined.joerg1-2/+2
Reported by Aleksey Cheusov and Joern Clausen in PR 39738.
2008-10-10pkg_install-20081010:joerg45-5/+11196
Add optional bdb. Make it included by default for standalone builds.
2008-10-08Mac OS X doesn't define uintXX_t in sys/types.h, so explicitly pull injoerg4-3/+17
inttypes.h if present. Make md5.h, sha1.h and sha2.h self contained by including nbcompat/types.h. Problem reported by Greg Troxel.
2008-10-07Check for existance of sysexits.h and regen config.h.in.joerg3-11/+6
2008-10-06libnbcompat-20080922:joerg25-1548/+1739
- DESTDIR support - Add check for inttypes.h and sys/socket.h - Provide compatibility fallback for netdb.h and the RFC2553 API (getaddrinfo), supoprting IPv4 only. Code from OpenSSH. - Use normal autoconf checks for fixed size bit types. Stop using the older BSD types (u_intXX_t) in libnbcompat. - Add implementation of shquote (from NetBSD). - Fix a buglet in the getenv/setenv/unsetenv detection. - Fix a buglet in the mkdtemp/mkstemp detection.
2008-09-12Determine both for setmode.c and pwcache.c if any of the functions isjoerg2-116/+20
provided by the system and if one is lacking use the file. Don't short cut the list as before and do a second iteration, it is just confusing. This breaks the regression introduced by the last commit on OS X.
2008-09-08libnbcompat-20080908:joerg7-68/+228
- declare endpwent and endgrent if system headers are missing them - check for existance of statfs.f_flags before using it - drop a bunch of redundant function checks Based on the work of Timothy Larson.
2008-07-27Don't mess with PKG_* as it is not required to build bootstrapjoerg1-5/+1
components and it interferes with normal builds.
2008-06-19Make style more consistent.joerg1-6/+6
2008-05-19libnbcompat-20080519:joerg3-15/+12
Many of the hash function headers are incompatible with the OpenSSL headers, so don't include them by default and require the caller to include them on demand.
2008-04-29Drop clauses 3 and 4 from TNF licensesmartin37-298/+39
2008-04-21libnbcompat-20080422:joerg5-2413/+4070
Check if stdio.h declares vasprintf and snprintf and provide a prototype otherwise.
2008-04-17Don't let a mathematican add numbers with less than 20 digits. Fix thejoerg2-3/+3
the offset for November and December and welcome libnbcompat-20080416.
2008-04-04libnbcompat-20080404:joerg1-2/+2
Add an implement of timegm(3) from nsd (based on Python code).
2008-04-04Add an implement of timegm(3) from nsd (based on Python code).joerg2-1/+85
2008-04-04Add an implement of timegm(3) from nsd (based on Python code).joerg2-1/+96
2008-03-21libnbcompat-20080322:joerg4-157/+190
Add an option to force a BSDish getopt (e.g. one with optreset). Use the correct macros to decide when to define optind and friends.
2008-02-22Introduce a variable, LIBNBCOMPAT_USE_PIC, which if set to yes beforetnn1-6/+26
including inplace.mk causes a PIC version of libnbcompat to be built alongside the regular static libnbcompat. This will be used to extend the features framework in two ways: 1) Support linking features into shared modules 2) Ability to cherry-pick individual objects to link from the libnbcompat build directory rather than linking the whole archive.
2008-02-21libnbcompat-20080221:tnn4-3/+579
- Use AC_FUNC_VFORK, needed on IRIX to get missing vfork() defined to fork(). Ok by joerg.
2008-02-14Move my code to two-clause license.tnn1-25/+16
2008-02-12libnbcompat-20080212:joerg4-11/+16
Add digest length defines for md5, rmd160 and sha1. Use __BEGIN_DECLS/__END_DECLS. Drop _KERNEL conditionals.
2007-11-20At some place, it should be documented why libnbcompat is _not_rillig1-1/+5
installed as a shared library but rebuilt for every package that needs a certain feature. That place is either here or in files/README.
2007-11-20Inform the user when configuring libnbcompat. While here, fixed somerillig1-3/+4
quoting issues. (They never caused anything to fail, but who knows what will happen in the future?)
2007-09-21If dirfd is either a function or a macro, use it. If it doesn't exist,joerg5-7/+250
but DIR contains dd_fd, define it as macro. Otherwise use -1 when calling fts_safe_changedir in fts(3). Based on patch from Sean Boudreau.
2007-09-08Convert to use the features framework.jlam1-8/+7
2007-09-06Drop libnbcompat/buildlink3.mk and force all packages that usejlam1-26/+0
libnbcompat to use it "in place". libnbcompat is just really special, and is of almost no use to anything other than the pkgsrc bootstrap process.
2007-09-06Use only features available in nawk.jlam1-3/+7
2007-09-04Ensure undef before typedef, to avoid error when a application detect missingobache1-3/+4
types by itself and define (ex, pkgtools/pkg_install).
2007-08-02Include "bsd.prefs.mk" to avoid error messages from e.g. "pkg_chk".tron1-1/+3
Fix suggested by Joerg Sonnenberger.
2007-08-01Allow libnbcompat to be used in cross-compiled packages.joerg1-2/+8
Supported-by: Google SoC 2007.
2007-07-31Don't use u_{char,short,int,long} as they are non-standard.joerg18-100/+100
Bump version to 20070731.
2007-07-27No need to use the -p flag to cp(1) here.tnn1-2/+2
2007-07-21Another version bump due to added configure check for uintptr_ttnn2-4/+5
2007-07-21* configure.ac: Add AC_TYPE_UINTPTR_T, needed by sha2.c.tnn3-1/+125
Fixes build on Interix. Suggested by joerg@ * configure, config.h.in: regen
2007-07-20Bump version due to changes in asprintf, snprintf and vsnprintf.tnn2-3/+8
2007-07-20* configure.ac: Test for a standards-conformant vsnprintf. If it is foundtnn3-4/+119
to be broken, fall back to the one provided by libnbcompat. * configure: regen * config.h.in: regen
2007-07-20Handle trailing NUL correctly.tnn1-5/+8
2007-07-20Fix logic error in buffer handling (Hi Joerg!)tnn1-6/+6