diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-11 22:37:25 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-11 22:37:25 -0200 |
commit | 81fbbf86edeb63cf5e75e32d2aadc604303cf62f (patch) | |
tree | 0e0719fa70698bbe0506e05d6d0c7f1fc19e63f2 /libre/hplip-libre/disable_upgrade.patch | |
parent | ed692af24543ac4f55be71ac2a07c11981e1303a (diff) |
hplip-libre-3.13.11-2: disable internal upgrade; FS#38083 => https://bugs.archlinux.org/task/38083
Diffstat (limited to 'libre/hplip-libre/disable_upgrade.patch')
-rw-r--r-- | libre/hplip-libre/disable_upgrade.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/hplip-libre/disable_upgrade.patch b/libre/hplip-libre/disable_upgrade.patch new file mode 100644 index 000000000..f7d8fb322 --- /dev/null +++ b/libre/hplip-libre/disable_upgrade.patch @@ -0,0 +1,14 @@ +--- upgrade.py.orig 2013-10-31 12:46:54.000000000 +0100 ++++ upgrade.py 2013-12-04 14:58:03.000000000 +0100 +@@ -134,6 +134,11 @@ except getopt.GetoptError, e: + if os.getenv("HPLIP_DEBUG"): + log.set_level('debug') + ++ ++log.error("HPLIP upgrade is disabled by Archlinux for security reasons, see https://bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman.") ++clean_exit(1) ++ ++ + for o, a in opts: + if o in ('-h', '--help'): + usage() |