Commit Graph

90 Commits

Author SHA1 Message Date
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
joerg 39741d2848 Hook up libfetch and pkg_install update. 2008-10-02 17:54:51 +00:00
joerg a3ad79d9ac Add missing RCS ID. 2008-10-01 07:53:27 +00:00
joerg 1e58602315 Add build glue for pkg_install. 2008-09-30 19:19:56 +00:00
joerg 27d0f2d3b5 Build glue for libfetch. 2008-09-30 19:09:00 +00:00
joerg af21abb57f Import pkg_install-20080916. Major changes include:
- vulnerability check backend moved into lib for reuse in pkg_add
- add pkg_install.conf parsing for common configuration of the various
  pkg_install components
- fix crashes related to uninitialised PLIST structures
- check explicitly if the required files in pkgdb are present, fixing
  issues with ~empty left-over directories
- improve hardlink handling in pkg_create using the libarchive link
  resolver
- pkg_delete with -P overwrite now updates the pkgdb correctly
- silence warning about empty /var/db/pkg, it provides no value
- pkg_info uses libfetch for remote locations and works without
  temporary files, speeding up operation a lot
2008-09-30 19:00:25 +00:00
joerg fe618babc6 Import libfetch from pkgsrc, which remains authoritive.
libfetch is a high-level interface for retreiving and uploading files
using URLs. Currently implemented are local file access, FTP, HTTP and
basic HTTPS support, upload only for local files and FTP.
2008-09-30 18:46:07 +00:00
joerg af4f585309 Switch to libarchive in src/external/bsd. 2008-09-21 19:45:59 +00:00
christos a812f51e37 add scripts 2008-09-20 20:32:47 +00:00
chris 3273efb108 Correct the documentation for the script name used by dhcpcd to be
/libexec/dhcpcd-run-hooks
not
/libexec/dhcpcd.sh
2008-09-20 17:38:19 +00:00
mrg b5e3021191 allow BINDIR to be set in bin/pawd/Makefile, so it won't get installed
into /usr/sbin..
2008-09-20 10:45:48 +00:00
joerg a7dc3b5d53 Just use WARNS=4 for dhcpcd. 2008-09-19 23:00:49 +00:00
joerg 0ee5c8cca5 Import dhcpcd-4.0.1:
- basic resolvconf like functionality to combine the resolv.conf entries
from running instances
- improve timer handling to not break with early wake ups and other edge
cases related to the kernel time granularity
- improve handling of dhcpcd -n and rebinding after carrier loss to
better deal with changing networks
- add option to black list servers based on server id
- don't check for ARP conflict if the interface already has the address
- improve signal handling during vfork/exec
2008-09-19 22:59:57 +00:00
joerg fc01aacd2f Add build glue for libarchive and the frontends. cpio and tar are still
disabled.
2008-09-19 22:01:25 +00:00
joerg 09ade36017 Import libarchive-2.5.5. This makes bsdcpio more compatible with GNU
cpio's long options, copyies links when they cross devices in copy mode.
A number of other smaller bugfixes and improvements were added.
2008-09-19 21:56:11 +00:00
christos 4d8601a4f6 changes from dist 2008-09-19 21:49:09 +00:00
christos 3b59a1eabd bring changes from dist 2008-09-19 21:46:58 +00:00
christos 167be1f2ca bring in changes from dist 2008-09-19 21:46:14 +00:00
christos 9432f019a9 Hook am-utils 2008-09-19 21:41:51 +00:00
christos 1cc11dc29b forgot this one 2008-09-19 21:41:28 +00:00
christos b789925374 resolve issues and add build glue 2008-09-19 21:38:40 +00:00
christos a53f50b9b4 import current am-utils. 2008-09-19 20:07:11 +00:00