mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 12:59:17 -04:00
- Convert post-patch to real patches because they are easier to maintain. - Fix a NULL dereference in the scanner backend when D-Bus isn't running. - Depend on sysutils/py-distro to make hp-toolbox (Device Manager) work again. - Upstream switched to Avahi for mDNS support. Rename the SNMP option to NETWORK because it's not just SNMP now. - Don't install some programs related to uninstalling and upgrading of HPLIP and the installation of firmware plugins because they circumvent the package system. - Install icons in share/icons so desktops can choose an appropriate resolution. Portions taken from a patch by Oleg Sidorkin <osidorkin@gmail.com>. PR: 255586, 257034, 257512
11 lines
367 B
Python
11 lines
367 B
Python
--- base/os_utils.py.orig 2022-02-23 07:41:04 UTC
|
|
+++ base/os_utils.py
|
|
@@ -53,7 +53,7 @@ def getHPLIPDir():
|
|
status = 0
|
|
if not os.path.exists(hplipdir):
|
|
try:
|
|
- os.umask(0)
|
|
+ os.umask(0o022)
|
|
s = os.stat(homedir)
|
|
os.mkdir(hplipdir, 0o755)
|
|
os.chown(hplipdir, s[stat.ST_UID], s[stat.ST_GID])
|