Commit Graph

513 Commits

Author SHA1 Message Date
christos
58f9040724 implement fullcmd mode. Now we need to modernize the machine specific code
to handle displays > 80 columns to make this work effectively.
2010-05-12 22:09:36 +00:00
jmmv
e57b6942da Make the .pc file rules depend on the Makefile so that when rebuilding
the tree with MKUPDATE=yes set after an atf upgrade, the .pc files get
the correct version in them.

Suggested by njoly@ in private mail.
2010-05-08 16:57:24 +00:00
wiz
6f0c1d2e97 Remove trailing whitespace; new sentence, new line; sort sections;
standardize SYNOPSIS; use serial comma.
2010-05-08 11:55:01 +00:00
jmmv
ac02bdbd72 Update reachover Makefiles for atf 0.8. 2010-05-08 08:12:33 +00:00
jmmv
0f0f09ce18 Merge atf 0.8. 2010-05-08 08:11:03 +00:00
jmmv
407d776158 Import atf 0.8. Changes in this release:
* Test programs no longer run several test cases in a row. The execution
  of a test program now requires a test case name, and that single test
  case is executed. To execute several test cases, use the atf-run
  utility as usual.

* Test programs no longer fork a subprocess to isolate the execution of
  test cases. They run the test case code in-process, and a crash of the
  test case will result in a crash of the test program. This is to ease
  debugging of faulty test cases.

* Test programs no longer isolate their test cases. This means that they
  will not create temporary directories nor sanitize the environment any
  more. Yes: running a test case that depends on system state by hand
  will most likely yield different results depending on where (machine,
  directory, user environment, etc.) it is run. Isolation has been moved
  to atf-run.

* Test programs no longer print a cryptic format (application/X-atf-tcs)
  on a special file channel. They can now print whatever they want on
  the screen. Because test programs can now only run one test case every
  time, providing controlled output is not necessary any more.

* Test programs no longer write their status into a special file
  descriptor. Instead, they create a file with the results, which is
  later parsed by atf-run. This changes the semantics of the -r flag.

* atf-run has been adjusted to perform the test case isolation. As a
  result, there is now a single canonical place that implements the
  isolation of test caes. In previous releases, the three language
  bindings (C, C++ and shell) had to be kept in sync with each other
  (read: not a nice thing to do at all). As a side effect of this
  change, writing bindings for other languages will be much, much easier
  from now on.

* atf-run forks test programs on a test case basis, instead of on a test
  program basis as it did before. This is to provide the test case
  isolation that was before implemented by the test programs themselves.

* Removed the atf-exec tool. This was used to implement test case
  isolation in atf-sh, but it is now unnecessary.

* It is now optional to define the descr meta-data property. It has been
  proven to be mostly useless, because test cases often carry a
  descriptive name of their own.
2010-05-08 08:05:13 +00:00
christos
979605cffd specify bindir 2010-05-07 21:54:07 +00:00
christos
b8f08142d6 change to mandoc 2010-05-07 20:43:40 +00:00
christos
dcb0cbe948 bump crontab limit to 256K per the old manual page. 2010-05-07 20:43:27 +00:00
christos
8d5d5ded4d unhook old cron, hook new one. 2010-05-07 17:35:31 +00:00
christos
6611a4be6f remove the +1 second. Otherwise jobs that are supposed to run at 10:00:00,
run at 10:00:01 which is tolerable because cron has a 1 minute granularity,
but confusing. This restores the old behavior with the new timing logic.
2010-05-07 17:12:00 +00:00
christos
c3f423a27c for posterity. 2010-05-06 23:19:56 +00:00
christos
32d0172f96 remember to restore the original timezone. 2010-05-06 22:38:14 +00:00
christos
c809afbc3f - change times to time_t
- use the correct time in job_add
- bring back CRON_TZ
2010-05-06 21:50:16 +00:00
christos
1f7f15c404 Add build glue. 2010-05-06 18:58:45 +00:00
christos
032a439890 apply our changes. 2010-05-06 18:53:17 +00:00
christos
0061c6a57d import cron 4.1 2010-05-06 18:50:28 +00:00
tonnerre
89ba794efc Prevent ntpd instances from sending MODE_PRIVATE error responses back and
forth. This resolves CVE-2009-3563, but it should be noted that nobody uses
this code so far, so this is more of a preventive update than a security
one.
2010-04-25 22:50:11 +00:00
joerg
323fc69705 Update build glue for pkg_install-20100421 2010-04-23 20:56:01 +00:00
joerg
8164e2ede7 Merge pkg_install-20100421 2010-04-23 20:55:31 +00:00
joerg
0e7c882236 pkg_install-20100421:
Fix an off-by-one in the check for properly sized pkgdb entries.
It rejected perfectly valid entries.

Extract dependencies of libarchive from the pkgconfig file and thereby
drop knowledge of the needed libraries.

At least some versions of HP-UX are known to not support %zu, add a
workaround. This is using the black list approach for now.

Recognize xz as compression type for pkg_create.

The first time an error is hit while fetching packages, try to reget
from the same position. This works around the server closing the
connection while fetching dependencies.

