Age | Commit message (Collapse) | Author |
|
anyway and sysmerge(8) automatically save replaced files.
ok sthen@
|
|
ok aja@
|
|
makemap when we are in fact running newaliases...).
No functionnal change.
|
|
(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@
|
|
|
|
added to the front of the file, then sent through system() of equiv.
ok aja
|
|
|
|
ok sthen@
|
|
|
|
|
|
http://) so that sysmerge(8) can work with URLs we use in the install
script.
ok sthen@
|
|
Update copyright year while here.
|
|
need to install files or directories with newly added user/group
ownerships.
ok sthen@ (on a slightly different diff)
|
|
to create, otherwise sysmerge will fail installing it. This can happen
for example when you only installed etcXX but run sysmerge against both
etcXX and xetcXX.
found the hard way by and ok sthen@
|
|
* "Installing foo" -> "{Merging,Upgrading} foo" where it makes sense
* remove the "it will remain to merge by hand" msg, too chatty and we
already tell the user at the end of a sysmerge run if some files are
still left to handle
ok sthen@
|
|
|
|
help from and ok naddy@
|
|
clear if there are any warning/error or things that should be handled
manually.
e.g. output from going from 4.8 to current:
# sysmerge -s etc49.tgz -x xetc49.tgz
===> Populating temporary root under /var/tmp/sysmerge.k1BnD/temproot
===> Starting comparison
===> Installing /.profile
===> Installing /etc/bgpd.conf
<...>
===> Installing /root/.profile
===> Installing /var/www/conf/mime.types
===> Comparison complete
===> Checking directory hierarchy permissions (running mtree(8))
===> Output log available at /var/tmp/sysmerge.k1BnD/sysmerge.log
*** WARNING: file(s) detected as obsolete: /etc/portal.conf /etc/security /var/msgs/bounds
*** WARNING: some new/updated file(s) may require a reboot
feedback and ok sthen@
|
|
occurence.
with a small tweak from an ok sthen@
|
|
from jmc@
|
|
prodded by and ok espie@, ok jmc@
|
|
updated files in the output, this is confusing.
ok sthen@
|
|
correct option (e.g. 'sysmerge /tmp/etc48.tgz'). Use OPTIND as all args
are handled by getopts we can catch misusage and we exit with an error.
from Brian Poole, thanks.
ok sthen@
|
|
src/*.tgz isn't specified. ok ajacoutot@
|
|
tarball contains ./var/db/sysmerge/etcsum or ./var/db/sysmerge/xetcsum.
First, it's more correct and second it allows people to rename the sets
without sysmerge bailing out.
feature requested and tested by oga@
|
|
starting the comparison anymore. It does not bring us anything and
allows to chop 30 lines of the script.
While here, remove some empty lines.
|
|
|
|
(does *NOT* touch existing users/groups)
"I like it" from several...
inputs from sthen@ and halex@
ok krw@ halex@ sthen@
|
|
reported by matthieu@
req. by and "I like it" deraadt@
|
|
|
|
is called.
While here, change shebang to /bin/ksh to reflect reality and bump
copyright year.
"checkbashisms says yes. :-)" && ok sthen@
|
|
review, specifically it's now not printed for every auto-installed
file, giving a much more compact output. ok ajacoutot@
- skip the blank line before 'Comparison complete' suggested by ajacoutot.
|
|
ok sthen@
|
|
ok sthen@
|
|
ok sthen@
|
|
ok sthen@
|
|
Fix TMPDIR while here and remove the EDITOR definition, it is only used
once.
ok sthen@
|
|
"fine" jmc@
|
|
Remove the '-a' switch (auto-mode) and make this behaviour the default.
Add a new '-d' switch to get former default (full diff) mode.
General idea ok for several.
man page improvements from jmc@
ok jim@ oga@ sobrado@
ok sthen@ "sane defaults++ :)"
|
|
|
|
ok sthen@
|
|
spotted by jmc@
|
|
|
|
missed some very much needed symlinks under /etc/fonts/conf.d/).
The behaviour is the following, if a link does not exist:
* in '-a' mode, it is created automatically
* in normal mode, sysmerge will ask what you want to do
If one wants to use '-a' mode while still being in control of what
links are created, sysmerge.ignore can be used.
"sounds good to" phessler@, ok sthen@
|
|
ok sthen@
|
|
|
|
``please put it in'', pyr@
|
|
Remove top comments already duplicated in the man page.
"sure" sthen@
|
|
an entire day of mailing to make this tweak ;(
ok ajacoutot
|
|
- remove -SX from usage()
ok ajacoutot
|