Updates to packaging/README to reflect centralised repo repo
Some checks failed
Build PHP PDO SQLCipher packages / php8.2 on debian-12-bookworm (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.3 on debian-12-bookworm (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.4 on debian-12-bookworm (push) Has been cancelled
Build PHP PDO SQLCipher packages / php7.4 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.0 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.1 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.3 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.4 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php7.4 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.0 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.1 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.2 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.3 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.4 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php7.4 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.0 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.1 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.2 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php7.4 on debian-12-bookworm (push) Successful in 4m25s
Build PHP PDO SQLCipher packages / php8.0 on debian-12-bookworm (push) Successful in 4m17s
Build PHP PDO SQLCipher packages / php8.2 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.3 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.4 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.1 on debian-12-bookworm (push) Has been cancelled
Some checks failed
Build PHP PDO SQLCipher packages / php8.2 on debian-12-bookworm (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.3 on debian-12-bookworm (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.4 on debian-12-bookworm (push) Has been cancelled
Build PHP PDO SQLCipher packages / php7.4 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.0 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.1 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.3 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.4 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php7.4 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.0 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.1 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.2 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.3 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.4 on ubuntu-22.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php7.4 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.0 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.1 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.2 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php7.4 on debian-12-bookworm (push) Successful in 4m25s
Build PHP PDO SQLCipher packages / php8.0 on debian-12-bookworm (push) Successful in 4m17s
Build PHP PDO SQLCipher packages / php8.2 on debian-13-trixie (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.3 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.4 on ubuntu-24.04 (push) Has been cancelled
Build PHP PDO SQLCipher packages / php8.1 on debian-12-bookworm (push) Has been cancelled
This commit is contained in:
parent
7ae7869aac
commit
7f9370df91
1 changed files with 2 additions and 58 deletions
60
README.md
60
README.md
|
|
@ -39,72 +39,16 @@ I publish the packages I built, in my own apt repository, using the process desc
|
||||||
|
|
||||||
However, you have no reason to trust me and my apt repository. This git repo exists so that you can build the packages yourself instead. See Option 2 for that.
|
However, you have no reason to trust me and my apt repository. This git repo exists so that you can build the packages yourself instead. See Option 2 for that.
|
||||||
|
|
||||||
### 1) Add the GPG key (signed-by)
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo mkdir -p /usr/share/keyrings
|
sudo mkdir -p /usr/share/keyrings
|
||||||
curl -fsSL https://mig5.net/static/mig5.asc | sudo gpg --dearmor -o /usr/share/keyrings/mig5.gpg
|
curl -fsSL https://mig5.net/static/mig5.asc | sudo gpg --dearmor -o /usr/share/keyrings/mig5.gpg
|
||||||
```
|
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/mig5.gpg] https://apt.mig5.net $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mig5.list
|
||||||
|
|
||||||
My GPG fingerprint is `00AE817C24A10C2540461A9C1D7CDE0234DB458D`. You can also fetch it from https://keys.openpgp.org or search the fingerprint online to confirm it.
|
|
||||||
|
|
||||||
### 2) Add the APT source
|
|
||||||
|
|
||||||
**Debian 12 (bookworm):**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/mig5.gpg] https://apt.mig5.net bookworm main" | sudo tee /etc/apt/sources.list.d/mig5.list
|
|
||||||
```
|
|
||||||
|
|
||||||
**Debian 13 (trixie):**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/mig5.gpg] https://apt.mig5.net trixie main" | sudo tee /etc/apt/sources.list.d/mig5.list
|
|
||||||
```
|
|
||||||
|
|
||||||
**Ubuntu 22.04 (jammy):**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/mig5.gpg] https://apt.mig5.net jammy main" | sudo tee /etc/apt/sources.list.d/mig5.list
|
|
||||||
```
|
|
||||||
|
|
||||||
**Ubuntu 24.04 (noble):**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/mig5.gpg] https://apt.mig5.net noble main" | sudo tee /etc/apt/sources.list.d/mig5.list
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3) Update & install
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
# (example: PHP 8.2)
|
sudo apt install php8.2-sqlcipher # or php8.0-sqlcipher, php7.4-sqlcipher, etc
|
||||||
sudo apt install php8.2-sqlcipher
|
|
||||||
```
|
```
|
||||||
|
|
||||||
> Remember: These packages are built to **replace** `phpX.Y-sqlite3` with a SQLCipher-linked build.
|
> Remember: These packages are built to **replace** `phpX.Y-sqlite3` with a SQLCipher-linked build.
|
||||||
|
|
||||||
### 4) (Recommended) Pin to prefer this repo for sqlcipher packages
|
|
||||||
|
|
||||||
Create `/etc/apt/preferences.d/mig5.pref`:
|
|
||||||
|
|
||||||
```ini
|
|
||||||
Package: php*-sqlcipher
|
|
||||||
Pin: release o=mig5, l=php-sqlcipher, n=bookworm # adjust to your distro
|
|
||||||
Pin-Priority: 990
|
|
||||||
```
|
|
||||||
|
|
||||||
Then:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo apt update
|
|
||||||
apt-cache policy php8.2-sqlcipher
|
|
||||||
```
|
|
||||||
|
|
||||||
You should see this repo as the selected candidate.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Option 2: Building your own .debs
|
## Option 2: Building your own .debs
|
||||||
|
|
||||||
If you’d rather build locally, execute `scripts/package.sh` which in turn executes the Docker build process for each distro and PHP version.
|
If you’d rather build locally, execute `scripts/package.sh` which in turn executes the Docker build process for each distro and PHP version.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue