Commit Graph

211 Commits

Author SHA1 Message Date
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
christos
e78b589366 import new bind 2009-03-22 15:02:24 +00:00
christos
e353dcca6a import new bind 2009-03-22 14:55:05 +00:00
wiz
df00d5ab55 Fix merge error. 2009-03-21 10:09:16 +00:00
christos
e6c7ef55a0 need udf. 2009-03-20 21:15:29 +00:00
christos
e3fc2c5c61 typo 2009-03-20 21:14:21 +00:00
christos
c0b438899b refresh 2009-03-20 21:13:48 +00:00
christos
1400370530 merge conflicts 2009-03-20 20:30:52 +00:00
christos
4bcd344e8f Import am-utils 6.x.y 2009-03-20 20:26:47 +00:00
njoly
6d58ff999b Update atf version to 0.6 for pkg-config files substitution.
ok by jmmv@
2009-03-11 15:57:08 +00:00
joerg
0c588b7da9 Import pkg_install-20090309:
Fix double free in pkg_info.
2009-03-10 00:48:40 +00:00
joerg
8a90f43fbf Import libfetch-2.23:
Don't leak file descriptors when iterating local directories or checking
for if-modified-since on local files.
2009-03-10 00:44:15 +00:00
ad
5e99d26fbe Adjust weight of SIDL down so idle kthreads don't eat up all of the
thread display
2009-03-08 16:26:03 +00:00
joerg
1b46f9c5df Merge pkg_install-20090307. 2009-03-08 14:53:16 +00:00
joerg
908e85af04 Import pkg_install-20090307: Fix a file descriptor leak in pkg_add. 2009-03-08 14:51:34 +00:00
joerg
08d9a1067c Avoid sign comparision issues. 2009-03-06 15:17:56 +00:00
joerg
bae4fdf17e Import pkg_install-20090302:
- plug some file descriptor leaks
- add pkg_info -r
2009-03-02 22:31:13 +00:00
joerg
60d9c2168a Update build glue for pkg_install-20090228. 2009-02-28 19:36:32 +00:00
joerg
847d5ab660 Merge changes for pkg_install-20090228. 2009-02-28 19:36:23 +00:00
joerg
e50ad3d100 Import pkg_install-20090228:
- pkg_add:
  - more consistent PKG_PATH processing
  - support setting PKG_PATH in pkg_install.conf(5)
  - don't crash when installing package with conflicts
  - fix updating packages with explicit +PRESERVE
  - document the rules for finding packages more clearly
- pkg_info:
  - don't complain about PKG_PATH, it is not used
  - sync documentation with reality
2009-02-28 19:33:34 +00:00
oster
ab54f8ad2b On a multi-cpu/core machine, running 'top' and pressing '1' resulted
in n-1 blank lines at the bottom of the display.  On the same machine,
running 'top -1' and pressing '1' resulted in a garbled display that
would just get progressively worse.  Invert the values returned by
display_setmulti() to correct both issues.
2009-02-27 17:38:14 +00:00
joerg
8ef7bd4c41 Merge. 2009-02-26 19:40:24 +00:00
joerg
4d694e83af Remove pkg_install.conf.5 on make clean. 2009-02-26 18:35:13 +00:00
roy
3d26b90412 Import dhcpcd-4.0.12
Fixes since dhcpcd-4.0.11 include:
 * Logging to LOG_DAEMON instead of LOG_LOCAL0
 * Checking for POLLERR and POLLNVAL
 * Only opening raw sockets when we have a working link
2009-02-26 13:53:19 +00:00
joerg
e0c851f773 Update build glue for pkg_install-20090225. 2009-02-25 21:23:17 +00:00
joerg
3018e10272 Import pkg_install-20090225:
- improve diagnostic for audit-packages wrapper
- new pkg_delete code:
  - topologocial ordering of packages
  - bails out before removing anything if it knows that it will run into
    problems later
  - new option -A: remove automatic installed packages that are no
    longer used (e.g. pkg_add foo; pkg_delete -A foo should not alter
    the list of installed packages)
- less chatty pkg_info for -Q
2009-02-25 21:21:40 +00:00
roy
27323c5250 Import dhcpcd-4.0.11
Fixes since dhcpcd-4.0.10 include recovery from send_packet failure
2009-02-21 10:12:30 +00:00
jmmv
658941c968 Build and install h_c; from Nicolas Joly in private mail. 2009-02-17 17:29:19 +00:00
joerg
6a4d107f7d Install pkg_install.conf(5). 2009-02-15 18:24:49 +00:00
joerg
9da2cc5c4b Update to libfetch-2.22:
- Support for conditional fetch
- Allow correctly overwriting fetchRestartCalls from signal handlers by
  making it volatile
