Commit Graph

1840 Commits

Author SHA1 Message Date
plunky f5d0a5824d libterminfo needs to come after libedit for static linking
(while here, coalesce LDADD/DPADD lines)
2011-01-19 11:55:50 +00:00
plunky 3b635a0579 add note that the static linking of liblua is intentional
("hidden" symbols need to be reached)
2011-01-19 11:43:18 +00:00
plunky 96e4690f7b link against the dynamic library [liblua.so]
we could link against the static liblua.a here (the Lua dist build
does that) but would need to pass "-Wl,--export-dynamic" to ensure that
all symbols were available, as dlopen() with other modules may cause
problems later.
2011-01-19 11:38:15 +00:00
plunky 74b96c56e3 DPADD for libm too 2011-01-19 11:02:00 +00:00
plunky 29062015ed include libm and libedit in DPADD 2011-01-19 10:17:04 +00:00
plunky 60d4fe2962 add to (rather than replace) CFLAGS 2011-01-19 10:14:49 +00:00
jakllsch 0e0a312232 In case it's too obvious, the libI810XvMC directory is for building the
libI810XvMC library.  Additionally, set list fixes for this and previous
related changes.
2011-01-19 01:52:43 +00:00
jmcneill 668d297175 Install these libraries as version 1.0 instead of 0.0 2011-01-19 00:36:40 +00:00
jmcneill 20618a809d Enable XvMC support for Intel graphics chips 2011-01-18 23:33:50 +00:00
wiz c1f176e16d Move isns description from dist/groff to usr.bin/groff, where it belongs.
Add isns to mdocml libraries as well.
2011-01-18 09:28:42 +00:00
jmcneill b2b7e1871b Ensure that HAVE_DIX_CONFIG_H is defined for damageext, dbe, exa, and glx
builds. Fixes recent trouble with the Composite extension, and should fix
some problems with the DAMAGE extension and who knows what else.
2011-01-15 13:54:52 +00:00
jmcneill dba38226ce only define HAVE_MTRR on x86 2011-01-14 16:04:49 +00:00
haad c7287ec04b Fix zfs Makefiles + debug, don't add -g by default only when MKDEBUG is
enabled. Fix header assert conflicts + bump WARNS for some libs.
2011-01-13 23:18:23 +00:00
joerg 20d71a1344 Update build system for mdocml-1.10.9. 2011-01-12 23:02:21 +00:00
joerg 6e4753617c Use example.style.css in place of style.css.
Replace $Mdocdate$ with the content in correct order, so that groff
gives proper output.
2011-01-12 23:00:51 +00:00
joerg f494eb95a3 Merge for mdocml-1.10.9 2011-01-12 22:58:42 +00:00
joerg c0d9444af1 Import mdocml-1.10.9 and additional post-release bugfixes
(tbl_data.c 1.15, tbl_layout.c 1.13, tbl_opts.c 1.8).

This features many small improvements and the initial integration of
tbl(1) support on all output devices.
2011-01-12 22:57:08 +00:00
jmcneill b66d32932e HAVE_MMTR -> HAVE_MTRR 2011-01-12 19:04:19 +00:00
haad c73e2bf000 Use DM_DEVICE_CONTROL_MODE, because mapper/control device should have 660
and not 640 permissions.
2011-01-12 08:16:23 +00:00
kardel 4ba751f5ad make ntp compile for MKINET6=no 2011-01-09 14:49:39 +00:00
macallan 60e66c6f48 define NO_LEGACY_VGA on macppc and sparc64
May be necessary on other ports as well that have PCI but never use VGA text
mode.
2011-01-06 03:29:12 +00:00
haad 912a040b47 Allow operator to use lvm in read-only mode. Switch LVM lock dir to
/var/run/lvm and create it in rc.d/mountcritlocal. Fix dm control device
permissions to allow rw for operator.

