File: debian-socket-directory.patch

package info (click to toggle)
cyphesis-cpp 0.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,752 kB
  • sloc: cpp: 94,194; xml: 40,196; python: 8,717; sh: 4,164; makefile: 1,968; ansic: 753
file content (22 lines) | stat: -rw-r--r-- 615 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Create proper Debian socket directory
Forwarded: not-needed
Author: Olek Wojnar <olek-dev@wojnar.org>
Last-Update: 2018-02-03

--- a/Makefile.am
+++ b/Makefile.am
@@ -8,13 +8,11 @@
 
 rulesetdir = $(datadir)/cyphesis/rulesets
 
-socketdir = $(localstatedir)/tmp
+socketdir = /run/cyphesis
 socket_DATA =
 
 # FIXME Remove the mkdir hack if it gets fixed in a future automake
 install-data-hook:
-	mkdir -p $(DESTDIR)$(socketdir)
-	chmod 1777 $(DESTDIR)$(socketdir)
 	@echo 
 	@echo "Cyphesis is not yet ready to run."
 	@echo "Unless you have configured the server to run without a database, Cyphesis"