summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2008-06-26seperate out the openldap stuff that will be replacedTheo de Raadt
2008-06-26must be able to get at include fileTheo de Raadt
2008-06-26cleanup include file. remove unneeded socket cleanup.Pierre-Yves Ritschard
2008-06-26ypldap -- Intended to be a drop-in replacement for ypserv, gluing in aPierre-Yves Ritschard
LDAP directory and thus providing support for users and groups stored in LDAP for the get{pw,gr}ent family of functions. As of now it relies on external LDAP libraries, choose the one of your liking though openldap would do fine. Not linked to the builds until some things are sorted out, having our own LDAP client code for instance, better support for group membership lookup as well. Remember to sync with the latest master.passwd and group files as well to have the _ypldap user available, which is needed. ``just get it in'' deraadt@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-26fatalx instead of fatal because errno is not set of pipe is closed. OK henningClaudio Jeker
2008-06-25no need for sparc/sparc64 ifdefs, since this file is sparc onlyTheo de Raadt
2008-06-25Add _PW_BUF_LEN define and use it instead of hard-coding 1024 forTodd C. Miller
the buffer size. OK deraadt@
2008-06-25much better url parser.Marc Espie
2008-06-24Garbage collect some unused nor relevant config files. They're eitherBrad Smith
empty stubs (access.conf-dist/srm.conf-dist) or poor example configs for "high performance" which users are much better served by actually reading the documentation and understanding what they're doing. ok deraadt@
2008-06-24sort flags in synopsis to match "usage:" and style(9)Igor Sobrado
2008-06-24missing "usage:"Igor Sobrado
2008-06-21rework collisionreport to allow some limited repair capabilities:Marc Espie
assuming none of the files is registered, we can assume that the package registration fails, and then we remove the files, and install the package. Then we also walk installed packages to restore dependencies that would have been erased (this is fairly simple-minded and may fail in weird cases).
2008-06-21introduce unlink operation with nice propertiesMarc Espie
2008-06-21use autovivificationMarc Espie
2008-06-20prepare to handle future extensionsMarc Espie
2008-06-20Change gcc named variadics to c99 ones. Ok otto@Anders Magnusson
2008-06-18better standards for inst: paths.Marc Espie
2008-06-18forgot: changed PackageLocator so that the new parse method is responsibleMarc Espie
for breaking up the next part.
2008-06-18use path_parse to retrieve pkg_info anywhereMarc Espie
2008-06-18special-case parser so that /var/db/pkg becomes inst: during path_parse.Marc Espie
2008-06-18Remove references to httpd.conf-dist.Brad Smith
ok deraadt@
2008-06-16use correct struct when checking DF or INET6, ok frantzen@ months agoDavid Krause
forgotten in one of my trees
2008-06-15tweak previous;Jason McIntyre
2008-06-15Allow bgpd to delete more then one community per filter rule. Fixes PR5807Claudio Jeker
tested by Raphael Ho long time ago.
2008-06-15Paranoia check. Make sure that the 2 len bytes are actually available.Claudio Jeker
Another easy M hiding in my bgp source forest.
2008-06-15Fix minor mem leak in case parse_addr() fails.Claudio Jeker
2008-06-15tweak the code that finds packages to find distant stemsMarc Espie
(todo: match pkg_add code better)
2008-06-15make sure installed_stem is defined when needed, prevents some weirdMarc Espie
errors.
2008-06-15add glue for rpc.lockd to talk to rpc.statdNikolay Sturm
"just get it in" deraadt
2008-06-15enter rpc.statdNikolay Sturm
2008-06-15initial import of rpc.statd, basically from NetBSDNikolay Sturm
"just get it in" deraadt
2008-06-15fix filehandle comparison between NFSv2 and NFSv3 filehandlesNikolay Sturm
permits locking in heterogenous environments ok thib
2008-06-14When there are no sensors, don't run the hotplugging consistency check,Constantine A. Murenin
the logic of which assumes that there is at least one sdlim. ok henning
2008-06-13- don't ask for yesno confirmation when running in automatic modeAntoine Jacoutot
- allow comments in sysmerge.ignore suggested by, feedback from and ok naddy@
2008-06-13tweak previous;Jason McIntyre
2008-06-13$OpenBSD$Nikolay Sturm
2008-06-13from NetBSD:Nikolay Sturm
Implement file locking in lockd. All the stuff is done in userland, using fhopen() and flock(). This means that if you kill lockd, all locks will be relased. Shared locks are not handled efficiently, they're serialised in lockd when they could be granted. tested against debian etch (linux 2.6.18) not fully functional yet in mixed NFSv2/v3 environments further development in-tree as discussed w/ deraadt
2008-06-13fix two smalls bugs wrt contination lines.Marc Espie
- continuation line at file start would segfault: make it change ginfo as it should instead. - empty continuation lines should be valid. okay millert@
2008-06-13550 is fatal, don't bother retrying.Marc Espie
Problem found by Martynas Venckus, fix by me.
2008-06-13correction from Tamas TEVESZ;Jason McIntyre
2008-06-13Better error messages. Include the function causing the problem and do notClaudio Jeker
include the program name in logmsg() plus exit_daemon() does not return so make it a void function. OK mpf@
2008-06-13Simplify ROUNDUP() macro, it does not need the additional size argument.Claudio Jeker
That will be sizeof(long) no matter what.
2008-06-13Don't install httpd.conf-dist.Marc Balmer
from brad.
2008-06-13- add support for ignoring files and directories from comparisonAntoine Jacoutot
through an optionnal /etc/sysmerge.ignore file requested by many man page tweak from jmc@ /etc/changelist addition suggested by sthen@ ok sthen@ jdixon@ jmc@ naddy@
2008-06-13- always force full file check on fbtab, login.conf, sysctl.conf andAntoine Jacoutot
ttys since they are created using helper scripts and comparing CVS Id would not be accurate original diff from sthen@ man page tweak from jmc@ ok sthen@ jdixon@ jmc@ naddy@
2008-06-12let usage() match SYNOPSIS;Jason McIntyre
2008-06-11When a hotplugged sensordev appears, load its configuration individually,Constantine A. Murenin
instead of reloading the configuration for all sensordevs. ok henning
2008-06-11* Remove the exit condition on no sensors at start-up, since we now supportConstantine A. Murenin
hotplugging. * Factor out some code from main() into a new create() procedure, to save some memory and make the code tidier. ok henning
2008-06-11add support for "transparent" forwarding in relays: normally the l7Reyk Floeter
relay will connect to the target host with its own ip address, but this mode will let it use the address of the client that is connecting from the other side. for example, there is no need to add the X-Forwarded-For HTTP headers for internal webservers in this mode anymore since they magically see the remote client ip address in the connection. it also allows to build fully-transparent ssl encapsulation for tcp sessions and many other things... based on an initial idea from dlg@ and pascoe@ (dlg's talk at opencon) using the new BINDANY and divert-reply interfaces from markus@ (since n2k8) ok markus@ pyr@