summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* - 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.
| * | | - Update copyright.lulf2009-01-047-7/+7
| | | |
| * | | - Try to match style(9).lulf2009-01-043-47/+35
| | | | | | | | | | | | | | | | - Remove old comments.
| * | | - Use a LIST to hold branches instead of a STAILQ.lulf2009-01-031-11/+37
| | | | | | | | | | | | | | | | - Sort branches when inserting them.
| * | | - Write out branches with the highest revision number first if they have thelulf2009-01-031-2/+2
| | | | | | | | | | | | | | | | same date.
| * | | - A bit missing from the previous commit. The '@'s from the string token must belulf2009-01-031-0/+4
| | | | | | | | | | | | | | | | stripped before encoding the expansion mode.
| * | | - Add an optimization when parsing rcsfiles when the intention is to only sendlulf2009-01-026-17/+36
| | | | | | | | | | | | | | | | | | | | | | | | details to the cvsup server. The deltatext does not need parsing, and some parts of the rcsfile data structure doesn't need to be set up. - Fix a bug where the RCS expansion mode is not written out.
| * | | - Disable rsync support for now, as it is not fully working.lulf2009-01-021-0/+1
| | | |
| * | | - Fattrs are not used for rsync, so remove unused code.lulf2009-01-021-3/+1
| | | |
| * | | - Check for NULL in case fattr_frompath fails.lulf2009-01-021-1/+1
| | | |
| * | | - Fix a wrong flag check.lulf2008-12-211-1/+1
| | | |
| * | | - Add missing printout information when appending file.lulf2008-12-101-0/+1
| | | | | | | | | | | | | | | | Submitted by: naddy
| * | | - Check return value of the encoded keyword before using it.lulf2008-12-091-4/+8
| | | | | | | | | | | | | | | | Pointed out by: Christian Weisgerber <naddy -at- mips.inka.de>
| * | | A few bugfixes:lulf2008-12-035-47/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Instead of including protocol info in diffs, strip them before adding deltatext and take this into account when applying the diff later. - Don't use strlen when the string in the RCS file may contain garbage. This got caught in the checksumming before, but was not fixed until now. Instead of using strlen, pass the token length when adding log and text entries to a delta. Add an extra length parameter to duptext() to record the token length. - When adding new branches to a file, add them in at the tail instead of the head of the list to get correct ordering when writing out. - Input stream when diffing was opened twice. - Don't expand keywords in diffs between deltas.
| * | | - Print out information about what file that is edited before it is editedlulf2008-12-021-4/+4
| | | | | | | | | | | | | | | | instead of after.
| * | | - Fix a bug where deltas was not sorted on RCS dates _and_ revision number.lulf2008-12-021-1/+1
| | | |
| * | | - Fix a bug in csup where SKIP is not obeyed when sending collectionlulf2008-11-261-0/+2
| | | | | | | | | | | | | | | | information.
| * | | - Make sure comparisons are done on file types as well.lulf2008-11-232-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Handle the case where a repository may have been copied, and the symlinks have not been preserved. CVSup removes the files and creates the symlinks, so enable this behaviour in csup as well. - While there, fix comments and style issues.
| * | | - Add support for reading RCS info from status file to avoid having to detail alulf2008-11-231-20/+79
| | | | | | | | | | | | | | | | file if it is up to date.
| * | | - Refactor some parts of the code and increase code reuse.lulf2008-11-2015-466/+253
| | | | | | | | | | | | | | | | | | | | - Fix a lot of style issues remaining and old debugging output. - Update comments where needed.
| * | | - Add support for 'X' and 'x' commands in CVSup protocol. These commands are notlulf2008-11-201-28/+45
| | | | | | | | | | | | | | | | often used, but were quite simple to implement anyway.
| * | | - Fix build with GNU make.lulf2008-11-205-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | - Fix compiler warnings and symbol overlaps. - Don't build code that is not used yet. - Fix types and format strings.
| * | | - Fix issues that prevented rsync support from working.lulf2008-11-202-2/+2
| | | |
| * | | A few general bugfixes:lulf2008-11-194-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use internal xmalloc instead of malloc. - Include missing header after warnings. - Fix unneeded printouts. - Fix a bug when checking the CO_NORSYNC flag.
| * | | - Fixup the rcs revision comparing to be correct this time.lulf2008-11-191-18/+35
| | | |
OpenPOWER on IntegriCloud