summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat
AgeCommit message (Collapse)AuthorFilesLines
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
2007-07-19Replace "poor man's printf" implementation of (v)snprintf with antnn1-764/+69
imlementation using vfprintf. The advantage is that format strings behave like other *printf functions on the host, the drawback is that it is slower.
2007-07-18Fix SHA256/SHA512 to work on strict alignment platforms. This wasjoerg2-15/+51
exposed by the C version of audit-packages and report in PR pkg/36662.
2007-06-26Protect TAILQ_INSERT_{AFTER,BEFORE} from being redefined. Letsdmcmahill2-3/+7
pbulk build on netbsd-2/alpha (and probably other netbsd platforms) again.
2007-06-25Add asprintf implementation based on snprintf.joerg7-29/+282
Add vsnprintf prototype as the function is implemented and used. Add all the macros from NetBSD's sys/queue.h defined for the types implemented. Bump version to libnbcompat-20070622. Tested by dmcmahill@NetBSD.org on Solaris. OK jlam@, agc@
2007-06-19Obfuscate embedded $NetBSD$ strings a bit, so that pkgsrc doesn't pickjoerg1-4/+4
them up for +BUILD_VERSION. This makes matching against the output of ident impossible to verify whether the package is up-to-date.
2007-05-31Updated libnbcompat to 20070531.rillig4-35/+40
Changes since 20070507: Completely rewrote the fgetln implementation, since the previous version couldn't handle files that don't end with a '\n' character. Tested on IRIX, NetBSD and Solaris.
2007-05-22Add a couple of success reports.tnn1-1/+4
2007-05-07Fix bug in configure script, noticed by Thorsten Glaser.joerg2-17/+17
2007-05-07Add SHA256/SHA384/SHA512 to libnbcompat. Update version to 20070507.joerg9-4293/+5947
2007-03-12Sync config.{guess,sub} with mk/gnu-configure.joerg2-361/+481
2006-12-17note a few platforms where I've confirmed this version of libnbcompat tojschauma1-1/+5
be working
2006-08-26For the benefit of Mr. Kite^W^Wsnprint.c add long double type detection.seb3-2/+82
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-07-02Indented the make directives properly to fix pkglint warnings.rillig1-6/+5
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-2/+2
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-01Update AC_C___ATTRIBUTE__ macro from heimdal, fixes detection withjoerg2-18/+11
GCC 4.
2005-11-28added support for systems such as IRIX 5 that do not have _POSIX2_RE_DUP_MAXschwarz2-2/+12
defined. Changes approved by grant.
2005-11-18revert last, and apply the simpler fix to the MAKEEXTRALIST macro ingrant1-9/+7
NetBSD libc from martin@