Commit Graph

1205 Commits

Author SHA1 Message Date
darran
97d3245ff3 Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
darran
7b822b43cb DTrace: fix a problem with library references for libctf and libdtrace. 2010-02-21 11:00:01 +00:00
darran
4e42fd7663 DTrace: remove extra libshare.h - shouldn't have added it and it breaks
the libzfs build.
2010-02-21 10:21:06 +00:00
darran
17b93c1002 DTrace: remove assert.h - shouldn't have been checked in (breaks libdtrace
build).
2010-02-21 09:52:08 +00:00
darran
f2505ce1e5 DTrace: remove file.h - it shouldn't have been added and breaks zfs. 2010-02-21 08:28:40 +00:00
darran
01c9547e57 Apply NetBSD changes to DTrace.
Ok with core@.
2010-02-21 01:46:32 +00:00
darran
bb8023b5c1 Add the FreeBSD 8-RC1 changes for DTrace.
Ok with core@.
2010-02-21 00:49:51 +00:00
joerg
808b2c3215 Remove a windows-only source file from the list. 2010-02-20 22:49:22 +00:00
joerg
a47bf818c5 Merge 2010-02-20 04:44:59 +00:00
joerg
2dbe35ad26 nstall-20100220:
Try harder to give the user an idea which file failed.
Addresses PR 42223.
2010-02-20 04:41:52 +00:00
darran
a864dc36a1 Import the rest of Opensolaris 20081117 needed for DTrace. No conflicts
with ZFS.
2010-02-20 04:33:34 +00:00
joerg
966b72ab39 Update build infrastructure for libarchive 2.8.0. 2010-02-20 02:55:52 +00:00
joerg
726cc99615 Do not leak setup_xattr into the public namespace. 2010-02-20 02:53:09 +00:00
joerg
d41f717e25 Merge changes 2010-02-20 02:51:32 +00:00
joerg
9fde539170 Import libarchive 2.8.0:
- Infrastructure:
  - Allow command line tools as fallback for missing compression
    libraries. If compiled without gzip for example, gunzip will
    be used automatically.
  - Improved support for a number of platforms like high-resolution
    timestamps and Extended Attributes on various Unix systems
  - New convience interface for creating archives based on disk content,
    complement of the archive_write_disk interface.
- Frontends:
  - bsdcpio ready for public consumption
  - hand-written date parser replaces the yacc code
- Filter system:
  - Simplified read filter chains
  - Option support for filters
  - LZMA, XZ, uudecode handled
- Format support:
  - Write support for mtree files based on file system or archive
    content
  - Basic read support for Joliet
  - Write support for zip files
  - Write support for shar archives, both text-only and binary-safe
2010-02-20 02:48:21 +00:00
christos
229a6fd0df make the default action abort for the empty log message; it used to be
continue. requested by joerg.
2010-02-19 23:50:55 +00:00
joerg
156dc8e835 Update build system for mdocml 1.9.15. 2010-02-19 23:02:41 +00:00
joerg
09c95e748e Merge 2010-02-19 23:01:28 +00:00
joerg
d5e63c8d55 Import mdocml 1.9.15 modulo a patch for .Xr handling:
- XHTML output support, more human-readable HTML output
- end-of-line white space detected in all lines
- fix subtle bug for list displays in some modes
- fix column handling
- full support for \f etc
- imporoved column handling
- various other bug fixes
- compatiblity support for strlcat/strlcpy
- groff-compatible .Xr [backed out]
2010-02-19 22:54:40 +00:00
njoly
347e02defd Regen initparse.c/initscan.c without #line directives, to avoid host
tool depency problems when NETBSDSRCDIR != /usr/src.
2010-02-19 14:22:43 +00:00
njoly
82d9c2fa0b Add nint_table.h and nint_vars.h to generated list files. 2010-02-19 13:55:46 +00:00
wiz
8f657e21de Fix typo (specifed -> specified). 2010-02-18 14:00:39 +00:00
christos
0f0ea55dc4 Fix build issue with our make system building libnvpair.so from libnvpair.c
and libnvpair.so from *.so by renaming libnvpair.c to lib_nvpair.c
2010-02-17 17:36:32 +00:00
plunky
5f25705455 actually include the top-level Makefile.inc 2010-02-11 14:36:32 +00:00
plunky
64f418c059 keep generated config.h file in a subdir
(avoids potential inclusion errors)
2010-02-11 14:22:30 +00:00
plunky
402aefd4ec provide endian information at build time rather than embedding it
in the config.h file.
2010-02-11 14:18:45 +00:00
macallan
0d91bbc4af build the suncg14 driver on sparc 2010-02-11 04:07:17 +00:00
plunky
f5c86c146d use
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4

