summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* - Add proper error checking and printing to the CVSMode code when reading andlulf2009-03-254-74/+145
| | | | | | | writing from/to streams, as leaving them out stops csup from cleaning up on SIGINT and friends properly. MFC after: 1 week
* - Remember to set umask before setting attributes of RCS file.lulf2009-03-251-0/+1
| | | | | Tested by: dougb MFC after: 2 days
* Merge an important change that I mistakenly left out when merging C99das2009-03-251-1/+3
| | | | | | | inline function support. This should fix instances where gcc spuriously reports the following error: error: nested function 'foo' declared but never defined
* Fixed indentation for LINKTYPE_ENCvanhu2009-03-241-1/+1
| | | | Approved by: gnn(mentor)
* bpf_filter() and bpf_validate() can't live here if they already live inrpaulo2009-03-221-2/+2
| | | | bpf.h
* Remove remaining references to BIOCSETBUFMODE ifdefs. We now haverpaulo2009-03-211-7/+0
| | | | another ifdef for zerocopy bpf.
* Finish merge of zerocopy bpf.rpaulo2009-03-211-156/+0
|
* Merge from vendor/bind9/dist as of the 9.4.3-P2 importdougb2009-03-213-14/+74
|
* Merge libpcap 1.0.0.rpaulo2009-03-21156-10691/+25065
|\
| * Flatten vendor/libpcap and remove keyword expansion.rpaulo2009-03-2097-54701/+0
| |
* | Fix WITHOUT_IPV6=yes build.rpaulo2009-03-211-0/+2
| | | | | | | | Reported by: Andrzej Tobola ato at iem.pw.edu.pl
* | Add Mac OS X stuff.rpaulo2009-03-211-0/+2
| |
* | Add a couple more paths.rpaulo2009-03-211-0/+2
| |
* | Add exclude list for libpcap.rpaulo2009-03-211-0/+3
| |
* | Merge tcpdump 4.0.0 from the vendor branch.rpaulo2009-03-21293-8578/+11822
|\ \
| * | Flatten vendor/tcpdump and remove keyword expansion.rpaulo2009-03-20316-106740/+0
| | |
* | | Fix a path.rpaulo2009-03-211-1/+1
| | |
* | | Exclude list for tcpdump imports.rpaulo2009-03-211-0/+3
| | |
* | | Add some notes and clarify a few sections:dougb2009-03-161-15/+6
| | | | | | | | | | | | | | | | | | | | | | | | 1. Add a note to double-check the man page 2. Remove windows-specific items in the ctrl_interface section 3. Add a note that ap_scan must be set to 1 for use with wlan 4. Clarify the wording for scan_ssid related to APs that hide ssid 5. Clarify the wording for the priority option
* | | Added DLT_ENC to map list, so it is now possiblevanhu2009-03-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | to save dumps on enc0 Reviewed by: gnn(mentor) Obtained from: NETASQ MFC after: 1 week
* | | remove gcc-ism; tsinfo isn't used anywaysam2009-03-151-1/+1
| | |
* | | Make gcc use C99 inline semantics in c99 and gnu99 mode. This was thedas2009-03-146-139/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | original intent, but the functionality wasn't implemented until after gcc 4.2 was released. However, if you compiled a program that would behave differently before and after this change, gcc 4.2 would have warned you; hence, everything currently in the base system is unaffected by this change. This patch also adds additional warnings about certain inline function-related bogosity, e.g., using a static non-const local variable in an inline function. These changes were merged from a snapshot of gcc mainline from March 2007, prior to the GPLv3 switch. I then ran the regression test suite from a more recent gcc snapshot and fixed the important bugs it found. I also squelched the following warning unless -pedantic is specified: foo is static but used in inline function bar which is not static This is consistent with LLVM's behavior, but not consistent with gcc 4.3. Reviewed by: arch@
* | | fix portability; linux does not have sa_len/sun_lensam2009-03-131-7/+13
| | |
* | | Merge r183430 from vendor/top/dist to head/contrib/top, although withrwatson2009-03-101-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | record-only mergeinfo because an automated merge is confused by the flattening that took place: Move install to install-sh to prevent name-clashes. MFC after: 3 days
* | | - Try to handle rcsfile write failures in the same way as cvsup, as they are notlulf2009-03-061-1/+1
| | | | | | | | | | | | | | | necessarily fatal. If the file was incorrectly written, the checksum will detect it and the file will be retransferred.
* | | Remove some unused vendor files.das2009-03-0439-16499/+0
| | |
* | | Update config.h for OpenBSM 1.1 beta1.rwatson2009-03-031-3/+3
| | | | | | | | | | | | MFC after: 1 month
* | | Merge OpenBSM 1.1 beta 1 from OpenBSM vendor branch to head, bothrwatson2009-03-0228-289/+890
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual merge). OpenBSM history for imported revision below for reference. MFC after: 1 month Sponsored by: Apple, Inc. Obtained from: TrustedBSD Project OpenBSM 1.1 beta 1 - The filesz parameter in audit_control(5) now accepts suffixes: 'B' for Bytes, 'K' for Kilobytes, 'M' for Megabytes, and 'G' for Gigabytes. For legacy support no suffix defaults to bytes. - Audit trail log expiration support added. It is configured in audit_control(5) with the expire-after parameter. If there is no expire-after parameter in audit_control(5), the default, then the audit trail files are not expired and removed. See audit_control(5) for more information. - Change defaults in audit_control: warn at 5% rather than 20% free for audit partitions, rotate automatically at 2mb, and set the default policy to cnt,argv rather than cnt so that execve(2) arguments are captured if AUE_EXECVE events are audited. These may provide more usable defaults for many users. - Use au_domain_to_bsm(3) and au_socket_type_to_bsm(3) to convert au_to_socket_ex(3) arguments to BSM format. - Fix error encoding AUT_IPC_PERM tokens.
* | | don't need these any more; we are now using a combined treesam2009-03-02400-165860/+0
| | |
* | | bring in local changes for:sam2009-03-026-4/+102
| | | | | | | | | | | | | | | | | | CONFIG_DEBUG_SYSLOG CONFIG_TERMINATE_ONLASTIF EAP_SERVER
* | | connect vendor wpa area to contribsam2009-03-02435-0/+184156
| | |
* | | Make `less -R' not crash all the time.das2009-02-281-2/+4
| | |
* | | Rename all symbols in libmp(3) to mp_*, just like Solaris.ed2009-02-261-43/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function pow() in libmp(3) clashes with pow(3) in libm. We could rename this single function, but we can just take the same approach as the Solaris folks did, which is to prefix all function names with mp_. libmp(3) isn't really popular nowadays. I suspect not a single application in ports depends on it. There's still a chance, so I've increased the SHLIB_MAJOR and __FreeBSD_version. Reviewed by: deischen, rdivacky
* | | Add an extra (void *) cast. The struct if_msghdr has an 8 byteimp2009-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | alignment requirement, while rt_msghdr has a 4 byte alignment requirement. The root cause is that if_msghdr has an struct if_data which has an 8-byte alignment requirement due to a time_t that's embedded in it. On MIPS, time_t is a 64-bit number, so must be 64-bit aligned. Since we don't access ifm_data.ifi_epoch, a simple cast is all that's necessary here. It is likely the case that ifi_epoch should *NOT* be a time_t because it is an uptime (time delta) an not an absolute time since 1970. u_long is likely sufficient there since that gives an uptime of 136 years will suffice for the foreseeable future.
* | | Don't try to auto-detect dynamic linking; it fails on mips. The Makefiledes2009-02-172-17/+23
| | | | | | | | | | | | | | | | | | part of the patch is an ugly (and hopefully temporary) hack. Discussed with: imp@
* | | Correctly scrub telnetd's environment.cperciva2009-02-161-4/+19
| | | | | | | | | | | | | | | Approved by: so (cperciva) Security: FreeBSD-SA-09:05.telnetd
* | | - Do not free the pattern lists immediately after use, as they might be neededlulf2009-02-151-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | again in case the connection is interrupted and csup have to reconnect. The lists will be freed after the collection has been completely processed. PR: bin/131477 Tested by: dchagin
* | | - Fix an issue where file attributes were not installed correctly during a Touchlulf2009-02-091-1/+3
| | | | | | | | | | | | | | | and SetAttrs operation. - SetAttrs and Touch were incorrectly switched.
* | | - Remove non-existing referencegabor2009-01-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Fix trailing comma PR: docs/85118 Submitted by: vs MFC after: 3 days
* | | Vendor import of gdtoa 20081205.das2009-01-2831-147/+1899
|\ \ \
| * | | Flatten vendor/gdtoa/*.das2008-09-0385-24820/+0
| | | |
* | | | update to 0.5.11: some useful bug fixes (check ChangeLog)sam2009-01-2742-163/+378
| | | | | | | | | | | | | | | | | | | | Submitted by: scf MFC after: 3 weeks
* | | | Document the "-U" option. While it is not part of thetrhodes2009-01-222-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getopt(), it is accepted through smb_ctx_init() in lib/smb/ctx.c. PR: 117013 Submitted by: Tom Evans <tevans.uk@googlemail.com> (original version)
* | | | Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, bothrwatson2009-01-1493-496/+1665
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual merge). Hook up bsm_domain.c and bsm_socket_type.c to the libbsm build along with man pages, add audit_bsm_domain.c and audit_bsm_socket_type.c to the kernel environment. OpenBSM history for imported revisions below for reference. MFC after: 1 month Sponsored by: Apple Inc. Obtained from: TrustedBSD Project OpenBSM 1.1 alpha 5 - Stub libauditd(3) man page added. - All BSM error number constants with BSM_ERRNO_. - Interfaces to convert between local and BSM socket types and protocol families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3), au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions of constants in audit_domain.h and audit_socket_type.h. This improves interoperability by converting local constant spaces, which vary by OS, to and from Solaris constants (where available) or OpenBSM constants for protocol domains not present in Solaris (a fair number). These routines should be used when generating and interpreting extended socket tokens. - Fix build warnings with full gcc warnings enabled on most supported platforms. - Don't compile error strings into bsm_errno.c when building it in the kernel environment. - When started by launchd, use the label com.apple.auditd rather than org.trustedbsd.auditd.
* | | | | Correct ntpd(8) cryptographic signature bypass [SA-09:04].simon2009-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct BIND DNSSEC incorrect checks for malformed signatures [SA-09:04]. Security: FreeBSD-SA-09:03.ntpd Security: FreeBSD-SA-09:04.bind Obtained from: ISC [SA-09:04] Approved by: so (simon)
* | | | | Merge from vendor/bind9/dist as of the 9.4.3-P1 importdougb2009-01-096-12/+19
| | | | |
* | | | | Prevent cross-site forgery attacks on lukemftpd(8) due to splittingsimon2009-01-073-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | long commands into multiple requests. [09:01] Fix incorrect OpenSSL checks for malformed signatures due to invalid check of return value from EVP_VerifyFinal(), DSA_verify, and DSA_do_verify. [09:02] Security: FreeBSD-SA-09:01.lukemftpd Security: FreeBSD-SA-09:02.openssl Obtained from: NetBSD [SA-09:01] Obtained from: OpenSSL Project [SA-09:02] Approved by: so (simon)
* | | | | - Update manpage now that cvs mode is supported.lulf2009-01-071-2/+0
| | | | |
* | | | | Merge support for CVSMode (aka. mirror mode) into csup. This means csup can nowlulf2009-01-0530-82/+6807
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fetch a complete CVS repository. Support for rsync update of regular files are also included, but are not yet enabled. The change should not have an impact on existing csup usage, as little of the existing code has changed.
| * | | | | - Sort children branches by revision number rather than by date since a few RCSlulf2009-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | files have the wrong date.
OpenPOWER on IntegriCloud