summaryrefslogtreecommitdiff
path: root/libre/hplip/disable_upgrade.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-05 01:16:44 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-05 01:16:44 -0300
commitc6faf6b8a2f8db0b3308a136352dfc2f5678bf0e (patch)
tree7c683e4e007c90d8673eaf19239eeb5b71b0c540 /libre/hplip/disable_upgrade.patch
parentae993cde4a2ed3f55fe66a5fe98e56bf4580ec3c (diff)
downloadabslibre-c6faf6b8a2f8db0b3308a136352dfc2f5678bf0e.tar.gz
abslibre-c6faf6b8a2f8db0b3308a136352dfc2f5678bf0e.tar.bz2
abslibre-c6faf6b8a2f8db0b3308a136352dfc2f5678bf0e.zip
hplip: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/hplip/disable_upgrade.patch')
-rw-r--r--libre/hplip/disable_upgrade.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/hplip/disable_upgrade.patch b/libre/hplip/disable_upgrade.patch
new file mode 100644
index 000000000..600d6ccc7
--- /dev/null
+++ b/libre/hplip/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 Parabola for security reasons, see https://bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Parabola software package manager pacman.")
++clean_exit(1)
++
++
+ for o, a in opts:
+ if o in ('-h', '--help'):
+ usage()