| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
picobsd/tinyware has had this compact HTTPD server for a long time, and some
people do use it. Move it out into usr.sbin well in advance of any action
being taken on picobsd.
This has been gated behind an HTTPD option defaulted to *off*, primarily for
two reasons:
1.) This code likely needs a good audit, as it's been living off in picobsd
land for a long time, and
2.) We don't currently ship an httpd and this may not be a welcome surprise.
Reviewed by: eugen
Differential Revision: https://reviews.freebsd.org/D21724
Notes:
svn path=/head/; revision=352927
|
|
|
|
|
|
|
|
|
|
|
|
| |
"static" keywords and -Werror,-Wmissing-variable-declarations
This change adds needed "static" so it builds again with WARNS?=6
No functional changes.
MFC after: 1 week
Notes:
svn path=/head/; revision=351179
|
|
|
|
|
|
|
|
|
|
| |
Many tab vs space cleanups.
Use setpgid() instead of setpgrp() which is more portable,
MFC after: 5 weeks
Notes:
svn path=/head/; revision=271787
|
|
|
|
|
|
|
|
|
| |
when we want to print an off_t cast to intmax_t and use %jd.
Up WARNS to 6.
Notes:
svn path=/head/; revision=189936
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with the following changes:
1) Don't make a mime_types.h 'cos we should avoid creating variables
in header files,
2) Use strrchr to find the extension, rather than strchr,
3) Slightly simplify the mime-type matching loop.
any goof are likely to be mine. Note that there are links to more
improvements by Eugene in the PR.
PR: 29725
Submitted by: Eugene Grosbein <eugen@kuzbass.ru>
Notes:
svn path=/head/; revision=133836
|
|
|
|
|
|
|
|
| |
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
Notes:
svn path=/head/; revision=113129
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Make fetch_mode a pointer 'cos we can just use the optarg.
2) Constness.
3) Add/complete prototypes.
4) Change an int to a socklen_t.
5) Don't use C++ style comments.
6) Check return values from read and fork a little more carefully.
7) Avoid closing an uninitialised int.
8) Get rid of unneeded extern declarations.
Notes:
svn path=/head/; revision=113126
|
|
|
|
|
|
|
| |
Pass a time_t rather than a long to time.
Notes:
svn path=/head/; revision=112205
|
|
|
|
| |
Notes:
svn path=/head/; revision=94135
|
|
|
|
|
|
|
|
|
|
|
|
| |
the author obviously meant a void since he doesn't return any values.
One caveat, http_request has three return()'s, but doesn't do anything
with it. Either the code needs to be rewritten to take care of proper
error handling on that point, or the returns ripped out. I made it void
for now.
Notes:
svn path=/head/; revision=94134
|
|
|
|
|
|
|
|
|
|
| |
an off_t.
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
Notes:
svn path=/head/; revision=94133
|
|
|
|
|
|
|
|
| |
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
Notes:
svn path=/head/; revision=94132
|
|
|
|
|
|
|
|
| |
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
Notes:
svn path=/head/; revision=94130
|
|
|
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
Notes:
svn path=/head/; revision=79452
|
|
|
|
| |
Notes:
svn path=/head/; revision=50479
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel
THIS IS BROKEN ON CURRENT. I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.
Submitted by: luigi
Notes:
svn path=/head/; revision=50186
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
William Lloyd. New features include:
* many additional command line options
* "fetch" mode
* less bugs :-)
* better README.
Submitted by: William Lloyd <wlloyd@lap.net>
Reviewed by: abial
Notes:
svn path=/head/; revision=46493
|
|
|
|
| |
Notes:
svn path=/head/; revision=43939
|
|
|
|
|
|
|
|
| |
Change date format to yyyy/mm/dd hh:mm:ss
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
Notes:
svn path=/head/; revision=42714
|
|
Notes:
svn path=/cvs2svn/branches/PICOBSD/; revision=38589
|