Bug 269558 - net-mgmt/icingaweb2: add SHEBANG fix for bin/icingacli
Summary: net-mgmt/icingaweb2: add SHEBANG fix for bin/icingacli
Status: Closed DUPLICATE of bug 267367
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-14 19:53 UTC by Dan Langille
Modified: 2023-02-14 20:51 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (joneum)


Attachments
add SHEBANGFIX (25.88 KB, patch)
2023-02-14 19:53 UTC, Dan Langille
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Langille freebsd_committer freebsd_triage 2023-02-14 19:53:09 UTC
Created attachment 240161 [details]
add SHEBANGFIX

This patch fixes this issue when starting vspheredb:

env: php: No such file or directory

The patch changes the first line of /usr/local/www/icingaweb2/bin/icingacli from

#!/usr/bin/env php


to

#!/usr/local/bin/php

This allows the rc.d script to successfully start the daemon.
Comment 1 Florian Smeets freebsd_committer freebsd_triage 2023-02-14 19:58:40 UTC
(In reply to Dan Langille from comment #0)
Hi Dan, this looks like a duplicate of 267367, submitted by you :) ? As that timed out a long time ago i think it's safe to commit based on maintainer timeout. This patch also includes extra hunks that don't belong here I think.
Comment 2 Dan Langille freebsd_committer freebsd_triage 2023-02-14 20:40:31 UTC
(In reply to Florian Smeets from comment #1)
Wow, back in October. I'd forgotten about that. I encountered the problem again today...

Yeah, extra patches included unintentionally.  Thanks. I'll remove that.
Comment 3 Dan Langille freebsd_committer freebsd_triage 2023-02-14 20:41:29 UTC

*** This bug has been marked as a duplicate of bug 267367 ***
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-02-14 20:49:31 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bf8338b77fa98dbb1cfe87da864e2af994ef1ace

commit bf8338b77fa98dbb1cfe87da864e2af994ef1ace
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2023-02-14 20:47:16 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2023-02-14 20:48:38 +0000

    net-mgmt/icingaweb2: add SHEBANG fix for bin/icingacli

    PR:             269558
    Approved by:    maintainer (via private email)

 net-mgmt/icingaweb2/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 5 Dan Langille freebsd_committer freebsd_triage 2023-02-14 20:51:59 UTC
And I committed with the wrong PR. It should have been 267367