summaryrefslogtreecommitdiffstats
path: root/share/examples
Commit message (Collapse)AuthorAgeFilesLines
* It's a bit odd, but "make update" in src/ can also update the ports/,ru2011-06-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | doc/, and now www/ trees, but only using the "cvsup" transport. When "make update" is run using a tree's makefile, it can also use "cvs" (except for www/) and "svn" (only src/). Clean up documentation and code regarding "make update": - Increase oddness by adding support for WWWSUPFILE and NO_WWWUPDATE to Makefile.inc1 (analogous to PORTSSUPFILE/NO_PORTSUPDATE and DOCSUPFILE/NO_DOCUPDATE; WWWSUPFILE already supported by www/Makefile). - Document all trees that support CVS_UPDATE. - Document all trees that support SUP_UPDATE. - Document SVN_UPDATE. - Document NO_WWWUPDATE. - make.conf(5) mistakenly said that *SUPFILE* had defaults. - Add an example entry for WWWSUPFILE.
* Change new constant names to ones used by OpenSolaris.mav2011-05-271-2/+2
|
* Oops, fix typo in r222336.mav2011-05-271-1/+1
|
* Add ses/srcs/eltsub.h to the list of files to be installed.mav2011-05-271-0/+1
| | | | It is required for user-level SES example tools build.
* Add names for few more SES element types according SES-2 specification.mav2011-05-271-0/+12
|
* Fix more typos to be a good example.uqs2011-05-228-143/+139
| | | | Found by: codespell
* Remove typos, tabs-after-spaces and EOL whitespace. Convert to UTF-8.uqs2011-05-221-12/+11
|
* Uuencode the sample "binary" firmware image file (instead of explicitlyemaste2011-04-014-24/+21
| | | | | | | adding \0 bytes). This is a technique that would be used in an actual driver and is more suitable as an example. Reviewed by: mlaier
* Unbreak installworld after r220205.emaste2011-04-011-1/+1
| | | | | Noticed by: np Pointy hat to: emaste
* Avoid having a binary file in our source tree and instead create it atemaste2011-03-312-0/+4
| | | | | build time, to avoid possible grief maintaining FreeBSD source in alternative version control tools.
* Give better URL to the list of available CVSup mirrors.glebius2011-03-227-14/+14
|
* Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.confmm2011-03-071-1/+1
| | | | | | | For CPUTYPE=core2 use -march=core2 PR: gnu/155308 MFC after: 2 weeks
* mbone is no longer a physical categorydougb2011-03-062-2/+0
| | | | Submitted by: pav
* Actually install the example Khelp module committed in r218545.lstewart2011-02-211-0/+3
| | | | | | Sponsored by: FreeBSD Foundation MFC after: 4 weeks X-MFC with: r218545
* Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk.mm2011-02-201-2/+3
| | | | | | | | | - add "sse3" to MACHINE_CPU for the new cpu types - for i386, default to CPUTYPE=prescott for the new cpu types PR: gnu/154906 Discussed with: kib, kan, dim MFC after: 2 weeks
* Update the icmp example to show allowing only the safe types.brucec2011-02-191-1/+1
| | | | | Suggested by: Tom Judge <tom at tomjudge.com> MFC after: 3 days
* If the pf.conf(5) example file is copied when setting up a firewall it'sbrucec2011-02-121-0/+1
| | | | | | | | easy to forget about icmp. Update the file to show allowing icmp through the firewall. PR: docs/144986 MFC after: 1 month
* Add an example Khelp module, which will be referenced in the forthcoming Khelplstewart2011-02-114-1/+172
| | | | | | | | | documentation. Sponsored by: FreeBSD Foundation Discussed with: David Hayes <dahayes at swin edu au> MFC after: 5 weeks X-MFC with: r216615
* Remove DOS-style EOLssem2011-01-251-11/+11
| | | | Approved by: kib
* Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier.mdf2011-01-191-2/+3
|
* - Add CPUTYPE support for sparc64. The net result is that it's now possiblemarius2010-12-301-0/+2
| | | | | | | | | to let the compiler optimize for the famility of UltraSPARC-III CPUs as the default already was to optimize for UltraSPARC-I/II and generating generic 64-bit V9 is mainly for reference purposes. At least for SPARC64-V CPUs code optimized for UltraSPARC-I/II still is the most performant one. Thanks go to Michael Moll for testing SPARC64-V. - Move a booke MACHINE_CPU bit into the right section.
* Add Makefile entry to install two new example files.julian2010-10-241-0/+4
| | | | MFC after: 2 weeks
* Add two scripts that demonstrate how to make andjulian2010-10-243-0/+738
| | | | | | | hook together jails using teh vortual networking feature. Submitted by: Yavuz Gokirmak MFC after: 2 weeks
* Remove the manpath.config entry now that it's no longer installed.gordon2010-10-091-1/+0
| | | | | Submitted by: b. f. Approved by: wes (mentor implicit)
* o csup(1) does not have -g flag. Remove it from the example.maxim2010-09-021-1/+1
| | | | | | PR: conf/150214 Submitted by: Li MFC after: 1 week
* Add an example to encourage people to have a look at eitherbcr2010-07-251-0/+11
| | | | | | | | | | make(1) or /usr/ports/ports-mgmt/portconf for port-specific variables/options to compile a port. PR: docs/145655 Submitted by: Armin Pirkovitsch (armin at frozen dash zone dot org) Discussed with: dougb MFC after: 7 days
* Fix missing argument for errx().kevlo2010-06-231-6/+4
| | | | While here, clean up the code a bit.
* Fix the syscall module name after r205320.kib2010-06-151-1/+1
| | | | | Submitted by: Vladislav Movchan <vladislav.movchan gmail com> MFC after: 1 week
* indent.pro example: actually install the sample fileavg2010-04-211-0/+2
|
* indent.pro example: put all options one per lineavg2010-04-051-2/+30
| | | | | | | This should help with modification tracking. Discussed with: bde MFC after: 7 days
* indent.pro example: correctly place -ta optionavg2010-04-051-2/+1
| | | | | | | The options are sorted, leading 'n' (for 'off') should be ignored. Pointed out by: bde MFC after: 7 days
* indent.pro: replace a bunch of -T types with -ta introduced in r205989avg2010-04-021-111/+1
| | | | | Suggested by: bde, Hans Petter Selasky MFC after: 10 days
* add example indent.pro file believed to produce code with minimal ↵avg2010-04-021-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | differences from KNF This file is what bde uses! With addition of some types from queue(3) by hps. Please note that the output will not be KNF and currently it's not possible to achieve correct KNF with any combination of options. indent(1) needs to be made smarter. Some issues: o indent produces a space between a queue type macro and opening parenthesis o indent produces a tab before __packed and __aligned o indent produce a space after #define bde also notes difference in the following options between this profile and profile in /usr/src/admin/style of 4.4BSD: -cdb -ei -ip8 -nsob Also, NetBSD uses -di0 instead of -di8. Location for the profile is suggested by jh. Submitted by: Hans Petter Selasky (parts) Obtained from: bde :-) MFC after: 10 days X-ToDo: make indent able to produce proper (perfect) KNF X-Perhaps-ToDo: make KNF default output
* Always assign WARNS using ?=uqs2010-03-021-3/+3
| | | | | | | - fix some nearby style bugs - include Makefile.inc where it makes sense and reduces duplication Approved by: ed (co-mentor)
* Please welcome HAST - Highly Avalable Storage.pjd2010-02-186-0/+290
| | | | | | | | | | | | | | | | | | | | | | HAST allows to transparently store data on two physically separated machines connected over the TCP/IP network. HAST works in Primary-Secondary (Master-Backup, Master-Slave) configuration, which means that only one of the cluster nodes can be active at any given time. Only Primary node is able to handle I/O requests to HAST-managed devices. Currently HAST is limited to two cluster nodes in total. HAST operates on block level - it provides disk-like devices in /dev/hast/ directory for use by file systems and/or applications. Working on block level makes it transparent for file systems and applications. There in no difference between using HAST-provided device and raw disk, partition, etc. All of them are just regular GEOM providers in FreeBSD. For more information please consult hastd(8), hastctl(8) and hast.conf(5) manual pages, as well as http://wiki.FreeBSD.org/HAST. Sponsored by: FreeBSD Foundation Sponsored by: OMCnet Internet Service GmbH Sponsored by: TransIP BV
* Conform style.Makefile(5) and replace = and += with ?=, which lets you towkoszek2010-02-012-2/+2
| | | | | | override WARNS. Reported by: <marius@nuenneri.ch> and uqs@
* Include unistd.h for read(), write() and stdlib.h for exit().wkoszek2010-01-182-3/+6
| | | | Bump WARNS to 5 while being here.
* Small cleanup while being here:wkoszek2010-01-182-14/+6
| | | | | | | | | | - sort includes - remove usage(), since it seems to come from older version of the KLD - remove unnecessary variable - mark argc/argv as unused Bring WARNS = 5 to the Makefile.
* Include stdlib.h for exit(3) and unistd.h for syscall(2). This makeswkoszek2010-01-181-0/+2
| | | | this program to compile cleanly.
* Small fix for making this KLD to compile.wkoszek2010-01-181-1/+1
|
* Remove examples for pppd and SLIP-related stuff.trasz2009-12-2919-277/+0
|
* Removed one more Alpha leftover.ru2009-12-211-1/+0
|
* Install firmware(9) examples.antoine2009-12-121-0/+6
| | | | MFC after: 1 month
* Cleanup code to make it WARNS=6 clean:delphij2009-11-0411-40/+54
| | | | | | | | - ANSIfy prototypes; - Add __unused for parameters that is not being currently used; - Add a header for subrountines being called from other modules. Reviewed by: mjacob
* Include string.h for prototype of strcmp().delphij2009-11-041-0/+1
|
* Tell about the full name we opened, not the unit.mjacob2009-09-191-1/+1
| | | | | Obtained from: Sean Bruno MFC after: 1 month
* A few enhancements I made while working on the Firewire target (sbp_targ).sbruno2009-09-072-3/+7
| | | | | | | | | | | Update the error handling in a couple of cases to exit gracefully if certain mandatory conditions aren't met. Reduce the maximum number of initiators to 8 for this example code. While 1024 is more correct, this example code would act like it was stalled out even though it was merely allocating the needed structures in init_ccbs() Reviewed by: scottl@freebsd.org
* Update example for RELENG_8.kensmith2009-08-241-4/+5
|
* Where if not in examples we should follow style(9)?pjd2009-06-032-34/+30
|
* Mention the danger of running programs using ``!''.brian2009-05-261-1/+6
| | | | | PR: 112481 MFC after: 1 week
OpenPOWER on IntegriCloud