openbsd-ports/net/spectrum/patches/patch-spectrumctl_spectrum_env_py
sebastia 50568fc641 Import net/spectrum: XMPP transport/gateway
Spectrum is an XMPP transport/gateway. It allows XMPP users to communicate
with their friends who are using one of the supported networks. It supports
a wide range of different networks such as ICQ, XMPP (Jabber, GTalk), AIM,
MSN, Facebook, Twitter, Gadu-Gadu, IRC and SIMPLE.

Feedback and OK from jasper@
2010-09-13 16:41:16 +00:00

16 lines
501 B
Plaintext

$OpenBSD: patch-spectrumctl_spectrum_env_py,v 1.1.1.1 2010/09/13 16:41:16 sebastia Exp $
Use the default OpenBSD _spectrum user
--- spectrumctl/spectrum/env.py.orig Mon Jul 26 14:08:30 2010
+++ spectrumctl/spectrum/env.py Mon Jul 26 14:09:08 2010
@@ -25,7 +25,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: