summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2019-02-06 16:02:32 -0500
committerBrian Evans <grknight@gentoo.org>2019-02-06 16:02:32 -0500
commit16444ce57e9332a7643c68fb9040e512cd1e7330 (patch)
treeb962bd756e3597ab23b19ef8823f7c168ab77a49 /net-irc
parentnet-irc/anope: Drop old (diff)
downloadgentoo-16444ce57e9332a7643c68fb9040e512cd1e7330.tar.gz
gentoo-16444ce57e9332a7643c68fb9040e512cd1e7330.tar.bz2
gentoo-16444ce57e9332a7643c68fb9040e512cd1e7330.zip
net-irc/anope: Add default pid path patch
Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/anope/anope-2.0.6.ebuild2
-rw-r--r--net-irc/anope/files/pid-patch.patch18
2 files changed, 20 insertions, 0 deletions
diff --git a/net-irc/anope/anope-2.0.6.ebuild b/net-irc/anope/anope-2.0.6.ebuild
index aad039abb9bb..dfdba26b54f7 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 000000000000..ddf661ba9803
--- /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"
+ }
+
+ /*