rather than

.if ${HAVE_GCC} == 4

as HAVE_GCC may be undefined
2010-02-08 07:56:06 +00:00
plunky
742b10af18 amd64 provides MACHINE_ARCH=x86_64 but pcc wants TARGMACH=amd64. handle that 2010-02-05 18:41:25 +00:00
plunky
8e1bb8f737 when making VERSSTR, provide the target os/machine rather than the host.
have the CVS checkout date in the PACKAGE_STRING rather than in a separate
definition
2010-02-05 17:18:31 +00:00
plunky
9422719fb6 be more adaptable when choosing the target arch, try to relate
the MACHINE_ARCH to the supported architectures before failing.
2010-02-05 08:58:47 +00:00
plunky
192b470eb8 just use the actual date in PACKAGE_CHECKOUT definition 2010-02-05 08:52:25 +00:00
plunky
accbe58577 don't build and install the crtbegin.o and crtend.o files at this stage,
they conflict with the system provided ones (lib/csu) and cause problems.
2010-02-05 08:46:25 +00:00
plunky
e8d2e908f8 use SUBDIR= not SUBDIR+= 2010-02-05 08:42:39 +00:00
plunky
ea7801f79b don't conditionally include the Makefile.inc, we need the BINDIR etc
definitions for installation
2010-02-05 08:41:13 +00:00
plunky
60d1d27f5d only go to WARNS=2 on these by default 2010-02-05 08:37:48 +00:00
tron
feced192ce Define "HAVE_TERMCAP_H" to fix build with the new terminfo library. 2010-02-04 13:22:34 +00:00
plunky
b3081dfecd fix the embedded VERSSTR by providing the correct machine architecture
at build time, and adding an import date to the version.
2010-02-03 22:13:13 +00:00
plunky
69337406ec following the documentation in mk.conf(5) and share/mk/bsd.README,
and prior art with the MKGCC and MKGCCCMDS build options, only build
and install the pcc commands (pcc, cpp & ccom) when MKPCCCMDS != no
2010-02-03 22:07:50 +00:00
plunky
bd99595db9 Install the CPP manpage as pcpp(1) to avoid conflicts with the GCC version 2010-02-03 22:03:56 +00:00
joerg
3185176d24 Merge 2010-02-03 19:31:49 +00:00
joerg
6ab7422234 Fix enum to prevent crash (PR 42734) 2010-02-03 19:27:01 +00:00
roy
98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
joerg
e8182c96d5 pkg_install-20100203:
- Restore PKG_PREFIX in pkg_delete (PR 42731)
- Ensure that the current pkg_install version is at least as new as
  the version used to build the package
2010-02-03 14:23:39 +00:00
tls
529d2eb4cb Plug liblzf into build. Liblzf is a small (3504 byte shared library on i386),
very very fast, 2-clause BSD-licensed compressor.  We provide the LZF_STATE
version of the API, which is not the default for generic liblzf.
2010-02-03 06:25:54 +00:00
tls
55a82c0a98 Adjust liblzf to offer the LZF_STATE_ARG API, which is better for small-stack
environments (think bootblocks etc) and no worse elsewise (you can always
just pass the same state argument...) and have correct prototypes when doing
so.
2010-02-03 03:55:38 +00:00
tls
05206c0677 Import liblzf version 3.5 (2-clause BSD licensed by Marc Lehmann) 2010-02-03 03:50:40 +00:00
roy
afee245092 sync 2010-01-31 20:53:05 +00:00
roy
a7622e5331 Import dhcpcd-5.1.5 with the following changes:
* -H, --xidhwaddr uses the last 4 bytes of the hardware address as
  the DHCP xid
