aboutsummaryrefslogtreecommitdiff
path: root/share/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Add SPDX identifier for the example license.Pedro F. Giffuni2018-01-131-0/+2
| | | | | | | | | | For project files we should use the -FreeBSD prefix but for this example assume it is going to be used for some general purpose. Submitted by: kevlo Notes: svn path=/head/; revision=327935
* examples: fix typoEitan Adler2017-12-291-1/+1
| | | | Notes: svn path=/head/; revision=327366
* Remove white space at EOL.Jens Schweikhardt2017-12-161-5/+5
| | | | Notes: svn path=/head/; revision=326896
* SPDX: use the Beerware identifier.Pedro F. Giffuni2017-11-303-2/+10
| | | | Notes: svn path=/head/; revision=326408
* share and pc-sysinstall: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-2719-7/+45
| | | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. 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. Commit these apart because compile testing doesn't guarantee I didn't made some nasty mistake. No functional change intended. Notes: svn path=/head/; revision=326275
* vmrun.sh: add -A option for AHCI emulation of disk devicesAndriy Gapon2017-11-231-3/+8
| | | | | | | | | | | AHCI emulation is useful for testing scenarios closer to the real hardware. For example, it allows to exercise the CAM subsystem. There could be other uses as well. MFC after: 2 weeks Notes: svn path=/head/; revision=326140
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-203-1/+8
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. 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. Notes: svn path=/head/; revision=326025
* Move sys/boot to stand. Fix all references to new locationWarner Losh2017-11-142-2/+2
| | | | | | | Sponsored by: Netflix Notes: svn path=/head/; revision=325834
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-314-4/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Unbreak installEitan Adler2017-10-301-1/+0
| | | | | | | Reported by: cy Notes: svn path=/head/; revision=325119
* Remove now bogus READMEEitan Adler2017-10-301-7/+0
| | | | | | | The SGML referenced was removed in r4719 of the doc repo. Notes: svn path=/head/; revision=325111
* Update several more URLsEitan Adler2017-10-291-1/+1
| | | | | | | | - Primarily http -> https - Primarily FreeBSD project URLs Notes: svn path=/head/; revision=325096
* Add HAS_TESTS to all Makefiles that are currently using theEnji Cooper2017-08-021-0/+1
| | | | | | | | | `SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912. Notes: svn path=/projects/make-check-sandbox/; revision=321914
* Convert traditional ${MK_TESTS} conditional idiom for including testEnji Cooper2017-08-021-3/+1
| | | | | | | | | | | | | | directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks Notes: svn path=/head/; revision=321912
* For the udp-client example, instruct user to add an entry for a udp basedSevan Janiyan2017-08-011-3/+3
| | | | | | | | | | | | | | | service. For tcp-client & udp-client, use the same port in configuration snippet as used in the comment prior to remove any ambiguity on the port number which needs to be specified. Reviewed by: bcr (mentor) wblock (mentor) Approved by: gavin MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D9830 Notes: svn path=/head/; revision=321881
* Add kyua TAP test integration examplesEnji Cooper2017-06-286-0/+399
| | | | | | | | | | The examples are patterned loosely after the ATF examples, similar to the plain test examples. MFC after: 1 month Notes: svn path=/head/; revision=320443
* share/examples/tests/{atf,plain}/Makefile: tweak example Makefile snippetsEnji Cooper2017-06-282-8/+4
| | | | | | | | | | | | - Including bsd.own.mk isn't required since no MK_<foo> knobs are being manipulated. - Update documentation to note that ${FILES} is installed via bsd.progs.mk, not bsd.prog.mk. MFC after: 1 month Notes: svn path=/head/; revision=320442
* share/examples/tests/Makefile: clean up example snippets/documentationEnji Cooper2017-06-281-4/+6
| | | | | | | | | | | | | - TESTSDIR doesn't need to be specified after r289158. - Including bsd.own.mk isn't required since no MK_<foo> knobs are being manipulated. - TESTS_SUBDIRS should be written out in an append format, one entry per line, to provide a better, more conflict resistant example. MFC after: 1 month Notes: svn path=/head/; revision=320441
* Remove unneccessary call to mtree, which, when building as an unprivilegedEdward Tomasz Napierala2017-05-231-2/+0
| | | | | | | | | | | | | | | | | | | user (with -DNO_ROOT), resulted in warnings looking like these: share/man/cat8: user (9, 3819, not modified: Operation not permitted) permissions (0755, 0700, modified) The BSD.usr.mk is already taken care of in etc/Makefile. Submitted by: Alex Richardson <alr48@cl.cam.ac.uk> Reviewed by: bdrewery MFC after: 1 month Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9212 Notes: svn path=/head/; revision=318740
* Add UEFI support to vmrun.shAllan Jude2017-04-131-9/+65
| | | | | | | | | | | | | | | | | | | Adds: -E: Use UEFI mode -f: path to UEFI firmware image (default: path to uefi-edk2-bhyve package) -F: UEFI framebuffer size (default: w=1024,h=768) -L: IP to listen for VNC connections on (default: 127.0.0.1) -P: Port to listen for VNC connections on (default: 5900) -T: Enable tablnet device (for VNC) -v: Wait for VNC client before booting VM Submitted by: Shawn Webb <shawn.webb@hardenedbsd.org> MFC after: 2 weeks Relnotes: yes Differential Revision: https://reviews.freebsd.org/D10378 Notes: svn path=/head/; revision=316746
* Catch up with Clang 4.0.0.Jung-uk Kim2017-03-071-1/+1
| | | | Notes: svn path=/head/; revision=314875
* Make vmrun.sh passthrough -u and -w to bhybeRodney W. Grimes2017-03-051-1/+9
| | | | | | | | | | PR: 214273 Submitted by: Martin Birgmeier <la5lbtyi@aon.at> Approved by: grehan MFC after: 1 week Notes: svn path=/head/; revision=314694
* share: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-044-7/+7
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314652
* Remove EISA reference hereWarner Losh2017-02-161-1/+1
| | | | Notes: svn path=/head/; revision=313842
* Remove pc98 support completely.Yoshihiro Takahashi2017-01-281-43/+20
| | | | | | | | | I thank all developers and contributors for pc98. Relnotes: yes Notes: svn path=/head/; revision=312910
* Attempt to make the parts that people are supposed to change stand out moreBrad Davis2016-11-132-24/+24
| | | | | | | | | by capitalizing them. Approved by: dteske Notes: svn path=/head/; revision=308615
* Fix packaging /usr/share/examples/etc.Glen Barber2016-10-311-1/+1
| | | | | | | | | | Reported by: woodsb02 MFC after: 3 days X-MFC-With: r308148 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=308150
* libifconfig: style(9) fixesKristof Provost2016-09-044-93/+83
| | | | | | | | | | | | Also switch from BSD 3-clause to 2-clause license where possible, and consolidate duplicate 3-clause license into one. Submitted by: Marie Helene Kvello-Aune <marieheleneka@gmail.com> Reviewed by: cem, kp Differential Revision: https://reviews.freebsd.org/D7764 Notes: svn path=/head/; revision=305395
* Renaming libifc to libifconfig in response to feedback on initial commit ofKristof Provost2016-09-026-43/+42
| | | | | | | | | | | | | this library. Sticking to 'libifconfig' (and 'ifconfig_' as function prefix) should reduce chances of namespace collisions, make it more clear what the library does, and be more in line with existing libraries. Submitted by: Marie Helene Kvello-Aune <marieheleneka@gmail.com> Differential Revision: https://reviews.freebsd.org/D7742 Reviewed by: cem, kp Notes: svn path=/head/; revision=305290
* Add libifc, a library implementing core functionality that exists in ↵Kristof Provost2016-08-255-0/+374
| | | | | | | | | | | | | | | | | | | | | ifconfig(8) today. libifc (pronounced lib-ifconfig) aims to be a light abstraction layer between programs and the kernel APIs for managing the network configuration. This should hopefully make programs easier to maintain, and reduce code duplication. Work will begin on making ifconfig(8) use this library in the near future. This code is still evolving. The interface should not be considered stable until it is announced as such. Submitted By: Marie Helene Kvello-Aune <marieheleneka@gmail.com> Reviewed By: kp Differential Revision: https://reviews.freebsd.org/D7529 Notes: svn path=/head/; revision=304815
* Install/Connect ypldap.conf(5) on examples.Marcelo Araujo2016-06-061-2/+4
| | | | Notes: svn path=/head/; revision=301479
* Update share/examples/* to properly install /usr/share/examples.Glen Barber2016-05-1035-2/+84
| | | | | | | | | | | | | As result of this, a new examples package is now created. Note, this is only effective with 'SHARED=copies' (the default), as the 'SHARED=symlinks' mechanism will create a symlink to the source tree version of the file(s). Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=299293
* Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedEnji Cooper2016-05-046-29/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after r298107 Summary of changes: - Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup) Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info. MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=299094
* share: minor spelling fixes.Pedro F. Giffuni2016-05-012-4/+4
| | | | | | | | | Mostly comments but these tend to be user-visible. MFC after: 2 weeks Notes: svn path=/head/; revision=298882
* Fix including Kyuafile in packaged base system.Glen Barber2016-04-294-4/+8
| | | | | | | | | | | | | | | Fix a related typo while here. Note, this change results in the Kyuafile inclusion in the runtime package, which needs to be fixed, however addresses the PR as far as I can tell in my tests. PR: 209114 Submitted by: ngie Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=298768
* - Add two new subcommands to rc.subr:Lars Engels2016-04-231-1/+1
| | | | | | | | | | | | | "describe" shows an rc script's description "extracommands" shows an rc script's non-standard commands like "reload", "configtest", "keygen", etc - Update the rc(8) manpage and the tcsh(1) completion examples to reflect these changes Approved by: bapt Sponsored by: Essen Linuxhotel Hackathon 2016 Differential Revision: D452 Notes: svn path=/head/; revision=298515
* MFHGlen Barber2016-04-161-2/+2
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=298092
| * Rework META_TARGETS so that it automatically adds META_DEPS to the targets.Bryan Drewery2016-04-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | This will only be done if the target is defined, so if the target is defined after bsd.sys.mk is included then it needs to manually add ${META_DEPS} still. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297994
* | MFHGlen Barber2016-03-142-4/+17
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296869
| * META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.Bryan Drewery2016-03-111-7/+3
| | | | | | | | | | | | | | | | | | | | Extend it to other cases of meta mode cookies so they get the proper rm cookie behavior when a .meta file detects it needs to rebuild and fails. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296700
| * DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples.Bryan Drewery2016-03-112-2/+19
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296695
* | MFHGlen Barber2016-03-104-0/+59
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296625
| * DIRDEPS_BUILD: Connect MK_TESTS.Bryan Drewery2016-03-094-0/+59
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296587
* | MFHGlen Barber2016-02-154-169/+322
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295639
| * Fix missing description for command usageDevin Teske2016-02-132-2/+6
| | | | | | | | | | | | | | | | | | While "jng" or "jib" without arguments told you what each sub-command does, sub-command usage didn't tell you (e.g., "jng bridge" or "jib addm" gave only usage and not description). Notes: svn path=/head/; revision=295587
| * Comments and fix small bugDevin Teske2016-02-122-18/+24
| | | | | | | | | | | | | | | | | | Reduce differences between jib/jng and fix a bug that would prevent additional interfaces from being created if the first of many already existed (counter wasn't incremented before calling only continue). Notes: svn path=/head/; revision=295556
| * Add syntax to disable MAC allocationDevin Teske2016-02-122-22/+24
| | | | | | | | | | | | | | | | | | | | | | | | Adding `!' before an interface name will disable MAC allocation, falling back to driver mechanics. Alternatively adding `=' before an interface name causes the MAC address to be cloned (for ng_bridge(4) back-end only). While here, disable the auto-detection of wlan* since this knocks the host off; requiring the host that defines the jail to explicitly enable this feature by preceding the interface with `='. Notes: svn path=/head/; revision=295554
| * Refactor conversion to hexDevin Teske2016-02-122-26/+14
| | | | | | | | Notes: svn path=/head/; revision=295553
| * Add support for bridging iwn(4) based wlan(4)Devin Teske2016-02-111-4/+25
| | | | | | | | | | | | | | | | | | | | | | Documented in iwn(4), "Only one virtual interface may be configured at any time." However, netgraph with a cloned MAC address is able to communicate over an ng_eiface attached to an ng_bridge linked to the wlan(4) interface. While here, introduce syntax to specify the MAC address is to be cloned if the named interface begins with equals [=]. Notes: svn path=/head/; revision=295548
| * Centralize MAC derivation formulaDevin Teske2016-02-112-144/+175
| | | | | | | | Notes: svn path=/head/; revision=295546