Commit graph

43 commits

Author SHA1 Message Date
agc
23064a80b9 Add SHA512 digests for distfiles for misc category
Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:49:31 +00:00
gson
1112ddad28 Update misc/py-anita to 1.38. Changes from 1.37:
Deal with the sysinst message changes of 2015-04-30.

When halting the VM, don't quit as soon as the text "halted" is seen,
because it may be part the message "halted by root", which is printed
before disks have been synced.  Instead look for "The operating system
has halted", EOF, or a timeout.
2015-05-02 07:54:11 +00:00
gson
33336d1429 Update misc/py-anita to 1.37. Changes from 1.36:
The global test() function is no longer supported, use the run_tests()
method of the Anita object instead.

When halting the VM, do not attempt to log in if already logged in.

Make the distinctive shell prompts different from one invocation of
anita to another, so that anita can run itself recursively on the VM
without the outer instance mistaking a shell prompt from an inner
instance for one of its own.
2015-03-05 13:13:25 +00:00
gson
d03121eabf Update misc/py-anita to 1.36.
The previous commit message accidentally contained the changes from
1.35 to 1.36 rather than those from 1.34 to 1.35.  The changes from
1.34 to 1.35  were:

Support Linux host systems that have genisoimage but not mkisofs, such
as Debian 7.

New command line option --run-timeout.
2015-03-03 14:45:10 +00:00
gson
ee9ff618a8 Update misc/py-anita to 1.35. Changes from 1.34:
When running a shell command, wrap the exit status in distictive text
so that it can be reliably matched in the presence of buffered output
containing other numeric strings.

Halt the VM when done.

Print the qemu command.
2015-03-03 14:26:00 +00:00
gson
16ed8937cd Update misc/py-anita to 1.34. Changes from 1.33:
Do not require releases to contain install floppies, since amd64 no
longer has them.

The default value of the --boot-from option is now "cdrom" if the
install floppies are missing.

When reporting a failed download of optional files, be clearer that
this is not an error.  Also, don't treat arbitrary exceptions during
downloads as indicating a missing file, only the expected IOError.

Increase the default disk size from 768M to 1G, as 768M is no
longer sufficient for amd64.

New command line option --structured-log-file.  This is like
--structured-log but takes the name of a log file as an
argument, and the structured logging is in addition to, not
instead of, the traditional logging to stdout.

Increase installation timeout from 1 hour to 3 hours so that
a system built with DEBUG and LOCKDEBUG can be installed under
qemu without timing out.

Unconditionally print a greeting message including the version number
of startup, so that logs from automated anita runs will always
indicate the version used.

In --structured-log mode, log the string matched by expect() instead
of the return value, as the latter is always zero and therefore
conveys no useful information.
2015-01-13 14:07:37 +00:00
gson
774f5938c1 Update misc/py-anita to 1.33. Changes from 1.32:
Support recent versions of sysinst (CVS date 2014.08.03.16.09.38 or
newer), where set selection happens after disk partitioning rather
than before.

Document qemu 2.0.0nb4 as a known working version.

New command line option --structured-log.
2014-08-04 19:26:06 +00:00
gson
f2ad6c139b Update comment to note that qemu 2.0.0nb4 or newer should work. 2014-07-22 18:18:43 +00:00
gdt
408ebcd3de Convert qemu-0 and qemu options to an optional group.
No functional change intended; this merely uses
PKG_OPTIONS_OPTIONAL_GROUPS to choose qemu-0 vs qemu.
(Pointed out by wiz@.)
2014-05-21 12:19:12 +00:00
gdt
dedabc77a4 Add options for qemu and xen, and disable all by default.
Before, anita depended on qemu0 or qemu.  Now, it has options for
qemu-0, qemu (currently 2) and xen (currently 4.1).  By default, all
are off because all of them are quite large and they need only be
present at run time.

Discussed with gson@, who did not object.
2014-05-20 18:06:07 +00:00
wiz
c1b44346cd Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
2014-05-09 07:36:53 +00:00
gson
a4529e92a1 Update misc/py-anita to 1.32. Changes from 1.31:
Fix installation of source and debug sets, which had been broken since
the label displayed by sysinst was changed from "Source sets" to
"Source and debug sets".
2014-02-19 10:23:33 +00:00
wiz
aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00
wiz
31405f136b Fix DEPENDS pattern. 2014-01-16 13:48:26 +00:00
martin
7509b0fdce Ooops, copy & pasto: remove bogus lua dependency 2014-01-15 19:28:11 +00:00
martin
6254e9031d Make the dependency on qemu or qemu-0 selectable via an option (defaulting
to qemu-0)
2014-01-15 19:05:34 +00:00
gson
952311f384 Update misc/py-anita to 1.31. Changes from 1.30:
Fix a failure to consume a shell prompt which would cause it to remain
buffered and later be mistaken for one that had not yet issued.  For
added protection, add a unique serial number to each prompt.

Omit drive index from qemu command line for backwards compatibility
with scripts written for anita 1.29 or older.

