pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Update pkgtools/libnbcompat to 20040809. Changes from...
details: https://anonhg.NetBSD.org/pkgsrc/rev/99cc66eda9dd
branches: trunk
changeset: 479290:99cc66eda9dd
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Aug 10 18:47:55 2004 +0000
description:
Update pkgtools/libnbcompat to 20040809. Changes from version 20040805
include:
* Re-adding a default value for pkg_use_nbcompat_vis; this was
causing the configure script to fail on platforms that had funky
versions of vis(). This should fix reported problems on Solaris 8
and on IRIX 5.3.
* Added setgroupent() and setpassent() compatibility functions so
that pwcache.c will build without complaining about an incompatible
pointer type assignment.
* Remove unused tests for <arpa/nameser.h>, <netdb.h>, h_errno and
hstrerror(). These were originally used to bootstrap lukemftp, but
tnftp doesn't need libnbcompat to build nowadays, so we don't need
these anymore.
* Cleanup: in cases where we test for a function using AC_REPLACE_FUNCS,
move the function prototype into a nbcompat header that is the
same name as the NetBSD header that contains that declaration,
and include that file in place of the original one within
nbcompat.h.
This version has been tested to build on the following systems:
FreeBSD-4.8/i386 NetBSD-1.6.2/i386
FreeBSD-5.2.1/i386 NetBSD-2.0_BETA/i386
IRIX 6.5 Red Hat Linux 8.0
MacOS X 10.3.4 Solaris 8
MacOS X 10.3.5 Solaris 9
diffstat:
doc/CHANGES | 3 +-
pkgtools/libnbcompat/Makefile | 4 +-
pkgtools/libnbcompat/PLIST | 14 +-
pkgtools/libnbcompat/buildlink3.mk | 4 +-
pkgtools/libnbcompat/files/Makefile.in | 34 +-
pkgtools/libnbcompat/files/README | 15 +-
pkgtools/libnbcompat/files/configure | 486 ++++++++++-------------
pkgtools/libnbcompat/files/configure.ac | 48 +-
pkgtools/libnbcompat/files/nbcompat.h | 308 +--------------
pkgtools/libnbcompat/files/nbcompat/config.h.in | 24 +-
pkgtools/libnbcompat/files/nbcompat/fnmatch.h | 8 +-
pkgtools/libnbcompat/files/nbcompat/grp.h | 62 +++
pkgtools/libnbcompat/files/nbcompat/limits.h | 76 +++
pkgtools/libnbcompat/files/nbcompat/paths.h | 65 +++
pkgtools/libnbcompat/files/nbcompat/pwd.h | 62 +++
pkgtools/libnbcompat/files/nbcompat/queue.h | 10 +-
pkgtools/libnbcompat/files/nbcompat/stat.h | 66 +++
pkgtools/libnbcompat/files/nbcompat/statvfs.h | 16 +-
pkgtools/libnbcompat/files/nbcompat/stdio.h | 66 +++
pkgtools/libnbcompat/files/nbcompat/stdlib.h | 71 +++
pkgtools/libnbcompat/files/nbcompat/string.h | 74 +++
pkgtools/libnbcompat/files/nbcompat/time.h | 74 +++
pkgtools/libnbcompat/files/nbcompat/tzfile.h | 82 ++++
pkgtools/libnbcompat/files/nbcompat/unistd.h | 78 +++
pkgtools/libnbcompat/files/nbcompat/util.h | 64 +++
pkgtools/libnbcompat/files/pwcache.c | 26 +-
pkgtools/libnbcompat/files/setgroupent.c | 54 ++
pkgtools/libnbcompat/files/setpassent.c | 54 ++
28 files changed, 1294 insertions(+), 654 deletions(-)
diffs (truncated from 2404 to 300 lines):
diff -r 65f9b9632682 -r 99cc66eda9dd doc/CHANGES
--- a/doc/CHANGES Tue Aug 10 16:49:47 2004 +0000
+++ b/doc/CHANGES Tue Aug 10 18:47:55 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.6842 2004/08/10 15:14:16 adrianp Exp $
+$NetBSD: CHANGES,v 1.6843 2004/08/10 18:48:46 jlam Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -3783,3 +3783,4 @@
Updated thunderbird to 0.7.3 [taya 2004-08-10]
Updated thunderbird-gtk2 to 0.7.3 [taya 2004-08-10]
Updated cvsgraph to 1.4.1 [adrianp 2004-08-10]
+ Updated libnbcompat to 20040809 [jlam 2004-08-10]
diff -r 65f9b9632682 -r 99cc66eda9dd pkgtools/libnbcompat/Makefile
--- a/pkgtools/libnbcompat/Makefile Tue Aug 10 16:49:47 2004 +0000
+++ b/pkgtools/libnbcompat/Makefile Tue Aug 10 18:47:55 2004 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.36 2004/08/06 16:55:09 jlam Exp $
+# $NetBSD: Makefile,v 1.37 2004/08/10 18:47:55 jlam Exp $
#
# NOTE: If you update this package, it is *mandatory* that you update
# pkgsrc/pkgtools/libnbcompat/files/README to reflect the actual
# list of tested and supported platforms.
#
-DISTNAME= libnbcompat-20040805
+DISTNAME= libnbcompat-20040809
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 65f9b9632682 -r 99cc66eda9dd pkgtools/libnbcompat/PLIST
--- a/pkgtools/libnbcompat/PLIST Tue Aug 10 16:49:47 2004 +0000
+++ b/pkgtools/libnbcompat/PLIST Tue Aug 10 18:47:55 2004 +0000
@@ -1,18 +1,30 @@
-@comment $NetBSD: PLIST,v 1.11 2004/08/06 16:55:09 jlam Exp $
+@comment $NetBSD: PLIST,v 1.12 2004/08/10 18:47:55 jlam Exp $
include/nbcompat.h
include/nbcompat/err.h
include/nbcompat/fnmatch.h
include/nbcompat/fts.h
include/nbcompat/getopt.h
include/nbcompat/glob.h
+include/nbcompat/grp.h
+include/nbcompat/limits.h
include/nbcompat/md5.h
include/nbcompat/nbconfig.h
include/nbcompat/nbtypes.h
+include/nbcompat/paths.h
include/nbcompat/poll.h
+include/nbcompat/pwd.h
include/nbcompat/queue.h
include/nbcompat/rmd160.h
include/nbcompat/sha1.h
+include/nbcompat/stat.h
include/nbcompat/statvfs.h
+include/nbcompat/stdio.h
+include/nbcompat/stdlib.h
+include/nbcompat/string.h
+include/nbcompat/time.h
+include/nbcompat/tzfile.h
+include/nbcompat/unistd.h
+include/nbcompat/util.h
include/nbcompat/vis.h
lib/libnbcompat.a
@dirrm include/nbcompat
diff -r 65f9b9632682 -r 99cc66eda9dd pkgtools/libnbcompat/buildlink3.mk
--- a/pkgtools/libnbcompat/buildlink3.mk Tue Aug 10 16:49:47 2004 +0000
+++ b/pkgtools/libnbcompat/buildlink3.mk Tue Aug 10 18:47:55 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2004/08/06 16:55:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2004/08/10 18:47:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBNBCOMPAT_BUILDLINK3_MK:= ${LIBNBCOMPAT_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@
BUILDLINK_PACKAGES+= libnbcompat
.if !empty(LIBNBCOMPAT_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.libnbcompat+= libnbcompat>=20040805
+BUILDLINK_DEPENDS.libnbcompat+= libnbcompat>=20040809
BUILDLINK_PKGSRCDIR.libnbcompat?= ../../pkgtools/libnbcompat
BUILDLINK_DEPMETHOD.libnbcompat?= build
BUILDLINK_LDADD.libnbcompat= -lnbcompat
diff -r 65f9b9632682 -r 99cc66eda9dd pkgtools/libnbcompat/files/Makefile.in
--- a/pkgtools/libnbcompat/files/Makefile.in Tue Aug 10 16:49:47 2004 +0000
+++ b/pkgtools/libnbcompat/files/Makefile.in Tue Aug 10 18:47:55 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.in,v 1.23 2004/08/06 16:55:09 jlam Exp $
+# $NetBSD: Makefile.in,v 1.24 2004/08/10 18:47:55 jlam Exp $
#
srcdir= @srcdir@
@@ -19,11 +19,33 @@
LIB= libnbcompat.a
-INCS= nbcompat.h nbcompat/err.h nbcompat/fnmatch.h nbcompat/fts.h \
- nbcompat/getopt.h nbcompat/glob.h nbcompat/md5.h \
- nbcompat/nbconfig.h nbcompat/nbtypes.h nbcompat/poll.h \
- nbcompat/queue.h nbcompat/rmd160.h nbcompat/sha1.h \
- nbcompat/statvfs.h nbcompat/vis.h
+INCS= nbcompat.h \
+ nbcompat/err.h \
+ nbcompat/fnmatch.h \
+ nbcompat/fts.h \
+ nbcompat/getopt.h \
+ nbcompat/glob.h \
+ nbcompat/grp.h \
+ nbcompat/limits.h \
+ nbcompat/md5.h \
+ nbcompat/nbconfig.h \
+ nbcompat/nbtypes.h \
+ nbcompat/paths.h \
+ nbcompat/poll.h \
+ nbcompat/pwd.h \
+ nbcompat/queue.h \
+ nbcompat/rmd160.h \
+ nbcompat/sha1.h \
+ nbcompat/stat.h \
+ nbcompat/statvfs.h \
+ nbcompat/stdio.h \
+ nbcompat/stdlib.h \
+ nbcompat/string.h \
+ nbcompat/time.h \
+ nbcompat/tzfile.h \
+ nbcompat/unistd.h \
+ nbcompat/util.h \
+ nbcompat/vis.h
# always use our local glob() implementation.
OBJS= glob.o @LIBOBJS@
diff -r 65f9b9632682 -r 99cc66eda9dd pkgtools/libnbcompat/files/README
--- a/pkgtools/libnbcompat/files/README Tue Aug 10 16:49:47 2004 +0000
+++ b/pkgtools/libnbcompat/files/README Tue Aug 10 18:47:55 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README,v 1.1 2004/08/06 16:55:09 jlam Exp $
+$NetBSD: README,v 1.2 2004/08/10 18:47:55 jlam Exp $
0 Introduction
==============
@@ -43,16 +43,19 @@
*NOTE* the most recent libnbcompat.
*NOTE*
-libnbcompat-20040805 has been tested to build and install correctly
+libnbcompat-20040809 has been tested to build and install correctly
on the following operating systems:
FreeBSD-4.8/i386 <jlam%NetBSD.org@localhost>
- IRIX 6.5 <jschauma%NetBSD.org@localhost>
+ FreeBSD-5.2.1/i386 <seb%NetBSD.org@localhost>
+ IRIX 6.5 <schmonz%NetBSD.org@localhost>
MacOS X 10.3.4 <schmonz%NetBSD.org@localhost>
+ MacOS X 10.3.5 <masahiro%wide.ad.jp@localhost>
NetBSD-1.6.2/i386 <jlam%NetBSD.org@localhost>
- NetBSD-2.0_BETA/i386 <hubertf%NetBSD.org@localhost>
- Red Hat Linux 7.3 <schmonz%NetBSD.org@localhost>
- Solaris 9/sparc <salo%NetBSD.org@localhost>
+ NetBSD-2.0_BETA/i386 <wiz%NetBSD.org@localhost>
+ Red Hat Linux 8.0 <cube%NetBSD.org@localhost>
+ Solaris 8 <sketch%NetBSD.org@localhost>
+ Solaris 9 <sketch%NetBSD.org@localhost>
3 Usage
diff -r 65f9b9632682 -r 99cc66eda9dd pkgtools/libnbcompat/files/configure
--- a/pkgtools/libnbcompat/files/configure Tue Aug 10 16:49:47 2004 +0000
+++ b/pkgtools/libnbcompat/files/configure Tue Aug 10 18:47:55 2004 +0000
@@ -3252,59 +3252,207 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-for ac_header in arpa/nameser.h assert.h bind/bitypes.h dirent.h err.h \
- errno.h fcntl.h fnmatch.h fts.h inttypes.h libutil.h limits.h \
- machine/endian.h memory.h ndir.h netdb.h netinet/in6_machtypes.h \
- paths.h pwd.h stdint.h stdlib.h stringlist.h strings.h \
- string.h sys/bitypes.h sys/byteorder.h sys/cdefs.h sys/dir.h \
- sys/endian.h sys/file.h sys/mkdev.h sys/ndir.h \
- sys/param.h sys/time.h sys/ttycom.h \
- sys/stat.h sys/statfs.h sys/statvfs.h sys/vfs.h sys/types.h \
- sys/vfs.h termcap.h termios.h time.h tzfile.h unistd.h util.h \
- utmp.h
+for ac_header in inttypes.h sys/types.h sys/bitypes.h bind/bitypes.h \
+ netinet/in6_machtypes.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+ # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
Home |
Main Index |
Thread Index |
Old Index