aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hplip/disable_upgrade.patch
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2014-03-16 16:41:44 +0100
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2014-03-16 16:41:44 +0100
commit2c9da7ddd67caa568bf5f0f504b8fe9efcb7f9a9 (patch)
treebf0dd03276c22f966d5727ededb05c7afffb1270 /testing/hplip/disable_upgrade.patch
parentfa0e5b2896461621527bd633739dad55cb9383fb (diff)
downloadaports-2c9da7ddd67caa568bf5f0f504b8fe9efcb7f9a9.tar.bz2
aports-2c9da7ddd67caa568bf5f0f504b8fe9efcb7f9a9.tar.xz
testing/hplip: new aport
Diffstat (limited to 'testing/hplip/disable_upgrade.patch')
-rw-r--r--testing/hplip/disable_upgrade.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/hplip/disable_upgrade.patch b/testing/hplip/disable_upgrade.patch
new file mode 100644
index 0000000000..f95b4dfe4b
--- /dev/null
+++ b/testing/hplip/disable_upgrade.patch
@@ -0,0 +1,14 @@
+--- a/upgrade.py 2013-10-31 12:46:54.000000000 +0100
++++ b/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 Alpine Linux for security reasons, see https://bugs.archlinux.org/task/38083")
++clean_exit(1)
++
++
+ for o, a in opts:
+ if o in ('-h', '--help'):
+ usage()