Update build infrastructure for libarchive-2.4.13.

This commit is contained in:
joerg 2008-02-26 14:54:18 +00:00
parent d0ff209a7d
commit 76f009d25d
3 changed files with 85 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.1115 2008/02/20 09:55:37 drochner Exp $ # $NetBSD: mi,v 1.1116 2008/02/26 14:54:18 joerg Exp $
# #
# Note: don't delete entries from here - mark them as "obsolete" instead. # Note: don't delete entries from here - mark them as "obsolete" instead.
# #
@ -6776,6 +6776,7 @@
./usr/share/man/cat3/zlib.0 comp-c-catman .cat ./usr/share/man/cat3/zlib.0 comp-c-catman .cat
./usr/share/man/cat5/config.0 comp-util-catman .cat ./usr/share/man/cat5/config.0 comp-util-catman .cat
./usr/share/man/cat5/config.samples.0 comp-util-catman .cat ./usr/share/man/cat5/config.samples.0 comp-util-catman .cat
./usr/share/man/cat5/cpio.0 comp-util-catman .cat
./usr/share/man/cat5/cvs.0 comp-cvs-catman cvs,.cat ./usr/share/man/cat5/cvs.0 comp-cvs-catman cvs,.cat
./usr/share/man/cat5/libarchive-formats.0 comp-util-catman .cat ./usr/share/man/cat5/libarchive-formats.0 comp-util-catman .cat
./usr/share/man/cat5/mk.conf.0 comp-util-catman .cat ./usr/share/man/cat5/mk.conf.0 comp-util-catman .cat
@ -11420,6 +11421,7 @@
./usr/share/man/man3/zlib.3 comp-c-man .man ./usr/share/man/man3/zlib.3 comp-c-man .man
./usr/share/man/man5/config.5 comp-util-man .man ./usr/share/man/man5/config.5 comp-util-man .man
./usr/share/man/man5/config.samples.5 comp-util-man .man ./usr/share/man/man5/config.samples.5 comp-util-man .man
./usr/share/man/man5/cpio.5 comp-util-man .man
./usr/share/man/man5/cvs.5 comp-cvs-man cvs,.man ./usr/share/man/man5/cvs.5 comp-cvs-man cvs,.man
./usr/share/man/man5/libarchive-formats.5 comp-util-man .man ./usr/share/man/man5/libarchive-formats.5 comp-util-man .man
./usr/share/man/man5/mk.conf.5 comp-util-man .man ./usr/share/man/man5/mk.conf.5 comp-util-man .man

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2007/08/06 12:31:16 joerg Exp $ # $NetBSD: Makefile,v 1.3 2008/02/26 14:54:18 joerg Exp $
USE_FORT?= yes # complex string handling USE_FORT?= yes # complex string handling
@ -16,6 +16,9 @@ SRCS= archive_check_magic.c \
archive_entry.c \ archive_entry.c \
archive_entry_copy_stat.c \ archive_entry_copy_stat.c \
archive_entry_stat.c \ archive_entry_stat.c \
archive_entry_link_resolver.c \
archive_entry_stat.c \
archive_entry_strmode.c \
archive_read.c \ archive_read.c \
archive_read_data_into_fd.c \ archive_read_data_into_fd.c \
archive_read_extract.c \ archive_read_extract.c \
@ -34,6 +37,7 @@ SRCS= archive_check_magic.c \
archive_read_support_format_cpio.c \ archive_read_support_format_cpio.c \
archive_read_support_format_empty.c \ archive_read_support_format_empty.c \
archive_read_support_format_iso9660.c \ archive_read_support_format_iso9660.c \
archive_read_support_format_mtree.c \
archive_read_support_format_tar.c \ archive_read_support_format_tar.c \
archive_read_support_format_zip.c \ archive_read_support_format_zip.c \
archive_string.c \ archive_string.c \
@ -74,9 +78,11 @@ MAN= archive_entry.3 \
archive_util.3 \ archive_util.3 \
archive_write.3 \ archive_write.3 \
archive_write_disk.3 \ archive_write_disk.3 \
cpio.5 \
libarchive.3 \ libarchive.3 \
libarchive-formats.5 tar.5 \ libarchive_internals.3 \
libarchive_internals.3 libarchive-formats.5 \
tar.5
MLINKS+= archive_entry.3 archive_entry_acl_add_entry.3 MLINKS+= archive_entry.3 archive_entry_acl_add_entry.3
MLINKS+= archive_entry.3 archive_entry_acl_add_entry_w.3 MLINKS+= archive_entry.3 archive_entry_acl_add_entry_w.3
@ -214,7 +220,7 @@ MLINKS+= archive_write_disk.3 archive_write_disk_set_standard_lookup.3
MLINKS+= archive_write_disk.3 archive_write_disk_set_user_lookup.3 MLINKS+= archive_write_disk.3 archive_write_disk_set_user_lookup.3
MLINKS+= libarchive.3 archive.3 MLINKS+= libarchive.3 archive.3
ARCHIVE_VERSION= 2.2.6 ARCHIVE_VERSION= 2.4.13
ARCHIVE_API_MAJOR= ${ARCHIVE_VERSION:C/([0-9]*).*/\1/} ARCHIVE_API_MAJOR= ${ARCHIVE_VERSION:C/([0-9]*).*/\1/}
ARCHIVE_API_MINOR= ${ARCHIVE_VERSION:C/[0-9]*\.([0-9]*).*/\1/} ARCHIVE_API_MINOR= ${ARCHIVE_VERSION:C/[0-9]*\.([0-9]*).*/\1/}
ARCHIVE_API_REV= ${ARCHIVE_VERSION:C/[0-9]*\.[0-9]*\.([0-9]*).*/\1/} ARCHIVE_API_REV= ${ARCHIVE_VERSION:C/[0-9]*\.[0-9]*\.([0-9]*).*/\1/}
@ -240,10 +246,9 @@ ARCHIVE_VERSION_STAMP= \
# Note: NetBSD has inttypes.h, so enable that include in archive.h.in # Note: NetBSD has inttypes.h, so enable that include in archive.h.in
archive.h: archive.h.in archive.h: archive.h.in
sed -e 's/@ARCHIVE_VERSION@/${ARCHIVE_VERSION}/g' \ sed -e 's/@ARCHIVE_VERSION@/${ARCHIVE_VERSION}/g' \
-e 's/@LIBARCHIVE_VERSION_STRING@/${ARCHIVE_VERSION}/g' \
-e 's/@SHLIB_MAJOR@/${ARCHIVE_API_MAJOR}/g' \ -e 's/@SHLIB_MAJOR@/${ARCHIVE_API_MAJOR}/g' \
-e 's/@ARCHIVE_API_MAJOR@/${ARCHIVE_API_MAJOR}/g' \ -e 's/@LIBARCHIVE_VERSION@/${ARCHIVE_VERSION_STAMP}/g' \
-e 's/@ARCHIVE_API_MINOR@/${ARCHIVE_API_MINOR}/g' \
-e 's/@ARCHIVE_VERSION_STAMP@/${ARCHIVE_VERSION_STAMP}/g' \
-e 's|@ARCHIVE_H_INCLUDE_INTTYPES_H@|#include <inttypes.h> /* For int64_t */|g' \ -e 's|@ARCHIVE_H_INCLUDE_INTTYPES_H@|#include <inttypes.h> /* For int64_t */|g' \
< ${LIBARCHIVEDIR}/libarchive/archive.h.in > ${.TARGET} < ${LIBARCHIVEDIR}/libarchive/archive.h.in > ${.TARGET}

