summaryrefslogtreecommitdiff
path: root/print/hplip3/files/patch-hpssd.py
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
commitf982be45e81588a27383cd1a3eb12789b8498904 (patch)
tree07be283d015b2c39f95e655cb7328ff355bc47fa /print/hplip3/files/patch-hpssd.py
parent- Fix modes of the temp directory [1] (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_4_0'.release/6.4.0
Notes
Notes: svn path=/head/; revision=223035 svn path=/tags/RELEASE_6_4_0/; revision=223036; tag=release/6.4.0
Diffstat (limited to 'print/hplip3/files/patch-hpssd.py')
-rw-r--r--print/hplip3/files/patch-hpssd.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/print/hplip3/files/patch-hpssd.py b/print/hplip3/files/patch-hpssd.py
deleted file mode 100644
index f3e7a9c8b22e..000000000000
--- a/print/hplip3/files/patch-hpssd.py
+++ /dev/null
@@ -1,21 +0,0 @@
---- 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
-