Commit Graph

1491 Commits

Author SHA1 Message Date
joerg d0ff209a7d Import libarchive-2.4.13.
Major new features:
- work-in-progress cpio frontend
- much less data copying when handling uncompressed archives
- fix bugs for handling very large archives
- support for more zip archives and some of the self-extracting ones
2008-02-26 14:46:02 +00:00
mellon 3265aaf1d6 Get rid of a spurious dereference in DHCPRELEASE. 2008-02-26 05:03:29 +00:00
lukem 5c77352330 Fix a groff warning.
Whilst here, improve the markup somewhat.
2008-02-26 00:09:38 +00:00
joerg fdea345c9b pkg_install-20080223 2008-02-22 22:16:37 +00:00
joerg e30cd2c074 pkg_install-20080222 2008-02-22 16:14:57 +00:00
matt c27877a59b progname is const char *, not char * 2008-02-20 18:24:22 +00:00
matt 05ec472001 constify a few arrays 2008-02-20 18:23:50 +00:00
matt 273fa51a4d progname is defined as const char *, not char * 2008-02-20 18:21:39 +00:00
matt e0eafe6e38 infile is const char *, not char * 2008-02-20 18:20:21 +00:00
matt ccfd1d4480 errbuf is [], not *. 2008-02-20 18:19:18 +00:00
matt cd1870ce29 Make hostapd_drivers const. 2008-02-20 18:17:53 +00:00
matt 28dacb0e3a Fix a new bugs that -combine found 2008-02-20 18:16:09 +00:00
ragge 9c40de1cfe PCC 0.9.9-080210 2008-02-10 20:04:50 +00:00
joerg d32599e755 Import pkg_install-20080208 2008-02-07 23:42:16 +00:00
agc 5025457bc5 Update the autoconf glue to version 20080207 of the portable NetBSD
iSCSI initiator and target.
2008-02-07 19:12:26 +00:00
agc c00abf65a9 Changes to make the iSCSI initiator have a chance of building on
other platforms - include ${PREFIX}/include when compiling, and
${PREFIX}/lib when linking.

Fill out the dependency information correctly.
2008-02-07 19:10:52 +00:00
agc 02806300b2 If we're doing discovery, and the TSIH cannot be found, set it to
the disk number held in the session parameters - avoid using a negative
index to the array of target disks.
2008-02-07 19:09:02 +00:00
joerg 54735ec484 Merge commit 8c0dad4904474016c373573414c8e16ba51e88ad from upstream:
Fixed EAPOL not to end up in infinite loop with dynamic WEP keys
2008-02-06 18:30:47 +00:00
jmmv f2a0ff428b Remove files that disappeared in atf-0.4. 2008-02-04 20:26:03 +00:00
jmmv f6f54bd63a Import of ATF 0.4
Changes in this release:

* Added two new manual pages, atf-c++-api and atf-sh-api, describing the
  C++ and POSIX shell interfaces used to write test programs.

* Added a pkg-config file, useful to get the flags to build against the
  C++ library or to easily detect the presence of ATF.

* Added a way for test cases to require a specific architecture and/or
  machine type through the new 'require.arch' and 'require.machine'
  meta-data properties, respectively.

* Added the 'timeout' property to test cases, useful to set an upper-bound
  limit for the test's run time and thus prevent global test program stalls
  due to the test case's misbehavior.

* Added the atf-exec(1) internal utility, used to execute a command after
  changing the process group it belongs to.

* Added the atf-killpg(1) internal utility, used to kill process groups.

* Multiple portability fixes.  Of special interest, full support for SunOS
  (Solaris Express Developer Edition 2007/09) using the Sun Studio 12 C++
  compiler.

* Fixed a serious bug that prevented atf-run(1) from working at all under
  Fedora 8 x86_64.  Due to the nature of the bug, other platforms were
  likely affected too.
2008-02-04 20:21:48 +00:00
joerg 777b7d39b8 pkg_install-20080202 2008-02-03 21:21:30 +00:00
mrg 313548c7c8 fix a MKCRYPTO=no bug - default_memalloc()/default_memfree() are
defined static but not used.
2008-02-03 04:07:34 +00:00
christos a94d934365 Remove __PIC__ because on mips __PIC__ is used to indicate that the pic abi
is used, and it is set even in the absence of -fpic or -fPIC. Thanks to
tsutsui@ for the explanation.
2008-01-31 20:07:46 +00:00
joerg 7a9167c057 pkg_install-20080126 2008-01-27 14:11:27 +00:00
christos ce19c44682 merge conflicts. Unfortunately openpam changed from $P4 -> $Id so there will
be RCS screwage in the next import.
2008-01-27 01:22:55 +00:00
christos 70f2fdca0b from www.openpam.org 2008-01-27 00:54:36 +00:00
christos 550ce95799 Moved to dist/wpa since now hostapd and wpa_supplicant share a lot of code. 2008-01-26 21:55:00 +00:00
christos 648919655f Bring in our patches. 2008-01-26 21:47:23 +00:00
christos 97277a1a6d mention how to upgrade. 2008-01-26 21:46:03 +00:00
christos 0c6f1a5abe Import hostapd 2008-01-26 21:42:09 +00:00
christos 71731f44f8 Import new wpa_supplicant code 2008-01-26 21:38:31 +00:00
dyoung 099d1a6a37 #include <stdbool.h> for bool, instead of typedeffing our own. 2008-01-21 20:47:38 +00:00
christos 0f85ac800d Fix segmentation fault with printf("%*"); from Jukka Salmi 2008-01-21 17:18:06 +00:00
christos 4e783482fa Fix off-by-one buffer overflow. VU#203611, CVE-2008-0122 2008-01-18 16:20:57 +00:00
agc d77f56d46b Add documentation on setting up the iSCSI target, and on how to use the
NetBSD iSCSI initiator together with cgd to provide encrypted iSCSI
storage.
2008-01-06 11:00:49 +00:00
agc cbc63dde2a Thanks to Mark Foster for the reference to the Wiki page where he tracks
the interoperation between the NetBSD iSCSI target and the Linux
open-iscsi initiator.

