Commit Graph

1392 Commits

Author SHA1 Message Date
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
nakayama
2570d7a0b1 Add -DAVOID_CPIO on sparc. 2009-12-22 09:12:42 +00:00
thorpej
3f0d4dd15e Note when this appeared in NetBSD. 2009-12-21 18:27:48 +00:00
thorpej
aa6d6cf7b8 Add support for building libelf in a host-tool environment.
XXX Makefile.disklabel is really mis-named, but I'm not going to tackle
that problem right now.
2009-12-21 18:21:17 +00:00
thorpej
a2307e2ec3 - _libelf_globals::libelf_arch and _libelf_globals::libelf_class are
completely unused.  Remove them.
- _libelf_globals::libelf_byteorder is really all about the byte order of
  the host running libelf, so replace it with a _libelf_host_byteorder()
  internal function that computes the host byte order in a very portable
  way (doesn't rely on BSD-specific header files).
2009-12-20 23:23:46 +00:00
mrg
204f6553a5 PRIVATE_VERSION(arch) isn't ever used, so don't try to setup this member
of _libelf{}.  ELF??_MACHDEP_ID may not be defined if ELFSIZE wasn't
defined before including this file.

this fixes a build error on mips platforms.
2009-12-20 19:38:13 +00:00
thorpej
d04120af38 Build libelf. 2009-12-20 05:52:41 +00:00
thorpej
acdbfc25c4 Enable __LIBELF_HAVE_ELF_SYMINFO. 2009-12-20 05:52:15 +00:00
thorpej
4c040305d0 Fix a typo. 2009-12-19 09:01:32 +00:00
thorpej
80a94d172a Add some range checks to quiet warnings. 2009-12-19 09:00:56 +00:00
thorpej
83ba8dcb86 We don't have an Elf_Note typedef, but Elf32_Nhdr and Elf64_Nhdr are
equivalent; use Elf32_Nhdr instead.
2009-12-19 08:47:46 +00:00
thorpej
e55f728904 Fix all sorts of problems with lint and compiler warnings. 2009-12-19 08:40:57 +00:00
thorpej
625b09a07e Squash a signed-vs-unsigned char * warning. 2009-12-19 07:59:24 +00:00
thorpej
3d218610e2 Change elf_hash() to take a const void *, rather than a const char *. 2009-12-19 07:58:24 +00:00
thorpej
f0689d90c7 Provide definitions of MALIGN() and MALIGN64() for the __lint__ case. 2009-12-19 07:54:32 +00:00
thorpej
900d25b3df ELF_ARCH, ELF_TARG_DATA, and ELF_TARG_CLASS are macros defined in a FreeBSD
header file.  For NetBSD, map to equivalent defines.
2009-12-19 07:52:59 +00:00
thorpej
d6ff3f1479 LIBELF_COPY_U32(), LIBELF_COPY_S32(): Make sure that the SRC values are
being compared as the maximum width and appropriate signed-ness.
2009-12-19 07:47:22 +00:00
thorpej
688970149e - _libelf_load_scn(): If shoff is larger than SSIZE_MAX, bail out with
a HEADER error.  Pass lint.
2009-12-19 07:44:27 +00:00
thorpej
20d9f43d9d <machine/elf.h> is a FreeBSD-specific header. 2009-12-19 07:37:34 +00:00
thorpej
66a732a72d <libelf.h> is responsible for including <sys/elf32.h> and <sys/elf64.h> on
FreeBSD; no need to do it here.
2009-12-19 07:33:06 +00:00
thorpej
560b6d58db Don't need to include <osreldate.h> here. 2009-12-19 07:31:44 +00:00
thorpej
e6c1c7c74e Centralize dependency on __FreeBSD_version into libelf.h, and generalize
the conditional inclusion of API/ELF features so that it works with NetBSD
as well.
2009-12-19 07:31:04 +00:00
thorpej
3e6f245099 <sys/limits.h> -> <limits.h> 2009-12-19 06:39:29 +00:00
thorpej
ca36dbd81a <sys/errno.h> -> <errno.h> 2009-12-19 06:22:25 +00:00
thorpej
c80991c598 while (0) -> while (/*CONSTCOND*/0) 2009-12-19 05:55:37 +00:00
thorpej
ae2945399a Initial build glue for libelf. Still a work-in-progress. 2009-12-19 05:52:01 +00:00
thorpej
0cf4bb02da Add a script to prepare libelf for import. 2009-12-19 05:45:28 +00:00
thorpej
d32c9dd64e Import the libelf from FreeBSD 8.0-RC3. 2009-12-19 05:43:39 +00:00
christos
5061b6b019 From Patrick Welche:
The following trivial typo fix gets rid of "unsecure session"s...
XDMATHDIR -> XDMXAUTHDIR
2009-12-18 17:28:47 +00:00
skrll
7a92e8e89d Use += otherwise COPTS loses important flags. 2009-12-16 14:13:18 +00:00
skrll
b1d73e2147 Re-run mknative for binutils. 2009-12-14 15:49:18 +00:00
mrg
f8913fe32e default netbsd*mips64 to n32. from matt-nb5-mips64. 2009-12-14 02:52:08 +00:00
mrg
42c67cd175 add all the binutils auto-generated files from matt-nb5-mips64 branch.
these are probably wrong and need to re-generated with mknative-binutils,
but get the build sort of limping along a bit better until then.
2009-12-14 02:36:31 +00:00
christos
e28d07b4f4 put back -Werror 2009-12-14 02:09:39 +00:00
christos
71af8d5cf6 constify 2009-12-14 00:49:45 +00:00
christos
10afd40910 fix bogus ctype casts 2009-12-14 00:46:21 +00:00
christos
065f57e189 fix for long long time_t 2009-12-14 00:43:58 +00:00
christos
9cf8c53771 don't warn about SLEW; ntpd defines it! 2009-12-14 00:43:09 +00:00
christos
e589aa514b use initgroups/setgroups
proper types for uid and gid.
2009-12-14 00:42:47 +00:00
christos
eff9ac27fd fix debug printf format
fix bogus ctype cast
2009-12-14 00:42:21 +00:00
christos
5dd48b0c34 bring back our status printing function 2009-12-14 00:41:03 +00:00
christos
61c775be3f constify 2009-12-14 00:40:26 +00:00
mrg
2e067db098 update the generated fonts.conf from the template.
from Jukka Salmi in PR #42169.
2009-12-14 00:39:58 +00:00
christos
ed38567fda fix bogus ctype casts 2009-12-14 00:38:48 +00:00
christos
7b8fd1634b don't redefine NANOSECOND 2009-12-14 00:38:20 +00:00
christos
7cabe5d03b (unsigned char) for ctype functions. 2009-12-13 23:25:40 +00:00
christos
20051da22f int/long portability. 2009-12-13 23:25:24 +00:00
snj
2bbd65ed54 Wrap these with .if ${MKSHARE} != "no" 2009-12-13 21:14:18 +00:00
kardel
1ca06f9c92 initial version of reachover make- and support-files 2009-12-13 17:13:47 +00:00
kardel
abb0f93cd7 Import ntp 4.2.6 2009-12-13 16:51:59 +00:00
mrg
f5f2e65887 - set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly
2009-12-13 09:38:22 +00:00
mrg
93397973a5 remove an unused reference to LD32DIR. 2009-12-13 08:02:36 +00:00
nonaka
7ed8bf295b The support of X for zaurus is added. 2009-12-13 05:04:36 +00:00
nonaka
f97268b43d Added keyboard config files for Sharp Zaurus SL-C3x00. 2009-12-13 04:57:16 +00:00
snj
ed067c7c4b Add commented out xf86-video-igs under netwinder. 2009-12-11 22:37:39 +00:00
haad
ff3b5e1b34 Add support for building libdevmapper against RUMP. 2009-12-09 00:17:23 +00:00
haad
40681c67fa Add support for building RUMP_ACTION libdevmapper which will build and link
libdevmapper with RUMP kernel and libdm(RUMP based device-mapper library).
This enables testing of dmsetup and libdevmapper with RUMP.
2009-12-09 00:15:51 +00:00
skrll
79b3e7eed6 Recognize $L as a local symbol for mips64. 2009-12-07 10:00:21 +00:00
wiz
19c8fa4ec7 Fix a typo (#endiif -> #endif).
Problem found while building kdesdk3.
2009-12-06 09:16:16 +00:00
haad
2c73152555 Addapt libdevmapper library to new header file changes. 2009-12-05 11:42:24 +00:00
haad
980e89047e Remove duplicated netbsd-dm.h file it is already installed in include/dev/dm.
Add own libddevmapper library header file libdm-netbsd.h.
2009-12-05 11:38:40 +00:00
snj
18658cbddd Build some drivers on cats. List taken from the existing xserver set
list, with the addition of wsfb.
2009-12-05 09:11:54 +00:00
mrg
4256cdf1fe - define CPP with a full path
- define CPP_ARGS to -traditional

part1 of xrdb fixes.  thanks to Patrick Welche <prlw1@cam.ac.uk> for
figuring out what was going wrong.
2009-12-05 03:28:08 +00:00
haad
3d3166c313 Try to fix amd64 build. 2009-12-05 01:52:44 +00:00
roy
5f333ecef0 Install our shell subscribers as normal files 2009-12-04 14:44:57 +00:00
roy
5bcbb70c4f Import openresolv-3.3.4
Changes from openresolv-3.3.3 include:
 * private_interfaces is now shell expandable (ie, fxp*)
 * dnsmasq resolver restarting with DBus is now fixed
 * unbound resolver is sent SIGHUP for reload instead of forced restart
 * subscribers with the execute bit are executed, otherwise sourced into
   a subshell for speed
2009-12-04 14:11:49 +00:00
roy
2b3b7ce9ec Fix subst so that the subcribers can restart their daemon. 2009-12-03 10:28:37 +00:00
haad
b49e6087b6 Add two more needed files dev-swap.c and unknown.c. 2009-12-02 01:54:20 +00:00
haad
0fa7e5a89a Fix build, add missing symbols, remove unknown ioctls etc. 2009-12-02 01:53:25 +00:00
haad
447276ebab Fix comment about running ./configure script. 2009-12-02 00:59:19 +00:00
haad
d685da8d62 Fix cinflicts created by import of latest lvm2tools LVM2-2-02-56. 2009-12-02 00:58:02 +00:00
haad
7c604eea85 Import of new version of lvm2tools LVM2-2-02-56. 2009-12-02 00:25:22 +00:00
haad
687f790f8f Remove not needed debugging CFLAGS. 2009-12-01 23:12:51 +00:00
haad
f26bfe28da Revert my commit which have added knowledge about dm targets to libdevmapper,
this breaks abstraction. Because only lvmtools/lvmlib and device-mapper can
have knowledge about target mapping and libdevmapper only passes requests
from lvmtools to kernel and back. Bump major library and driver version.

Requested by: yamt@
2009-12-01 23:12:09 +00:00
haad
cfa2bb1730 Revert my commit which added knowledge about dm targets to libdevmapper,
this breaks abstraction. Because only lvmtools/lvmlib and device-mapper can
have knowledge about target mapping and libdevmapper only passes requests
from lvmtools to kernel and back. Bump major library and driver version.

Requested by: yamt@
2009-12-01 23:11:17 +00:00
he
41109a9b3e Only do the nss module if MKPIC != no. 2009-11-28 22:15:48 +00:00
mbalmer
b53370aa71 Forgotten commit. Noticed by snj, thanks! 2009-11-28 17:27:30 +00:00
mbalmer
228477b2fe Add the xf86-input-elographics driver to i386 builds. 2009-11-28 16:48:25 +00:00
mbalmer
d0bf5c8f87 Link the xf86-input-ws X.Org input driver to the build and add it to the lists
that also have the wsmouse driver.

xf86-input-ws adds support for touchpanels in X11 that report absolute position
data through wscons(4), e.g. the extended ums(4) driver.  xf86-input-ws was
written by Matthieu Herrb for OpenBSD.

Please remember to also update xsrc before the next system build.
2009-11-28 12:10:24 +00:00
dsl
80ca15a6f8 Fix compressed server accesses.
According to http://cvs.savannah.gnu.org/viewvc/ccvs/src/?root=cvs
this was broken between revs 1.29 and 1.32 for a perion of 4 months
about 4 years ago.
Not sure at all why/how we have the broken version.
Our old code, the latest gnu code and this fix all differ slightly,
but have the same effect.
2009-11-27 18:38:29 +00:00
skrll
b6dacdb22f Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.
2009-11-27 14:39:39 +00:00
enami
6c42f8e95b The expression (yyvs != 0) is always true and not a necessary test
in the first place since realloc(NULL, size) is equivalent to
malloc(size).  Write code straightforward while i'm here.
2009-11-27 12:37:19 +00:00
wiz
bd3e59b94f Make Dt match installed file name.
Addresses that part of misc/42349 that applies on -current.
2009-11-24 14:07:30 +00:00
roy
dae79facc9 Hook openresolv into build. 2009-11-21 03:24:30 +00:00
roy
793621c9d3 Import openresolv-3.3.3
OK: core@, joerg@
2009-11-21 02:40:54 +00:00
skrll
af515df4eb Pull in fixes from binutils_2_19 branch.
Bump version and re-run mknative to pick up.
2009-11-20 22:51:29 +00:00
drochner
623d625769 remove some binary files which should be generated in a build 2009-11-17 19:47:00 +00:00
joerg
58fc704fa5 Update for mdocml-1.9.14. 2009-11-16 22:28:43 +00:00
joerg
7d71a6219c Import mdocml-1.9.14:
- fixed proper font cascading (no double-mode in -Tascii)
- added correct scoping of \f
- fixed handling of \c for all input/outputs
2009-11-16 22:26:45 +00:00
snj
643cb11825 Pull in fixes from upstream revision 1.146 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 22:17:03 +00:00
snj
85be2afacd Pull in fixes from upstream revision 1.406 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 21:57:49 +00:00
snj
f30f819e9c Fix unbalanced parentheses to make this build again. 2009-11-15 21:19:35 +00:00
snj
59c2b39361 Pull in fixes from upstream revision 1.108 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 20:56:40 +00:00
snj
811af9adc7 Pull in fixes from upstream revision 1.362 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 20:10:11 +00:00
snj
7eeffe7acc Pull in fixes from upstream revision 1.83 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 19:51:49 +00:00
skrll
0745739155 Pull across most of the changes from matt-nb5-mips64.
Only remaining change is bfd/elf.c:_bfd_elf_is_local_label_name which
should probably be done via mips_elf_is_local_label_name.
2009-11-15 10:25:16 +00:00
macallan
ec3c6449e4 build the igs driver on shark 2009-11-10 23:14:04 +00:00
macallan
8068174863 reachover for the igs driver 2009-11-10 21:44:11 +00:00
skrll
25edd46c0c Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.
2009-11-10 14:47:52 +00:00
skrll
6b62f81249 Add branding to native tools. Update make dependencies to pick up
changes.
2009-11-10 10:24:50 +00:00
skrll
c213b097cc Re-run mknative to pick up PKGVERSION and REPORT_BUGS_TEXI 2009-11-10 10:18:05 +00:00
is
c4a186ea1c Move to two-clause license. 2009-11-09 15:35:27 +00:00
mrg
94fb0da1b5 update for libpciaccess 0.10.9 2009-11-09 07:24:27 +00:00
mrg
4066af6496 update for xdm 1.1.9 2009-11-09 07:21:17 +00:00
mrg
ae18134850 add a note about adding compositing libs support 2009-11-09 07:01:03 +00:00
mrg
c5cb963c7d libXinerama provides Xinerama.h panoramiXext.h now. 2009-11-09 03:27:05 +00:00
mrg
32492fdf39 link in -ldrm_intel on i915 and i965 drivers.
build i915 driver with -DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP.

should fix errors reported by jak@ and probably many others.
2009-11-09 02:38:24 +00:00
mrg
1e4bfd33e1 add a note about tga and (future) xextproto upgrade 2009-11-09 02:22:39 +00:00
mrg
999d737ad0 update for xf86-video-radeonhd 1.3.0 2009-11-09 01:46:51 +00:00
mrg
b9a930e806 disable using sse2 for i386. from drochner@ and veego@. 2009-11-09 01:11:59 +00:00
mrg
2d4c7fde6e update for xclipboard 1.1.0 2009-11-09 00:43:39 +00:00
mrg
d311d29300 note that libXau has new documentation we may want to install. 2009-11-09 00:41:42 +00:00
mrg
c6af7684fa update for xbitmaps 1.1.0. black6/box6 have moved into here, so don't
install them from xmh any more.
2009-11-09 00:41:25 +00:00
mrg
9b0613b5a4 install new xkbutils man pages 2009-11-09 00:36:12 +00:00
mrg
47b67aed1e update for xman 1.1.0 2009-11-09 00:32:00 +00:00
mrg
4ac6f9b83c update for xprop 1.1.0 2009-11-09 00:30:27 +00:00
mrg
a6901c0abc handle XClock* moving into app-defaults subdir. 2009-11-09 00:10:47 +00:00
ghen
772bf29ffc Add missing newline. 2009-11-08 15:33:21 +00:00
skrll
80ea658d23 Copy the change made by christos to elf32-i386.c to other targets where
it's easy:

Add a warning that prints the symbol that has the text reloc.
2009-11-06 10:59:17 +00:00
joerg
e0efe9552e Fix incorrect merge. 2009-11-05 20:38:42 +00:00
joerg
375a51926a pkg_install-20091115:
Completely ignore @src in pkg_create. Silently ignore the -L option.
The combination of -I and -p are used by pkgsrc for the same result.

Do not overwrite a string with itself using snprintf. This breaks
setting the pkgdb directory internally on Linux. Explicitly check
if the string is the same and otherwise just use xstrdup.

Add support to query arbitrary variables with pkg_admin config-var.
2009-11-05 18:39:00 +00:00
joerg
da6735ba23 Update to 1.9.13 and merge. 2009-11-05 18:28:10 +00:00
joerg
3514411fed Import mdocml 1.9.13:
- added: -fign-escape
- fix: -Thtml accessibility (identifiers, table summary, etc.)
- fix: -Tascii -mdoc segfault with specific `Bl -hang' lists
- portability: bzero() -> memset()
- portability: warnx -> fprintf/perror
- fix: -Thtml buffer munging with certain tags
- fix: -Thtml output of some tags (empty divs, etc.)
- portability: compiler attributes
- documentation: significant man.7 and mdoc.7 improvements
2009-11-05 18:24:50 +00:00
tsarna
bfe9f6f3f4 Two new features:
- Detect and adapt to resolv.conf changes through the use of the new
  res_check() API, so that for example changing the search list doesn't
  require restarting clients.

- A persistent mdnsd connection pool, with slow start (so that
  programs like ping, ssh, etc don't keep connections open) and age-out.
  NOTE: Tuning parameter values are just SWAGs.
2009-11-04 23:34:59 +00:00
christos
78155b36be if we have variable trailing context rules, enable the find_rule label. 2009-11-02 20:52:39 +00:00
plunky
c75313ecdf switch build to use libevent-1.4.12-stable from external 2009-11-02 10:13:19 +00:00
plunky
cfe3e08bfc add external framework for libevent 2009-11-02 10:03:56 +00:00
plunky
6448a78c94 libevent 1.4.12-stable 2009-11-02 10:00:52 +00:00
joerg
56439201f7 Don't depend on /usr/lib/libz.a for host tools. 2009-11-01 00:12:00 +00:00
joerg
452f3eb70c Do not depend on the existance of /usr/lib/libm.a for the host tool case. 2009-10-31 23:36:29 +00:00
christos
bb637da730 restore proper Id 2009-10-30 01:53:02 +00:00
christos
cda999bd86 fix line accounting. 2009-10-29 21:11:57 +00:00
christos
2f42b80acc Add support for pure parsers yyparse and yylex params, similar to bison. 2009-10-29 21:03:59 +00:00
christos
34f825ee40 We can rebuild our yacc generated files now 2009-10-29 17:17:33 +00:00
christos
3761269372 we can regenerate yacc files now 2009-10-29 17:17:12 +00:00
christos
66f67ed664 regen 2009-10-29 14:49:40 +00:00
christos
2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
christos
edacf9c729 no need for YY_NO here. 2009-10-29 14:44:09 +00:00
christos
a94a31f2a3 no need for YY_NO here 2009-10-29 14:43:27 +00:00
christos
ffd8793875 no need for YY_NO here. 2009-10-29 14:41:02 +00:00
christos
f4922553f5 oops forgot to remove the PKG m4. 2009-10-29 13:03:09 +00:00
christos
9550232f9f defs.h first. 2009-10-29 12:55:52 +00:00
tron
0afc8953b4 Make this build. 2009-10-29 10:26:17 +00:00
christos
bd1f9e6807 short-circuit yacc. We cannot make %pure-parser 2009-10-29 02:36:48 +00:00
christos
187a8a16fa move the declaration below the rename defines. 2009-10-29 02:02:04 +00:00
christos
5c2a7ae329 take care of libc. 2009-10-29 01:16:51 +00:00
christos
791a485c93 give yacc's proper name 2009-10-29 01:07:00 +00:00
christos
7ab8a78837 fix dangling else 2009-10-29 01:04:17 +00:00
christos
b0b0b5d4a5 add yacc 2009-10-29 00:58:50 +00:00
christos
b8a7a0e253 add build glue. 2009-10-29 00:56:35 +00:00
christos
333e428841 add our patches 2009-10-29 00:56:19 +00:00
christos
f7a86c124a from http://invisible-island.net/byacc/byacc.html 2009-10-29 00:46:51 +00:00
haad
afa6bc484e Add workaround about zfs vnode reclaiming deadlock by checking if we don't
ehld ZFS_MUTEX_OBJ already. If we can lock OBJ_MUTEX deffer execution of
zfs_zinactive to taskq. Code was inspired by FreeBSD zfs_freebsd_reclaim.

XXX. This needs to be fixed after finding final solution for vnode lifecycle.
2009-10-28 23:44:51 +00:00
christos
5e31efcd83 prefix some parameters with _ to avoid conflicts with files that have the
same variable names as globals.
2009-10-28 22:00:56 +00:00
christos
4b8d7b63d1 Bring in the proper fix from upstream. 2009-10-28 15:00:26 +00:00
christos
69fc99cd30 Deal with errno correctly. Fixed better upstream. 2009-10-28 13:08:45 +00:00
njoly
d5870d0fb2 Debugging libraries require MKDEBUGLIB not MKDEBUG. 2009-10-28 11:20:07 +00:00
christos
d7554581c8 deal with libc's namespace protection 2009-10-28 05:04:02 +00:00
he
a53ef62805 Descend into the man/ subdirectory, so that flex.info gets installed,
and what gets installed matches up with the set lists.
2009-10-27 17:51:19 +00:00
christos
0918f42ca7 Fixes to pass -Wall 2009-10-27 01:44:01 +00:00
christos
2d0afb4b0a re-add flex. 2009-10-26 21:38:32 +00:00
christos
b65f79abb4 Allow tools to override m4 2009-10-26 21:30:02 +00:00
christos
a7f00c959b We don't need the pre-built skel.c 2009-10-26 21:29:46 +00:00
christos
9d0a89234a avoid unused label warning 2009-10-26 19:23:33 +00:00
christos
2599685db6 rename warn -> lwarn to use the pre-generated parse.c since our yacc is
not up to snuff yet.
2009-10-26 19:23:19 +00:00
christos
4db887aecb Now it works, but it needs gm4...
Problem was that our bison cannot deal with it, so we don't regenerate
parse.c and parse.h from parse.y.
So we need:
	1. Fix m4
	2. Get new byacc/bison
2009-10-26 18:32:39 +00:00
joerg
a7dee04f3e Correctly process .%U. 2009-10-26 15:05:51 +00:00
joerg
03c9951425 Finish import of mdocml-1.9.10. 2009-10-26 14:55:12 +00:00
joerg
22af4063ff Import mdocml-1.9.10:
- allow compile-time override for the OS name
- added support for .PD and .%U
- extend mdoc.7
- switch option select to -O, so that -o can be used for the output
format
- improve portability
2009-10-26 14:54:01 +00:00
joerg
23b37b767d Obfuscate RCS ID matching so that CVS doesn't expand it. 2009-10-26 14:50:45 +00:00
christos
2eca3b8eba it is more complicated to rebuild the skel now. 2009-10-26 11:19:47 +00:00
christos
05294a5e58 add version 2009-10-26 11:17:16 +00:00
christos
d7f7e48d85 - fix warnings
- add scan.c as initscan.c
2009-10-26 04:27:15 +00:00
christos
cb146138e8 unhook flex for now 2009-10-26 04:10:12 +00:00
christos
94ee31ba1d add the texinfo manual 2009-10-26 01:39:45 +00:00
christos
d1370f63ae add options from the new castrated man page. 2009-10-26 01:37:21 +00:00
christos
c2f95008ab add a script to help future imports 2009-10-26 01:34:43 +00:00
christos
369bdaf95c add new flex 2009-10-26 01:18:00 +00:00
christos
78b8b34e65 Add build glue and old manual page, since the new one is content free. 2009-10-26 00:49:03 +00:00
tsarna
29822c6b8b For the multicast_dns only mode, be very restrictive in what lookups we
try. No point in making queries and waiting for timeouts on lookups that
will never succeed.

Now only does lookups for linklocal addresses (v4 or v6) and
"name.local" names (and dotless names, iff "local" is specified in the
resolv.conf search list).

Also, lower the timeout in this mode, since multicast lookups should
return pretty fast or not at all.
2009-10-26 00:46:19 +00:00
christos
3c3a7b7603 from sourceforge. 2009-10-26 00:24:20 +00:00
roy
0c8963a482 Sync with import 2009-10-25 23:35:41 +00:00
roy
ffe854671a Import dhcpcd-5.1.3 with the following changes:
* waitip is enabled when running on a single interface.
* Classless Static Routes are now enabled by default in dhcpcd.conf
  instead of being always being requested.
2009-10-25 23:27:30 +00:00
christos
493a2154bc paper over pointer aliasing problem 2009-10-25 20:53:43 +00:00
christos
74c9be690a fixes for 9.7.0-b1 2009-10-25 00:18:38 +00:00
tsarna
6022b5b8d4 Major enhancements to mdnsd nsswitch support:
- nss_mdns renamed to nss_multicast_dns for clarity and less chance of
   confusion with nss_mdnsd (see next).
 - Support using mdnsd for all unicast too with new nss_mdnsd module
   (note: this mode requires an updated mdnsd too, not yet committed)
 - Implement resolv.conf "search" directive support. Needed for nss_mdnsd,
   potentially useful with nss_multicast_dns (you could now do
   "search example.com local" in resolv.conf if you wanted to and it would
   act as you might expect)
 - Add references in nsswitch.conf man page and sample file
 - Implement AI_CANONNAME
 - Various bug fixes
2009-10-25 00:17:06 +00:00
christos
6cddd999c8 merge changes. 2009-10-25 00:14:31 +00:00
christos
10ca0cd585 import bind-9-7-0-b1 2009-10-25 00:01:26 +00:00
tsarna
76bb45a787 Add interface list dump to debugging output. 2009-10-24 04:04:40 +00:00
tsarna
9ed4a95ab5 note apache2 2009-10-24 03:55:27 +00:00
tsarna
7fc77dcc85 Add a copy of the Apache 2.0 license here as requested by reed. 2009-10-24 01:59:07 +00:00
christos
1239419a9b one more paren from Anon Ymous 2009-10-22 14:30:05 +00:00
christos
65accd0021 fix typo on server-id; from Anon Ymous 2009-10-22 14:29:06 +00:00
joerg
f57729a773 Hook up mdocml. 2009-10-21 22:59:06 +00:00
joerg
6180e7b237 Need to provide BINDIR explicitly. 2009-10-21 22:33:12 +00:00
joerg
168d953fa6 zpool(8) uses tbl. 2009-10-21 22:32:20 +00:00
joerg
e59e75c5a9 zfs(8) uses tbl. 2009-10-21 22:31:19 +00:00
joerg
c0285a79ce zdb(8) uses tbl 2009-10-21 22:29:54 +00:00
rmind
40cf6f3659 Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.
2009-10-21 21:11:57 +00:00
joerg
c2dba7fe45 Build glue for mdocml and for mandoc as standalone tool. 2009-10-21 18:04:52 +00:00
joerg
4154958b6b Initial import mdocml-1.9.9.
mdocml provides a fast parser for man(7) and mdoc(7) formated documents.
It supports validation and can currently create output as plain text
with overstriking and HTML.
2009-10-21 17:45:02 +00:00
joerg
8fd2cbd826 Fix RCS ID 2009-10-20 01:21:28 +00:00
christos
534bddcdfb add -lz for the static platforms. 2009-10-19 02:31:26 +00:00
christos
6deb2c22d2 we have getdelim and getline. 2009-10-19 01:24:19 +00:00
tron
2f71c69757 Remove generated file "mdnsd.8" in "cleandir" target. 2009-10-18 17:43:11 +00:00
tron
1ce7a503cf Fix off by one in parser for "/etc/resolv.conf" found by SSP. 2009-10-18 11:54:37 +00:00
agc
1bc3fbf8da Move to a 2-clause BSD license 2009-10-18 03:53:32 +00:00
roy
1a80e629b5 Remove mistakenly added file. 2009-10-16 23:57:39 +00:00
roy
f09bb2caf5 Sync 2009-10-16 21:57:54 +00:00
roy
3b87816311 Import dhcpcd-5.1.2 with these changes:
* ClientID is now reported when interface starts.
* -w, --wait forces dhcpcd to wait until an interface gets a lease or
  times out.
* Ensure DHCP socket is open when sending a DECLINE.
* Uses new hwaddr if existing interface is downed and then changed.
* No longer works on firewire interfaces by default.

dhcpcd-5.1.2 has a new behaviour change - when starting up and at least 1
interface has a carrier then it tries to get a lease or times out.
It still daemonises regardless. This, along with the -b and -w flags
allows total control over the desired behaviour of dhcpcd.
2009-10-16 21:50:41 +00:00
joerg
c954cd0eee Only match raw devices. Only match against the char major as extracted
from the kernel. Prevents aliasing nwt0 and rwd0e. OK haad@
2009-10-16 21:00:41 +00:00
macallan
fef6357143 set -DHAVE_ISA on shark, with this accelerated Xorg works again on rev. 4
sharks.
2009-10-15 22:54:45 +00:00
thorpej
b93b3929c3 Regenerate for:
Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit.  Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
2009-10-15 20:35:19 +00:00
thorpej
1e0ab6fbf0 Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit.  Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
2009-10-15 20:35:01 +00:00