95e3708c4c
hplip-scan-orblite-c99.patch hplip-sclpml-strcasestr.patch hplip-hpaio-gcc14.patch to avoid C99 violations which prevent building with GCC 14. [boo#1225777] The patches were taken frombbb19dff5e
andd726b77698
If the request is OK, please forward it to Factory soon-ish too so that we can switch the default compiler. Thanks! OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=252
17 lines
533 B
Diff
17 lines
533 B
Diff
Index: b/upgrade.py
|
|
===================================================================
|
|
--- a/upgrade.py
|
|
+++ b/upgrade.py
|
|
@@ -207,6 +207,11 @@ if os.geteuid() == 0:
|
|
if os.getenv("HPLIP_DEBUG"):
|
|
log.set_level('debug')
|
|
|
|
+
|
|
+log.info("HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.suse.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an openSUSE software package manager like YaST or zypper.")
|
|
+clean_exit(1)
|
|
+
|
|
+
|
|
for o, a in opts:
|
|
if o in ('-h', '--help'):
|
|
usage()
|