summaryrefslogtreecommitdiff
path: root/usr.sbin/syspatch
AgeCommit message (Expand)Author
2017-07-22Cleanup previous release patches and backup kernel _before_ applying newAntoine Jacoutot
2017-07-04Detect upfront whether we have a particular set installed and if not, do *not*Antoine Jacoutot
2017-06-09Drop uneeded return from rollback_patch().Antoine Jacoutot
2017-06-09/etc/mtree/BSD.x11.dist is part of base, not X; so check forAntoine Jacoutot
2017-05-27When running from cron, the ftp(1) progress bar is not shown; that's all fineAntoine Jacoutot
2017-05-26Don't try to revert the same patch in a loop if it returns an error.Antoine Jacoutot
2017-05-26Fix logic.Antoine Jacoutot
2017-05-24Preserve the modification time when install(1)ing.Antoine Jacoutot
2017-05-24Don't fill up /tmp when installing or reverting multiple patches at once.Antoine Jacoutot
2017-05-24Also trap INT when reverting a patch.Antoine Jacoutot
2017-05-23Hide sh(1) error message when /etc/installurl does not exist; we alreadyAntoine Jacoutot
2017-05-23Only install /bsd.mp on SP machines if it's already there (a defaultAntoine Jacoutot
2017-05-23Shorten varname.Antoine Jacoutot
2017-05-18Don't pass `-m' to ftp(1). Instead let isatty() decide whether we display theAntoine Jacoutot
2017-05-17Tweak remote fs check.Antoine Jacoutot
2017-05-12Make sure we have a valid URL in /etc/installurl to prevent ending up stuck inAntoine Jacoutot
2017-05-09Document that patches are cumulative and as such it is not possible to installAntoine Jacoutot
2017-05-08Only test the mirror if it's remote (and not a local directory).Antoine Jacoutot
2017-05-05Add a `-R' switch that reverts all patches.Antoine Jacoutot
2017-05-04Expand comment and bump copyright while here.Antoine Jacoutot
2017-05-03Output explicit error messages for:Antoine Jacoutot
2017-05-03- Don't make an empty syspatch/ repo an error; having no available patchAntoine Jacoutot
2017-04-30Tweak error message when running on an unsupported release.Antoine Jacoutot
2017-04-08use .Em for emphasis, not .PaIngo Schwarze
2017-04-04Also remove non syspatch hidden files/dirs.Antoine Jacoutot
2017-03-31Be quiet in case /var/syspatch/ is empty and that there's no remote sigAntoine Jacoutot
2017-02-13Reverse output when installing a patch; it's more logical (first get, thenAntoine Jacoutot
2017-02-07Ox on its own line;Jason McIntyre
2017-02-07Add installurl to FILES and SEE ALSO.Antoine Jacoutot
2017-01-30Drop empty line.Antoine Jacoutot
2017-01-26Remove unused _REL variableRobert Peichaer
2017-01-26Move setting _OSrev to immediately after verifying _KERNV and exitRobert Peichaer
2017-01-26No need to escape '.' in shell patterns - it has no special meaning.Robert Peichaer
2017-01-26Spacing and use arithmetic testRobert Peichaer
2017-01-19Simplify: bundle stripcom().Antoine Jacoutot
2017-01-19/etc/mirror.conf -> /etc/installurlAntoine Jacoutot
2017-01-19ls_missing(): as a precaution, don't output anything on stdout when runningAntoine Jacoutot
2017-01-19Use the _syspatch user.Antoine Jacoutot
2017-01-19Drop the _FETCH variable. It's useless, we are using ftp(1) specific optionsAntoine Jacoutot
2017-01-11Match what the installer does:Antoine Jacoutot
2017-01-11Drop FTP_KEEPALIVE, it's unused.Antoine Jacoutot
2016-12-31The syspatch test repo can now be accessed over https.Antoine Jacoutot
2016-12-08Make it possible to install patches even if we don't have all sets installedAntoine Jacoutot
2016-12-07Cleanup syspatch directories that do not contain a tarball; it means itAntoine Jacoutot
2016-12-06Missed in previous.Antoine Jacoutot
2016-12-06Better matching and remove a useless use of sort(1).Antoine Jacoutot
2016-12-06Catch mtree(8) error; it's only run when applying patches and we alreadyAntoine Jacoutot
2016-12-06Tweak comment.Antoine Jacoutot
2016-12-05Explicit error when running on unsupported release.Antoine Jacoutot
2016-12-05If we end up creating a rollback tarball from an empty list of files, it meansAntoine Jacoutot