Compare commits
22 Commits
renovate/m
...
v3.22
| Author | SHA1 | Date | |
|---|---|---|---|
| 58019c7c99 | |||
| baaf2f5980 | |||
| a0b130e4f1 | |||
| 7d7639c713 | |||
| c94788087e | |||
| 38e999c870 | |||
| 9428b9ae3e | |||
| 3293ae3a9f | |||
| 5015690e9c | |||
| 094296ac1f | |||
| 2a85491af1 | |||
| 95484d65ee | |||
| 81fa109bb3 | |||
| ad1049b08b | |||
| 5f51d356b9 | |||
| 82d790e7c8 | |||
| 6e83a70469 | |||
| adb3fa88b9 | |||
| 24a8d7007a | |||
| df917faa58 | |||
| e40859b0b1 | |||
| e4ff963dc6 |
190
.github/workflows/main.yaml
vendored
190
.github/workflows/main.yaml
vendored
@@ -5,12 +5,12 @@ on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- v3.22
|
||||
|
||||
env:
|
||||
BASE_URL: https://git.mug.lv/api/packages/mug/alpine
|
||||
PACKAGER: Galen Abell <galen@galenabell.com>
|
||||
RELEASE: '3.22'
|
||||
RELEASE: "v3.22"
|
||||
REPOSITORY: main
|
||||
|
||||
jobs:
|
||||
@@ -18,122 +18,110 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 30
|
||||
container:
|
||||
image: alpine:${{ env.RELEASE }}
|
||||
image: alpine:3.22
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: apk add abuild bash curl doas git jq lua-aports nodejs
|
||||
- name: Install dependencies
|
||||
run: apk add abuild bash curl doas git jq lua-aports nodejs
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup abuild
|
||||
run: |
|
||||
cat <<EOF | tee /etc/apk/repositories
|
||||
$BASE_URL/v$RELEASE/$REPOSITORY
|
||||
https://dl-cdn.alpinelinux.org/alpine/v$RELEASE/main
|
||||
https://dl-cdn.alpinelinux.org/alpine/v$RELEASE/community
|
||||
EOF
|
||||
curl -sJO --output-dir /etc/apk/keys "$BASE_URL/key"
|
||||
apk update || true
|
||||
- name: Setup abuild
|
||||
run: |
|
||||
cat <<EOF | tee /etc/apk/repositories
|
||||
$BASE_URL/$RELEASE/$REPOSITORY
|
||||
https://dl-cdn.alpinelinux.org/alpine/$RELEASE/main
|
||||
https://dl-cdn.alpinelinux.org/alpine/$RELEASE/community
|
||||
EOF
|
||||
curl -sJO --output-dir /etc/apk/keys "$BASE_URL/key"
|
||||
apk update || true
|
||||
|
||||
printf 'PACKAGER="%s"' "$PACKAGER" | tee -a /etc/abuild.conf
|
||||
echo "permit nopass :wheel" >/etc/doas.conf
|
||||
mkdir -p /var/cache/distfiles
|
||||
chmod a+w /var/cache/distfiles
|
||||
abuild-keygen -ain
|
||||
printf 'PACKAGER="%s"' "$PACKAGER" | tee -a /etc/abuild.conf
|
||||
echo "permit nopass :wheel" >/etc/doas.conf
|
||||
mkdir -p /var/cache/distfiles
|
||||
chmod a+w /var/cache/distfiles
|
||||
abuild-keygen -ain
|
||||
|
||||
- name: Get changed packages
|
||||
id: changed
|
||||
shell: bash
|
||||
run: |
|
||||
if [ "$GITHUB_EVENT_NAME" = 'push' ]; then
|
||||
packages="$(git show \
|
||||
--pretty= \
|
||||
--name-only \
|
||||
--diff-filter=ACMR \
|
||||
--relative="$REPOSITORY" \
|
||||
HEAD -- '*/APKBUILD' |
|
||||
xargs -rn1 dirname |
|
||||
xargs -r ap builddirs -d "$(pwd)/$REPOSITORY" |
|
||||
xargs -rn1 basename)"
|
||||
else
|
||||
- name: Get changed packages
|
||||
id: changed
|
||||
shell: bash
|
||||
run: |
|
||||
packages="$(git diff \
|
||||
--name-only \
|
||||
--diff-filter=ACMR \
|
||||
--relative="$REPOSITORY" \
|
||||
origin/main...HEAD -- '*/APKBUILD' |
|
||||
"$BASE_REF"...HEAD -- '*/APKBUILD' |
|
||||
xargs -rn1 dirname |
|
||||
xargs -r ap builddirs -d "$(pwd)/$REPOSITORY" |
|
||||
xargs -rn1 basename)"
|
||||
fi
|
||||
echo 'packages<<EOF' >>"$GITHUB_OUTPUT"
|
||||
echo "$packages" >>"$GITHUB_OUTPUT"
|
||||
echo 'EOF' >>"$GITHUB_OUTPUT"
|
||||
echo "$GITHUB_OUTPUT"
|
||||
echo 'packages<<EOF' >>"$GITHUB_OUTPUT"
|
||||
echo "$packages" >>"$GITHUB_OUTPUT"
|
||||
echo 'EOF' >>"$GITHUB_OUTPUT"
|
||||
echo "$packages"
|
||||
env:
|
||||
BASE_REF: ${{ github.event_name == 'push' && github.event.before || format('origin/{0}', github.base_ref) }}
|
||||
|
||||
- name: Build packages
|
||||
if: ${{ steps.changed.outputs.packages != '' }}
|
||||
run: |
|
||||
echo "$CHANGED_PACKAGES" | while read -r package; do
|
||||
(cd "$REPOSITORY/$package" && abuild -Frc)
|
||||
done
|
||||
env:
|
||||
CHANGED_PACKAGES: ${{ steps.changed.outputs.packages }}
|
||||
- name: Build packages
|
||||
if: ${{ steps.changed.outputs.packages != '' }}
|
||||
run: |
|
||||
echo "$CHANGED_PACKAGES" | while read -r package; do
|
||||
(cd "$REPOSITORY/$package" && abuild -Frc)
|
||||
done
|
||||
env:
|
||||
CHANGED_PACKAGES: ${{ steps.changed.outputs.packages }}
|
||||
|
||||
- name: Upload packages
|
||||
if: ${{ github.event_name == 'push' && steps.changed.outputs.packages != '' }}
|
||||
shell: bash
|
||||
run: |
|
||||
find "$HOME/packages" -type f -name '*.apk' | while read -r pkg; do
|
||||
name="$(tar Oxzvf "$pkg" .PKGINFO 2>/dev/null | grep ^pkgname | cut -d= -f2 | xargs)"
|
||||
arch="$(tar Oxzvf "$pkg" .PKGINFO 2>/dev/null | grep ^arch | cut -d= -f2 | xargs)"
|
||||
echo "deleting $name"
|
||||
curl --silent --user "$USER:$PASSWORD" \
|
||||
--fail-with-body \
|
||||
-X DELETE \
|
||||
"$BASE_URL/v$RELEASE/$REPOSITORY/$arch/$(basename "$pkg")" || echo 'package does not already exist'
|
||||
echo "uploading $name"
|
||||
curl --silent --user "$USER:$PASSWORD" \
|
||||
--fail-with-body \
|
||||
--upload-file "$pkg" \
|
||||
"$BASE_URL/v$RELEASE/$REPOSITORY"
|
||||
echo "linking $name"
|
||||
curl --silent --user "$USER:$PASSWORD" \
|
||||
--fail-with-body \
|
||||
-X POST \
|
||||
"$GITHUB_API_URL/packages/$USER/alpine/$name/-/link/aports" || echo 'package is already linked'
|
||||
done
|
||||
env:
|
||||
PASSWORD: ${{ secrets.PACKAGES_TOKEN }}
|
||||
USER: ${{ github.repository_owner }}
|
||||
- name: Upload packages
|
||||
if: ${{ github.event_name == 'push' && steps.changed.outputs.packages != '' }}
|
||||
shell: bash
|
||||
run: |
|
||||
find "$HOME/packages" -type f -name '*.apk' | while read -r pkg; do
|
||||
name="$(tar Oxzvf "$pkg" .PKGINFO 2>/dev/null | grep ^pkgname | cut -d= -f2 | xargs)"
|
||||
arch="$(tar Oxzvf "$pkg" .PKGINFO 2>/dev/null | grep ^arch | cut -d= -f2 | xargs)"
|
||||
echo "deleting $name"
|
||||
curl --silent --user "$USER:$PASSWORD" \
|
||||
--fail-with-body \
|
||||
-X DELETE \
|
||||
"$BASE_URL/$RELEASE/$REPOSITORY/$arch/$(basename "$pkg")" || echo 'package does not already exist'
|
||||
echo "uploading $name"
|
||||
curl --silent --user "$USER:$PASSWORD" \
|
||||
--fail-with-body \
|
||||
--upload-file "$pkg" \
|
||||
"$BASE_URL/$RELEASE/$REPOSITORY"
|
||||
echo "linking $name"
|
||||
curl --silent --user "$USER:$PASSWORD" \
|
||||
--fail-with-body \
|
||||
-X POST \
|
||||
"$GITHUB_API_URL/packages/$USER/alpine/$name/-/link/aports" || echo 'package is already linked'
|
||||
done
|
||||
env:
|
||||
PASSWORD: ${{ secrets.PACKAGES_TOKEN }}
|
||||
USER: ${{ github.repository_owner }}
|
||||
|
||||
- name: Cleanup deleted packages
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
shell: bash
|
||||
run: |
|
||||
curl --silent --user "$USER:$PASSWORD" \
|
||||
--fail-with-body \
|
||||
"$GITHUB_API_URL/packages/$USER?type=alpine" |
|
||||
jq -r '.[].name' |
|
||||
- name: Cleanup deleted packages
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
shell: bash
|
||||
run: |
|
||||
apk list --from=none --repository="$BASE_URL/$RELEASE/$REPOSITORY" |
|
||||
cut -d' ' -f3 |
|
||||
tr -d '{}' |
|
||||
sort -u |
|
||||
while read -r pkg; do
|
||||
if [ -z "$(ap builddirs -d "$(pwd)/$REPOSITORY" "$pkg" 2>/dev/null)" ]; then
|
||||
curl --silent --user "$USER:$PASSWORD" \
|
||||
--fail-with-body \
|
||||
"$GITHUB_API_URL/packages/$USER?type=alpine&q=$pkg" |
|
||||
jq -r ".[]|select(.name==\"$pkg\").version" |
|
||||
sort -u |
|
||||
while read -r version; do
|
||||
echo "deleting $pkg ($version)"
|
||||
curl --silent --user "$USER:$PASSWORD" \
|
||||
--fail-with-body \
|
||||
-X DELETE \
|
||||
"$GITHUB_API_URL/packages/$USER/alpine/$pkg/$version"
|
||||
done
|
||||
apk list --from=none --repository="$BASE_URL/$RELEASE/$REPOSITORY" "$pkg" |
|
||||
cut -d' ' -f1-2 |
|
||||
while read -r pkg; do
|
||||
filename="$(echo "$pkg" | cut -d' ' -f1)"
|
||||
arch="$(echo "$pkg" | cut -d' ' -f2)"
|
||||
echo "deleting $filename ($arch)"
|
||||
curl --silent --user "$USER:$PASSWORD" \
|
||||
--fail-with-body \
|
||||
-X DELETE \
|
||||
"$BASE_URL/$RELEASE/$REPOSITORY/$arch/$filename"
|
||||
done
|
||||
fi
|
||||
done
|
||||
env:
|
||||
PASSWORD: ${{ secrets.PACKAGES_TOKEN }}
|
||||
USER: ${{ github.repository_owner }}
|
||||
env:
|
||||
PASSWORD: ${{ secrets.PACKAGES_TOKEN }}
|
||||
USER: ${{ github.repository_owner }}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# renovate: datasource=github-tags packageName=Canop/bacon
|
||||
pkgname=bacon
|
||||
pkgver=3.19.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Background code checker"
|
||||
url="https://github.com/Canop/bacon"
|
||||
arch="all"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
pkgname=box-cli
|
||||
pkgver=0_git20251014
|
||||
_pkgsha=7e80fa254074461bf5404d9b4af99adff8e370ed
|
||||
pkgrel=0
|
||||
pkgver=0_git20251123
|
||||
_pkgsha=29d08f257968d12d53f4248575b2b2ac8c7b1e03
|
||||
pkgrel=1
|
||||
pkgdesc="Transparent development environments."
|
||||
url="https://codeberg.org/galen/box-cli"
|
||||
arch="all"
|
||||
@@ -31,5 +31,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
4934586c2b203b88688017c59de64f635d2d86011762e60d3a5f8f456f6ac3fcb951f7c4494a0733beabeb80a770ef492742d9e427ff725d6407c6a5e39f8ef8 box-cli-7e80fa254074461bf5404d9b4af99adff8e370ed.tar.gz
|
||||
a336d9779cbe625c403eb106b41f5263ba1e32e533c32d9f03098f939a0df56ccec3ace528170a396a4ea790df3c0a8ba554dfdd1bf9275d88d707aab3ddcc32 box-cli-29d08f257968d12d53f4248575b2b2ac8c7b1e03.tar.gz
|
||||
"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=GoogleCloudPlatform/cloud-sql-proxy
|
||||
pkgname=cloud-sql-proxy
|
||||
pkgver=2.18.2
|
||||
pkgver=2.19.0
|
||||
pkgrel=1
|
||||
pkgdesc="Authentication proxy for Google Cloud SQL"
|
||||
url="https://github.com/GoogleCloudPlatform/cloud-sql-proxy"
|
||||
@@ -28,5 +28,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f79a173449b786e755beacba06215d9df351c052f7a20aed2db5599c070935b7b9d2445b4b518cce53c1c1e403c15a2cfb4a17be7e3c4de2efd5951f6f84a2bf cloud-sql-proxy-2.18.2.tar.gz
|
||||
c0e092393d117ab343b6ba2ef31a281c9b5eb7f72dc69e6ab180f2f018bac8a06ca84efac94063105bd62b56a4a90738f533c121efdea64e046d9cdae9858301 cloud-sql-proxy-2.19.0.tar.gz
|
||||
"
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/pkg/ide/vscode/open.go b/pkg/ide/vscode/open.go
|
||||
index 18aae60d..927c1cce 100644
|
||||
--- a/pkg/ide/vscode/open.go
|
||||
+++ b/pkg/ide/vscode/open.go
|
||||
@@ -122,6 +122,8 @@ func findCLI(flavor Flavor) string {
|
||||
if flavor == FlavorStable {
|
||||
if command.Exists("code") {
|
||||
return "code"
|
||||
+ } else if command.Exists("code-oss") {
|
||||
+ return "code-oss"
|
||||
} else if runtime.GOOS == "darwin" && command.Exists("/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code") {
|
||||
return "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
diff --git a/pkg/options/resolve_test.go b/pkg/options/resolve_test.go
|
||||
index 5a38cccb..9bb0f197 100644
|
||||
--- a/pkg/options/resolve_test.go
|
||||
+++ b/pkg/options/resolve_test.go
|
||||
@@ -700,5 +700,5 @@ func optionsToSubCommand(optionDefinitions config.OptionDefinitions) string {
|
||||
out, _ := json.Marshal(&provider.SubOptions{
|
||||
Options: optionDefinitions,
|
||||
})
|
||||
- return fmt.Sprintf("echo '%s' | base64 --decode", base64.StdEncoding.EncodeToString(out))
|
||||
+ return fmt.Sprintf("echo '%s' | base64 -d", base64.StdEncoding.EncodeToString(out))
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=loft-sh/devpod
|
||||
pkgname=devpod
|
||||
pkgver=0.6.15
|
||||
pkgrel=1
|
||||
pkgdesc="Codespaces but open-source, client-only, and unopinionated"
|
||||
url="https://github.com/loft-sh/devpod"
|
||||
# ppc64le blocked by undefined references
|
||||
# armhf, armv7, x86, loongarch64 and riscv64 blocked by -race not being supported
|
||||
arch="x86_64 aarch64 s390x"
|
||||
license="MPL-2.0"
|
||||
makedepends="go linux-headers"
|
||||
checkdepends="bash docker"
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/loft-sh/devpod/archive/refs/tags/v$pkgver.tar.gz
|
||||
0001-devpod-code-oss-binary.patch
|
||||
0002-devpod-busybox-base64-decode.patch
|
||||
"
|
||||
subpackages="
|
||||
$pkgname-bash-completion
|
||||
$pkgname-zsh-completion
|
||||
$pkgname-fish-completion
|
||||
"
|
||||
|
||||
build() {
|
||||
go build -trimpath -v -o devpod-cli \
|
||||
-ldflags="-X github.com/loft-sh/devpod/pkg/version.version=v$pkgver -extldflags=-static"
|
||||
}
|
||||
|
||||
check() {
|
||||
./hack/unit-tests.sh
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 devpod-cli "$pkgdir"/usr/bin/devpod-cli
|
||||
ln -s /usr/bin/devpod-cli "$pkgdir"/usr/bin/devpod
|
||||
|
||||
mkdir -p \
|
||||
"$pkgdir"/usr/share/bash-completion/completions \
|
||||
"$pkgdir"/usr/share/zsh/site-functions \
|
||||
"$pkgdir"/usr/share/fish/vendor_completions.d
|
||||
|
||||
./devpod-cli completion bash > "$pkgdir"/usr/share/bash-completion/completions/$pkgname
|
||||
./devpod-cli completion zsh > "$pkgdir"/usr/share/zsh/site-functions/$pkgname
|
||||
./devpod-cli completion fish > "$pkgdir"/usr/share/fish/vendor_completions.d/$pkgname.fish
|
||||
}
|
||||
|
||||
|
||||
sha512sums="
|
||||
5c304d267b9ef790acec6feb595c09abadf57faa894cf94eeae8a758e900aa333799daf2ef92767dc5cc921bbfe550e3cfb6f41c51cbe0a2e2feb7d22339e13f devpod-0.6.15.tar.gz
|
||||
1cb7c5f4802ff2157de3183372f6bc09900bf9f2a7db49eb8cb470d74c26ee72f4c6f279cd3513aaaa2e97845c638c996f25a1a72f4f34d18b85157ec0b07dd6 0001-devpod-code-oss-binary.patch
|
||||
ca3d9bc0fdc00eb2e60484803d502f00e280e291b134cd784ebf627f7d60938f405c89539d45e980c31db2752736f1fb8afe08380ea3fe1cbc20f40c81cdad3e 0002-devpod-busybox-base64-decode.patch
|
||||
"
|
||||
@@ -1,19 +1,18 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=celenityy/Dove
|
||||
pkgname=dove
|
||||
pkgver=2025.10.03.1
|
||||
_phoenix_pkgver=2025.10.03.1
|
||||
pkgver=2025.11.27.1
|
||||
_phoenix_pkgver=2025.11.27.1
|
||||
pkgrel=0
|
||||
pkgdesc="Privacy & security configurations for Thunderbird"
|
||||
url="https://codeberg.org/celenity/Dove"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-or-later"
|
||||
makedepends="bash curl jq python3 wget zip"
|
||||
makedepends="bash curl jq python3 py3-lxml wget zip"
|
||||
options="!check net" # no tests
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://codeberg.org/celenity/Dove/archive/$pkgver.tar.gz
|
||||
phoenix-$_phoenix_pkgver.tar.gz::https://codeberg.org/celenity/Phoenix/archive/$_phoenix_pkgver.tar.gz
|
||||
fix-missing-autoconfig-dir.patch
|
||||
"
|
||||
builddir="$srcdir/dove"
|
||||
|
||||
@@ -39,7 +38,6 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
63c2f201abf63989e526b0cd14759caec80b39dfdb74effbdfe168c4e0aa3ce39ca548b55de6a03b60b7eebde3236896c04f17630b7ccecc4be18264db4b2633 dove-2025.10.03.1.tar.gz
|
||||
49d61bb4b50ee3e899142a4906a2f05f88e007a98d470a63572536318a23c701e21e237b4ad1603fa3faa57bc2229c03d56dd2e13342238d3964d88e8982a04f phoenix-2025.10.03.1.tar.gz
|
||||
aea93ac02e0aa5a434f6a0b14c7329d25cfea62efc2839656810ce3842ddfcc05fb32d310c710b5864f8b01bb72c25d6d903a8bcad762df79489a429e017520b fix-missing-autoconfig-dir.patch
|
||||
b58bee44527f5d3772fdf96eee63f899af8d8b138f5c1ca2b2647ae67011c00192b860cf9ede30b7ce185c3470f48569b4fae4a3ff4e0fef243d8399904402cf dove-2025.11.27.1.tar.gz
|
||||
cb3787298acf80efe5c5369a15106643f3c3f460bec35f8fb8f904a75f99cfa0df66f1aaccbf6e27347858359e556cd56d56740f5345553745555bd6ca6a5ad3 phoenix-2025.11.27.1.tar.gz
|
||||
"
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
diff --git i/build/build.sh w/build/build.sh
|
||||
index 60590fa..4e1e370 100755
|
||||
--- i/build/build.sh
|
||||
+++ w/build/build.sh
|
||||
@@ -25,6 +25,7 @@ curl --doh-cert-status --no-insecure --no-proxy-insecure --no-sessionid --no-ssl
|
||||
|
||||
popd
|
||||
|
||||
+mkdir -vp external/autoconfig
|
||||
pushd "external/autoconfig"
|
||||
rm -vrf *
|
||||
echo "Downloading Thunderbird's autoconfiguration database (ISPDB) LICENSE..."
|
||||
@@ -2,7 +2,7 @@
|
||||
# renovate: datasource=github-tags packageName=nametake/golangci-lint-langserver
|
||||
pkgname=golangci-lint-langserver
|
||||
pkgver=0.0.11
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="golangci-lint language server"
|
||||
url="https://github.com/nametake/golangci-lint-langserver"
|
||||
arch="all"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# renovate: datasource=github-tags packageName=MaxVerevkin/i3bar-river
|
||||
pkgname=i3bar-river
|
||||
pkgver=1.1.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Port of i3bar for wlroots-based compositors"
|
||||
url="https://github.com/MaxVerevkin/i3bar-river"
|
||||
arch="all"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# renovate: datasource=github-tags packageName=sh0rez/kubectl-neat-diff
|
||||
pkgname=kubectl-neat-diff
|
||||
pkgver=0.2.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="De-clutter your kubectl diff output using kubectl-neat"
|
||||
url="https://github.com/sh0rez/kubectl-neat-diff"
|
||||
arch="all"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# renovate: datasource=github-tags packageName=latchset/luksmeta
|
||||
pkgname=luksmeta
|
||||
pkgver=9
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Library for storing metadata in the LUKSv1 header"
|
||||
url="https://github.com/latchset/luksmeta"
|
||||
license="LGPL-2.0-or-later"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
pkgname=niri
|
||||
pkgver=25.08
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="A scrollable-tiling Wayland compositor"
|
||||
url="https://github.com/YaLTeR/niri"
|
||||
arch="x86_64 ppc64le aarch64"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# renovate: datasource=github-tags packageName=neovim/nvim-lspconfig
|
||||
pkgname=nvim-lspconfig
|
||||
pkgver=2.5.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="quickstart configurations for the neovim LSP client"
|
||||
url="https://github.com/neovim/nvim-lspconfig"
|
||||
arch="noarch"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
pkgname=nvim-treesitter
|
||||
pkgver=0_git20250524
|
||||
_pkgsha=42fc28ba918343ebfd5565147a42a26580579482
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Nvim Treesitter configurations and abstraction layer"
|
||||
url="https://github.com/nvim-treesitter/nvim-treesitter"
|
||||
arch="noarch"
|
||||
|
||||
@@ -1,98 +0,0 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=evilsocket/opensnitch
|
||||
pkgname=opensnitch
|
||||
pkgver=1.7.2
|
||||
pkgrel=1
|
||||
pkgdesc="Interactive application firewall"
|
||||
url="https://github.com/evilsocket/opensnitch"
|
||||
arch="all"
|
||||
license="GPL-3.0-only"
|
||||
depends="
|
||||
py3-grpcio
|
||||
py3-inotify
|
||||
py3-notify2
|
||||
py3-protobuf
|
||||
py3-qt-material
|
||||
py3-qt5
|
||||
py3-slugify
|
||||
"
|
||||
makedepends="
|
||||
clang
|
||||
go
|
||||
libnetfilter_queue-dev
|
||||
linux-headers
|
||||
linux-lts-dev
|
||||
llvm
|
||||
py3-gpep517
|
||||
py3-setuptools
|
||||
py3-wheel
|
||||
qt5-qttools-dev
|
||||
"
|
||||
checkdepends="py3-pytest"
|
||||
subpackages="$pkgname-openrc $pkgname-pyc"
|
||||
install=""
|
||||
options="net"
|
||||
source="
|
||||
https://github.com/evilsocket/opensnitch/archive/v$pkgver/opensnitch-$pkgver.tar.gz
|
||||
$pkgname.initd
|
||||
fix-tests.patch
|
||||
no-pip.patch
|
||||
proto.patch
|
||||
"
|
||||
|
||||
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
||||
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
||||
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
||||
|
||||
build() {
|
||||
cd daemon
|
||||
go build -v -o opensnitchd .
|
||||
cd ..
|
||||
|
||||
cd ui
|
||||
make all
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
cd ..
|
||||
|
||||
cd ebpf_prog
|
||||
KDIR="$(echo /usr/src/linux-*)"
|
||||
KERNEL_DIR="$KDIR" KERNEL_HEADERS="$KDIR" make all
|
||||
}
|
||||
|
||||
check() {
|
||||
cd daemon
|
||||
go test ./...
|
||||
cd ..
|
||||
|
||||
# ui tests fail to run
|
||||
# cd ui
|
||||
# python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
# .testenv/bin/python3 -m installer .dist/*.whl
|
||||
# .testenv/bin/python3 -m pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 -t "$pkgdir/usr/bin" daemon/opensnitchd
|
||||
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
|
||||
for f in default-config.json system-fw.json; do
|
||||
install -Dm644 -t "$pkgdir/etc/opensnitchd" daemon/$f
|
||||
done
|
||||
|
||||
python3 -m installer -d "$pkgdir" ui/.dist/*.whl
|
||||
install -dm755 "$pkgdir"/usr/share
|
||||
cp -r "$pkgdir"/usr/lib/python3.*/site-packages/usr/share/* "$pkgdir"/usr/share
|
||||
rm -rf "$pkgdir"/usr/lib/python3.*/site-packages/tests
|
||||
rm -rf "$pkgdir"/usr/lib/python3.*/site-packages/usr
|
||||
|
||||
install -Dm644 -t "$pkgdir/usr/lib/opensnitchd/ebpf" ebpf_prog/opensnitch*.o
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
7a641b574af9569d8678f819cfc7116ee61362a656289c787bea88a74baf5614f4da6571e8e23dc8055a2c59e6a04245ffea5acdefe5b4abea2140e2e649b89c opensnitch-1.7.2.tar.gz
|
||||
08a6a1904138fea4563718877eaaf65e39f04c4a7bcdf33daa4f375c80c93a42b0bf6d9d7a9bf3aeb1d82b270c8c353982b9035fe59d4e7e0d8dc91e357b6293 opensnitch.initd
|
||||
a61c7ed1ab5606a771c77b6f7ad6411482b5f77d5ff71f963dfb38bec26d2eb29ee46e89fffadf964a007805992ba8167fb53f36995c8e42aa27b482410d6eff fix-tests.patch
|
||||
0249ed3dae0ed2fddf456466cbfd2c008b822fb57e1b5cbea210fa4895afa8f94b2e078bc5ecc8fa04f3636681871094ba76261c0d2c447251c3842774324e22 no-pip.patch
|
||||
ec2c44cbdc8fc0acd30a2b1099c2636370ea78016b49393b1c15a7e4c02523489f30bb064c654cfdb19d988d43c954173eccaa0dc7021501b368637b06541cdb proto.patch
|
||||
"
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git i/ui/tests/test_nodes.py w/ui/tests/test_nodes.py
|
||||
index d4c4ae58..372f5910 100644
|
||||
--- i/ui/tests/test_nodes.py
|
||||
+++ w/ui/tests/test_nodes.py
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import json
|
||||
from PyQt5 import QtCore
|
||||
-from opensnitch import ui_pb2
|
||||
+from opensnitch.proto import ui_pb2
|
||||
from opensnitch.config import Config
|
||||
from opensnitch.nodes import Nodes
|
||||
from tests.dialogs import ClientConfig
|
||||
@@ -1,20 +0,0 @@
|
||||
diff --git i/ui/Makefile w/ui/Makefile
|
||||
index 51ea1758..1f4bb9a8 100644
|
||||
--- i/ui/Makefile
|
||||
+++ w/ui/Makefile
|
||||
@@ -3,13 +3,13 @@ all: opensnitch/resources_rc.py
|
||||
install:
|
||||
@pip3 install --upgrade .
|
||||
|
||||
-opensnitch/resources_rc.py: translations deps
|
||||
+opensnitch/resources_rc.py: translations
|
||||
@pyrcc5 -o opensnitch/resources_rc.py opensnitch/res/resources.qrc
|
||||
@find opensnitch/proto/ -name 'ui_pb2_grpc.py' -exec sed -i 's/^import ui_pb2/from . import ui_pb2/' {} \;
|
||||
|
||||
translations:
|
||||
@cd i18n ; make
|
||||
-
|
||||
+
|
||||
deps:
|
||||
@pip3 install -r requirements.txt
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
supervisor=supervise-daemon
|
||||
|
||||
name=$RC_SVCNAME
|
||||
command=/usr/bin/opensnitchd
|
||||
output_logger="logger -t '${RC_SVCNAME}' -p daemon.info"
|
||||
error_logger="logger -t '${RC_SVCNAME}' -p daemon.error"
|
||||
|
||||
depend() {
|
||||
use logger
|
||||
after firewall
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=celenityy/Phoenix
|
||||
pkgname=phoenix
|
||||
pkgver=2025.10.03.1
|
||||
pkgver=2025.11.27.1
|
||||
pkgrel=0
|
||||
pkgdesc="Privacy & security configurations for Firefox"
|
||||
url="https://codeberg.org/celenity/Phoenix"
|
||||
@@ -39,5 +39,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
49d61bb4b50ee3e899142a4906a2f05f88e007a98d470a63572536318a23c701e21e237b4ad1603fa3faa57bc2229c03d56dd2e13342238d3964d88e8982a04f phoenix-2025.10.03.1.tar.gz
|
||||
cb3787298acf80efe5c5369a15106643f3c3f460bec35f8fb8f904a75f99cfa0df66f1aaccbf6e27347858359e556cd56d56740f5345553745555bd6ca6a5ad3 phoenix-2025.11.27.1.tar.gz
|
||||
"
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=siderolabs/talos
|
||||
pkgname=talosctl
|
||||
pkgver=1.11.2
|
||||
pkgrel=0
|
||||
pkgrel=0
|
||||
pkgver=1.11.5
|
||||
pkgrel=1
|
||||
pkgdesc="Kubernetes Linux distribution"
|
||||
url="https://talos.dev"
|
||||
arch="all"
|
||||
@@ -46,5 +45,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
99f1a98ccdd1906a62d1c79997a51e9d18378babb8ebfd6fc0c8f4bf41cbffe03fcd5cd99a6ef975218179ae6f02b51f037e98823aa2c10eb6795a4982126bed talos-1.11.2.tar.gz
|
||||
08bd179324851d585c81107476a2ad927376099f6b9b3b3787b248295e9b0c8b430fb14f56f60d00a2b03b46324150ca65be08dc7e06e597f77b5e600b0dd034 talos-1.11.5.tar.gz
|
||||
"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
pkgname=tangctl
|
||||
pkgver=0_git20230725
|
||||
_pkgsha=dcc6e9494f1429ca94cfce692b0ff41e48679fc0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Tool implementing server-side ECMR exchange functionality (Tang server)"
|
||||
url="https://github.com/anatol/tang.go"
|
||||
license="BSD-3-Clause"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=hashicorp/terraform-ls
|
||||
pkgname=terraform-ls
|
||||
pkgver=0.38.2
|
||||
pkgrel=0
|
||||
pkgver=0.38.3
|
||||
pkgrel=1
|
||||
pkgdesc="Terraform Language Server"
|
||||
url="https://github.com/hashicorp/terraform-ls"
|
||||
arch="all"
|
||||
@@ -24,5 +24,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
7d50676d88a681ce578b72d5ab6576cccf27a8b7bc8938c4b536b305f40c9e918411d2ff3de4a6ba6f65699cbdc65240cc99c4b516153cec9b3fdf971ff43161 terraform-ls-0.38.2.tar.gz
|
||||
ccc4a56208c8c47204f43c8e405360adbe383dabde16dba49a2a81081ac05c71c2ffc2d0fa9d511764c17ab775515384d47fa63a16fcc74447c4bead93cd76df terraform-ls-0.38.3.tar.gz
|
||||
"
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=davidlattimore/wild
|
||||
pkgname=wild
|
||||
pkgver=0.5.0
|
||||
pkgrel=0
|
||||
pkgdesc="A very fast linker for Linux"
|
||||
url="https://github.com/davidlattimore/wild"
|
||||
arch="all"
|
||||
license="Apache-2.0 OR MIT"
|
||||
makedepends="cargo cargo-auditable"
|
||||
checkdepends="bash binutils clang lld20"
|
||||
options="net"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/davidlattimore/wild/archive/refs/tags/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --frozen --release
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --frozen
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
fb336ff4e5e513c22f038512678a2e7869b0caaee816a2744c5949e203580f249f1bcb808a1b7516aabf6bc88c46d8b20baea5d97c126be61669d3ef50e0b29c wild-0.5.0.tar.gz
|
||||
"
|
||||
@@ -1,35 +0,0 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
pkgname=gmenu
|
||||
pkgver=0_git20250426
|
||||
_pkgsha=b40e47a4e78ec501f9ca60526dd2b29f2221f0d1
|
||||
pkgrel=0
|
||||
pkgdesc="Efficient dynamic menu for Wayland"
|
||||
url="https://codeberg.org/galen/wmenu"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
makedepends="
|
||||
meson
|
||||
libxkbcommon-dev
|
||||
pango-dev
|
||||
scdoc
|
||||
wayland-dev
|
||||
wayland-protocols
|
||||
"
|
||||
options="!check" # no test suite
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$_pkgsha.tar.gz::https://codeberg.org/galen/wmenu/archive/$_pkgsha.tar.gz"
|
||||
builddir="$srcdir/wmenu"
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
444f9f7d8ff4a4a72af5f55233729bb5d626493ee46a58f595cc6451cde2c37d01fa0b835762a9fd86577d97c3f63fd46e2e436a30647de2792af56d7bde9349 gmenu-b40e47a4e78ec501f9ca60526dd2b29f2221f0d1.tar.gz
|
||||
"
|
||||
@@ -2,7 +2,7 @@
|
||||
# renovate: datasource=github-tags packageName=redhat-developer/yaml-language-server
|
||||
pkgname=yaml-language-server
|
||||
pkgver=1.19.2
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Language Server for YAML files"
|
||||
url="https://github.com/redhat-developer/yaml-language-server"
|
||||
arch="noarch"
|
||||
|
||||
Reference in New Issue
Block a user