Commit Graph

605 Commits

Author SHA1 Message Date
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
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
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
joerg
85dea109fa libfetch-2.27:
Fix a bug in the connection caching for FTP.
2010-01-11 19:40:01 +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
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
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
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
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
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
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
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
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
wiz
19c8fa4ec7 Fix a typo (#endiif -> #endif).
Problem found while building kdesdk3.
2009-12-06 09:16:16 +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
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
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
is
c4a186ea1c Move to two-clause license. 2009-11-09 15:35:27 +00:00
ghen
772bf29ffc Add missing newline. 2009-11-08 15:33:21 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
roy
9f9d7a83f9 Fix building dhcpcd-5.1.1 2009-10-02 21:40:16 +00:00
roy
0b3ae6da92 Add back dhcpcd.conf 2009-10-02 21:36:41 +00:00
roy
cc2e8e7e32 Import dhcpcd-5.1.1
Changes from dhcpcd-5.0.7 include
* Only allow hardware families we know by default (over-ridable)
* Fix persistent and timeout 0 options
* Fix parsing of escape code sequencies
* Don't bring up interfaces brought down when handling new interfaces
* Allow un-encapsulated vendor option
* Don't null terminate gratuitously when handling quotes
* Fix various typos and grammatical errors
* dhcpcd.conf simplified a little
2009-10-02 21:31:01 +00:00
sborrill
51827ae696 Fix various typos and grammatical errors 2009-09-16 19:04:01 +00:00
wiz
86dbe4a721 Recognize bsdiff(1) files.
Patch already sent upstream.
2009-09-13 22:16:45 +00:00
gmcgarry
1feba56e87 Update build system and merge changes for pcc 0.9.9 090902. 2009-09-04 00:50:04 +00:00
gmcgarry
c4627bc7b5 Import pcc 0.9.9 090902 2009-09-04 00:27:29 +00:00
joerg
12490ea439 Import pkg_install-20090817:
Add a new command for pkg_admin: findbest. It takes one or more patterns
and searches for the best match in PKG_PATH, just like pkg_add would.
It prints the URLs of the best match for each pattern to stdout.

Rewrite the config file parser to read the file only once.

Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was
computed incorrectly and included destdir more than once.

Fix the ACTIVE_FTP option to actually set the "a" flag and not the old
"p" flag.
2009-08-21 15:18:57 +00:00
joerg
ebe76b0c9e Import libfetch-2.25:
- address a number of lint warnings
- fix strict-alignment issues for GCC 4.4
- fix a bug in the line reading optimisation
- do not reuse a FTP connection if there is an active transfer on it
2009-08-21 15:12:24 +00:00
joerg
b9b5f22385 Use WARNS=4. 2009-08-06 16:57:20 +00:00
joerg
0590ec0a66 Import pkg_install-20090806:
- pkg_add: add support to check license conditions before installation
- pkg_delete: add -k option to skip over preserve packages.
- WARNS=4 clean, fix some potential uses of uninitialized variables
2009-08-06 16:55:16 +00:00
christos
a24ab0f5cc elide type punned warning 2009-07-28 21:51:30 +00:00
christos
1291d32876 add no version date 2009-07-28 21:18:01 +00:00
christos
723a00ffef merge 9.6.1-P1 2009-07-28 21:17:11 +00:00
christos
8efd920cd3 from ftp.isc.org 2009-07-28 21:10:17 +00:00
roy
1eb42625ea Import dhcpcd-5.0.7
Changes from dhcpcd-5.0.6 include:
* Fix -f path/to/config
* -e, --env var=value for profile specific env vars
* Many issues resolved when running in test mode
* Don't print a (null) string when there is no NAK message
* read ssize_t instead of size_t when checking signals
2009-07-28 20:53:17 +00:00
njoly
f4e46459c3 Make process CPU value drop the decimal part when reaching 100%, like
WCPU.
2009-07-27 16:26:48 +00:00
joerg
fdc1dac9e9 Import pkg_install-20070724:
- license handling: accept upper case letters. Keep license checks
  case-sensitive as done in the older pkgsrc logic. Document this.
  OK dillo@, schmonz@, wiz@
- pkg_info:
  - fix handling of non-packages, that are valid archives
  - invert order of pkg_info -r to better match the expectations of
    make update.
2009-07-26 22:59:33 +00:00
agc
cb2414dfd1 Fix from Bert Kiers, also noted by jak - be consistent in naming the
key for the target hostname variable - it's "target hostname", not
"target host".
2009-07-23 04:32:13 +00:00
christos
75efea6592 bump libcrypto and friends; OpenSSL abi change: do_cipher last argument
changed from u_int to size_t. Affects _LP64 only.
2009-07-20 17:30:52 +00:00
christos
c5a57f5582 Use the correct libcrypto. 2009-07-20 15:46:51 +00:00
christos
36f53fd260 depend on the proper libcrypto 2009-07-20 15:41:55 +00:00
christos
5abcee2a8c find the correct libcrypto 2009-07-20 15:40:05 +00:00
christos
ddb6af4806 catch up with openssl constification 2009-07-20 15:32:33 +00:00
joerg
86a313cf0e .Xr takes exactly two arguments plus separators, so fix the use here. 2009-07-15 09:50:08 +00:00
roy
b1b5513e68 Update to dhcpcd-5.0.6
Changes from dhcpcd-5.0.5 include
 * Fix crash on MIPS, fixes PR bin/41682
   Thanks to Tim McIntosh <tmcintos@eskimo.com> for the patch
 * Save and restore interface MTU when changing
 * IP whitelist
 * Ensure that the lease and pidfile directories exist at startup
2009-07-08 22:33:21 +00:00
roy
8c75820385 Sync 2009-07-03 22:20:09 +00:00
roy
a0cd7e431b Import dhcpcd-5.0.5
Changes since 5.0.4
 * Fixed dstaddr detection for PtP links at startup
 * Default to requesting MTU in dhcpcd.conf
2009-07-03 19:39:25 +00:00
agc
80afc5a9cd catch up with change of filename 2009-06-30 02:59:15 +00:00
agc
5e01dafb5c Portable iSCSI - snapshot of current sources/changes
+ moved lba2cdb into iscsi-initiator.c and cdb2lba into disk.c
+ moved iscsi.c to protocol.c
+ calculate zero bytes and bits in a different way, and fix a bug or two
  on the way
+ add the ability to trace different types of debug information from the
  initiatior as well as the target
2009-06-30 02:44:52 +00:00
agc
474f9d04b2 Switch over to building iscsi library, target and initiator from the
external framework.
2009-06-25 13:58:59 +00:00
agc
534fa80408 Put the OSD sources in their own directory 2009-06-25 13:48:42 +00:00
agc
b63649522c Update the external tree for new structure for reachover builds.
Add some iscsi-specific changes too:

Portable iSCSI - 20080207 to 20090622

+ Use modern autoconf
+ Add portable iSCSI initiator sources
+ New directory structure
+ Put OSD sources in their own directory
+ iscsi.h -> iscsiprotocol.h
+ add an iscsi.h for the new interface, and install it
+ globals_t -> iscsi_target_t
+ made an iscsi-target.h with all public functions in it
+ reformatted Intel license to fit in 80 columns
+ get rid of some abstractions which aren't needed any more
+ move over to a set of (name, value) tuples in target and initiator
+ add patch to set the target's StatSN at login time, from Gleb Kozyrev via
  Mark Foster
+ add manual page for libiscsi(3)
+ update libiscsi shared object major version to 2 to reflect the changes
  in API and ABI

More changes to come
2009-06-25 13:47:09 +00:00
agc
fc75e102bd Move source files from the reachover framework to the dist framework. 2009-06-22 14:44:12 +00:00
agc
39f224166c Be sure to install binaries into the correct BINDIR 2009-06-22 06:52:18 +00:00
agc
29b8a3d91c Add example files and rc.d script - taken from dist 2009-06-22 01:51:02 +00:00
agc
ef35af317f Add example configuration files 2009-06-21 21:23:46 +00:00
agc
2f24582978 Move the iSCSI target and initiator source across from dist/iscsi to
external/bsd/iscsi
2009-06-21 21:20:30 +00:00
agc
6a58b20453 Add the reachover framework for the iSCSI target and initiator, in
preparation for moving it from dist/iscsi to the external framework
external/bsd/iscsi.
2009-06-21 21:11:16 +00:00
joerg
e4b9854077 Update to pkg_install-20090610:
Improve diagnostic of the license code.
2009-06-14 23:30:57 +00:00
christos
d15ef32f05 PR/41580: Hauke Fath: am-utils uses "netbsd${OSVER}" selector, still.
Changed to "netbsd"
2009-06-12 15:44:58 +00:00
christos
94771ab33e the resolver man page is from here now. 2009-06-08 17:16:18 +00:00
christos
477a0ba90e Add an NetBSD id for ease of maintenance. 2009-06-01 19:07:55 +00:00
joerg
a2e586eec3 Allow building with MKCRYPTO=no. 2009-05-28 10:44:29 +00:00
joerg
93b14ea890 Import pkg_install-20090528:
Reenable extraction of ownership from tarballs.
2009-05-28 09:00:54 +00:00
joerg
cef902d2d0 Import pkg_install-200927:
- pkg_info -r provides topological sorting
- sync license list with pkgsrc/mk/licenses.mk
2009-05-27 22:41:35 +00:00
joerg
0334ae0007 Merge for pkg_install-20090513. 2009-05-17 21:31:59 +00:00
joerg
52b3fbfec5 Import pkg_install-20090513:
- Make compression type selection in pkg_create optionally explicit.
- PREV_PKGPATH / SUPERSEDES
2009-05-17 21:21:07 +00:00
christos
99604eb933 define __RCSID if nobody did. 2009-05-15 12:06:09 +00:00
roy
539e10cf4e Import dhcpcd-5.0.4
Changes from dhcpcd-5.0.3 include
 * ServerID requirement in DHCP messages can be toggled in dhcpcd.conf
 * If MTU is requested, don't apply if less than 576
 * Enforce a minimum lease time of 20 seconds
2009-05-14 16:25:55 +00:00
roy
cd5cb024ed Import dhcpcd-5.0.3
Changes from 5.0.2
 * Fix crash when ifa_addr from getifaddrs(3) is NULL
2009-05-11 08:52:46 +00:00
roy
ed7c19b672 Re import right version 2009-05-10 17:20:55 +00:00
roy
05cc3e1e56 Update dhcpcd to 5.0.2
Changes from 5.0.1 include
 * -n option now starts dhcpcd if not already started
 * 29-lookup-hostname hook installed by default, but skipped in dhcpcd.conf
 * Fix warning about missing dirs if we don't have any existing state
 * Fix compile on some Linux distros re linux/wireless.h
2009-05-10 16:44:26 +00:00
christos
5b33ded1f3 set BINDIR 2009-05-08 23:36:42 +00:00
wiz
81ee850d25 Use more markup, use more appropriate markup. Improve wording.
Sort options and sections. Make ready for HTML output. Fix xref.
Add -0 to SYNOPSIS.
2009-05-08 21:45:52 +00:00
wiz
61e7e15ed9 Various fixes. More formatting. New sentence, new line. 2009-05-08 20:26:48 +00:00
wiz
83bb9c409c New sentence, new line. 2009-05-08 20:20:39 +00:00
wiz
97f58950ee Drop trailing whitespace. 2009-05-08 20:19:39 +00:00
christos
da26e34f7b hook file 2009-05-08 17:45:49 +00:00
christos
0d3ed1b0bc WARNS=4 2009-05-08 17:43:54 +00:00
christos
9132e9e090 apply our local patches 2009-05-08 17:34:34 +00:00
christos
7c25ef2346 build glue and lint fixes 2009-05-08 17:28:01 +00:00
christos
d60f571eaf add import script 2009-05-08 16:40:10 +00:00
christos
de156261f7 unmiff version 2009-05-08 16:39:46 +00:00
christos
1b108b8bde from ftp.astron.com 2009-05-08 16:34:59 +00:00
christos
97773de03d PR/41358: YAMAMOTO Takashi: top -n is broken, don't return -1 early if
!smartterminal
2009-05-05 18:52:13 +00:00
christos
213e7ef10b WARNS=4 2009-05-05 18:49:49 +00:00