commit:     16444ce57e9332a7643c68fb9040e512cd1e7330
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  6 21:02:32 2019 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed Feb  6 21:02:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16444ce5

net-irc/anope: Add default pid path patch

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>

 net-irc/anope/anope-2.0.6.ebuild    |  2 ++
 net-irc/anope/files/pid-patch.patch | 18 ++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/net-irc/anope/anope-2.0.6.ebuild b/net-irc/anope/anope-2.0.6.ebuild
index aad039abb9b..dfdba26b54f 100644
--- a/net-irc/anope/anope-2.0.6.ebuild
+++ b/net-irc/anope/anope-2.0.6.ebuild
@@ -39,6 +39,8 @@ DEPEND="${BDEPEND}
        tre? ( dev-libs/tre )"
 RDEPEND="${DEPEND}"
 
+PATCHES=( "${FILESDIR}/pid-patch.patch" )
+
 S="${WORKDIR}/${P}-source"
 
 pkg_pretend() {

diff --git a/net-irc/anope/files/pid-patch.patch 
b/net-irc/anope/files/pid-patch.patch
new file mode 100644
index 00000000000..ddf661ba980
--- /dev/null
+++ b/net-irc/anope/files/pid-patch.patch
@@ -0,0 +1,18 @@
+--- a/data/example.conf        2017-03-30 17:00:24.000000000 -0400
++++ a/data/example.conf        2019-02-06 15:16:20.088469043 -0500
+@@ -231,13 +231,13 @@
+        * The filename containing the Services process ID. The path is 
relative to the
+        * services root directory.
+        */
+-      pid = "data/services.pid"
++      pid = "/run/anope/services.pid"
+ 
+       /*
+        * The filename containing the Message of the Day. The path is relative 
to the
+        * services root directory.
+        */
+-      motd = "conf/services.motd"
++      motd = "/etc/anope/services.motd"
+ }
+ 
+ /*

Reply via email to