View File

@ -1,6 +1,12 @@
/* config.h. Generated from config.h.in by configure. */ /* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */ /* config.h.in. Generated from configure.ac by autoheader. */
/* Version number of bsdcpio */
#define BSDCPIO_VERSION_STRING "0.9.0"
/* Version number of bsdtar */
#define BSDTAR_VERSION_STRING "2.4.13"
/* Define to 1 if you have the `acl_create_entry' function. */ /* Define to 1 if you have the `acl_create_entry' function. */
/* #undef HAVE_ACL_CREATE_ENTRY */ /* #undef HAVE_ACL_CREATE_ENTRY */
@ -37,6 +43,9 @@
/* Define to 1 if you have the `chflags' function. */ /* Define to 1 if you have the `chflags' function. */
#define HAVE_CHFLAGS 1 #define HAVE_CHFLAGS 1
/* Define to 1 if you have the `chown' function. */
#define HAVE_CHOWN 1
/* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you
don't. */ don't. */
#define HAVE_DECL_INT64_MAX 1 #define HAVE_DECL_INT64_MAX 1
@ -45,6 +54,14 @@
don't. */ don't. */
#define HAVE_DECL_INT64_MIN 1 #define HAVE_DECL_INT64_MIN 1
/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
*/
#define HAVE_DECL_OPTARG 1
/* Define to 1 if you have the declaration of `optind', and to 0 if you don't.
*/
#define HAVE_DECL_OPTIND 1
/* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you
don't. */ don't. */
#define HAVE_DECL_SIZE_MAX 1 #define HAVE_DECL_SIZE_MAX 1
@ -119,6 +136,9 @@
/* Define to 1 if you have the `futimes' function. */ /* Define to 1 if you have the `futimes' function. */
#define HAVE_FUTIMES 1 #define HAVE_FUTIMES 1
/* Define to 1 if you have the `geteuid' function. */
#define HAVE_GETEUID 1
/* Define to 1 if you have the `getopt_long' function. */ /* Define to 1 if you have the `getopt_long' function. */
#define HAVE_GETOPT_LONG 1 #define HAVE_GETOPT_LONG 1
@ -128,6 +148,9 @@
/* Define to 1 if you have the <grp.h> header file. */ /* Define to 1 if you have the <grp.h> header file. */
#define HAVE_GRP_H 1 #define HAVE_GRP_H 1
/* Define to 1 if the system has the type `intmax_t'. */
#define HAVE_INTMAX_T 1
/* Define to 1 if you have the <inttypes.h> header file. */ /* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1 #define HAVE_INTTYPES_H 1
@ -176,6 +199,9 @@
/* Define to 1 if you have the <locale.h> header file. */ /* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1 #define HAVE_LOCALE_H 1
/* Define to 1 if the system has the type `long long int'. */
#define HAVE_LONG_LONG_INT 1
/* Define to 1 if you have the `lsetxattr' function. */ /* Define to 1 if you have the `lsetxattr' function. */
/* #undef HAVE_LSETXATTR */ /* #undef HAVE_LSETXATTR */
@ -201,6 +227,9 @@
/* Define to 1 if you have the `mkfifo' function. */ /* Define to 1 if you have the `mkfifo' function. */
#define HAVE_MKFIFO 1 #define HAVE_MKFIFO 1
/* Define to 1 if you have the `mknod' function. */
#define HAVE_MKNOD 1
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */ /* #undef HAVE_NDIR_H */
@ -219,12 +248,12 @@
/* Define to 1 if you have the <pwd.h> header file. */ /* Define to 1 if you have the <pwd.h> header file. */
#define HAVE_PWD_H 1 #define HAVE_PWD_H 1
/* Define to 1 if you have the `reallocf' function. */
/* #undef HAVE_REALLOCF */
/* Define to 1 if you have the `select' function. */ /* Define to 1 if you have the `select' function. */
#define HAVE_SELECT 1 #define HAVE_SELECT 1
/* Define to 1 if you have the `setenv' function. */
#define HAVE_SETENV 1
/* Define to 1 if you have the `setlocale' function. */ /* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1 #define HAVE_SETLOCALE 1
@ -294,6 +323,9 @@
/* Define to 1 if you have the <sys/param.h> header file. */ /* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/poll.h> header file. */
#define HAVE_SYS_POLL_H 1
/* Define to 1 if you have the <sys/select.h> header file. */ /* Define to 1 if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SELECT_H 1
@ -306,6 +338,9 @@
/* Define to 1 if you have the <sys/types.h> header file. */ /* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/utime.h> header file. */
/* #undef HAVE_SYS_UTIME_H */
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#define HAVE_SYS_WAIT_H 1 #define HAVE_SYS_WAIT_H 1
@ -315,15 +350,24 @@
/* Define to 1 if you have the <time.h> header file. */ /* Define to 1 if you have the <time.h> header file. */
#define HAVE_TIME_H 1 #define HAVE_TIME_H 1
/* Define to 1 if you have the `tzset' function. */
#define HAVE_TZSET 1
/* Define to 1 if the system has the type `uintmax_t'. */ /* Define to 1 if the system has the type `uintmax_t'. */
#define HAVE_UINTMAX_T 1 #define HAVE_UINTMAX_T 1
/* Define to 1 if you have the <unistd.h> header file. */ /* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1
/* Define to 1 if you have the `unsetenv' function. */
#define HAVE_UNSETENV 1
/* Define to 1 if the system has the type `unsigned long long'. */ /* Define to 1 if the system has the type `unsigned long long'. */
#define HAVE_UNSIGNED_LONG_LONG 1 #define HAVE_UNSIGNED_LONG_LONG 1
/* Define to 1 if the system has the type `unsigned long long int'. */
#define HAVE_UNSIGNED_LONG_LONG_INT 1
/* Define to 1 if you have the `utime' function. */ /* Define to 1 if you have the `utime' function. */
#define HAVE_UTIME 1 #define HAVE_UTIME 1
@ -354,6 +398,12 @@
/* Define to 1 if you have the <zlib.h> header file. */ /* Define to 1 if you have the <zlib.h> header file. */
#define HAVE_ZLIB_H 1 #define HAVE_ZLIB_H 1
/* Version number of libarchive as a single integer */
#define LIBARCHIVE_VERSION "2004013"
/* Version number of libarchive */
#define LIBARCHIVE_VERSION_STRING "2.4.13"
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
slash. */ slash. */
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
@ -379,13 +429,13 @@
#define PACKAGE_NAME "libarchive" #define PACKAGE_NAME "libarchive"
/* Define to the full name and version of this package. */ /* Define to the full name and version of this package. */
#define PACKAGE_STRING "libarchive 2.2.5" #define PACKAGE_STRING "libarchive 2.4.13"
/* Define to the one symbol short name of this package. */ /* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libarchive" #define PACKAGE_TARNAME "libarchive"
/* Define to the version of this package. */ /* Define to the version of this package. */
#define PACKAGE_VERSION "2.2.5" #define PACKAGE_VERSION "2.4.13"
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1 #define STDC_HEADERS 1
@ -397,7 +447,7 @@
#define TIME_WITH_SYS_TIME 1 #define TIME_WITH_SYS_TIME 1
/* Version number of package */ /* Version number of package */
#define VERSION "2.2.5" #define VERSION "2.4.13"
/* Number of bits in a file offset, on hosts where this is settable. */ /* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */ /* #undef _FILE_OFFSET_BITS */
@ -408,6 +458,11 @@
/* Define for large files, on AIX-style hosts. */ /* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */ /* #undef _LARGE_FILES */
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the
#define below would cause a syntax error. */
/* #undef _UINT64_T */
/* Define to empty if `const' does not conform to ANSI C. */ /* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */ /* #undef const */
@ -417,16 +472,18 @@
/* Define to `unsigned long' if <sys/types.h> does not define. */ /* Define to `unsigned long' if <sys/types.h> does not define. */
/* #undef id_t */ /* #undef id_t */
/* Define int64_t to a valid signed 64-bit type, if necessary. */ /* Define to the type of a signed integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef int64_t */ /* #undef int64_t */
/* Define to `int64_t' if <sys/types.h> does not define. */ /* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do
not define. */
/* #undef intmax_t */ /* #undef intmax_t */
/* Define to `int' if <sys/types.h> does not define. */ /* Define to `int' if <sys/types.h> does not define. */
/* #undef mode_t */ /* #undef mode_t */
/* Define to `int64_t' if <sys/types.h> does not define. */ /* Define to `long long' if <sys/types.h> does not define. */
/* #undef off_t */ /* #undef off_t */
/* Define to `unsigned int' if <sys/types.h> does not define. */ /* Define to `unsigned int' if <sys/types.h> does not define. */
@ -435,10 +492,12 @@
/* Define to `int' if <sys/types.h> doesn't define. */ /* Define to `int' if <sys/types.h> doesn't define. */
/* #undef uid_t */ /* #undef uid_t */
/* Define uint64_t to an unsigned 64-bit type, if necessary. */ /* Define to the type of an unsigned integer type of width exactly 64 bits if
such a type exists and the standard includes do not define it. */
/* #undef uint64_t */ /* #undef uint64_t */
/* Define to `uint64_t' if <sys/types.h> does not define. */ /* Define to the widest unsigned integer type if <stdint.h> and <inttypes.h>
do not define. */
/* #undef uintmax_t */ /* #undef uintmax_t */
/* Define to `unsigned int' if <sys/types.h> does not define. */ /* Define to `unsigned int' if <sys/types.h> does not define. */