History log of /openbsd-src/usr.sbin/syspatch/syspatch.sh (Results 76 – 100 of 168)
Revision Date Author Comments
# 20e19467 31-Mar-2017 ajacoutot <ajacoutot@openbsd.org>

Be quiet in case /var/syspatch/ is empty and that there's no remote sig
file yet (i.e. when we are in release mode but not released yet).

ok deraadt@


# 17f59a30 13-Feb-2017 ajacoutot <ajacoutot@openbsd.org>

Reverse output when installing a patch; it's more logical (first get, then
install). While here, match the installer output a bit more:
Get/Verify ...
Installing ...

prodded by a mail exchange with

Reverse output when installing a patch; it's more logical (first get, then
install). While here, match the installer output a bit more:
Get/Verify ...
Installing ...

prodded by a mail exchange with "bytevolcano"
discussed with robert@ sthen@
ok robert@

show more ...


# 7fc933f2 30-Jan-2017 ajacoutot <ajacoutot@openbsd.org>

Drop empty line.


# 543663ef 26-Jan-2017 rpe <rpe@openbsd.org>

Remove unused _REL variable

OK aja@


# 9b64d5e0 26-Jan-2017 rpe <rpe@openbsd.org>

Move setting _OSrev to immediately after verifying _KERNV and exit
early if _OSrev is empty.

OK aja@


# c6832d3c 26-Jan-2017 rpe <rpe@openbsd.org>

No need to escape '.' in shell patterns - it has no special meaning.

OK aja@


# 9320931b 26-Jan-2017 rpe <rpe@openbsd.org>

Spacing and use arithmetic test

OK aja@


# c3436116 19-Jan-2017 ajacoutot <ajacoutot@openbsd.org>

Simplify: bundle stripcom().


# fe3e31dd 19-Jan-2017 ajacoutot <ajacoutot@openbsd.org>

/etc/mirror.conf -> /etc/installurl
discussed with deraadt@ beck@ rpe@


# 3c94de9f 19-Jan-2017 ajacoutot <ajacoutot@openbsd.org>

ls_missing(): as a precaution, don't output anything on stdout when running
ftp(1) to prevent corrupting the patch list; we are already running in silent
mode but better safe than sorry.

Read the sy

ls_missing(): as a precaution, don't output anything on stdout when running
ftp(1) to prevent corrupting the patch list; we are already running in silent
mode but better safe than sorry.

Read the syspatch mirror base URL using stripcom() /etc/mirror.conf for the time
being; discussed with deraadt@ and rpe@ -- naming is not set in stone yet.

show more ...


# 102a7abd 19-Jan-2017 ajacoutot <ajacoutot@openbsd.org>

Use the _syspatch user.


# a97b214d 19-Jan-2017 ajacoutot <ajacoutot@openbsd.org>

Drop the _FETCH variable. It's useless, we are using ftp(1) specific options
that are different on the two invocations; it's not like we'll support using
wget|curl to fetch syspatches anyway.


# d0a524bc 11-Jan-2017 ajacoutot <ajacoutot@openbsd.org>

Match what the installer does:
- verify SHA256.sig and create SHA256 out of it
- get the list of syspatches from the verified SHA256
- use sha256 against the verified SHA256 to checksum the syspatches


# 4d492f8f 11-Jan-2017 ajacoutot <ajacoutot@openbsd.org>

Drop FTP_KEEPALIVE, it's unused.


# df156704 31-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

The syspatch test repo can now be accessed over https.


# e6d78d6e 08-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

Make it possible to install patches even if we don't have all sets installed
(e.g. no x sets); in this case, syspatch will skip the patch *but* it will still
be listed as available. This will allow a

Make it possible to install patches even if we don't have all sets installed
(e.g. no x sets); in this case, syspatch will skip the patch *but* it will still
be listed as available. This will allow applying the patch in case sets are
installed later on.

show more ...


# f63fd0ec 07-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

Cleanup syspatch directories that do not contain a tarball; it means it
was not applied properly.


# fdafd936 06-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

Missed in previous.


# 69dc6fb2 06-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

Better matching and remove a useless use of sort(1).


# b88ebddd 06-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

Catch mtree(8) error; it's only run when applying patches and we already
check for read-only... in this case.


# f303df63 06-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

Tweak comment.


# c4ca033d 05-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

Explicit error when running on unsupported release.


# 2fa7d596 05-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

If we end up creating a rollback tarball from an empty list of files, it means
we are missing a base set. In this case, error out right away or we may end up
having the patch supposedly installed but

If we end up creating a rollback tarball from an empty list of files, it means
we are missing a base set. In this case, error out right away or we may end up
having the patch supposedly installed but without its corresponding rollback
tarball.
For now we only support *full* installations.

installed patches mismatch reported by Marc Benslahdine

show more ...


# 1e208600 05-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

Remove the ugly temporary quirks.


# 55c2d675 02-Dec-2016 ajacoutot <ajacoutot@openbsd.org>

Simplify.


1234567