Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911337 - www-apps/selfoss: update to php-8.x
Summary: www-apps/selfoss: update to php-8.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-27 20:14 UTC by Michael Orlitzky
Modified: 2023-08-11 15:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2023-07-27 20:14:46 UTC
Hi, php-7.4 has been EOL for a long time (no security fixes) and I'd like to mask it. The last remaining package with a hard dependency on it is selfoss. It looks like their github snapshots should work with newer versions of PHP. Would it be possible to package one of them?
Comment 1 Maciej Barć gentoo-dev 2023-07-27 21:01:41 UTC
(In reply to Michael Orlitzky from comment #0)
> Hi, php-7.4 has been EOL for a long time (no security fixes) and I'd like to
> mask it. The last remaining package with a hard dependency on it is selfoss.
> It looks like their github snapshots should work with newer versions of PHP.
> Would it be possible to package one of them?

The issue with PHP pkgs is that I know almost nothing about PHP. In repo readme they write that composer is needed to build the php "server" side. It might take some time for me to figure out how to correctly prebuild(?) a selfoss snapshot.
Michael, you can try either doing it yourself or helping me out on IRC but 
either way if you do it yourself, with me, or let me do it it will not be fast.

The 2.19 uses the "prebuild" ZIP from releases.
Comment 2 Michael Orlitzky gentoo-dev 2023-07-27 23:23:48 UTC
I think these are prebuilt zips of the snapshots:

  https://cloudsmith.io/~fossar/repos/selfoss-git/packages/?q=version%3Alatest

That URL is endorsed in upstream's README.md (so it is safe). The prebuilt packages bundle ~50 dependencies that probably have security vulnerabilities and should be packaged separately instead, but that's a separate problem.
Comment 3 Larry the Git Cow gentoo-dev 2023-08-10 22:19:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0fad73eb114fc068b16c76db8ee6f243378ac79

commit b0fad73eb114fc068b16c76db8ee6f243378ac79
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-08-10 21:49:28 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-08-10 22:19:19 +0000

    www-apps/selfoss: bump to 2.20_pre20230730
    
    Closes: https://bugs.gentoo.org/911337
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 www-apps/selfoss/Manifest                        |  1 +
 www-apps/selfoss/selfoss-2.20_pre20230730.ebuild | 51 ++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
Comment 4 Michael Orlitzky gentoo-dev 2023-08-11 15:27:15 UTC
Thank you!