diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-10-26 20:16:02 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-10-26 20:16:02 +0000 |
commit | ee4ef808b3270c2c1fe74c3876ac5f5e4650e4ea (patch) | |
tree | d5405436b924f60fd1bd0c7392c243d5c1973a6c /print/hplip3/files/patch-hpssd.py | |
parent | Update to 0.45.2 (diff) |
- Update to 2.7.9 (breaks out foomatic integration, all access is done via
libusb now)
PR: ports/117250
Submitted by: Anish Mistry <amistry@am-productions.biz> (maintainer)
Notes
Notes:
svn path=/head/; revision=202098
Diffstat (limited to 'print/hplip3/files/patch-hpssd.py')
-rw-r--r-- | print/hplip3/files/patch-hpssd.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/print/hplip3/files/patch-hpssd.py b/print/hplip3/files/patch-hpssd.py new file mode 100644 index 000000000000..f3e7a9c8b22e --- /dev/null +++ b/print/hplip3/files/patch-hpssd.py @@ -0,0 +1,21 @@ +--- hpssd.py Fri Oct 12 19:42:15 2007 ++++ /usr/local/sbin/hpssd Fri Oct 12 23:59:31 2007 +@@ -664,6 +664,10 @@ + if prop.daemonize: + utils.daemonize() + ++ # Lock pidfile before we muck around with system state ++ # Patch by Henrique M. Holschuh <hmh@debian.org> ++ utils.get_pidfile_lock(os.path.join(sys_cfg.dirs.run, 'hpssd.pid')) ++ + # hpssd server dispatcher object + try: + server = hpssd_server(prop.hpssd_host, prop.hpssd_port) +@@ -688,6 +692,7 @@ + + log.debug("Cleaning up...") + finally: ++ os.remove(os.path.join(sys_cfg.dirs.run, 'hpssd.pid')) + server.close() + return 0 + |