Test if we are running lvm commands as operator and if that it's true do not
create vg backups and do not print confusing warning.
2011-01-05 14:57:27 +00:00
jmmv 1b0a12b414 Cherry-pick upstream revision f791048924a1b68da070f17dfd5e5c2d825dd018:
Report bogus test programs in the HTML output

From Paul Goyette in private mail.  Fixes PR bin/44301.
2011-01-05 14:03:08 +00:00
roy 160a96b3e7 Don't build the getline shim anymore as the NetBSD libc getline(3) has
proven itself now.
2011-01-03 11:33:44 +00:00
roy 0524c4d0bb Import dhcpcd-5.2.10 with the following change:
* -r, --request <address> now works again
2011-01-03 11:28:23 +00:00
wiz 7487051d3d Prefix section headers for 1 to 9 with "NetBSD " to match output
for non-HTML pages (i.e. groff ones). Noted by njoly.
2011-01-02 22:03:24 +00:00
mrg cf66e37cc9 fix a comment 2011-01-02 11:24:20 +00:00
dholland 42bae07fce Remove references to SAVESTART in zfs. 2011-01-02 05:12:03 +00:00
pgoyette a12cad24be Fix typo - let the build proceed 2010-12-30 00:46:38 +00:00
haad d52c66bf4a Fix my yesterday fix and finally make _get_dev_size recognise partition size
for device without DIOWEDGEINFO, where DIOCGDINFO is used. Patch tested by
Martin Mersberger.
2010-12-29 23:14:21 +00:00
christos 4817a0b0b8 real override for yacc rules. 2010-12-29 19:53:32 +00:00
haad d26a38d370 Fix problem where chown was used on normal device in time when only
raw device was created. While here do some cleanup.

Problem find and reported by Martin Mersberger on current-users@.
2010-12-29 10:39:27 +00:00
haad ca7dbf8cb5 Fix bug added by my last commit. This should fix
PR: bin/44286

Reported by: mlelstv@ and Martin Mersberger.
2010-12-29 00:14:04 +00:00
haad bec5c61e50 Define vn_getattr in zfs_context.h. 2010-12-28 16:44:45 +00:00
haad bca088ab45 Fix problem where vnode vp_size was not updated when vndoe was already allocated,
for vdev. This makes ztest survive ztest_vdev_LUN_growth test. Replace dummy
VOP_GETATTR with vn_getattr routine which reset vp_size and vattr_size accordingly
to reality.
2010-12-28 13:36:09 +00:00
jmmv 15dbacd486 Pull up revision 869e092e4986eb5dce90331ca9a64e125d7796eb from mainstream:
Revision: 869e092e4986eb5dce90331ca9a64e125d7796eb
Parent:   cca40eb08e7469dfe9d6ca982613458f24c1de28
Author:   jmmv@NetBSD.org
Date:     12/27/10 21:19:19
Branch:   org.NetBSD.atf.src

Changelog:

Recognize sigabrt in the signal checker

Problem found by Paul Goyette.

Changes against parent cca40eb08e7469dfe9d6ca982613458f24c1de28

  patched  atf-sh/atf-check.cpp
2010-12-27 20:36:17 +00:00
christos 017d3467b1 - don't forget to restore the umask on error.
- save and restore umask for control
- chown/chgrp for raw devices
2010-12-26 14:48:34 +00:00
christos 6f6878df03 defs.h already includes nbtool_config.h, so don't do it twice. 2010-12-25 23:43:30 +00:00
christos 5743e2a045 fix debugging:
- don't print junk for the interface name
- parse and print known rtm messages we get
2010-12-25 20:45:49 +00:00
joerg 570bc97f41 Include nbtool_config.h for the toolchain build as platforms like Linux
don't define __RCSID.
2010-12-25 19:24:28 +00:00
christos 9f5adb9583 fix type-punned warnings on gcc-3.3.3 2010-12-25 18:23:39 +00:00
christos f2fd5dbad4 Fix non-threads compatibility code which was causing trouble even in the
threaded version.
2010-12-25 15:26:32 +00:00
christos 60b2c79645 remove typo. 2010-12-24 23:28:14 +00:00
christos cf91bdd313 update for new yacc. 2010-12-24 23:27:14 +00:00
haad 8f7b707f59 libzfs_fru_clear was not ported to NetBSD disable it foor now. 2010-12-24 16:13:58 +00:00
christos 379031a404 update yacc to the most recent. 2010-12-24 02:58:20 +00:00
christos 9cdaf1e6ed import latest byacc 2010-12-23 23:36:22 +00:00
haad 4c90c8eeab Change way how we get device size from device. Do not use LSEEK but
DIOCGWEDGEINFO and DIOCGDINFO. This should fix problem with raidframe + lvm
reported by