Fix X11 set names.
2013-10-03 19:22:57 +00:00
gdt
22406b4e34 Add a note about qemu version, pointing to the man page.
This is a comment-only change.
2013-06-17 20:13:37 +00:00
gson
a8452f858a Update misc/py-anita to 1.30. Changes from 1.29:
Increase the default timeout for running the NetBSD test
  suite from 2 hours to 3 hours.

  Add support for installing the new "debug" set, and add a new
  man page section on using anita for debugging NetBSD.

  Organize the BUGS section of the man page into sections,
  and add links to four more qemu 1.x regressions.

  Add Kuya support, based on patch from Julio Merino.

  New command line option "--version".

  Support booting i386 and amd64 from boot-com.iso instead
  of the boot floppies, attaching a second virtual CD-ROM drive
  for the install sets.  Enable with "--boot-from cdrom".

  Fix the Anita 1.2 backwards compatibility Release class.

Also, satisfy the qemu dependency using emulators/qemu0 rather
than emulators/qemu because the latter does not work on NetBSD 5.
2013-04-23 17:16:45 +00:00
asau
9912a3809d Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 09:57:15 +00:00
gson
24033661ee Update misc/py-anita to 1.29. Changes from 1.27:
The "xl" Xen interface can now be selected with "--vmm xl".

Increase the default memory size for amd64 to 128M.

Improve progress messages when creating the disk image.

When execing /bin/sh, wait for its prompt before sending
it a command.
2012-10-02 14:52:28 +00:00
gson
f2fd600e04 Update misc/py-anita to 1.27. Changes from 1.26:
Run shell commands on the target system using /bin/sh rather
than root's login shell, as sysinst no longer sets the login
shell to /bin/sh by default.
2012-04-10 13:23:58 +00:00
wiz
c595076396 All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
2012-04-08 20:21:41 +00:00
gson
c0d096f2dd Updated misc/py-anita to 1.26. Changes since 1.25:
Track the sysinst changes of 2012-04-06 introducing the new
post-install configuration menu.

Print a message before creating the disk image, as it can take
a long time and make it appear that anita has hung.
2012-04-08 18:23:15 +00:00
gson
9bbe5b09f0 Update misc/py-anita to 1.25. Changes from 1.24:
Before running a shell command on the system under test, change the
shell prompt to a more distinctive one to reduce the risk of command
output being mistaken for a prompt.

Support installing SPARC ISOs having a non-numeric suffix following
the version number, such as NetBSD-6.0_BETA-sparc.iso.

Added experimental support for using Xen instead of qemu as the
virtual machine monitor.  This is enabled by specifying "--vmm xen" on
the anita command line while running as root in a Xen dom0.

New command line option "--persist".
2012-03-13 09:21:33 +00:00
obache
5de8a2d352 * no need to buildlink with py-pexpect, simple DEPENDS is sufficient.
* sort Make blocks
* any of compiler languages are not required to build.
* distutils pkg, switch to use distutils.mk.

Bump PKGREVISION.
2012-01-28 08:43:05 +00:00
gson
c2ff020f8e Update misc/py-anita to 1.24. Changes from 1.23:
Support the new distribution ISO naming scheme, e.g.,
NetBSD-5.99.60-sparc.iso instead of sparccd.iso.

Support installation of the X11 and source sets.

On unknown platforms, use mkisofs instead of genisoimage.

On sparc, the scratch disk is sd1c, not wd1d.

Allow a full hour for extracting sets.

Deal with the backwards incompatible renaming of "qemu" to
"qemu-system-i386" in qemu 1.0.

After running the ATF tests, run "ps" to show any processes possibly
left running by the tests.
2012-01-21 16:53:14 +00:00
gson
1ccbae5421 Update misc/py-anita to 1.23. Changes since 1.21:
Support qemu 0.15, where the output of the "info block" monitor
command has backwards-incompatibly changed to no longer include a
"type" field.

New command line option "--memory-size".
2011-09-05 14:47:54 +00:00
gson
10da3c115b Update misc/py-anita from 1.18 to 1.21. Changes:
Add a LICENSE definition to the package makefile.

- 1.21 released -

Disk images no longer contain holes, making them easier to use with
vnd(4).  Partially based on patch from Vladimir Kirillov.

Increase the default disk size from 512M to 768M, as 512M is no longer
sufficient for amd64.

- 1.20 released -

Run df before and after the ATF tests so that disk usage data
can be gathered from the test logs.

Increase the default timeout for the ATF test from 1 hour to 2 hours
as the number of tests has now increased to a point where 1 hour is
not always enough even on a fast machine.

Increase the timeout for the set extraction phase from 1200 to 2400
seconds; the extra time is needed when installing a system built
without optimization.

- 1.19 released -

Rename the --qemu-args option to --vmm-args in preparation for adding
support for other virtual machine monitors in addition to qemu.

Fix typos found by Antti Kantee and Jean-Yves Migeon.

Deprecate the --qemu-args -no-kvm-irqchip workaround, as it doesn't
quite work.

Add support for MacOS X hosts, from Jeff Rizzo.

New command line option "--test-timeout".

Deal with yet another seemingly nondeterministic "Press enter to
continue" prompt.
2011-08-21 13:09:51 +00:00
gson
018660120e Update misc/py-anita to 1.18. Changes from 1.17:
Deal with sysinst no longer asking for a password cipher.

Create the work directory in "test" mode so that it works without
running "install" first.

Fix incorrect description of the --workdir option in the man page, and
consistently use the term "work directory" throughout.

Reorganized the man page, adding a MODES section.

New mode "print-workdir".

Fix installation of historical versions of -current around
CVS date 2009.08.23.20.57.40.
2010-12-04 19:43:37 +00:00
gson
3f5a7d7080 Update misc/py-anita from 1.15 to 1.17. Changes:
Update the discussion of Linux KVM virtualization compatibility in the
BUGS section, noting the --qemu-args -no-kvm-irqchip workaround and
including a reference to PR 44069.

New command line option "--sets".

Add a rudimentary INSTALL file.

The "misc" set is now installed by default, as it is required for
the ATF XML DTD, XSL files, and style sheets.

The "test" command now exports the raw and XML format ATF output
to the host, along with some auxiliary files needed for further
processing of the XML output.

Add support for FreeBSD hosts, from Kurt Lidl.
2010-11-25 14:44:20 +00:00
gson
9ef8420917 Update misc/py-anita to 1.15. Changes from 1.14:
Increase the timeout for "--run" commands to one hour.

Restrict snapshotting to the system disk, so that additional disks
mounted for the purpose of exporting data can be persistently
modified.
2010-09-10 10:35:48 +00:00
gson
80c9a342b8 Update misc/py-anita to 1.14. Changes since 1.13:
Increase the maximum number of boot floppies, as four is no longer
enough for amd64.

New command line option "--run".

Handle the additional dialogs displayed by sysinst when an
i386 or amd64 system has more than one disk.

Add the words "OR CONTRIBUTORS" to the disclaimer of liabilities
in the copyright notice.
2010-09-07 19:08:19 +00:00
gson
4624ac0209 Update misc/py-anita to 1.13. Changes from 1.12:
When installing NetBSD/sparc, use a terminal type of "xterm" rather
than "sun", as anita is more likely run from an xterm or other
ANSI-like terminal than from a sun console.

In the BUGS section of the man page, mention the specific NetBSD ports
affected.

Fix typos in the man page.
2010-08-30 14:42:27 +00:00
gson
6f072ffe6f Update misc/py-anita to 1.12. Changes from 1.11:
Add support for the amd64 and sparc ports as targets.

Improve error reporting for common types of unsuitable URLs.

Avoid sending multiple responses when the NetBSD 3.0.1 sysinst
updates the menu display multiple times.

New command line option "--disk-size".
2010-08-28 15:21:09 +00:00
pooka
4e39d40c2a Update qemu dependecy to 0.12.3nb2, since earlier versions contain
a bug which causes fork from a threaded program to deadlock (this
is exercised heavily by the tests executed by "anita test").
2010-08-02 14:30:36 +00:00
gson
1c14611b31 Update misc/py-anita to 1.11. Change since 1.10:
Remove '-serial stdio' from qemu argument list.  It's not actually
needed when the '-nographic' option is present, and it confuses
qemu 0.12.
2010-04-13 12:22:27 +00:00
gson
5602d3347c Update misc/py-anita to 1.10. Changes since 1.9:
Deal with recent sysinst changes: sysinst no longer displays a dialog
to select the CD-ROM device path, etc.

New command line option "--qemu-args".

Anita no longer passes the "-no-acpi" option to qemu by default,
because the ACPI case now works with -current, and disabling
ACPI triggers other bugs.  See PR port-i386/42681 for more details.
2010-04-10 18:33:46 +00:00
gson
91e1c11261 Updated during the freeze to address open PR pkg/42562.
Changes since version 1.8:

Deal with recent renumbering of password encryption choices in sysinst.
2010-01-02 11:07:26 +00:00
gson
b5eaea1772 Update misc/py-anita to 1.8.
Changes from 1.6:

Increase timeouts, particularly when extracting sets and running the
ATF tests

Remove workaround for lib/39175, as it broke the installation
of the "comp" set

Add a new command "test" for running the ATF tests

Accept a local distribution directory path in place of a URL

Check for missing slash at end of distribution directory URL

Detect HTTP 404 errors
2009-10-13 08:14:34 +00:00
gson
2e4e9fad69 PLIST was missing man/man1/anita.1 2009-09-14 19:21:38 +00:00
gson
3c454e4111 Update misc/py-anita to 1.6. Changes since 1.5: support the new "modules" set. 2009-09-13 10:14:51 +00:00
gson
c0d5b9b90b Anita is an experimental tool for automated testing of the NetBSD/i386
installation procedure.  Using anita, you can fully automate the
process of downloading a NetBSD/i386 distribution, installing it in a
qemu virtual machine, and booting the installed system.
2009-09-11 11:51:52 +00:00