Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-06 | Always print the key signify(1) is using. | Antoine Jacoutot | |
sure deraadt@ | |||
2014-03-01 | start using the new officially named keys. This is being done before | Theo de Raadt | |
any snapshots come out which are signed with that key... but just give it a day or two. from ajacoutot | |||
2014-02-08 | Only create DBDIR if it does not exist. | Antoine Jacoutot | |
2014-02-07 | When using SM_PATH, fetch the SHA256 file only once since we will not be | Antoine Jacoutot | |
using multiple repos. ok rpe@ | |||
2014-02-05 | Sync getopts with usage. | Antoine Jacoutot | |
2014-02-03 | Really clean up after a run. | Antoine Jacoutot | |
Factorize the sig file name. Do not through an error when a file got manually removed but is still present in the sum file. | |||
2014-01-28 | Drop comma (sthen@). | Antoine Jacoutot | |
2014-01-28 | Drop FETCH_CMD and always use ftp(1). | Antoine Jacoutot | |
New fetch() function that wraps ftp(1) with our needed knobs (courtesy of halex@) input from halex@ rpe@ ok halex@ | |||
2014-01-27 | Only remove COMPFILE if it exists. | Antoine Jacoutot | |
2014-01-27 | Move "EDIT" to the top. | Antoine Jacoutot | |
2014-01-27 | Enhance errors output and display exactly what is going on. | Antoine Jacoutot | |
req. by deraadt@ Don't redirect error messages unless in a couple of places where it actually makes sense. | |||
2014-01-27 | Make it clear SM_PATH will fetch the sets corresponding to the currently | Antoine Jacoutot | |
running release. | |||
2014-01-23 | specifically NOT suppress signify error output | Robert Peichaer | |
suggested by espie@ OK deraadt@ | |||
2014-01-23 | More output enhancements, put errors and warnings where they belong. | Antoine Jacoutot | |
2014-01-23 | Verify both the signature and the checksum in check_sig(). | Antoine Jacoutot | |
Fix a regression with '-s' and '-x' when not using full path to the sets. Be a little bit more verbose about what we do. ok rpe@ | |||
2014-01-22 | Do not bother comparing/merging empty files. Regression from previous | Antoine Jacoutot | |
spotted by kettenis@ | |||
2014-01-22 | Don't remove the SHA256 file twice. | Antoine Jacoutot | |
2014-01-22 | Cleanup and simplify: | Antoine Jacoutot | |
- rename restore_bak to restore_sum since this is what it does - better clean up after ourselves so only user relevant files are left in the work directory after a run - better handling of symlinks and make sure they match - tweak output: no need to warn the user when we are finished, it is pretty obvious; output that we are veryfing sigs - simplify signature handling: drop get_sig and get signatures at the same time we get the sets -- this allows to get a specific SHA256.sig file for each set check signature in check_sig() right after getting the corresponding set ok rpe@ | |||
2014-01-21 | Document -S and the new signify(1) use by sysmerge(8). | Antoine Jacoutot | |
input and ok jmc@ | |||
2014-01-21 | Protect variable names. | Antoine Jacoutot | |
2014-01-21 | Add and enable signature checking per default. | Robert Peichaer | |
Provide new option -S to skip that step. idea and initial work from jturner@ with feedback from deraadt@ ok aja@ | |||
2013-09-10 | Add support for the SM_PATH environment variable. This changes the | Antoine Jacoutot | |
default behavior of sysmerge when no source is specified on the command line: * if SM_PATH is set, then sysmerge will search this path for etcXX.tgz and/or xetcXX.tgz * if SM_PATH is not set (the default), then the behaviour is the same as before and /usr/src is used idea from espie@ man page refactoring jmc@ (who else :-)) "good idea" krw@ ok rpe@ landry@ espie@ | |||
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-03-22 | Do not register symlinks in the sum files. This makes no sense and makes | Antoine Jacoutot | |
sysmerge(8) output a warning when the target of the link does not yes exist on the system. ok sthen@ | |||
2013-03-02 | Always compare aliases(5) at the end of the sysmerge(8) run after all | Antoine Jacoutot | |
files have already been merged. This is needed in the case where the syntax of smtpd.conf changed to prevent newaliases(8) from failing. issue reported by todd@ ok sthen@ | |||
2013-01-25 | Rename some functions and bump copyright. | Antoine Jacoutot | |
No functionnal change. | |||
2013-01-04 | simplify chroot cases | Robert Peichaer | |
ok ajacoutot@ | |||
2013-01-03 | Refactor code for extracting and checksumming of (x)etcXX.tgz sets | Robert Peichaer | |
or preparing from /usr/src into extract_set() and prepare_src(). - extend error handling and quoting of user supplied input - move and rename get_sets() to get_set(), change parameter order and allow arbitrary filenames in url pattern (see r1.62 msg) ok halex@, 'go ahead' ajacoutot@ | |||
2012-12-26 | correction of the SRCDIR check | Robert Peichaer | |
2012-12-26 | Combine almost identical code for fetching and checking of the | Robert Peichaer | |
etcXX.tgz/xetcXX.tgz sets into a more generic function get_sets(). Move the SRCDIR check into the getopts while-loop as well. ok ajacoutot@ halex@ | |||
2012-12-25 | replace one grep with awk patterns and simplify another using -q | Robert Peichaer | |
ok ajacoutot@ | |||
2012-12-24 | simplify things by using shell patterns | Robert Peichaer | |
ok ajacoutot@ halex@ | |||
2012-12-23 | simplify setting FETCH_CMD and move it upwards to where the other | Robert Peichaer | |
global variables are defined ok ajacoutot@ | |||
2012-12-19 | use (()) for arithmetic tests | Robert Peichaer | |
ok @ajacoutot | |||
2012-11-10 | consistently use [ -n "${var}" ] instead of [ "${var}" ] | Robert Peichaer | |
no functional change discussed and ok ajacoutot | |||
2012-11-10 | turn single-command if-then-fi blocks into "[ expr ] && command" | Robert Peichaer | |
style lines. no change of functionality. discussed with and ok ajacoutot | |||
2012-11-10 | enhance error_rm_wrkdir() to print an error message if one is passed | Robert Peichaer | |
as argument to replace some error "message" error_rm_workdir lines by a single error_rm_workdir "message" line. ok ajacoutot | |||
2012-11-08 | mark some more variables as local | Robert Peichaer | |
ok ajacoutot | |||
2012-08-28 | Always compare master.passwd(5) and group(5) regardless of their sums: | Antoine Jacoutot | |
this is a sanity check to ensure no system user(s)/group(s) are missing. ok sthen@ | |||
2012-08-20 | Explicitely set local variables as such. | Antoine Jacoutot | |
Remove unused DBFILE. from robert at peichaer dot org | |||
2012-08-20 | Don't unset NEED_NEWALIASES too soon or we will not get the warning. | Antoine Jacoutot | |
from robert at peichaer dot org | |||
2012-08-15 | use Lk for links; | Jason McIntyre | |
2012-08-04 | Also log the file(s) we manually merged/installed as it's important | Antoine Jacoutot | |
information. ok sthen@ | |||
2012-08-04 | Factorize common warn, error and report outputs into functions. | Antoine Jacoutot | |
Remove bogus echo -n "foobar\n", leftover from display output tests. No functional change but makes the code more readable. from robert ar peichaer dor org ok sthen@ | |||
2012-03-19 | Use $() instead of backticks. | Antoine Jacoutot | |
2012-02-17 | Remove the backup chunk from the man page. People should use backup | Antoine Jacoutot | |
anyway and sysmerge(8) automatically save replaced files. ok sthen@ | |||
2011-10-09 | add a missing newline when you merge login.conf if login.conf.db doesn't exist | Stuart Henderson | |
ok aja@ | |||
2011-09-01 | Fix the display of running utilities (e.g. don't say we are running | Antoine Jacoutot | |
makemap when we are in fact running newaliases...). No functionnal change. | |||
2011-08-03 | Remove the 'obsolete file(s)' feature. It may come back at some point | Antoine Jacoutot | |
(doubtful) but since files tend to move from one set to another sysmerge would end up tagging them as obsolete. I see no way to fix this... req. by and ok deraadt@, ok landry sthen@ | |||
2011-07-21 | Adjust work directory name. | Antoine Jacoutot | |