aboutsummaryrefslogtreecommitdiff
path: root/release/picobsd/tinyware
Commit message (Collapse)AuthorAgeFilesLines
* simple_httpd: cosmetic cleanups.Pedro F. Giffuni2014-09-181-76/+77
| | | | | | | | | | Many tab vs space cleanups. Use setpgid() instead of setpgrp() which is more portable, MFC after: 5 weeks Notes: svn path=/head/; revision=271787
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-139-9/+9
| | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* Rework all non-contributed files that use `struct timezone'.Ed Schouten2012-09-011-8/+6
| | | | | | | | | | | | | | | | | This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype: int gettimeofday(struct timeval *restrict tp, void *restrict tzp); Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0. While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead. Notes: svn path=/head/; revision=239991
* Remove dead code.Dag-Erling Smørgrav2012-06-121-73/+16
| | | | Notes: svn path=/head/; revision=236963
* Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessorDimitry Andric2012-02-071-1/+1
| | | | | | | | | set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week Notes: svn path=/head/; revision=231118
* Spelling fixes for release/Ulrich Spörlein2012-01-073-7/+7
| | | | Notes: svn path=/head/; revision=229779
* Merge r114010 of head/usr.bin/login/login.c into PicoBSD's login.c:Gavin Atkinson2010-08-081-1/+2
| | | | | | | | | | | Correct the login.conf variable name used for obtaining the login prompt. PR: conf/44717 (indirectly) Spotted by: gcooper MFC after: 1 week Notes: svn path=/head/; revision=211079
* Correct two error messages to match the failure they are reporting.Gavin Atkinson2010-08-081-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=211077
* a minimal set of changes to adapt to the utmp->utmpx changes.Luigi Rizzo2010-02-141-6/+13
| | | | | | | | lastlog still not implemented, i am hoping that Ed or someone has some idea on how to fix this, but it is really not important. Notes: svn path=/head/; revision=203876
* Convert {small prefix}BSD to TERM=xterm as well.Ed Schouten2009-11-131-2/+2
| | | | | | | | | Clean up the ttys files shipped with PicoBSD, NanoBSD and TinyBSD. While there, it seems one of them still had references to sio(4). Make it in sync with what we do in the base system. Notes: svn path=/head/; revision=199251
* fix various build errors (missing or wrong return types forLuigi Rizzo2009-04-271-16/+22
| | | | | | | | | various functions returning void, missing headers, and so on). MFC after: 4 weeks (not before 7.3 is out, anyways) Notes: svn path=/head/; revision=191565
* Warns fixes: use putenv rather than setenv to avoid constness problems,David Malone2009-03-172-2/+4
| | | | | | | | | 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
* This main goals of this project are:Qing Li2008-12-151-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion Notes: svn path=/head/; revision=186119
* silence compiler complaintsSam Leffler2007-11-261-2/+3
| | | | Notes: svn path=/head/; revision=173926
* Fix picobsd builds. Changes include:Luigi Rizzo2007-11-141-3/+3
| | | | | | | | | | | | | | | | - use proper make configuration for the build, using ${BINMAKE} as evaluated by ${VERSION}/src/Makefile - remove -lmytinfo from crunch.conf - remove support for login_access in tinyware/login - remove "machine i386" from the kernel config file It might actually be interesting to extend the script to do a cross build for !i386 ... MFC after: 3 days Notes: svn path=/head/; revision=173597
* - Revert signedness type changes to "struct vmtotal"; by makingRuslan Ermilov2006-11-281-12/+8
| | | | | | | | | | | | | | | | | them unsigned I made the possible overflows hard to detect, and it only saved 1 bit which isn't principal, even less now that the underlying issue with the total of virtual memory has been fixed. (For the record, it will overflow with >=2T of VM total, with 32-bit ints used to keep counters in pages.) - While here, fix printing of other "struct vmtotal" members such as t_rq, t_dw, t_pw, and t_sw as they are also signed. Reviewed by: bde MFC after: 3 days Notes: svn path=/head/; revision=164718
* - Fix types of "struct vmmeter" members so they are unsigned.Ruslan Ermilov2006-11-201-7/+11
| | | | | | | | | | - Fix overflow bugs in sysctl(8), systat(1), and vmstat(8) when printing values of "struct vmmeter" in kilobytes as they don't necessarily fit into 32 bits. (Fix sysctl(8) reporting of a total virtual memory; it's in pages too.) Notes: svn path=/head/; revision=164443
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-03-171-1/+3
| | | | | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine) Notes: svn path=/head/; revision=156813
* Remove bridge(4) from the tree. if_bridge(4) is a full functionalMax Laier2005-09-271-56/+0
| | | | | | | | | | | replacement and has additional features which make it superior. Discussed on: -arch Reviewed by: thompsa X-MFC-after: never (RELENG_6 as transition period) Notes: svn path=/head/; revision=150636
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesHajimu UMEMOTO2005-05-131-8/+2
| | | | | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now. Notes: svn path=/head/; revision=146187
* NOPAM -> NO_PAMRuslan Ermilov2004-12-212-2/+2
| | | | Notes: svn path=/head/; revision=139126
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-219-9/+9
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarRuslan Ermilov2004-11-031-1/+1
| | | | | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver Notes: svn path=/head/; revision=137164
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-249-9/+9
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* NEED_LIBNAMES is gone long ago.Ruslan Ermilov2004-10-241-1/+0
| | | | Notes: svn path=/head/; revision=136896
* Improve MIME handling. This patch is based on Eugene's patch, butDavid Malone2004-08-161-15/+24
| | | | | | | | | | | | | | | | | | 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
* style cleanup: Remove duplicate $FreeBSD$ tags.Colin Percival2004-02-101-2/+0
| | | | | | | | | | | These files had tags after the copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor) Notes: svn path=/head/; revision=125668
* We no longer have KerberosIV. Remove it here also.Mark Murray2003-04-301-13/+0
| | | | Notes: svn path=/head/; revision=114303
* Don't forget to send the Content-length header after calculating it.David Malone2003-04-051-0/+1
| | | | | | | | PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su> Notes: svn path=/head/; revision=113129
* More warns cleanups and misc cleanups:David Malone2003-04-051-25/+31
| | | | | | | | | | | | | | 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
* Don't return with a value in a void function.David Malone2003-03-131-4/+4
| | | | | | | Pass a time_t rather than a long to time. Notes: svn path=/head/; revision=112205
* de-__P()Alfred Perlstein2002-10-104-32/+32
| | | | Notes: svn path=/head/; revision=104744
* Add a few files which are needed to build "passwd" now thatLuigi Rizzo2002-06-206-35/+891
| | | | | | | the standard version of these files have been PAMified (and axed). Notes: svn path=/head/; revision=98514
* Bring in a slightly older version of usr/bin/passwd which does notLuigi Rizzo2002-05-052-0/+359
| | | | | | | | require libpam and all the libraries that libpam brings in. We have no room for those on picobsd images. Notes: svn path=/head/; revision=96074
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-221-1/+1
| | | | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. Notes: svn path=/head/; revision=95258
* Align for const poisoning in -lutil.Ruslan Ermilov2002-04-081-5/+6
| | | | Notes: svn path=/head/; revision=94203
* Synch with login/login.c,v 1.81: Switch to OpenPAM.Ruslan Ermilov2002-04-081-3/+3
| | | | Notes: svn path=/head/; revision=94201
* Add a missing void in the parameter list of http_request().Jeroen Ruigrok van der Werven2002-04-071-1/+1
| | | | Notes: svn path=/head/; revision=94135
* Give functions proper return type, since the default is an integer, whereJeroen Ruigrok van der Werven2002-04-071-1/+7
| | | | | | | | | | | | 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
* Use %lld instead of %d in order to print struct stat's st_size, which isJeroen Ruigrok van der Werven2002-04-071-1/+1
| | | | | | | | | | an off_t. PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su> Notes: svn path=/head/; revision=94133
* Garbage collect unused variables.Jeroen Ruigrok van der Werven2002-04-071-5/+2
| | | | | | | | PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su> Notes: svn path=/head/; revision=94132
* Actually print the port we are listening too when specified verbose mode.Jeroen Ruigrok van der Werven2002-04-071-1/+1
| | | | | | | | PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su> Notes: svn path=/head/; revision=94130
* Function declared void shouldn't return any value...Andrzej Bialecki2002-03-271-2/+2
| | | | Notes: svn path=/head/; revision=93287
* Make this compile againLuigi Rizzo2002-03-111-1/+1
| | | | | | | Reported-by: Bruce Montague Notes: svn path=/head/; revision=92071
* Add a '-l' flag to show CPU load for the various states, similar to whatLuigi Rizzo2001-12-141-2/+46
| | | | | | | | | | | | | | "top" does (thinking of it, i could have as well used the same format line!) This only makes sense when "-w" option is also specified, because the load is computed as the difference between subsequent samples. I think this (and the "-d" feature which shows differences in the network statistics counts) would also make sense in the standard vmstat and netstat. Notes: svn path=/head/; revision=87832
* Use the correct sysctl names for intrcnt and intrnames.Luigi Rizzo2001-10-251-2/+2
| | | | Notes: svn path=/head/; revision=85450
* Add a -d flag to show deltas as opposed to cumulative countersLuigi Rizzo2001-10-101-6/+32
| | | | | | | | | in interface statistics. Most useful when used with the -w flag e.g. ns -i -w 1 -d Notes: svn path=/head/; revision=84769
* Add code to print interrupt statistics when they will beLuigi Rizzo2001-10-071-0/+42
| | | | | | | exported via sysctl. Notes: svn path=/head/; revision=84608
* Fix a typo (missing "; at the end of a string)Luigi Rizzo2001-10-071-1/+1
| | | | Notes: svn path=/head/; revision=84605