* -J, --broadcast tells the DHCP server to broadcast replies
* no longer warn about InfiniBand being an unsupported family
* infinite lease times are valid when reading old leases
* discard address correctly if lease is invalid
2010-01-31 20:50:16 +00:00
joerg
5ac0fc9ca9 pkg_install-20100130:
- pkg_add -U to rplace an installed version
- refactored man pages
- PKG_DBDIR / PKG_REFCOUNT_DBDIR as pkg_install.conf options
- synced license list
- use connection cache from libfetch
2010-01-30 21:33:08 +00:00
joerg
70160d7000 libfetch-2.30:
- Revamped connection cache, allowing more than one active session
- HTTP keep-alive support
2010-01-30 21:26:09 +00:00
wiz
c37f3f8b3c Mark up NULL. Join two sections describing same error. Remove trailing
whitespace.
2010-01-29 10:49:07 +00:00
matt
dfcdd41b29 Add a _is_local_label_name routine (taken from elf64-mips.c). 2010-01-29 06:09:36 +00:00
matt
07b94adbab Use bfd_ntrad{little,big}_vec and drop all non-trad vectors since they
make target matching ambiguous.
2010-01-29 06:08:01 +00:00
matt
335a046fbd Remove merge workaround - not needed. 2010-01-29 06:05:53 +00:00
matt
fade670606 Remove redundant mips*-*-netbsd* clause 2010-01-29 06:05:32 +00:00
darran
e8ef955492 Fix a problem with the handling of NOBITS sections (i.e. bss), where the
elf_getdata() function would return an invalid section error if the size
of the section was bigger than the raw size of the elf binary.
This is basically a sync with changeset 10 of the sourceforge repository
for this library (elftoolchain).
2010-01-28 21:38:29 +00:00
yamt
6ddbd5a7dd scsi_command_t: rather than putting cleanup code before every
return statememts, use goto to a single copy of the cleanup code.
no functional changes.
2010-01-25 13:45:16 +00:00
plunky
567387c17c execute lists of commands in sub-shells so that the cwd doesn't get
not changed between commands

(nbmake will execute all commands in the same context when given -j)

this allows HAVE_PCC=yes tools build to install the pcc files
2010-01-22 11:08:40 +00:00
yamt
44972f323c - remove unnecessary and confusing initialization of sess->d.
- add an assertion.
2010-01-20 11:50:28 +00:00
plunky
7d4f77f20f Clean up the build framework for pcc
- use <bsd.init.mk> to include <../Makefile.inc> files
  - add Makefile.inc files that pull in appropriate build settings
  - fix the LIBEXECDIR definition (should have trailing /)
  - make cc.1 install as pcc.1 to match the binary
  - use YHEADER= to build the yacc headers
  - general consistency tidy up
2010-01-20 11:45:54 +00:00
yamt
6b4ef1c2b1 implement REPORT LUNS for non-zero LUNs correctly. 2010-01-20 10:33:08 +00:00
yamt
fdeb814270 add missing trailing newline chars to some of iscsi_err messages. 2010-01-20 00:58:49 +00:00
yamt
a33cb43688 target_transfer_data: fix an incorrect flattening of RETURN_NOT_EQUAL
in rev.1.2.
2010-01-20 00:51:51 +00:00
yamt
ddd2fd462c disk_write: report an error from target_transfer_data instead of
silently write garbage to the storage.
2010-01-20 00:50:09 +00:00
mrg
ff65ddb460 link in libOSMesa as well. 2010-01-12 03:56:17 +00:00
mrg
9f817fe79f replace LIBS with LIBDPLIBS. makes these actually link against drm_intel.
should fix a problem reported by snj@.
2010-01-12 00:57:45 +00:00
joerg
85dea109fa libfetch-2.27:
Fix a bug in the connection caching for FTP.
2010-01-11 19:40:01 +00:00
tron
9ee09dfd6f Replace VATTR_NULL() with vattr_null(). The ZFS module can be loaded
again now.
2010-01-11 12:10:18 +00:00
mrg
1834ad25e5 fix a problem reported by jmorse:
- fix a line continuation that stopped SRCS= from working
- don't include intel_dri.c here
2010-01-10 17:35:33 +00:00
haad
f1a671f674 Fix problem in ZFS ZIL layer where unclean shutdown of filesystem can change
replayed file permissions to 777. Patch from FreeBSD. Original commit message:

Be careful which vattr fields are set during setattr replay.
Without this fix strange things can appear after unclean shutdown like
files with mode set to 07777.
2010-01-10 01:35:39 +00:00
joerg
f382d79a9f Fix markup. 2010-01-08 16:32:47 +00:00
joerg
1e94bcdda0 Fix the markup. 2010-01-08 16:32:23 +00:00
joerg
6738b10249 Use \(-> for the arrows and put them on a separate line because they are
not special symbols that .Xr handles.
2010-01-08 16:31:51 +00:00
ober
9067e90d8c Fix comment to meet style guidelines. 2010-01-08 03:41:58 +00:00
ober
c56ace41b0 Make sure the comment is specific to being a hack and that it needs to be pulled before production release and the real issues with UVM and ZFS need to be resolved. 2010-01-03 11:33:13 +00:00
ober
9bfbda61ad Set KM_PUSHPAGE to KM_SLEEP to prevent the arc_buf_alloc panics in ZFS.
ok haad@
2010-01-03 10:50:06 +00:00
matt
e34524fa00 Don't allow a symbol + offset in a merge section to translated to a
.section + offset reference if offset is negative.
2010-01-01 06:12:55 +00:00
joerg
abada83399 Do not use .Xo/.Xc to work around ancient roff limits.
Remove .TE without matching .TS.
2009-12-29 18:07:28 +00:00
thorpej
69ceabfc59 Include nbtool_config.h as needed. Should fix missing defn of __unused in
some host tool environments.
2009-12-29 17:32:18 +00:00
thorpej
4d886fcd1a Merge FreeBSD-8-0-RELEASE. All this does is remove the __RCSID() tags
due to the modified prepare-import.sh.
2009-12-29 17:05:58 +00:00
thorpej
8a81f35236 Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to
get a new import after prepare-import.sh was changed to not insert NetBSD
__RCSID() macros (which are problematic for host tool builds).
2009-12-29 16:58:08 +00:00
thorpej
7c6f9e4c11 We don't really need __RCSID() tags in these files, so just get rid of them. 2009-12-29 16:56:25 +00:00
snj
875f862227 Properly replace @MKTEMP_SH_FUNCTION@, @MKTEMP@, and @SENDMAIL@.
Fixes PR bin/39629.
2009-12-29 06:00:35 +00:00
christos
ded3e18dc8 adjust entropy_add signature. (From Kurt Schreiner) 2009-12-27 17:27:29 +00:00
christos
e1523714f8 merge 9.7.0rc1 2009-12-26 23:08:21 +00:00
christos
d12c9ec32b Import bind 9.7.0rc1 2009-12-26 22:18:13 +00:00
wiz
dbb0a194be Make HTML-ready. 2009-12-23 09:54:22 +00:00
mbalmer
43a53fa2dc Fix typo in a comment, no code change. 2009-12-23 09:22:16 +00:00
mbalmer
a72f71643d Fix typo in comments, no code change. 2009-12-23 09:17:40 +00:00
roy
5f8a05b17d Import dhcpcd-5.1.4
Changes from dhcpcd-5.1.3 include:
 * dhcpcd logs even in quiet mode.
 * Sleep for 1/100th of a second to give time for kernel to send RELEASE.
 * -S option now works.
 * Only warn about using CSR on bind.
2009-12-23 08:30:06 +00:00
darran
ebf62180d8 Add libdwarf to the build. 2009-12-23 00:17:40 +00:00
darran
c6ebd49b09 Fix a signed vrs unsigned cast. 2009-12-23 00:12:57 +00:00
darran
73d7a467ee while (0) -> while (/*CONSTCOND*/0) 2009-12-23 00:11:30 +00:00
darran
e65b189966 Add build glue. 2009-12-23 00:10:15 +00:00
darran
bd99ed90ac Add a script to prepare libdwarf for import. 2009-12-23 00:06:53 +00:00
darran
88d2277d90 Import libdwarf from FreeBSD 8.0-RC1.
ok tls@.
2009-12-23 00:03:21 +00:00
jmmv
8fd5b13660 Update build files to match atf 0.7. 2009-12-22 13:38:10 +00:00
jmmv
21361fb856 Merge atf 0.7. 2009-12-22 13:36:56 +00:00
jmmv
12aa0b5af8 Import atf 0.7. Changes in this release:
* Added build-time checks to atf-c and atf-c++.  A binding for atf-sh
  will come later.

* Migrated all build-time checks for header files to proper ATF tests.
  This demonstrates the use of the new feature described above.

* Added an internal API for child process management.

* Converted all plain-text distribution documents to a Docbook canonical
  version, and include pre-generated plain text and HTML copies in the
  distribution file.

* Simplified the contents of the Makefile.am by regenerating it from a
  canonical Makefile.am.m4 source.  As a side-effect, some dependency
  specifications were fixed.

* Migrated all checks from the check target to installcheck, as these
  require ATF to be installed.

* Fixed sign comparison mismatches triggered by the now-enabled
  -Wsign-compare.

* Fixed many memory and object leaks.
2009-12-22 13:25:45 +00:00