Date: Thu, 07 Aug 2014 17:13:25 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 184375] New port: net-mgmt/nagios-check_relayd_status Nagios plug-in to check on the status of relayd Message-ID: <bug-184375-13-VAsfjkNIqz@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-184375-13@https.bugs.freebsd.org/bugzilla/> References: <bug-184375-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184375 --- Comment #9 from John Marino <marino@FreeBSD.org> --- no, don't it that way. 1) Rename files/check_relayd_status to files/check_relayd_status.in 2) change "#!/usr/local" to "#!@PREFIX@" 3) add a post-patch step something like post-patch: ${SED} -e 's|@PREFIX@|${PREFIX}|' ${FILESDIR}/check_relayd_status.in \ ${WRKSRC}/check_relayd_status 4) then change the INSTALL_SCRIPT command to install the script from there. Alternatively, you can leave ${FILESDIR}/check_relayd_status alone, but copy it to WRKSRC in post-patch, and then use shebangfix on it. e.g. SHEBANGFILES= check_relayd_status So you have two ways to fix it. the second might be preferable but either is fine. Did I explain it clearly? -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-184375-13-VAsfjkNIqz>