public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: thelma@sys-concept.com
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] dev-lang/php - making binary
Date: Sat, 15 Apr 2023 18:57:10 -0600	[thread overview]
Message-ID: <519b947d-9c51-7f71-0d87-8a2730de14b5@sys-concept.com> (raw)

php-7.4 will be getting obsolete in the future and converting my code to php-8 might not be easy.
So I want to make a binary of the current dev-lang/php-7.4.33-r2 just in case in the near future they will pull out the old version out of the portage.

Will making binary allow me to install dev-lang/php-7.4.33-r2 (binary) with future upgrades (after PHP-7.4 is gone from the portage)?

Do I need to make binary of packages  dev-lang/php-7.4 depends on?

equery d dev-lang/php
  * These packages depend on dev-lang/php:
dev-db/phpmyadmin-5.2.1 (dev-lang/php[ctype,filter,json(+),session,ssl,unicode])
                         (dev-lang/php[mysqli])
                         (dev-lang/php[mysql])
media-libs/libvpx-1.12.0-r1 (doc ? dev-lang/php)
virtual/httpd-php-7.4 (dev-lang/php:7.4[fpm])
                       (dev-lang/php:7.4[apache2])
                       (dev-lang/php:7.4[cgi]

Step to make PHP-7.4 binary (am I missing anything)?

1. add package to:  /etc/portage/package.use
echo " dev-lang/php mysql mysqli gd" >>  /etc/portage/package.use

2.) emerge --buildpk dev-lang/php

3.)  The binary package file will be created in the /usr/portage/packages directory.

4.) To install the binary package on another Gentoo system, copy the .tbz2 file to the other system's /usr/portage/packages directory and run the following command:

emerge --usepkg dev-lang/php

Am I missing anything?

-- 
Thelma


             reply	other threads:[~2023-04-16  0:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-16  0:57 thelma [this message]
2023-04-16  1:29 ` [gentoo-user] dev-lang/php - making binary julien
2023-04-16  1:52   ` Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=519b947d-9c51-7f71-0d87-8a2730de14b5@sys-concept.com \
    --to=thelma@sys-concept.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox