aboutsummaryrefslogtreecommitdiff
path: root/release/picobsd/tinyware
Commit message (Collapse)AuthorAgeFilesLines
* Remove picobsd build scripts and the remaining tinywareKyle Evans2019-11-0547-10716/+0
| | | | | | | | | | | | | | | Postings were sent to -arch@ on 2019/09/13 and 2019/10/01, proposing and confirming a removal of these scripts on 2019/10/31, due to significant work needed to bring this into the modern world and nobody having done this work in the past couple of years. No objections or proposed work was raised in response to these postings. The tinyware may see a resurrection into a separate repo for archival purposes if any users of it show interest in doing so. MFC after: never Notes: svn path=/head/; revision=354346
* Move simple_httpd out of picobsd, add HTTPD option (default OFF)Kyle Evans2019-10-013-676/+0
| | | | | | | | | | | | | | | | | | 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
* simple_httpd was not buildable for some time due to multiple missingEugene Grosbein2019-08-181-25/+25
| | | | | | | | | | | | "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
* motd: Generate from template to /var/runConrad Meyer2019-07-201-1/+1
| | | | | | | | | | | | Update login(1), its manual pages, similar utilities, and motd.5 to refer to the new location. Suggested by: delphij@ (re: r349256) Reviewed by: bcr (manpages), delphij Differential Revision: https://reviews.freebsd.org/D20721 Notes: svn path=/head/; revision=350184
* spdx: initial adoption of licensing ID tags.Pedro F. Giffuni2017-11-188-2/+18
| | | | | | | | | | | | | | | | | | | | The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Initially, only tag files that use BSD 4-Clause "Original" license. RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133 Notes: svn path=/head/; revision=325966
* Revert prior commit to restore the files mangled by my "fixing" mergeWarner Losh2017-03-012-33/+26
| | | | | | | conflicts for a git rebase I tried to do. Notes: svn path=/head/; revision=314449
* Renumber copyright clause 4Warner Losh2017-02-282-26/+33
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* picobsd: minor spelling fixes.Pedro F. Giffuni2016-05-011-1/+1
| | | | Notes: svn path=/head/; revision=298880
* Convert to LIBADDBaptiste Daroussin2014-11-263-7/+4
| | | | Notes: svn path=/head/; revision=275104
* 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