Bug 284468 - lang/php84: rc script broken when using profiles (affects all lang/php8*)
Summary: lang/php84: rc script broken when using profiles (affects all lang/php8*)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-30 16:38 UTC by Andrew Fyfe
Modified: 2025-03-22 09:07 UTC (History)
0 users

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


Attachments
fix typo in rc script when using profiles (4.64 KB, patch)
2025-01-30 16:38 UTC, Andrew Fyfe
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fyfe 2025-01-30 16:38:26 UTC
Created attachment 257132 [details]
fix typo in rc script when using profiles

bug #280134 renamed the rc script from php-fpm to php_fpm, a call to the RC script when using profiles was missed breaking the ability to use profiles.

Patch attached (for all PHP versions) to rename the call and remove the hard-coded reference to /usr/local and use the %%PREFIX%% subsititution.
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-02-14 14:15:33 UTC
A commit in branch main references this bug:

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

commit bcd490923e01256b14c1f1f2a7bf627ba722951f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-02-14 14:13:47 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-02-14 14:14:25 +0000

    lang/php84: Update version 8.4.3=>8.4.4

    - Make rc script prefix safe for profiles [1]

    Changelog: https://www.php.net/ChangeLog-8.php#8.4.4

    PR:             284468 [1]
    Reported by:    andrew@neptune-one.net [1]

 lang/php84/Makefile         | 2 +-
 lang/php84/distinfo         | 6 +++---
 lang/php84/files/php_fpm.in | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-02-14 14:15:34 UTC
A commit in branch main references this bug:

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

commit d7bfeac02d7b84fb08c33e8a68869665664f4cac
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-02-14 14:12:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-02-14 14:14:24 +0000

    lang/php83: Update version 8.3.16=>8.3.17

    - Make rc script prefix safe for profiles [1]

    Changelog: https://www.php.net/ChangeLog-8.php#8.3.17

    PR:             284468 [1]
    Reported by:    andrew@neptune-one.net [1]

 lang/php83/Makefile         | 2 +-
 lang/php83/distinfo         | 6 +++---
 lang/php83/files/php_fpm.in | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2025-02-14 14:16:28 UTC
php81 and php82 will be fixed at least after a week.
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-03-14 07:56:29 UTC
A commit in branch main references this bug:

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

commit f875a9c4193848464baccd82c71ce75ac9d27330
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-03-14 07:52:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-03-14 07:55:46 +0000

    lang/php82: Update version 8.2.27=>8.2.28

    - Make rc script prefix safe for profiles [1]

    Changelog: https://www.php.net/ChangeLog-8.php#8.2.28

    PR:             284468 [1]
    Co-authored-by: Andrew Fyfe <andrew@neptune-one.net>

 lang/php82/Makefile         | 4 ++--
 lang/php82/distinfo         | 6 +++---
 lang/php82/files/php_fpm.in | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-03-14 07:56:31 UTC
A commit in branch main references this bug:

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

commit 487ee7109c5cdb52157e076adb45acb76462db98
Author:     Christos Chatzaras <chris@cretaforce.gr>
AuthorDate: 2025-03-14 07:47:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-03-14 07:55:45 +0000

    lang/php81: Update version 8.1.31=>8.1.32

    - Make rc script prefix safe for profiles [1]

    Changelog: https://www.php.net/ChangeLog-8.php#8.1.32

    PR:             285379, 284468 [1]
    Reported by:    andrew@neptune-one.net [1]
    Co-authored-by: Andrew Fyfe <andrew@neptune-one.net>

 lang/php81/Makefile         | 4 ++--
 lang/php81/distinfo         | 6 +++---
 lang/php81/files/php_fpm.in | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2025-03-22 08:58:39 UTC
A commit in branch 2025Q1 references this bug:

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

commit 9f573393e07553a51352f5e8fe29fdb267618ffa
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-03-14 07:52:02 +0000
Commit:     Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2025-03-22 08:57:28 +0000

    lang/php82: Update version 8.2.27=>8.2.28

    - Make rc script prefix safe for profiles [1]

    Changelog: https://www.php.net/ChangeLog-8.php#8.2.28

    PR:             284468 [1]
    Co-authored-by: Andrew Fyfe <andrew@neptune-one.net>
    (cherry picked from commit f875a9c4193848464baccd82c71ce75ac9d27330)

 lang/php82/Makefile         | 2 +-
 lang/php82/distinfo         | 6 +++---
 lang/php82/files/php_fpm.in | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-03-22 09:07:41 UTC
A commit in branch 2025Q1 references this bug:

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

commit 3e0deb4922897ba7deef0cd7c9031b3df821dcf1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-02-14 14:12:02 +0000
Commit:     Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2025-03-22 09:02:57 +0000

    lang/php83: Update version 8.3.16=>8.3.17

    - Make rc script prefix safe for profiles [1]

    Changelog: https://www.php.net/ChangeLog-8.php#8.3.17

    PR:             284468 [1]
    Reported by:    andrew@neptune-one.net [1]

    (cherry picked from commit d7bfeac02d7b84fb08c33e8a68869665664f4cac)

 lang/php83/Makefile         | 2 +-
 lang/php83/distinfo         | 6 +++---
 lang/php83/files/php_fpm.in | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2025-03-22 09:07:43 UTC
A commit in branch 2025Q1 references this bug:

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

commit 81bebc0831d1cc533acd88f3efb0dea16fdfb30f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-02-14 14:13:47 +0000
Commit:     Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2025-03-22 09:05:42 +0000

    lang/php84: Update version 8.4.3=>8.4.4

    - Make rc script prefix safe for profiles [1]

    Changelog: https://www.php.net/ChangeLog-8.php#8.4.4

    PR:             284468 [1]
    Reported by:    andrew@neptune-one.net [1]

    (cherry picked from commit bcd490923e01256b14c1f1f2a7bf627ba722951f)

 lang/php84/Makefile         | 2 +-
 lang/php84/distinfo         | 6 +++---
 lang/php84/files/php_fpm.in | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
Comment 9 commit-hook freebsd_committer freebsd_triage 2025-03-22 09:07:44 UTC
A commit in branch 2025Q1 references this bug:

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

commit 0b42dd240a0b0b6934a06ec920d711e9dbac0a5a
Author:     Christos Chatzaras <chris@cretaforce.gr>
AuthorDate: 2025-03-14 07:47:00 +0000
Commit:     Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2025-03-22 09:00:19 +0000

    lang/php81: Update version 8.1.31=>8.1.32

    - Make rc script prefix safe for profiles [1]

    Changelog: https://www.php.net/ChangeLog-8.php#8.1.32

    PR:             285379, 284468 [1]
    Reported by:    andrew@neptune-one.net [1]
    Co-authored-by: Andrew Fyfe <andrew@neptune-one.net>

    (cherry picked from commit 487ee7109c5cdb52157e076adb45acb76462db98)

 lang/php81/Makefile         | 2 +-
 lang/php81/distinfo         | 6 +++---
 lang/php81/files/php_fpm.in | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)