- Explicitly document that the size of struct url can increase.
2009-02-14 19:36:51 +00:00
joerg
b8b994aea2 Import pkg_install-20090214:
- pkg_add:
  - doesn't crash on missing +BUILD_INFO
  - for -u skip the package it will update when l oking for conflicts
  - don't fail in libarchive when trying to use directories as packages
- pkg_admin:
  - stricter argument checking for audit family of commands
  - fetch-pkg-vulnerabilities -u will only update if the remove file
    is newer
- pkg_delete:
  - fix PKG_METADATA_DIR passed to deinstall script
  - when using -d, ignore @dirrm
  - fix -d code to unregister the correct pkgdb entry
- pkg_info:
  - fix crashes on incomplete packages
2009-02-14 17:18:56 +00:00
lukem
f092a45e5d fix -Wsign-compare issues 2009-02-12 09:05:13 +00:00
joerg
560d13285f Retire. 2009-02-05 19:58:17 +00:00
roy
fe76f6974c Import dhcpcd-4.0.10
Changes since dhcpcd-4.0.9
 * Move the ARP check to after the REQUEST to be more RFC2131 conformant.
2009-02-04 09:08:46 +00:00
wiz
ba273597f5 New sentence, new line. Use more markup. 2009-02-03 05:16:08 +00:00
joerg
bb314659c8 Merge pkg_install-20090201 and update build system. 2009-02-02 20:47:19 +00:00
joerg
d66ee6c3fd Import pkg_install-20090201. From the branch merge in pkgsrc:
- DB support is always included from libnbcompat if needed
- pkg_view and linkfarm are not installed any more; they are not moved
into the attic yet, so they can easily be installed as separte package
- common configuration file to customise the behavior of various
components; this supersedes the old audit-packages.conf
- support for PKSC7 signatures (using X509 certs) and GPG signatures for
packages in a secure way. See pkg_admin(8) for how to create them and
pkg_install.conf(5) for the options to use them
- audit-packages and download-vulnerability-list are wrapper scripts
  around pkg_admin. They try to mimic the classic options if used
  sanely.
  "pkg_admin audit" is now an order of magnitude faster than before
- pkg_add uses libarchive and libfetch instead of external ftp and tar:
  - progress bar is currently missing for downloads
  - "pkg_add -" is no longer supported
  - no adhoc check for conficts between dependencies and already
    installed packages
  - "pkg_add -s" has been replaced with an option in pkg_install.conf,
    verification of plain detached GPG signatures is no longer supported
  - optional check for vulnerabilities before adding a package
  - if /var and /usr/pkg are on different fileystems it is twice as fast
    now
  - conflicts due to overlapping plists are checked before installation
  - pkg_add no longer plays with the process limits
  - pkg_add and pkg_delete have a new destdir option; scripts have to
    either be modified to use PKG_DESTDIR or should be disabled
- pkg_add -u for now can't be used to update to the exact same version
- internal "rm -rf" and "mkdir_p" code
- all memory allocation failures are not explicitly fatal
- if a file is not removed due to a failed checksum, still remove the
  entry from pkgdb
2009-02-02 20:44:00 +00:00
roy
366affd3d0 Import dhcpcd-4.0.9
Changes from dhcpcd-4.0.8
 * Add a bit more pedantic error checking
 * Zero the DHCP message struct instead of trying to terminate the options
2009-01-31 12:57:30 +00:00
roy
12dbb39b5a Import dhcpcd-4.0.8
Changes since dhcpcd-4.0.7:
 * broadcast address correctly set for hooks
 * respect renewal time if given but rebind time is not
 * nohook 20-resolv.conf works as well as nohook resolv.conf
 * short hostnames are now sent
2009-01-28 04:46:01 +00:00
christos
744913a534 fix defs.h building. 2009-01-26 16:30:14 +00:00
agc
df41ea2ee2 Add the build glue and sets information for the libopenpgpsdk library, and
the openpgp binary.
2009-01-24 01:15:24 +00:00
jmmv
ca1ed55e40 Properly generate test programs by including common.sh. Otherwise, they
are all broken!
2009-01-20 10:29:59 +00:00
jmmv
c57d9133b5 Enable the build of ATF. 2009-01-19 07:14:06 +00:00
jmmv
36b1da6c51 Add reachover Makefiles to build ATF 0.6. These replace the old Makefiles
that were spread all around the tree when ATF lived in dist/atf.
2009-01-19 07:13:03 +00:00
jmmv
e2207522e1 Import ATF 0.6. Replaces the old ATF 0.5 that was in dist/atf.
Changes in this release:

* Make atf-exec be able to kill its child process after a certain period of
  time; this is controlled through the new -t option.

* Change atf-sh to use atf-exec's -t option to control the test case's
  timeouts, instead of doing it internally.  Same behavior as before, but
  noticeably faster.

* atf-exec's -g option and atf-killpg are gone due to the previous change.

* Added the atf-check(1) tool, a program that executes a given command and
  checks its exit code against a known value and allows the management of
  stdout and stderr in multiple ways.  This replaces the previous atf_check
  function in the atf-sh library and exposes this functionality to both
  atf-c and atf-c++.

* Added the ATF_REQUIRE family of macros to the C interface.  These help
  in checking for fatal test conditions.  The old ATF_CHECK macros now
  perform non-fatal checks only.  I.e. by using ATF_CHECK, the test case
  can now continue its execution and the failures will not be reported
  until the end of the whole run.

* Extended the amount of ATF_CHECK_* C macros with new ones to provide more
  features to the developer.  These also have their corresponding
  counterparts in the ATF_REQUIRE_* family.  The new macros (listing the
  suffixes only) are: _EQ (replaces _EQUAL), _EQ_MSG, _STREQ and
  _STREQ_MSG.
2009-01-19 07:11:50 +00:00
christos
c42a4332d6 bump versions for time_t 2009-01-11 22:42:39 +00:00
christos
a8517db3dc new autoconf needs _cv_ 2009-01-04 22:57:17 +00:00
christos
9d45a37e43 work around new gm4 issue, by commenting out stuff. 2009-01-04 20:34:11 +00:00
christos
65f3b47bf5 add the cdfs extensions 2009-01-02 16:35:43 +00:00
christos
206e03dd87 more cdfs options 2009-01-02 16:34:05 +00:00
christos
544d676ec2 add missing options from the cd9660 filesystem. 2009-01-02 16:00:02 +00:00
chris
aa5f67e8e7 Add -lutil to allow linking to find the e-functions. 2008-12-13 12:21:50 +00:00
tsutsui
791606eb62 Sync usage with man page. 2008-12-13 09:05:56 +00:00
christos
809d48d0cb back emalloc out, I don't want it. 2008-12-12 23:10:08 +00:00
christos
56a682bfb8 - handle memory allocations gracefully using e-functions instread of
core-dumping.
- if the display is too small bail out.
2008-12-12 23:09:08 +00:00
roy
98454aa775 Import dhcpcd-4.0.7 with the following changes from dhcpcd-4.0.1
DHCP_DECLINE now includes the IP and Server in the message.
Trailing NULLs are stripped from string options.
ntpd is only restarted if it is already running.
ClientID is no longer sent by default.
CSR comes before routers and static routes as per RFC 3442.
Host routes are now added correctly.
If a the interface link flaps but status does not change, do not reset the timer.
2008-12-09 19:34:58 +00:00
apb
faeb779f91 Use ${HOST_SH}, not ${SH}. ${SH} is undefined, so acts like an
empty string.  The build would sometimes work despite this error, if
errlist.sh happened to be executable and if the host's /bin/sh was good
enough.
2008-11-25 05:32:05 +00:00
joerg
8e658292aa Update to libfetch 2.20: Allow HTTP auth to be provided in URL. 2008-11-14 23:04:30 +00:00
joerg
7efce18adf Drop non-applicable part of the original version in libarchive. 2008-11-07 15:24:44 +00:00
joerg
d45537460f Import libfetch-2.19 from pkgsrc:
- fix bug in URL quoting
- man page improvements
- remove passive mode flag, add flag to force active mode and fallback
from passive to active on syntax errors automatically
2008-10-29 16:18:13 +00:00
mrg
604c46c98f reference other libraries from their relative location. 2008-10-27 07:26:29 +00:00
apb
f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
apb
96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
christos
5403426c2e we don't have the ldap headers if MKLDAP=no (from dyoung) 2008-10-11 12:56:31 +00:00
joerg
f298aa9202 Update to libfetch-2.17. Fix a bug in the line buffering code to not
drop output if the server actually send more than one line.
2008-10-07 15:55:20 +00:00
joerg
21150ac7ce pkg_install-20081002:
Explicitly cast time_t values to long before printing them.
Reported by bjs.
2008-10-02 20:49:40 +00:00