Try to detect common forms of pkgdb corruption and issue a warning in
that case.

Refactor the pkg_vulnerabilities logic to use the compression support
from libarchive. This reduces the amount zlib/bzip2 interaction to
the linkage.

Add man pages for audit-packages and download-vulnerability-list which
point to pkg_admin and notes that the scripts are obsolete.
2010-04-23 20:54:06 +00:00
joerg
22c838d332 Add MKBSDTAR, defaulting to no. It switching cpio and tar to the
libarchive based frontends.
2010-04-23 19:41:02 +00:00
agc
208f5497e4 implement the REG_STARTEND extension using tre_regnexec - REG_STARTEND is
used by mail(1), and file(1), to name but two.
2010-04-22 17:33:54 +00:00
agc
64ac94149c don't include parameter names in the namespace for function prototypes.
define REG_STARTEND

include tre-config.h inplace in tre.h, since it is small, always gets
included anyway, and this means that we don't have to install tre-config.h
in the dest tree. this will be addressed differently long-term.
2010-04-22 17:32:37 +00:00
agc
663ce0da65 clean up some lint 2010-04-22 17:28:59 +00:00
joerg
8e57a02bae Update for mdocml-1.9.23. 2010-04-20 18:08:08 +00:00
joerg
fe15f59037 Merge for mdocml-1.9.23. 2010-04-20 18:07:52 +00:00
joerg
7bcc2a5f4a mdocml-1.9.23:
- Smaller bug fixes
- Relax some constraints that don't deal well with the real world usage
2010-04-20 18:05:55 +00:00
sborrill
57628e87d5 Regen with autoconf-2.63 and automake-1.11.1 because of man page changes.
Bump version to 20100416
2010-04-19 08:09:02 +00:00
sborrill
036951a68c Put .8 man pages in man8, not man1.
Add targets.5 to man5.
2010-04-19 08:05:36 +00:00
sborrill
a4abc2800d Add --version-info libtool flag so that libiscsi.so major/minor can be kept
in sync with that in shlib_version.
Add a note in shlib_version as a reminder to update lib/Makefile.am (and
from there lib/Makefile.in).
2010-04-15 20:56:32 +00:00
sborrill
2175ef1074 Add mkdist to build a distribution tarball based on the one in netpgp 2010-04-15 18:21:29 +00:00
agc
b97f222512 Regen to pick up the new version number 2010-04-15 05:27:45 +00:00
sborrill
5581d64437 Update to reflect current source files. iscsi.c is now protocol.c
and initiator.c has been moved from initiator to lib.
With these changes a standard ./configure && make build completes
2010-04-14 19:52:20 +00:00
wiz
6997bed8b1 Fix typo reported by Ryo HAYASAKA in PR 43136. 2010-04-08 06:58:26 +00:00
christos
819acda0b0 previous workaround not needed. 2010-04-07 16:14:35 +00:00
christos
4950518f2a Rename the macro name so that the scanner does not get confused and thinks
it is using REJECT.
2010-04-07 16:14:07 +00:00
tron
898521eb24 Ignore the unused label "find_rule" in the generated file "scan.c"
to fix the build.
2010-04-07 08:56:49 +00:00
wiz
02634ada5c Fix typo, reported by Ryo HAYASAKA in PR 43134. 2010-04-07 07:32:48 +00:00
christos
83fd40ab4d use the m4 define not the cpp one for reject. 2010-04-06 17:39:47 +00:00
joerg
7ca226016f Update for mdocml-1.9.22 2010-04-05 14:23:56 +00:00
joerg
71a7074243 Merge mdocml-1.9.22 2010-04-05 14:22:59 +00:00
joerg
31e1f4e3b0 Import of mdocml-1.9.22:
- Better support for obsolete .Xo/.Xc macros if compiled with -DUGLY
- Support for more roff instructions in the man(7) code
- Correct handling of opening punctuation in macros for mdoc(7)
- Discard more of the pod2man junk
2010-04-05 14:19:28 +00:00
roy
72889e7367 Import dhcpcd-5.2.2 with the following changes:
* Don't send a maximum DHCP message size beyond what we can handle.
* ip_id is now randomized.
* IPTOS_LOWDELAY and IP_DF flags are no longer set.
2010-03-31 09:14:47 +00:00
joerg
cd633b37f3 Update for libarchive 2.8.2 2010-03-30 14:43:06 +00:00
joerg
ccefd0e16a Kill non-existent macros. 2010-03-30 14:13:49 +00:00
joerg
ea34e88ea7 Merge 2010-03-24 20:52:39 +00:00
joerg
0ab1cb6dc1 libfetch-2.31:
PR 43013 by Brook Milligan: fetch(3) violates RFC 1738 for ftp:// URLs
if the home directory is not the root directory.

Remember the current directory the first time a CWD / CDUP has to be
issued. Use the document as full URL if the URL started with two /
(quoted or not), otherwise append it to the initial directory.
2010-03-24 20:51:41 +00:00
joerg
69119b7656 Drop redundant .TP 2010-03-20 20:58:06 +00:00
joerg
3ae1e92ee1 Drop redundant TPs 2010-03-20 20:27:57 +00:00