Antoine Jacoutot
5c1b22f4d0
Bump release+version for the upcoming 55-LTS and 56-stable.
2014-09-11 18:28:55 +02:00
Antoine Jacoutot
8286862c28
Drop '-n' -- it is useless in its current form.
2014-09-11 18:27:56 +02:00
Antoine Jacoutot
f61deb1586
Unbreak dry-run.
2014-09-11 17:35:22 +02:00
Antoine Jacoutot
570bdbeb49
Tell users to check their proxy... settings when ftp fails.
2014-08-14 15:55:31 +02:00
Antoine Jacoutot
1156efa83f
Add path to ChangeLog
2014-06-10 12:27:48 +02:00
Antoine Jacoutot
5934a41d92
binpatches can only be found in PKG_PATH_UPDATE{,_LTS) and we
...
want to make sure we search in all paths and don't stop at the
first match we find
2014-06-10 12:26:50 +02:00
Antoine Jacoutot
b3e6f5f7e0
Make sure we are not running several instances.
...
idea from otto@openbsd
2014-05-28 10:44:35 +02:00
Antoine Jacoutot
068b1d8a24
Use a directory with mktemp(1) instead of files. This allows us
...
to rm the directory instead of having to rm with a wildcard.
idea from otto@openbsd
2014-05-28 10:27:22 +02:00
Antoine Jacoutot
b4b48a67d5
Add a sample PKG_PATH for the LTS service.
2014-05-13 10:15:07 +02:00
Antoine Jacoutot
4484f29f53
Remove obvious output.
2014-05-07 17:20:46 +02:00
Antoine Jacoutot
26ad7b8f67
Implement exclusion list.
...
Adding packages and/or binpatches to EXCLUDE_PKG will make openup
skip them.
2014-05-07 12:10:21 +02:00
Antoine Jacoutot
8ec7c9d161
Use -u so that we don't replace hand-craft packages.
2014-05-01 09:19:14 +02:00
Antoine Jacoutot
abcccdfecf
Bump openup version.
...
Deprecate 5.3.
2014-04-30 15:12:51 +02:00
Antoine Jacoutot
f069dfd311
Tweak output.
2014-04-30 09:40:43 +02:00
Antoine Jacoutot
dbe29e5670
Add -Dunsigned for -S.
2014-04-30 08:31:12 +02:00
Antoine Jacoutot
3d9b50ce9a
Add signify(1) support.
2014-04-25 12:02:35 +02:00
Antoine Jacoutot
195cbe37b6
Simplify pkg updates and do not call `-u' against a pkg list, otherwise
...
we may ebd up updating packages we do not want (e.g. moving from
squid-2.7 to squid-3 -- where both packages are available).
Fixes #7257
2014-04-19 17:35:27 +02:00
Antoine Jacoutot
08928ff242
Do not through an error when we check for old binpatches and no binpatch is installed.
2014-01-16 09:25:02 +01:00
Antoine Jacoutot
ac85dd7595
Bump copyright; req. by reiner
2014-01-06 19:14:45 +01:00
Antoine Jacoutot
508467135c
Better msg.
2014-01-06 11:21:14 +01:00
Antoine Jacoutot
acb86cdf95
Bump version.
2014-01-06 10:09:03 +01:00
Antoine Jacoutot
562c4047f2
Also remove old rollback packages.
2014-01-06 10:08:29 +01:00
Antoine Jacoutot
dcce1ad6fa
typo in comment
2013-12-30 15:03:13 +01:00
Antoine Jacoutot
96259b429c
Renove old binpatches entries; not bumping yet, I prefer to have it
...
in a wild for a bit.
2013-12-30 14:35:36 +01:00
Antoine Jacoutot
2eea8f06cb
Fix output when no binpatch is installed.
2013-11-02 11:57:52 +01:00
Antoine Jacoutot
18645a958b
Fix check for unsupported releases.
2013-11-01 12:32:53 +01:00
Antoine Jacoutot
9a718fbace
Warn the user if the machine did not reboot after the last kernel update.
2013-09-30 16:55:16 +02:00
Antoine Jacoutot
4e350bab9f
Bump version.
2013-09-25 12:25:55 +02:00
Antoine Jacoutot
7b19f54d26
Make sure /etc/openup.conf has sane permissions since it can contain a password to the premium subscription service.
2013-09-25 12:25:02 +02:00
Antoine Jacoutot
cb6f138a3f
Make it possible to override openup values using /etc/openup.conf
...
instead of editing the script directly -- since the script will
need to be overwritten on update.
2013-09-25 11:19:10 +02:00
Antoine Jacoutot
1df35d2367
Remove unneeded check.
2013-09-17 09:30:49 +02:00
Antoine Jacoutot
dccdf883f8
Only output what will be done in dry-run mode.
...
Factorize evaluation of commands.
Bump VERSION, we want people to test.
2013-09-17 09:28:05 +02:00
Antoine Jacoutot
afd187f805
Make it clear -c only reports but does not change anything on the system.
2013-09-11 22:50:37 +02:00
Antoine Jacoutot
516d9366cc
Parse args.
2013-09-09 19:07:43 +02:00
Antoine Jacoutot
4d7d88c634
Ignore the quirks package.
2013-09-04 18:07:41 +02:00
Antoine Jacoutot
f9605878b8
Bump.
2013-09-04 18:01:28 +02:00
Antoine Jacoutot
181612ca78
Run check_openupd() after option parsing (fixes XXX).
2013-09-04 17:59:10 +02:00
Antoine Jacoutot
a3218e28a6
Finish -K implementation.
2013-09-04 17:54:38 +02:00
Antoine Jacoutot
f3a10f3944
Factorize arch -s where it makes sense.
2013-09-04 17:46:00 +02:00
Antoine Jacoutot
88a7c27b82
Implement -K (exclude kernel binpatches). Not working in cron mode yet.
2013-09-04 17:42:19 +02:00
Antoine Jacoutot
94e5b776f2
Optimize check_vuxml() even more:
...
Before:
0m25.06s real 0m1.26s user 0m1.39s system
After:
0m19.17s real 0m0.80s user 0m0.96s system
2013-09-04 17:23:17 +02:00
Antoine Jacoutot
f076032aec
Fix mutualy exclusive options parsing.
2013-09-04 16:25:52 +02:00
Antoine Jacoutot
f63604f746
Optimize the way we check vuxml: we only want to run pkg_add -u against
...
a list of possible candidates, not all of our packages.
This can drasticaly reduce the run in cron mode when lots of packages are installed.
2013-09-04 16:04:21 +02:00
Antoine Jacoutot
1557b975bd
More secure mktemp and hide the tmp files.
2013-09-04 15:42:02 +02:00
Antoine Jacoutot
3ec9d8d39d
Bump.
2013-09-04 15:38:38 +02:00
Antoine Jacoutot
a8da62da50
Better output in cron mode.
...
e.g.
--- nginx ---
Available update(s): 1.3.5p2 1.2.3p2 nginx: A problem exists in
nginx if proxy_pass is used with untrusted HTTP backend servers.
The problem may lead to a denial of service or a disclosure of a
worker process memory on a specially crafted response from an
upstream proxied server.
2013-09-04 15:37:13 +02:00
Antoine Jacoutot
eeee076cca
Simplify the update check.
2013-09-04 15:00:05 +02:00
Antoine Jacoutot
e30c78e50e
Fix run in non dry-run mode.
...
Add squeleton for the -K option.
2013-09-04 14:53:56 +02:00
Antoine Jacoutot
46ab61d738
Bump.
2013-09-04 14:39:43 +02:00
Antoine Jacoutot
81d5d62ff7
Remove the auto-update feature, one less knob!
...
The rational is that if the openup URL ever gets compromised, then we are restarting a script which we do not control anymore... and that can lead to obvious catastrophic failures...
Now openup will *always* check if there is an update and if one is available, it will output the command needed to update (but will not run it itself) then exit.
2013-09-04 14:37:37 +02:00