pkgsrc/pkgtools/libnbcompat/files
2006-03-01 16:47:54 +00:00
..
nbcompat Update pkgtools/libnbcompat to 20040911. Changes from version 20040822 2004-09-11 19:01:36 +00:00
private added support for systems such as IRIX 5 that do not have _POSIX2_RE_DUP_MAX 2005-11-28 20:47:29 +00:00
__fts13.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
__glob13.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
__unsetenv13.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
aclocal.m4 Update AC_C___ATTRIBUTE__ macro from heimdal, fixes detection with 2006-03-01 16:47:54 +00:00
bits.c Allow libnbcompat to be used without being installed. Also remove the 2003-09-13 03:50:12 +00:00
config.guess update config.{sub,guess} for various bootstrap tools. fixes build on 2004-12-12 00:46:28 +00:00
config.sub update config.{sub,guess} for various bootstrap tools. fixes build on 2004-12-12 00:46:28 +00:00
configure Update AC_C___ATTRIBUTE__ macro from heimdal, fixes detection with 2006-03-01 16:47:54 +00:00
configure.ac fix detection of poll() for Darwin 7.x which has a poll() 2004-10-24 11:18:33 +00:00
engine.c Update pkgtools/libnbcompat to 20040814. Changes from version 20040813 2004-08-16 17:24:42 +00:00
err.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
fgetln.c Update pkgtools/libnbcompat to 20040911. Changes from version 20040822 2004-09-11 19:01:36 +00:00
findenv.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
fnmatch.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
fparseln.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
fts.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
getenv.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
getopt_long.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
gettemp.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
glob.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
install-sh
isblank.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
lchflags.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
lchmod.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
lchown.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
lutimes.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
Makefile.in Instead of using hard-coded 555 mode for installing library, 2005-10-10 18:28:08 +00:00
malloc.c
md5c.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
md5hl.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
mdXhl.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
mkdtemp.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
mkstemp.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
nbcompat.awk Fix error in the use of "next"... it means to skip the line, not skip to 2004-08-21 18:21:47 +00:00
nbcompat.h Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
poll.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
pwcache.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
README added support for systems such as IRIX 5 that do not have _POSIX2_RE_DUP_MAX 2005-11-28 20:47:29 +00:00
regcomp.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
regerror.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
regexec.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
regfree.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
rmd160.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
rmd160hl.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
setenv.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
setgroupent.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
setmode.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
setpassent.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
setprogname.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
sha1.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
sha1hl.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
snprintf.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
src2nbcompat src2nbcompat uses \n backreferences in gensub, which isn't supported in 2005-02-04 00:43:42 +00:00
statvfs.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
strdup.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
strerror.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
strlcat.c Change the way that we disable unwanted code regions... just #undef _LIBC. 2004-08-31 17:55:17 +00:00
strlcpy.c Change the way that we disable unwanted code regions... just #undef _LIBC. 2004-08-31 17:55:17 +00:00
strmode.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
strsep.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
strtoll.c Change the way that we disable unwanted code regions... just #undef _LIBC. 2004-08-31 17:55:17 +00:00
unsetenv.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
unvis.c re-work workaround for __unvis13 namespace clash by renaming it to 2004-12-04 23:31:40 +00:00
usleep.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
utimes.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00
vis.c revert last, and apply the simpler fix to the MAKEEXTRALIST macro in 2005-11-18 09:03:06 +00:00
warn.c Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 2004-08-23 03:32:12 +00:00

$NetBSD: README,v 1.12 2005/11/28 20:47:29 schwarz Exp $

 0 Introduction
 ==============

libnbcompat builds and installs a portable NetBSD-compatibility library
that supplies routines missing on operating systems that are used by
the family of pkgsrc bootstrap tools.  Note that libnbcompat is very
much a work-in-progress.  Only the functions that are directly used
by the bootstrap tools are implemented in the library.  At the moment,
this includes the following packages:

	archivers/pax
	pkgtools/mtree
	pkgtools/pkg_install
	textproc/nbsed

A script, src2nbcompat, is also included in the sources that simplifies
importing software from the NetBSD src module into pkgsrc.


 1 Updating this package
 =======================

Please take care when updating this package.  Do *not* simply commit
changes to this package and ask for testers.  This package is too
fundamental to the proper bootstrapping of pkgsrc to let accidental
breakage seep in.  Proper methodology for updating this package is:

    (1) Post a tarball at a publicly accessible URL containing the
	pkgtools/libnbcompat directory.

    (2) Ask on the tech-pkg@NetBSD.org mailing list for testers.

    (3) Fix any breakage on non-NetBSD operating systems before
	committing.


 2 Tested operating systems
 ==========================

*NOTE*
*NOTE* This section should be kept up-to-date with the results for
*NOTE* the most recent libnbcompat.
*NOTE*

libnbcompat-20040911 has been tested to build and install correctly
on the following operating systems:

	FreeBSD-4.8/i386		<jlam@NetBSD.org>
	NetBSD-1.6.2/i386		<jlam@NetBSD.org>
	Solaris 9/sparc			<salo@NetBSD.org>

libnbcompat-20041024 has been tested to build and install correctly
on the following operating systems:

	Darwin-8.3/powerpc		<schwarz@NetBSD.org>
	IRIX-5.3/mipseb			<schwarz@NetBSD.org>
	Linux/i386			<schwarz@NetBSD.org>

 3 Usage
 =======

This library is intended to simplify porting NetBSD software.  To that
end, the changes to NetBSD sources to use libnbcompat are minor.  The
procedure is:

    (1) Add #include <nbcompat.h> at the top of the source files that
	include system headers, but below the inclusion of any
	"config.h".

    (2) Surround each system header file included in the source file
	with #if HAVE_<header_name>_H ... #endif.

You may need to add additional headers present on other operating
systems that define any system-supplied functions, e.g. <sys/vfs.h>.

The src2nbcompat script included in the libncompat sources can be used
to automate this process to some extent.  It is intended to import
sources from a NetBSD src checkout into pkgsrc.  It will copy the
sources from a directory and automatically insert the proper lines
into the files.  For example, to import the pkg_install sources into
pkgsrc, run:

	src2nbcompat \
		/usr/src/usr.sbin/pkg_install \
		/usr/pkgsrc/pkgtools/pkg_install/files

You will need to run a "cvs diff" on the imported files to check that
any local changes are preserved across imports.