net-irc/anope: Add default pid path patch
authorBrian Evans <grknight@gentoo.org>
Wed, 6 Feb 2019 21:02:32 +0000 (16:02 -0500)
committerBrian Evans <grknight@gentoo.org>
Wed, 6 Feb 2019 21:02:32 +0000 (16:02 -0500)
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Brian Evans <grknight@gentoo.org>
net-irc/anope/anope-2.0.6.ebuild
net-irc/anope/files/pid-patch.patch [new file with mode: 0644]

index aad039abb9bb860e49920da2a40a196a7bd25685..dfdba26b54f719f9abe402eda3574ccc1fa541be 100644 (file)
@@ -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 (file)
index 0000000..ddf661b
--- /dev/null
@@ -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"
+ }
+ /*