1 |
commit: 16444ce57e9332a7643c68fb9040e512cd1e7330 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 6 21:02:32 2019 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 6 21:02:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16444ce5 |
7 |
|
8 |
net-irc/anope: Add default pid path patch |
9 |
|
10 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
11 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
12 |
|
13 |
net-irc/anope/anope-2.0.6.ebuild | 2 ++ |
14 |
net-irc/anope/files/pid-patch.patch | 18 ++++++++++++++++++ |
15 |
2 files changed, 20 insertions(+) |
16 |
|
17 |
diff --git a/net-irc/anope/anope-2.0.6.ebuild b/net-irc/anope/anope-2.0.6.ebuild |
18 |
index aad039abb9b..dfdba26b54f 100644 |
19 |
--- a/net-irc/anope/anope-2.0.6.ebuild |
20 |
+++ b/net-irc/anope/anope-2.0.6.ebuild |
21 |
@@ -39,6 +39,8 @@ DEPEND="${BDEPEND} |
22 |
tre? ( dev-libs/tre )" |
23 |
RDEPEND="${DEPEND}" |
24 |
|
25 |
+PATCHES=( "${FILESDIR}/pid-patch.patch" ) |
26 |
+ |
27 |
S="${WORKDIR}/${P}-source" |
28 |
|
29 |
pkg_pretend() { |
30 |
|
31 |
diff --git a/net-irc/anope/files/pid-patch.patch b/net-irc/anope/files/pid-patch.patch |
32 |
new file mode 100644 |
33 |
index 00000000000..ddf661ba980 |
34 |
--- /dev/null |
35 |
+++ b/net-irc/anope/files/pid-patch.patch |
36 |
@@ -0,0 +1,18 @@ |
37 |
+--- a/data/example.conf 2017-03-30 17:00:24.000000000 -0400 |
38 |
++++ a/data/example.conf 2019-02-06 15:16:20.088469043 -0500 |
39 |
+@@ -231,13 +231,13 @@ |
40 |
+ * The filename containing the Services process ID. The path is relative to the |
41 |
+ * services root directory. |
42 |
+ */ |
43 |
+- pid = "data/services.pid" |
44 |
++ pid = "/run/anope/services.pid" |
45 |
+ |
46 |
+ /* |
47 |
+ * The filename containing the Message of the Day. The path is relative to the |
48 |
+ * services root directory. |
49 |
+ */ |
50 |
+- motd = "conf/services.motd" |
51 |
++ motd = "/etc/anope/services.motd" |
52 |
+ } |
53 |
+ |
54 |
+ /* |