Toby Karyadi on current-users@.

Thanks for reporting this issue.
2010-12-23 21:39:08 +00:00
christos 0318099292 PR/44267: Michael van Elst: LVM devices have wrong permissions
- Centralize CPPFLAGS for DM_DEVICE_{UID,GID,MODE}
- Make DM_DEVICE_GID operator DM_DEVICE_MODE 0640 to be more NetBSD like
- make all the code use DM_DEVICE_MODE instead of hard-coding.
- make sure that all mknod calls are followed by a chown call.
2010-12-23 17:46:54 +00:00
christos 3e6a896a34 false needs stdbool.h 2010-12-23 17:44:33 +00:00
mlelstv 07d2f05926 Get sector size from device properties using DIOCGDISKINFO and
use the disklabel (DIOCGDINFO) only as a fallback. This works
with wedges.
2010-12-23 14:46:25 +00:00
tsutsui 6ff9a90670 Disable bzip2 support in tools bdftopcf(1).
We don't use bzip2 fonts on build and some OS doesn't have bzip2 headers.
Ok'ed by mrg@, martin@, fixes PR/44138.

Should be pulled up to netbsd-5 (and netbsd-5-1).
2010-12-19 13:04:54 +00:00
joerg 53ec7d85a6 Build xcvs without -g. 2010-12-18 04:23:26 +00:00
wiz 1e9e3652c6 Bump date for chroot default. 2010-12-17 10:35:10 +00:00
jruoho 27cfff3b3e Make tcpdump(8) to drop root privileges and chroot(2) by default. 2010-12-17 09:54:27 +00:00
joerg fe0427534e Kill use of __DATE__ and __TIME__ in SCCS strings. 2010-12-17 00:23:58 +00:00
wiz 3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
haad 363aa1ba89 Whitespace police. 2010-12-15 22:49:42 +00:00
haad 59385470cf Only KM_SLEEP | KM_NOSLEEP can be passed down to kmem layer, clean up
tqflags from internal taskq flags (TQ_FRONT) before calling kmem_alloc.
2010-12-15 22:09:14 +00:00
enami 83d9249c3a Fix typo. 2010-12-15 07:36:51 +00:00
christos 83c933dca1 Use the source dir atomic.h 2010-12-15 02:08:16 +00:00
haad 591e382e8c Revert last commit it's not needed anymore. 2010-12-15 00:58:58 +00:00
christos a9c38a6a96 Wrong rfc mentioned 2010-12-14 23:43:32 +00:00
haad 3bd4964ac1 Do not built 64b atomic ops to libzpool they are in libc again. 2010-12-14 23:39:11 +00:00
christos c2a9dfd59e handle lack of <sys/atomic.h> 2010-12-14 23:19:23 +00:00
christos f4f6c00c90 silence gcc-3 uninitialized variable warning. 2010-12-14 23:18:31 +00:00
christos 30037bfd3f Handle NetBSD-5 and 4 lack of atomics by disabling threads. 2010-12-14 23:17:20 +00:00
christos 97caf9021f handle openssl versions less < 1. 2010-12-14 23:16:39 +00:00
tron 4dd88e84a3 Get DTrace to build again. 2010-12-14 14:08:42 +00:00
haad 4d468780ce Use only cas versions of 64 bit atomic ops. 2010-12-14 09:19:14 +00:00
haad 7527c22f7f Add NetBSD version of zfs snapshot management code. IT needs testing it
was only compile tested for now, but I would like to have some code in to be
sure that it will not be lost.
2010-12-14 01:28:18 +00:00
haad 732f954b5c Define mutex_owned. 2010-12-14 01:25:37 +00:00
haad f60c1b8f4b Remove now unneeded print_timestamp. 2010-12-14 01:23:43 +00:00
haad 9e62f6ad09 Fix amd64 build where sysinfo was not defined, disable libshare for now. 2010-12-14 01:22:24 +00:00
haad b407fc2e79 Do not include debug.h 2010-12-14 01:21:25 +00:00
haad a0200337cd Add some more solaris vnode defs for zfs_ctldir. 2010-12-14 01:21:02 +00:00
haad 3c4cc2dec7 Include sys/debug.h to get ASSERT defined. 2010-12-14 01:18:34 +00:00
haad 72392f89e6 Define print_timestamp during build, to shut up gcc warning. 2010-12-14 01:03:10 +00:00
haad 01d7ba741b Simple routine to convert long to string. 2010-12-14 01:01:40 +00:00
haad 2940dfac08 NetBSD doesn't have /etc/mnttab replace it with /dev/null. 2010-12-14 01:00:26 +00:00
mrg d541f2b66d reinstall awk.texi. 2010-12-13 06:30:44 +00:00
mrg 7246249458 re-add gawk 3.1.3's awk.texi 2010-12-13 06:21:53 +00:00
joerg b4eb5d9c57 Kill double .TP 2010-12-12 20:20:43 +00:00
joerg 1a85759af0 Kill double .TP 2010-12-12 20:19:41 +00:00
christos bc03f5ba09 Don't build awk.info because matt removed it. 2010-12-12 19:01:03 +00:00
joerg 2e05e5b66d Reply 1.15, lost in the last update. 2010-12-12 18:40:01 +00:00
adam 5e6ed478ee bump minor version for 2.4.23 2010-12-12 16:19:54 +00:00
adam 303af6c5ec Update to OpenLDAP 2.4.23 2010-12-12 16:10:42 +00:00
adam 4ecae53ae6 Use conditional WORDS_BIGENDIAN 2010-12-12 16:10:18 +00:00
adam a8c4d9a88a Merge 2.4.23 2010-12-12 15:46:27 +00:00
adam ef2f90d39c Imported openldap-2.4.23 2010-12-12 15:17:36 +00:00
matt 48d3f85c1c Use ELF_ST_VISIBILITY (S_GET_OTHER( )) instead of a local S_IS_HIDDEN as
suggested by binutils.
2010-12-09 06:22:03 +00:00
kiyohara 602d621e07 The failure of rebuilding is evaded.
Vga is not used in x86 and alpha for a long time. PR#41626 might influence us.
2010-12-07 05:39:53 +00:00
matt 4d0f1c412f Add a private now S_IS_HIDDEN(symbol) so gas deal with hidden symbols
correctly.
2010-12-06 21:17:00 +00:00
jmmv 42afccf436 Pull up revision c917871de7dd67ba57c17496ad68fe4e4aa8b239:
Fix atf-check match checker to validate lines without newline

Problem found by pooka@.
2010-12-06 18:04:02 +00:00
christos efb1585e67 propagate the fixes from /usr/src/sys/net/bpf_filter.c here, so that
we don't merge backwards again.
2010-12-06 01:08:02 +00:00
adam 3e1a82b305 Fix building on case-insensitive file-system. 2010-12-05 15:57:40 +00:00
mrg a5ae13c90e - use SCRIPTS* for scripts instead of FILES*.
- add pcap-config to CLEANFILES.
2010-12-05 09:09:39 +00:00
mrg 9133e91956 netbsd needs net/bpf.h, too. 2010-12-05 08:43:23 +00:00
christos dbe76af3b7 hook tcpdump and libpcap 2010-12-05 05:59:59 +00:00