Add details about inter-operation with the NetBSD iSCSI initiator.

Add dates to all entries.

Add last updated date to the COMPATIBILITY file.
2007-12-24 15:48:40 +00:00
joerg 39ac827c19 Import pkg_install-20071224 2007-12-24 00:03:04 +00:00
agc bfdff00bed Regenerate autoconf files for the portable version 2007-12-21 13:06:03 +00:00
agc 7683937c60 Peter Eisch: CentOS lacks strlcat(3), so use snprintf(3) to crack the
nut.
2007-12-20 23:17:05 +00:00
agc daa7a94cfb When defining extents, the new keyword "size" can be used in the place
of the physical size of the regular file. This is useful for presenting
ISO images to initiators, as in the following:

	In /etc/iscsi/targets:
	# present an ISO image
	extent2         /usr/sets/20071214/release/iso/i386cd.iso 0 size
	target2         ro      extent2         any

	% priv /etc/rc.d/iscsi_target restart
	Stopping iscsi_target.
	Starting iscsi_target.
	Reading configuration from `/etc/iscsi/targets'
	target0:rw:any
		extent0:/tmp/iscsi-target0:0:104857600
	target1:rw:any
		extent1:/tmp/iscsi-target1:0:52428800
	target2:ro:any
		extent2:/usr/sets/20071214/release/iso/i386cd.iso:0:354906112
	DISK: 1 logical unit (204800 blocks, 512 bytes/block), type iscsi fs
	DISK: LUN 0: 100 MB disk storage for "target0"
	DISK: 1 logical unit (102400 blocks, 512 bytes/block), type iscsi fs
	DISK: LUN 0: 50 MB disk storage for "target1"
	DISK: 1 logical unit (693176 blocks, 512 bytes/block), type iscsi fs
	DISK: LUN 0: 338 MB readonly disk storage for "target2"
	TARGET: TargetName is iqn.1994-04.org.netbsd.iscsi-target
	%

Please note that the NetBSD initiator can mount (via vnd) an iSCSI target
presented in this manner. The Microsoft iSCSI initiator sees the read-only
target as a normal SCSI disk, and fails (not surprisingly) to initialize
the disk. It's now possible to make ISO images available via iSCSI, and
NetBSD will DTRT.

In read-only targets, don't attempt to seek to the last block and rewrite
it, it may not work.

Don't assign 8 MB of unused space for use in each iSCSI disk - just use
1MB, which will be enough for the scatter gather iovecs.

Get rid of some dead code.
2007-12-18 20:31:50 +00:00
agc f327aec7bc Update portable version of the iSCSI software to 20071218, to
include various minor build fixes.
2007-12-18 11:19:06 +00:00
agc bb94308fd7 Pre-define HAVE_CONFIG_H for the portable autoconf-ed version as well. 2007-12-17 12:29:05 +00:00
agc 1e49aaff48 clean up a dependency on a file which has been removed 2007-12-17 12:05:35 +00:00
agc 8d29cd66d3 Do some rudimentary bounds checking on arguments passed in from
external functions.
2007-12-11 19:57:58 +00:00
agc 75a8f5acf1 Bump the number of targets that the initiator can handle to 16 (from 1). 2007-12-11 08:49:12 +00:00
lukem 49c8589969 Also escape $Header tags. 2007-12-11 03:34:59 +00:00
agc 87c66df218 Remove a debug printf from the initiator code now that we have a real
discovery mode in the initiator.
2007-12-10 23:06:45 +00:00
agc a3d56a1b30 Update to version 20071209, to include new initiator "discovery only"
option, the iqn alias configuration option, and the different md5
routines which are being used.
2007-12-09 09:38:48 +00:00
agc 7d25996b8b Add prototypes for initiator_get_targets() and initiator_set_target_name(). 2007-12-09 09:33:35 +00:00
agc 4ed8885f3b Move the iSCSI code over to use the endian neutral md5 code,
originally from Poul-Henning Kamp, as found in pkgsrc/pkgtools/digest.
This should address some of the MD5 problems that are being seen on
some hosts at login time.

Re-run autoconf, autoheader and configure.
2007-12-09 09:21:03 +00:00