FreeBSD Bugzilla – Attachment 228179 Details for
Bug 258725
sysutils/monit: Add $PREFIX to monitrc.sample
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add $PREFIX to monitrc.sample
0001-sysutils-monit-Add-PREFIX-to-monitrc.sample.patch (text/plain), 1.00 KB, created by
Jose Luis Duran
on 2021-09-25 21:28:04 UTC
(
hide
)
Description:
Add $PREFIX to monitrc.sample
Filename:
MIME Type:
Creator:
Jose Luis Duran
Created:
2021-09-25 21:28:04 UTC
Size:
1.00 KB
patch
obsolete
>From b648fd3502994a4e8956ca2b3653441725b887ae Mon Sep 17 00:00:00 2001 >From: Jose Luis Duran <jlduran@gmail.com> >Date: Sat, 25 Sep 2021 12:00:00 -0000 >Subject: [PATCH] sysutils/monit: Add $PREFIX to monitrc.sample > >Add a `$PREFIX` to the include directive. It is commented out by >default, so no functional change should be produced. >--- > Makefile | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/Makefile b/Makefile >index 7c35cdc..f450065 100644 >--- a/Makefile >+++ b/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= monit > DISTVERSION= 5.29.0 >+PORTREVISION= 1 > CATEGORIES= sysutils > MASTER_SITES= https://mmonit.com/monit/dist/ > >@@ -34,6 +35,9 @@ SSL_CONFIGURE_OFF= --without-ssl > > post-install: > ${INSTALL} -m 600 ${WRKSRC}/monitrc ${STAGEDIR}${PREFIX}/etc/monitrc.sample >+ @${REINPLACE_CMD} -i '' -e \ >+ "s|include /etc/monit.d|include ${PREFIX}/etc/monit.d|" \ >+ ${STAGEDIR}${PREFIX}/etc/monitrc.sample > ${INSTALL} -d ${STAGEDIR}${DOCSDIR} > cd ${WRKSRC} && ${INSTALL} -m 644 ${PORTDOCS} ${STAGEDIR}${DOCSDIR} > >-- >2.33.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258725
: 228179