Commit Graph

1272 Commits

Author SHA1 Message Date
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
joerg
ef66228296 Do not use .Xo/.Xc to work around ancient groff limits. 2009-10-15 17:26:57 +00:00
joerg
7c4d7328b0 pkg_install-20091015:
Use directory index caching by default.
2009-10-15 13:01:24 +00:00
joerg
eace2ff26e libfetch-2.26:
- Add support to aggressively cache directory listenings, useful for
HTTP
- Avoid leaking memory in error cases. From Xavier from Arch Linux.
2009-10-15 12:59:57 +00:00
joerg
cb83818524 Fix markup. 2009-10-15 00:59:01 +00:00
joerg
5c824d0f03 Do not use .Xo/.Xc to work around ancient groff limits. 2009-10-14 19:08:55 +00:00
joerg
f407b5a5b2 Fix markup 2009-10-14 17:37:07 +00:00
skrll
321d0b6e12 Re-run mknative for branding update. 2009-10-12 12:47:09 +00:00
haad
0d2ae1297e Finaly fix ptob problem. ptob was defined for amd64 and not for i386, and
NetBSD version of ptob is not compatible with Solaris one.
2009-10-12 10:05:29 +00:00
haad
cfd1dcc2c6 Define ptob only if it wasn't defined already in NetBSD headers. 2009-10-11 22:17:57 +00:00
skrll
c6a66fb3a3 Re-run mknative to pick NetBSD branding. 2009-10-11 18:18:20 +00:00
haad
4d85867fc4 Cast physmem to (uint64_t) so it works on a amd64 system with more than 4Gb ram.
undef btop if it was already included from other NetBSD header file.
2009-10-11 10:58:06 +00:00
haad
44fda7f84b undef ptob if it was already defined/included in some NetBSD header file. 2009-10-11 10:56:13 +00:00
haad
38619bb29f Properly return error when namei_kernel_simple fails. 2009-10-11 10:54:52 +00:00
snj
f69ea56c7a Move libdrm headers up one level (out of the X11 directory) to match
the rest of the world and fix the inconsistency with libdrm.pc.
Fixes PR xsrc/42126.
2009-10-08 19:06:49 +00:00
joerg
3ae0a1fe80 pkg_install-20091008:
- Fix German accent
- Don't dereference a null pointer for pkg_admin add
2009-10-08 16:19:59 +00:00
joerg
a8429a111e pkg_install-20091006:
- restore pkg_add -f functionality for missing dependencies (PR 42001)
- pkg_admin rebuild should count packages correctly (he@), also count @pkgdir
- fix gpg-sign-package syntax in pkg_admin(1)
- change default URL for pkg-vulnerabilities to use HTTP
2009-10-07 13:19:36 +00:00
haad
275f2eee59 Use ptob function from zfs and not NetBSD one. 2009-10-07 08:47:12 +00:00
haad
d8802513da Enable build of 64 bit atomic ops in userspace for i386. This is needed for
all 32 bit archs which doesn't have a 64 atomic ops. This change enable MKZFS
build for a i386.
2009-10-06 16:28:10 +00:00
haad
6a4395f648 Replace another openat call with open + changed path.
XXX. This commit should be reverted after proper implementation of *at syscalls.
2009-10-06 12:03:47 +00:00
haad
db47593719 iMark done tasks as done and move *at implementation task to post-import phase. 2009-10-06 08:47:59 +00:00