Commit Graph

176 Commits

Author SHA1 Message Date
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
roy dd5234bb77 Don't need this file 2009-05-03 06:50:12 +00:00
roy 8804666dc4 Import dhcpcd-5.0.1
Changes from dhcpcd-5.0.0
 * Silence compile warnings on Sparc64
 * Fix existing address detection
2009-05-03 06:48:58 +00:00
roy f9f431805b Fix compile 2009-04-28 22:47:23 +00:00
roy a04200f334 Punt old files 2009-04-28 22:43:10 +00:00
roy 010bfc06c7 Update to dhcpcd-5.0.0 2009-04-28 22:31:52 +00:00
roy 2158200f72 Import dhcpcd-5.0.0
Major changes from dhcpcd-4 include
 * Single daemon can now run DHCP on multiple interfaces at the same time
 * Configuration profiles per interface, ssid, arping and fallback
 * Listens to 3rd party programs changing routing information
 * Supports DHCP INFORM over PPP
 * Can configure static options for destination address
 * Control socket so 3rd party program can control or listen directly
   to dhcpcd events
 * Is also a BOOTP client
2009-04-28 22:14:20 +00:00
joerg bfdba539cb Update build system for pkg_install-20090425. 2009-04-26 14:18:44 +00:00
joerg 51e2fd09ed Import pkg_install-20090425:
Add logic to evaluate license conditions. As frontend for pkgsrc,
pkg_admin gets two new commands (check-license and
check-single-license), which can be used to evaluate a given condition.
pkg_add will be changed to honour licenses at a later point.
2009-04-25 21:38:18 +00:00
njoly aaad3eb0f6 Drop the process WCPU decimal part when it reaches 100.0% (threaded
application on SMP system), to make it stay in the 5 expected columns.

ok by christos.
2009-04-24 19:07:45 +00:00
joerg 0ec643dcd9 Import pkg_install-20090424:
Make pkg_delete -d the default behavior, remove the option.
Remove pkg_create -R support (reorder @dirrm entries).
Introduce new plist command @pkgdir, which makes pkg_add add
this directory if it doesn't exist already and pkg_delete remove it
only if no other package has a @pkgdir entry for it. Otherwise
directories are pruned when the last file or directory in them is
removed. @dirrm is now a pure hint, if the directory doesn't exist, it
will be silently skipped.
2009-04-24 14:16:52 +00:00
joerg 94109f5e3c Import pkg_install-20090424:
Make pkg_delete -d the default behavior, remove the option.
Remove pkg_create -R support (reorder @dirrm entries).
Introduce new plist command @pkgdir, which makes pkg_add add
this directory if it doesn't exist already and pkg_delete remove it
only if no other package has a @pkgdir entry for it. Otherwise
directories are pruned when the last file or directory in them is
removed. @dirrm is now a pure hint, if the directory doesn't exist, it
will be silently skipped.
2009-04-24 14:16:43 +00:00
christos 709ec5958a Don't log if "." is not writable. In the chrooted environment this is
"/var/chroot/named", and there is no reason whatsoever for this to be
writable!
2009-04-22 18:25:24 +00:00
drochner 0fa7059102 define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160 2009-04-20 16:05:29 +00:00
roy be69da1d06 Import dhcpcd-4.0.13
Fixed since dhcpcd-4.0.12 include
 * Every DHCP message now requires a ServerID as some rogue DHCP servers
   NAK without one.
 * Extra UDP validation is now done for testing dhcpcd over a loopback
2009-04-17 20:05:27 +00:00
pooka 04b935ee0a Instead of printing the status value from wait(), decode it into
more human-readable output.

reviewed by jmmv
2009-04-14 15:41:11 +00:00
christos 432ce7c95e At ad@'s request add support for native rwlocks. The XXX's should be addressed
before this is enabled, perhaps with _np functions.
2009-04-13 21:20:40 +00:00
christos d73aed5293 typo OPS instead of OP, pointed by ad@ 2009-04-13 20:23:27 +00:00
christos fc036a6369 auto-define if we have 64 bit atomic ops. 2009-04-12 22:40:56 +00:00
christos 234834adea provide symlinks for the man pages too. 2009-04-12 21:00:48 +00:00
christos 61863ee15d hook bind 2009-04-12 17:13:42 +00:00
christos 69365232db more fixes for the import scripts 2009-04-12 17:08:03 +00:00
christos a7ff841fa1 add libbind2netbsd script based on bind2netbsd 2009-04-12 15:39:53 +00:00
christos b5677b3604 from ftp:///ftp.isc.org/isc/libbind import 6.0rc1. 2009-04-12 15:32:58 +00:00
christos 1030ae3f66 more description fixes. 2009-04-12 15:23:22 +00:00
christos 4491c6c7fc reflect new reality. 2009-04-12 15:05:59 +00:00
christos a52d4154df apply all our patches and the build glue 2009-04-12 03:46:04 +00:00
joerg d595a1c226 Import pkg_install-20090406:
Remove premature return that broke dependency tracking for pkg_add -u.
Fixes PR 41143.
2009-04-06 18:49:08 +00:00
joerg 7bacb5af4b Reimport libfetch-2.23 from pkgsrc, at least one change was lost. 2009-04-04 23:26:03 +00:00
mrg fcc023545e - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes.  this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.

- adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.

- add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)

- patch sh, and csh to notice RLIMIT_AS.  (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)

- patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.

- update irix, svr4, svr4_32, linux and osf1 emulations to support
this information.  (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)


this addresses PR 7897.  it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.

tested on i386 and sparc64, build tested on several other platforms.

thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)
2009-03-29 01:02:48 +00:00