346920 |
29-Apr-2019 |
ngie |
MFC r346571,r346572:
Update the spelling of my name
Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enji instead for clarity.
While here, remove "All Rights Reserved" from copyrights I "own". |
337588 |
10-Aug-2018 |
dteske |
MFC SVN r336350: Send sysrc(8) error message to stderr (not stdout)
PR: bin/229806 Reported by: Andreas Sommer <andreas.sommer87@googlemail.com> Sponsored by: Smule, Inc. |
335409 |
20-Jun-2018 |
dteske |
MFC r334303: sysrc(8): Test variable names for invalid characters
PR: bin/187461 Reported by: ebay@looksharp.net Sponsored by: Smule, Inc. |
335405 |
20-Jun-2018 |
dteske |
MFC r335277:
sysrc(8): Exit with failure on API error
Fix exit status when f_sysrc_set() fails. Errors in the underlying API provided by bsdconfig(8) -- /usr/share/bsdconfig/sysrc.subr -- were not being communicated back to the command-line. This was affecting ansible modules using sysrc as they were not able to accurately test for error.
PR: bin/211448 Reported by: Christian Schwarz <me@cschwarz.com> Sponsored by: Smule, Inc. |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
301869 |
13-Jun-2016 |
ngie |
Change my given name from "Garrett" to "Ngie"
A legal name change from "Garrett" to "Ngie", as well as a FreeBSD account name change, is pending.
Approved by: re (hrs)
|
296210 |
29-Feb-2016 |
trasz |
jls(1) -> jls(8)
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
295178 |
02-Feb-2016 |
dteske |
Revert r295169 and switch `\ ' to `" "'
MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r295169, r295170, r295173, r295177
|
295177 |
02-Feb-2016 |
dteske |
Fix a typo in a comment
|
295173 |
02-Feb-2016 |
dteske |
Bump version to 7.1 for +=/-= fix
MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r295169, r295170
|
295170 |
02-Feb-2016 |
dteske |
For +=/-=, add . and / to convenience characters
sysrc(8) supports key+=value and key-=value, but can be told what the delimiter is by being passed as char1 (e.g., "sysrc key+=",value" to use a comma as the delimiter instead of space). For convenience, if the first char is alpha-numeric, it is assumed you wanted whitespace as the delimiter.
However, if you naively (as I just did) execute: sysrc rc_conf_files+=/etc/rc.conf.other the result is unexpected.
This commit makes `.' and `/' in-addition to alpha-numeric first-characters to cause the default of whitespace to be used as the delimiter. This also means that you can no longer use these as a delimiter.
|
295169 |
02-Feb-2016 |
dteske |
Replace (Qo \ Qc) with (Qo (space) Qc)
When using col(1) piped to vim(1) as pager for man(1), the former sequence of (Qo \ Qc) renders as "" without the space. Replace with (Qo (space) Qc) which renders properly in more (all?) pagers.
|
291563 |
01-Dec-2015 |
bdrewery |
META MODE: Update dependencies with 'the-lot' and add missing directories.
This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable.
Currently rescue/rescue and sys/modules are still not connected.
Sponsored by: EMC / Isilon Storage Division
|
290337 |
03-Nov-2015 |
dteske |
Add sysrc(8) support for "rc.conf.d" file(s) when given "-s name" to indicate service(8) script. While here, add "-l" option for listing the set of configuration file(s) considered (in order; separated by space). Also add "-L" for exploring all configuration files and "-E" to omit files that don't exist from operations.
Differential Revision: https://reviews.freebsd.org/D3551 Reviewed by: allanjude MFC after: 1 week X-MFC-to: stable/10 Relnotes: yes
|
287979 |
18-Sep-2015 |
bdrewery |
Remove redundant beforeinstall.
|
287421 |
03-Sep-2015 |
dteske |
Fix mandoc(1) "WARNING: end of line whitespace"
MFC after: 3 days X-MFC-to: stable/10
|
287420 |
03-Sep-2015 |
dteske |
Remove non-functional examples.
MFC after: 3 days X-MFC-to: stable/10
|
287413 |
02-Sep-2015 |
dteske |
Minor code cleanups (no functional changes).
MFC after: 3 days X-MFC-to: stable/10
|
287390 |
01-Sep-2015 |
dteske |
Bump version for altered long-opts processing
MFC after: 3 days X-MFC-to: stable/10
|
287389 |
01-Sep-2015 |
dteske |
Simplify long-option processing
MFC after: 3 days X-MFC-to: stable/10
|
287385 |
01-Sep-2015 |
dteske |
Bump version for prior fix (SVN r287381)
MFC after: 3 days X-MFC-to: stable/10
|
287384 |
01-Sep-2015 |
dteske |
Style: Remove whitespace around brackets from function syntax options
MFC after: 3 days X-MFC-to: stable/10
|
287383 |
01-Sep-2015 |
dteske |
Comment for escape() function.
MFC after: 3 days X-MFC-to: stable/10
|
287382 |
01-Sep-2015 |
dteske |
Comment
MFC after: 3 days X-MFC-to: stable/10
|
287381 |
01-Sep-2015 |
dteske |
Properly escape arguments when moving into jail or chroot
MFC after: 3 days X-MFC-to: stable/10
|
287380 |
01-Sep-2015 |
dteske |
Style: comments
MFC after: 3 days X-MFC-to: stable/10
|
287379 |
01-Sep-2015 |
dteske |
Style consistency: add single space before each `;;' case entry
MFC after: 3 days X-MFC-to: stable/10
|
287378 |
01-Sep-2015 |
dteske |
Remove `SYSRC_' prefix from $SYSRC_VERBOSE (prefix unnecessary since this is a non-inheritable attribute; was previously).
MFC after: 3 days X-MFC-to: stable/10
|
286660 |
12-Aug-2015 |
brueffer |
Fix a few mandoc warnings.
MFC after: 1 week
|
281780 |
20-Apr-2015 |
dteske |
Update usage statement to align with post-r279624 functionality.
MFC after: 3 days X-MFC-to: stable/10 stable/9
|
279624 |
05-Mar-2015 |
dteske |
sysrc(8): Add `key-=remove' and improve `key+=append' syntax
MFC after: 3 days X-MFC-to: stable/10 stable/9
|
274119 |
05-Nov-2014 |
dteske |
Add EXAMPLES-section entry for new key+=append syntax of sysrc(8).
MFC after: 3 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274068 Thanks to: @SeanChittenden
|
274068 |
03-Nov-2014 |
dteske |
Add key+=append syntax to sysrc(8).
Reviewed by: shurd MFC after: 3 days X-MFC-to: stable/10 stable/9
|
268863 |
18-Jul-2014 |
dteske |
Oops, forgot to bump manual date/copyright in r268860.
MFC after: 3 days X-MFC-to: stable/10, stable/9, ports X-MFC-with: r268860
|
268860 |
18-Jul-2014 |
dteske |
Minor enhancements, bug fixes, and man-page adjustments.
+ Make `sysrc -x foo' produce error status if foo is unset. NB: Reported by lme (everything else ``while I'm at it'') + Remove mention of SYSRC_VERBOSE from `sysrc --help' output. NB: False documentation leftover from an ancient precursor. + Make `sysrc -qc foo' work the same as `sysrc -ic foo' when foo is unset NB: For syntax convenience (my fingers know `-q' more than `-i'). + Update description of `-c' flag in help message/manual. + Update description of `-q' flag in help message/manual. + Make `sysrc -vc foo' work as documented in the manual NB: Show message stating whether foo is currently set. + Make `sysrc -vc foo=1' work as documented in the manual NB: Show message stating how value of foo would be changed (if at all). + Remove odd usage of parentheses in `-R dir' section of manual. + Clarify syntax section of manual w/respect to sysctl(8) similarities. + Add new/missing people to the `THANKS TO' section of the manual.
Reported by: lme MFC after: 3 days X-MFC-to: stable/10, stable/9, ports
|
267668 |
20-Jun-2014 |
bapt |
use .Mt to mark up email addresses consistently (part2)
PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
|
258411 |
21-Nov-2013 |
dteske |
Revert SVN r257830 -- that feature was annoying and was removed long ago. Was a momentary memory lapse induced by old code that was lying in my ~/bin
|
257830 |
07-Nov-2013 |
dteske |
Document SYSRC_VERBOSE enviroment variable in the manual.
|
257829 |
07-Nov-2013 |
dteske |
Fix a bug with `-e' that broke sometime around when I added `-F'. Also, revamp the `-e' output to truly be sh(1) compatible syntax (even if passed in `-v' for verbose output).
|
257828 |
07-Nov-2013 |
dteske |
Comments and whitespace.
|
257827 |
07-Nov-2013 |
dteske |
Add a `-c' option for `check only' to determine if a value is set (get command) or if the current value is the same as what is desired (set command). In those cases, the return status is success. Otherwise, if the variable is unset (get command) or set to a different value that what is desired (set command), returns with error status. This is useful for puppet integration as well as everyday scripting.
|
257826 |
07-Nov-2013 |
dteske |
Add new `--version' long option for getting the version (good for comparing against the ports revision).
|
257824 |
07-Nov-2013 |
dteske |
Fix a bug that prevented `-d' from working as-documented in sysrc(8). Rather, prevent a bunch of debugging information from spewing onto the screen when using the `describe' flag (misinterpreted as `debug' by the automatatic initialization routines).
|
252987 |
07-Jul-2013 |
dteske |
Fix typos in the BSD License.
|
252800 |
05-Jul-2013 |
dteske |
Update release info.
|
252799 |
05-Jul-2013 |
dteske |
Update copyright/date on the back of r252798.
|
252798 |
05-Jul-2013 |
dteske |
Update sysrc(8) manual to coincide with r252797:
Do not inherit $SYSRC_VERBOSE from operating environment. The concern is that when a user (such as myself) which has SYSRC_VERBOSE=1 in his/her ~/.bash_profile or such that when they are told to execute a command like:
hostname `sysrc -n hostname`
NOTE: To activate a recently configured hostname.
If $SYSRC_VERBOSE is set, then POLA is violated because the output of sysrc is indirectly influenced (making for an inconsistent experience).
|
252797 |
05-Jul-2013 |
dteske |
Do not inherit $SYSRC_VERBOSE from operating environment. The concern is that when a user (such as myself) which has SYSRC_VERBOSE=1 in his/her ~/.bash_profile or such that when they are told to execute a command like:
hostname `sysrc -n hostname`
NOTE: To activate a recently configured hostname.
If $SYSRC_VERBOSE is set, then POLA is violated because the output of sysrc is indirectly influenced (making for an inconsistent experience).
|
246546 |
08-Feb-2013 |
dteske |
Remove NO_OBJ from Makefiles that generate manuals because this causes the GZIP compressed manuals to appear in ./src instead of the appropriate obj dir.
PR: conf/175844 Submitted by: Dominique Goncalves <dominique.goncalves@gmail.com>
|
241565 |
14-Oct-2012 |
dteske |
Mirror the changes made in SVN r240798:
Replace "( : ${var?} )" syntax with better "[ ${var+set} ]" syntax.
Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
|
241243 |
06-Oct-2012 |
joel |
mdoc: begin sentences on a new line.
|
241242 |
06-Oct-2012 |
joel |
Minor mdoc fix.
|
241241 |
06-Oct-2012 |
joel |
Remove trailing whitespace.
|
241182 |
04-Oct-2012 |
joel |
Fix HISTORY.
|
241168 |
03-Oct-2012 |
zeising |
Sort manual page cross references.
Approved by: joel (mentor)
|
241167 |
03-Oct-2012 |
zeising |
Remove whitespace at EOL
Approved by: joel (mentor)
|
241149 |
03-Oct-2012 |
dteske |
Import sysutils/sysrc from the ports tree (current version 5.1). Importing disconnected under the WITH_BSDCONFIG flag (a good idea since this version of sysrc(8) indeed requires the `sysrc.subr' module installed by bsdconfig(8)).
Multiple reasons sysrc should not simply continue to live in ports. The most important being that it is tightly coupled with the base.
Approved by: adrian (co-mentor)
|