MidnightBSD 0.7.9
Create 0.7 stable branch.
add subdirectory to include path for telnet
set warns 6
whitespace
list locks
free memory
print out something if the package does not exist in the index. This can happen if a newer blessed magus run does not contain a package due to removal or failure.
free memory originally pointed at
if we cant find the package in the index, its probably not currently available in the package system. mention that to the user
use the mport version compare to check for os updates on packages instead
change the load detection to take into account the number of cpus in the system for atrun
link against pthread
midnightbsd
midnightbsd
save and free pw_class like all other char members of struct passwd. This fixes "login_getclass: unknown class" errors.
teach mport create about cpe
change the behavior of check if older to allow for upgrades based on old os versions
Change formatting for regular list and updates list to use consistent spacing. it is easier to read. Also, fix a bug with update detection that was causing os version checking to be incorrect
update entropy from freebsd 9.2 version
makekey is deprecated
fix a bug where we show the osversion always.. fat fingers
allow verbose to show os version for -u flag.
osrelease is public now
whitespace
include os release information
remove cvs2svn prop
reset props for svn keywords
revert clang change
make error handling easier to deal with
whitespace
freebsd brand
fix taging
tag & sync with freebsd
remove unused drivers. sync several features with freebsd 9 stable
oops.. can't conditionalize inet6 without bsd.own.mk
sync with freebsd 9
bring in tftpd source from freebsd 9
fix build on current
warns
make compilers happy
make clang happy
clarify parens, fix man reference and set warns level
set warns level
mark unused params and set warns level
utmpx
add warns level
bring in changes from freebsd 9-stable
port to current
set warns
fix casts
set warns level & handle cast intelligently
set warns level & fix typo
update for new terminal environment
wtmpx
add debug option
sync with freebsd 9 stable
ansify
Fix type mismatch with the header. Probably after switching to ANSI C style declarations.
shut up gcc
mark unused
oops
tag
tag and fixup some usage() functions
merge use of sysctl from freebsd, removing dependancy on kvm
add utf8 filenames and support for FEATURE command. Obtained from: FreeBSD
whitespace cleanup
old style
Introduce support for preinit, init and fini arrays per the ELF standard. This patch is based on work by John Marino for DragonFly. This makes us the second BSD to support this feature. From his comments: For the main executable file, the .init_array and .fini_array sections are handled by crt1, just like .init and .fini are. In the case of a statically linked binary, the .preinit_array section is also handled by crt1. The real-time linker handles the .init_array and .fini_array sections for dynamically shared objects (libraries) and .preinit_array for dynamically-linked binaries. There are no .preinit_array sections in the DSOs per standard. These sections are described by the System V Application Binary Interface http://www.sco.com/developers/gabi/latest/ch4.sheader.html#special_sections In order for this patch to work, we also introduced several items from NetBSD needed for newer versions of GCC as well as some features used in this patch. (cdefs.h) Finally, we're also through in manpages for cpu set which is totally unrelated, but an obmission from a previous patch for ULE.
fix security hole in ftpd/libc/
fix indenting
we've got a long way to go before the new release building structure is in place.
get rid of compiler warning stopping the build
no ssp
use c99
Give distinct error codes for package fails vs mport init problems.. This may help us track down some edge cases.
call usage when there are no arguments.
until we change how loops are handled, allow the full text index to get generated even if certain errors occur with the initial index.
improve error messages.
add some basic error reporting.
libz and sqlite
disable debugging.
don't allow indexer to run as root
connect msearch.index to build.
ok i botched this. add the getopt and else if ffor the tflag.
add tflag to only update the fulltext index.
add code to index fulltext
add -r to delete the database.. "reset". Until we can prune this will help with reindexing.
allow indexer to take a path as an argument and if no arguments are given, default to indexing /
Start of indexer for msearch.
midnightbsdize this
fix issues found with static analysis
fix garbage operand
we don't need this
fix a few minor issues as seen with clang static analyzer
fix minor bug
Doh. unexpand modified the text in the middle of the license even though -a wasn't specified.
style(9)
style(9) cleanup
Change prototype, warns 6
fclose is often used when fopen is used.
fix usage
exit call is redundant and not reached.
Cleanly free up the mport instance
minor format tweaks.
Fix segfault when arguments are incorrect. Fix usage
whitespace fix as seen on tinderbox
Add mport.fetch, a package fetching app. Input is a package name which is then looked up in the mport index.
Fix version check so that it retuns outdated packages
get picky
bug fix.
Add -u to list packages that need updating.
turn off diagnostic messages.
let's deal with errors.
Format strings are your friends.
Free memory when using malloc. use nline when it's created.
remove debugging
debug code for testing port problems.
remove -o flag.. we don't really need it
add mport.info utility. It works similar to mport.list except it's for single ports instead of all of them. Specifically it implements something comparable to pkg_info -qO origin right now.
free mport instance before shutdown
Add pam support, Obtained from: FreeBSD 9-CURRENT
Add some new functions to the primitive. FreeBSD pkg_info offers some variations on output including pkg_info -aoq which outputs the origin with newlines such as archivers/zip and pkg_info -ao which outputs a long format of the form Information for portname-version: Origin: archivers/zip We're implementing a similar format for future use/compatibility in the mports Mk files to optimize checking for installed packages (Dependencies) We didn't bother with a since this primitive always lists all by default.
Remove all debugging settings. We don't want production code to do this.
Add a third party public domain string replace function to correctly deal with the case where mports contain a + in the name zipios++ fails fake do to the regular expression dying on +. We may need to handle other special charactes if they come up in port names. I haven't seen any to date.
close db
free on close
free on error
close db cleanly
likewise free db on mport.delete errors.
If we have an error during install, make sure we close the db cleanly.
Now there are three outputs. The default shows you versions, -q does not and -v shows versions as well as comments similar to pkg_info's default output. I chose to use a tab character to separate comments from versions.
on second thought, let's make the output a little more like pkg_info
list all currently installed mports.
Temporary fix for a local root exploit.
Import OpenBSD's sysctl sensors framework. This is based on work by Constantine A. Murenin for the 2007 Google summer of code for FreeBSD. Includes: sample config file for sensord rc scripts documentation fixes and updates sys/kern/kern_sensors.c sys/sensors.h This is compatible with OpenBSD 4.1 and 4.2 in terms of the userland bits.
After some consideration, it makes no sense to include two ftp daemons in the base system for a desktop os. That can be in mports
*** empty log message ***
Part 2 of the mport tools update
connect mport tools
remove objects
remove objects.
sync libmport libexecs with devel version.
Remove unsupported arch
Merge
This commit was generated by cvs2svn to compensate for changes in r2109, which included commits to RCS files with non-trunk default branches.
$MidnightBSD$
Where is xterm :)
*** empty log message ***
Don't split large commands into multiple commands on a 512-byte boundary but just fail on them. This prevents CSRF-like attacks, when a web browser is used to access an ftp server. Reported to OpenBSD by Maksymilian Arciemowicz <cxib@securityreason.com> Also includes a command "500 Command too long" as part of a revised patch by Luk e Mewburn. http://web.nvd.nist.gov/view/vuln/detail;jsessionid=df97c3e18c5c787b6c316f886ad5 ?execution=e1s1 CVE-2008-4247
add mport.query tool.
Die with usage if not passed a package.
Add mport.check-fake binary.
Exit gracefully if no matching packages where found.
Add libexec/mport.delete
Sync with the current version of libmport.
Add /usr/libexec/mport.version_cmp
Add the mport.install libexec binary.
Add usage and some basic argument checking.
Remove depend on libpthread, as it is no longer needed.
Moved parselist to libmport.
mport.create hook binary. This is basically complete, but needs some input checking, a usage function, and a manpage.
Add a cast to our previous fix.
Forced commit to add this relates to FreeBSD threads/112297
A memory leak was reported. When an application uses a large number of threads, memory appears to be leaked. (clamav for instance) free_tls does not free all memory in dtv which is allocated earlier by calloc. The function appears to use a very carefully constructed free loop. There could be side effects to this patch. Test and MFC after 1 month. Reported by Spencer Minear to the FreeBSD project.
Slight update to set default hostname for those who, like the Guy in the Red Shirt, are forsaken because they did not set a hostname.
Reduce needless DNS query by lookup only appropriate address family. Specify appropraite hints to getaddrinfo(3). Obtain address family from peername in inetd mode.
Don't be sexist.
$MidnightBSD$ Ignore errors in rc.conf files, simplify the file rotation logic, and make it slightly more secure. Obtained from FreeBSD
fix lukemftpd
This commit was generated by cvs2svn to compensate for changes in r5, which included commits to RCS files with non-trunk default branches.
This commit was generated by cvs2svn to compensate for changes in r2, which included commits to RCS files with non-trunk default branches.