openbsd-ports/net/spectrum/patches/patch-spectrumctl_spectrum_env_py
sebastia 27c2b74937 Update to latest stable release.
While there, add a rcscript, and fix cpu hogging in case the password for the transport is wrong.

OK jasper@
2011-01-10 18:34:31 +00:00

16 lines
497 B
Plaintext

$OpenBSD: patch-spectrumctl_spectrum_env_py,v 1.2 2011/01/10 18:34:31 sebastia Exp $
Use the default OpenBSD _spectrum user
--- spectrumctl/spectrum/env.py.orig Fri Oct 8 09:15:22 2010
+++ spectrumctl/spectrum/env.py Thu Jan 6 17:12:20 2011
@@ -39,7 +39,7 @@ def get_uid():
username = os.environ['SPECTRUM_USER']
except KeyError:
# otherwise we default to spectrum:
- username = 'spectrum'
+ username = '_spectrum'
try:
return pwd.getpwnam( username ).pw_uid
except KeyError: