openbsd-ports/net/spectrum/patches/patch-spectrumctl_spectrum_spectrum_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
591 B
Plaintext

$OpenBSD: patch-spectrumctl_spectrum_spectrum_py,v 1.2 2011/01/10 18:34:31 sebastia Exp $
Import errno, to prevent error
--- spectrumctl/spectrum/spectrum.py.orig Tue Dec 28 17:58:40 2010
+++ spectrumctl/spectrum/spectrum.py Thu Jan 6 17:13:52 2011
@@ -19,7 +19,7 @@
Represents a single spectrum instance, see L{spectrum.spectrum}.
"""
-import os, sys, pwd, stat, time, signal, resource
+import os, sys, pwd, stat, time, signal, resource, errno
from subprocess import call, Popen, PIPE, STDOUT
import spectrumconfigparser, config_interface, env
from ExistsError import ExistsError