Commit Graph

1116 Commits

Author SHA1 Message Date
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