Compare commits
25 Commits
main
...
renovate/v
| Author | SHA1 | Date | |
|---|---|---|---|
| 973b3f3d2d | |||
| 1c033f27fd | |||
| bbc773bf82 | |||
| 58019c7c99 | |||
| baaf2f5980 | |||
| a0b130e4f1 | |||
| 7d7639c713 | |||
| c94788087e | |||
| 38e999c870 | |||
| 9428b9ae3e | |||
| 3293ae3a9f | |||
| 5015690e9c | |||
| 094296ac1f | |||
| 2a85491af1 | |||
| 95484d65ee | |||
| 81fa109bb3 | |||
| ad1049b08b | |||
| 5f51d356b9 | |||
| 82d790e7c8 | |||
| 6e83a70469 | |||
| adb3fa88b9 | |||
| 24a8d7007a | |||
| df917faa58 | |||
| e40859b0b1 | |||
| e4ff963dc6 |
7
.github/workflows/main.yaml
vendored
7
.github/workflows/main.yaml
vendored
@@ -5,12 +5,12 @@ on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- v3.23
|
||||
|
||||
env:
|
||||
BASE_URL: https://git.mug.lv/api/packages/mug/alpine
|
||||
PACKAGER: Galen Abell <galen@galenabell.com>
|
||||
RELEASE: edge
|
||||
RELEASE: "v3.23"
|
||||
REPOSITORY: main
|
||||
|
||||
jobs:
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 30
|
||||
container:
|
||||
image: alpine:edge
|
||||
image: alpine:3.23
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: apk add abuild bash curl doas git jq lua-aports nodejs
|
||||
@@ -34,7 +34,6 @@ jobs:
|
||||
$BASE_URL/$RELEASE/$REPOSITORY
|
||||
https://dl-cdn.alpinelinux.org/alpine/$RELEASE/main
|
||||
https://dl-cdn.alpinelinux.org/alpine/$RELEASE/community
|
||||
https://dl-cdn.alpinelinux.org/alpine/$RELEASE/testing
|
||||
EOF
|
||||
curl -sJO --output-dir /etc/apk/keys "$BASE_URL/key"
|
||||
apk update || true
|
||||
|
||||
@@ -1,30 +1,18 @@
|
||||
{
|
||||
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
|
||||
dependencyDashboard: true,
|
||||
customManagers: [
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"dependencyDashboard": true,
|
||||
"regexManagers": [
|
||||
{
|
||||
customType: 'regex',
|
||||
managerFilePatterns: [
|
||||
'/APKBUILD$/',
|
||||
"fileMatch": ["APKBUILD$"],
|
||||
"matchStrings": [
|
||||
"# renovate: datasource=(?<datasource>.*?)( packageName=(?<packageName>.*?))?( registryUrl=(?<registryUrl>.*?))?\npkgname=(?<depName>.*?)\npkgver=(?<currentValue>.*?)\n",
|
||||
"# renovate: datasource=(?<datasource>.*?)( packageName=(?<packageName>.*?))?( registryUrl=(?<registryUrl>.*?))?\npkgname=(?<depName>.*?)\n_pkgsha=(?<currentValue>.*?)\n",
|
||||
],
|
||||
matchStrings: [
|
||||
'# renovate: datasource=(?<datasource>.*?)( packageName=(?<packageName>.*?))?( registryUrl=(?<registryUrl>.*?))?\npkgname=(?<depName>.*?)\npkgver=(?<currentValue>.*?)\n',
|
||||
'# renovate: datasource=(?<datasource>.*?)( packageName=(?<packageName>.*?))?( registryUrl=(?<registryUrl>.*?))?\npkgname=(?<depName>.*?)\n_pkgsha=(?<currentValue>.*?)\n',
|
||||
],
|
||||
extractVersionTemplate: '^v?(?<version>.*)$',
|
||||
"extractVersionTemplate": "^v?(?<version>.*)$",
|
||||
},
|
||||
],
|
||||
postUpgradeTasks: {
|
||||
commands: [
|
||||
'apkbuild-checksum {{{packageFile}}}',
|
||||
],
|
||||
fileFilters: [
|
||||
'**/APKBUILD',
|
||||
],
|
||||
"postUpgradeTasks": {
|
||||
"commands": ["apkbuild-checksum {{{packageFile}}}"],
|
||||
"fileFilters": ["**/APKBUILD"],
|
||||
},
|
||||
baseBranchPatterns: [
|
||||
'main',
|
||||
'v3.22',
|
||||
'v3.23',
|
||||
],
|
||||
}
|
||||
|
||||
33
main/bacon/APKBUILD
Normal file
33
main/bacon/APKBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=Canop/bacon
|
||||
pkgname=bacon
|
||||
pkgver=3.19.0
|
||||
pkgrel=2
|
||||
pkgdesc="Background code checker"
|
||||
url="https://github.com/Canop/bacon"
|
||||
arch="all"
|
||||
license="AGPL-3.0-only"
|
||||
makedepends="cargo cargo-auditable"
|
||||
options="net"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/Canop/bacon/archive/refs/tags/v$pkgver.tar.gz"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --frozen --release
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --release
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 target/release/bacon "$pkgdir/usr/bin/bacon"
|
||||
}
|
||||
sha512sums="
|
||||
f608ec49634a9ac043c4d779b06148b5a6b00b58dcd265b0dea2fbb1d7b82e1cc51936a8f14f2d6a05b2b1fbc1150d00bfff2430224e6eb699265f69f80470f6 bacon-3.19.0.tar.gz
|
||||
"
|
||||
@@ -2,7 +2,7 @@
|
||||
pkgname=box-cli
|
||||
pkgver=0_git20251123
|
||||
_pkgsha=29d08f257968d12d53f4248575b2b2ac8c7b1e03
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Transparent development environments."
|
||||
url="https://codeberg.org/galen/box-cli"
|
||||
arch="all"
|
||||
|
||||
36
main/cargo-generate/APKBUILD
Normal file
36
main/cargo-generate/APKBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=cargo-generate/cargo-generate
|
||||
pkgname=cargo-generate
|
||||
pkgver=0.23.5
|
||||
pkgrel=1
|
||||
pkgdesc="Use pre-existing git repositories as templates"
|
||||
url="https://github.com/cargo-generate/cargo-generate"
|
||||
license="MIT OR Apache-2.0"
|
||||
arch="all"
|
||||
options="net"
|
||||
makedepends="cargo cargo-auditable libgit2-dev openssl-dev"
|
||||
source="https://github.com/cargo-generate/cargo-generate/archive/v$pkgver/cargo-generate-$pkgver.tar.gz"
|
||||
|
||||
export LIBGIT2_NO_VENDOR=1 # use system libgit2
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --frozen --release --no-default-features
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --frozen --lib --no-default-features
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 target/release/$pkgname -t "$pkgdir"/usr/bin/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
7524d847464f85a1da877188140bfee2a10f43613646fd42aed37735b70e2e841bf2d4d688d31a7745a9938a712e310a792f5f1385693706eaf508823301cd98 cargo-generate-0.23.5.tar.gz
|
||||
"
|
||||
25
main/clevis-extra-pins/APKBUILD
Normal file
25
main/clevis-extra-pins/APKBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
pkgname=clevis-extra-pins
|
||||
pkgver=0_git20241007
|
||||
_gitrev=6a2093f0988debcc6574f52561f39fd25c17635a
|
||||
pkgrel=1
|
||||
pkgdesc="Additional pins for Clevis binding framework"
|
||||
url="https://github.com/anatol/clevis.go"
|
||||
license="GPL-3.0-or-later"
|
||||
arch="noarch"
|
||||
depends="bash clevis"
|
||||
source="https://github.com/anatol/clevis.go/archive/$_gitrev/clevis-extra-pins-$pkgver.tar.gz"
|
||||
builddir="$srcdir/clevis.go-$_gitrev"
|
||||
options="!check" # no test suite for bash scripts
|
||||
|
||||
package() {
|
||||
install -Dm755 \
|
||||
clevis-decrypt-yubikey \
|
||||
clevis-encrypt-yubikey \
|
||||
clevis-encrypt-remote \
|
||||
-t "$pkgdir"/usr/bin/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
aeeee5d83dbace9393dce1b0dc313e289825c670e162f00508393bda84f62309f0b469ee6ce56cdb26d61fdbcf35f5c2e2d2be5ba5566af4cbf3351bb598dc5e clevis-extra-pins-0_git20241007.tar.gz
|
||||
"
|
||||
45
main/clevis/APKBUILD
Normal file
45
main/clevis/APKBUILD
Normal file
@@ -0,0 +1,45 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=latchset/clevis
|
||||
pkgname=clevis
|
||||
pkgver=21
|
||||
pkgrel=1
|
||||
pkgdesc="Pluggable framework for automated decryption"
|
||||
url="https://github.com/latchset/clevis"
|
||||
license="GPL-3.0-or-later WITH OpenSSL-Exception"
|
||||
arch="all"
|
||||
depends="bash cryptsetup jose libpwquality"
|
||||
makedepends="
|
||||
asciidoc
|
||||
bash-completion-dev
|
||||
cmd:pcscd
|
||||
cmd:pkcs11-tool
|
||||
curl
|
||||
meson
|
||||
tpm2-tools
|
||||
cryptsetup-dev
|
||||
jansson-dev
|
||||
jose-dev
|
||||
audit-dev
|
||||
udisks2-dev
|
||||
luksmeta-dev
|
||||
"
|
||||
subpackages="
|
||||
$pkgname-dbg
|
||||
$pkgname-doc
|
||||
$pkgname-bash-completion
|
||||
"
|
||||
source="https://github.com/latchset/clevis/archive/v$pkgver/clevis-$pkgver.tar.gz"
|
||||
options="!check"
|
||||
|
||||
build() {
|
||||
abuild-meson . output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f069969a45195679cc5e521ed0b4ec2199d774aab59ec1d60533a3e9af70468aa2c75dfc695e9d48a255828971a3cf199388c92ffa999faadfc16d7c80eb9fde clevis-21.tar.gz
|
||||
"
|
||||
@@ -2,7 +2,7 @@
|
||||
# renovate: datasource=github-tags packageName=GoogleCloudPlatform/cloud-sql-proxy
|
||||
pkgname=cloud-sql-proxy
|
||||
pkgver=2.19.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Authentication proxy for Google Cloud SQL"
|
||||
url="https://github.com/GoogleCloudPlatform/cloud-sql-proxy"
|
||||
arch="all"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
pkgname=dove
|
||||
pkgver=2025.11.27.1
|
||||
_phoenix_pkgver=2025.11.27.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Privacy & security configurations for Thunderbird"
|
||||
url="https://codeberg.org/celenity/Dove"
|
||||
arch="noarch"
|
||||
|
||||
65
main/haskell-language-server/APKBUILD
Normal file
65
main/haskell-language-server/APKBUILD
Normal file
@@ -0,0 +1,65 @@
|
||||
# Maintainer: Mariam Jamal <mariam@mariamjamal.de>
|
||||
# renovate: datasource=github-tags packageName=haskell/haskell-language-server
|
||||
pkgname=haskell-language-server
|
||||
pkgver=2.9.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Official Haskell Language Server implementation"
|
||||
url="https://github.com/haskell/haskell-language-server"
|
||||
arch="x86_64 aarch64" # limited by ghc
|
||||
license="Apache-2.0"
|
||||
makedepends="ghc cabal zlib-dev"
|
||||
source="https://hackage.haskell.org/package/haskell-language-server-$pkgver/haskell-language-server-$pkgver.tar.gz
|
||||
cabal.project.freeze"
|
||||
options="!check" # Tests fail
|
||||
|
||||
export CABAL_DIR="$srcdir/cabal"
|
||||
export PATH="$PATH:/usr/lib/llvm15/bin"
|
||||
|
||||
cabal_update() {
|
||||
cd $builddir
|
||||
rm cabal.project.freeze
|
||||
cabal v2-update
|
||||
(
|
||||
cabal v2-freeze \
|
||||
--shadow-installed-packages \
|
||||
--disable-benchmarks \
|
||||
--flags "-dynamic"
|
||||
mv cabal.project.freeze "$startdir/"
|
||||
)
|
||||
}
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
ln -sf "$srcdir/cabal.project.freeze" \
|
||||
"$builddir/cabal.project.freeze"
|
||||
|
||||
cabal v2-update
|
||||
cabal v2-build \
|
||||
--only-download \
|
||||
--disable-benchmarks \
|
||||
--flags "-dynamic"
|
||||
}
|
||||
|
||||
check() {
|
||||
cabal test
|
||||
}
|
||||
|
||||
build() {
|
||||
cabal v2-build haskell-language-server:exes \
|
||||
--jobs=${JOBS:-1} \
|
||||
--prefix=/usr \
|
||||
--disable-benchmarks \
|
||||
--flags "-dynamic" \
|
||||
--enable-relocatable
|
||||
}
|
||||
|
||||
package() {
|
||||
for exe in haskell-language-server haskell-language-server-wrapper; do
|
||||
install -Dm755 "$(cabal list-bin $exe)" "$pkgdir"/usr/bin/$exe
|
||||
done
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ecf5a5d895eff1e8d383c4b6870d91b094f2d77b4b695caadb97935a280a558fea0d133935edb0811edeb60a4e5bc646a0290181002c86675f4c1d1ca335b5ab haskell-language-server-2.9.0.0.tar.gz
|
||||
0b49931fecadb3591cd2591daea96a85dc13c556b2ed791a162ae045d563b06efe182a6b99fde892faa4fcb47a2142b2517deff394a3409a4c286881ac3df488 cabal.project.freeze
|
||||
"
|
||||
372
main/haskell-language-server/cabal.project.freeze
Normal file
372
main/haskell-language-server/cabal.project.freeze
Normal file
@@ -0,0 +1,372 @@
|
||||
active-repositories: hackage.haskell.org:merge
|
||||
constraints: any.Cabal ==3.10.2.0,
|
||||
any.Cabal-syntax ==3.10.2.0,
|
||||
any.Diff ==0.5,
|
||||
any.Glob ==0.10.2,
|
||||
any.HsYAML ==0.2.1.4,
|
||||
HsYAML -exe,
|
||||
any.HsYAML-aeson ==0.2.0.1,
|
||||
HsYAML-aeson -exe,
|
||||
any.ListLike ==4.7.8.2,
|
||||
any.MemoTrie ==0.6.11,
|
||||
MemoTrie -examples,
|
||||
any.MonadRandom ==0.6,
|
||||
any.OneTuple ==0.4.2,
|
||||
any.Only ==0.1,
|
||||
any.QuickCheck ==2.15.0.1,
|
||||
QuickCheck -old-random +templatehaskell,
|
||||
any.StateVar ==1.2.2,
|
||||
any.adjunctions ==4.4.2,
|
||||
any.aeson ==2.2.3.0,
|
||||
aeson +ordered-keymap,
|
||||
any.aeson-pretty ==0.8.10,
|
||||
aeson-pretty -lib-only,
|
||||
any.alex ==3.5.1.0,
|
||||
any.algebraic-graphs ==0.7,
|
||||
any.ansi-terminal ==1.0.2,
|
||||
ansi-terminal -example,
|
||||
any.ansi-terminal-types ==0.11.5,
|
||||
any.ansi-wl-pprint ==0.6.9,
|
||||
ansi-wl-pprint -example,
|
||||
any.apply-refact ==0.14.0.0,
|
||||
any.array ==0.5.6.0,
|
||||
any.assoc ==1.1.1,
|
||||
assoc -tagged,
|
||||
any.async ==2.2.5,
|
||||
async -bench,
|
||||
any.attoparsec ==0.14.4,
|
||||
attoparsec -developer,
|
||||
any.attoparsec-aeson ==2.2.2.0,
|
||||
any.base ==4.19.1.0,
|
||||
any.base-compat ==0.14.0,
|
||||
any.base-orphans ==0.9.2,
|
||||
any.base16-bytestring ==1.0.2.0,
|
||||
any.base64 ==1.0,
|
||||
any.bifunctors ==5.6.2,
|
||||
bifunctors +tagged,
|
||||
any.binary ==0.8.9.1,
|
||||
any.bitvec ==1.1.5.0,
|
||||
bitvec +simd,
|
||||
any.blaze-builder ==0.4.2.3,
|
||||
any.blaze-html ==0.9.2.0,
|
||||
any.blaze-markup ==0.8.3.0,
|
||||
any.blaze-textual ==0.2.3.1,
|
||||
blaze-textual -developer -integer-simple +native,
|
||||
any.boring ==0.2.2,
|
||||
boring +tagged,
|
||||
any.bytestring ==0.12.1.0,
|
||||
any.cabal-doctest ==1.0.10,
|
||||
any.call-stack ==0.4.0,
|
||||
any.case-insensitive ==1.2.1.0,
|
||||
any.cereal ==0.5.8.3,
|
||||
cereal -bytestring-builder,
|
||||
any.character-ps ==0.1,
|
||||
any.charset ==0.3.10,
|
||||
any.clay ==0.15.0,
|
||||
any.clock ==0.8.4,
|
||||
clock -llvm,
|
||||
any.cmdargs ==0.10.22,
|
||||
cmdargs +quotation -testprog,
|
||||
any.co-log-core ==0.3.2.2,
|
||||
any.colour ==2.3.6,
|
||||
any.colourista ==0.1.0.2,
|
||||
any.commutative-semigroups ==0.2.0.1,
|
||||
any.comonad ==5.0.8,
|
||||
comonad +containers +distributive +indexed-traversable,
|
||||
any.conduit ==1.3.6,
|
||||
any.conduit-extra ==1.3.6,
|
||||
any.conduit-parse ==0.2.1.1,
|
||||
conduit-parse -enable-hlint-test,
|
||||
any.constraints ==0.14.2,
|
||||
any.constraints-extras ==0.4.0.1,
|
||||
constraints-extras +build-readme,
|
||||
any.containers ==0.6.8,
|
||||
any.contravariant ==1.5.5,
|
||||
contravariant +semigroups +statevar +tagged,
|
||||
any.cpphs ==1.20.9.1,
|
||||
cpphs -old-locale,
|
||||
any.cryptohash-sha1 ==0.11.101.0,
|
||||
any.data-default ==0.7.1.1,
|
||||
any.data-default-class ==0.1.2.0,
|
||||
any.data-default-instances-containers ==0.0.1,
|
||||
any.data-default-instances-dlist ==0.0.1,
|
||||
any.data-default-instances-old-locale ==0.0.1,
|
||||
any.data-fix ==0.3.4,
|
||||
any.deepseq ==1.5.0.0,
|
||||
any.deferred-folds ==0.9.18.6,
|
||||
any.dependent-map ==0.4.0.0,
|
||||
any.dependent-sum ==0.7.2.0,
|
||||
any.deriving-aeson ==0.2.9,
|
||||
any.dir-traverse ==0.2.3.0,
|
||||
any.direct-sqlite ==2.3.29,
|
||||
direct-sqlite +dbstat +fulltextsearch +haveusleep +json1 -mathfunctions -systemlib +urifilenames,
|
||||
any.directory ==1.3.8.1,
|
||||
any.distributive ==0.6.2.1,
|
||||
distributive +semigroups +tagged,
|
||||
any.dlist ==1.0,
|
||||
dlist -werror,
|
||||
any.enummapset ==0.7.3.0,
|
||||
enummapset -debug,
|
||||
any.exceptions ==0.10.7,
|
||||
any.extensions ==0.1.0.1,
|
||||
extensions +executable,
|
||||
any.extra ==1.7.16,
|
||||
any.fail ==4.9.0.0,
|
||||
any.file-embed ==0.0.16.0,
|
||||
any.filemanip ==0.3.6.3,
|
||||
any.filepath ==1.4.200.1,
|
||||
any.filepattern ==0.1.3,
|
||||
any.filtrable ==0.1.6.0,
|
||||
filtrable +containers,
|
||||
any.fingertree ==0.1.5.0,
|
||||
any.floskell ==0.11.1,
|
||||
any.fmlist ==0.9.4,
|
||||
any.focus ==1.0.3.2,
|
||||
any.foldl ==1.4.17,
|
||||
any.fourmolu ==0.15.0.0,
|
||||
fourmolu -dev +internal-bundle-fixities,
|
||||
any.free ==5.2,
|
||||
any.fuzzy ==0.1.1.0,
|
||||
any.generic-arbitrary ==1.0.1,
|
||||
any.generic-deriving ==1.14.5,
|
||||
generic-deriving +base-4-9,
|
||||
any.generic-lens ==2.2.2.0,
|
||||
any.generic-lens-core ==2.2.1.0,
|
||||
any.generically ==0.1.1,
|
||||
any.ghc ==9.8.2,
|
||||
any.ghc-bignum ==1.3,
|
||||
any.ghc-boot ==9.8.2,
|
||||
any.ghc-boot-th ==9.8.2,
|
||||
any.ghc-exactprint ==1.8.0.0,
|
||||
ghc-exactprint -dev -roundtrip,
|
||||
any.ghc-heap ==9.8.2,
|
||||
any.ghc-lib-parser ==9.8.2.20240223,
|
||||
ghc-lib-parser +threaded-rts,
|
||||
any.ghc-lib-parser-ex ==9.8.0.2,
|
||||
ghc-lib-parser-ex -auto -no-ghc-lib,
|
||||
any.ghc-paths ==0.1.0.12,
|
||||
any.ghc-prim ==0.11.0,
|
||||
any.ghc-trace-events ==0.1.2.9,
|
||||
any.ghci ==9.8.2,
|
||||
any.ghcide ==2.9.0.0,
|
||||
ghcide +executable -pedantic +test-exe,
|
||||
any.githash ==0.1.7.0,
|
||||
any.gitrev ==1.3.1,
|
||||
any.haddock-library ==1.11.0,
|
||||
any.happy ==2.0.2,
|
||||
any.happy-lib ==2.0.2,
|
||||
any.hashable ==1.4.7.0,
|
||||
hashable -arch-native +integer-gmp -random-initial-seed,
|
||||
haskell-language-server +alternatenumberformat +cabal +cabalfmt +cabalgild +callhierarchy +changetypesignature +class +coderange -dynamic +eval +explicitfields +explicitfixity +floskell +fourmolu +gadt +ghc-lib +hlint -ignore-plugins-ghc-bounds +importlens -isolatecabalfmttests -isolatecabalgildtests +modulename +notes +ormolu +overloadedrecorddot -pedantic +pragmas +qualifyimportednames +refactor +rename +retrie +semantictokens +splice +stan +stylishhaskell,
|
||||
any.haskell-src-exts ==1.23.1,
|
||||
any.heaps ==0.4,
|
||||
any.hie-bios ==0.14.0,
|
||||
any.hie-compat ==0.3.1.2,
|
||||
any.hiedb ==0.6.0.1,
|
||||
any.hlint ==3.8,
|
||||
hlint +ghc-lib +gpl -hsyaml +threaded,
|
||||
any.hls-graph ==2.9.0.0,
|
||||
hls-graph -embed-files -pedantic -stm-stats,
|
||||
any.hls-plugin-api ==2.9.0.0,
|
||||
hls-plugin-api -pedantic +use-fingertree,
|
||||
any.hls-test-utils ==2.9.0.0,
|
||||
hls-test-utils -pedantic,
|
||||
any.hpc ==0.7.0.0,
|
||||
any.hsc2hs ==0.68.10,
|
||||
hsc2hs -in-ghc-tree,
|
||||
any.hscolour ==1.25,
|
||||
any.hw-fingertree ==0.1.1.0,
|
||||
any.hw-prim ==0.6.3.2,
|
||||
hw-prim -bounds-checking-enabled,
|
||||
any.implicit-hie ==0.1.4.0,
|
||||
implicit-hie +executable,
|
||||
any.indexed-profunctors ==0.1.1.1,
|
||||
any.indexed-traversable ==0.1.4,
|
||||
any.indexed-traversable-instances ==0.1.2,
|
||||
any.integer-conversion ==0.1.1,
|
||||
any.integer-gmp ==1.1,
|
||||
any.integer-logarithms ==1.0.3.1,
|
||||
integer-logarithms -check-bounds +integer-gmp,
|
||||
any.invariant ==0.6.3,
|
||||
any.js-dgtable ==0.5.2,
|
||||
any.js-flot ==0.8.3,
|
||||
any.js-jquery ==3.3.1,
|
||||
any.kan-extensions ==5.2.6,
|
||||
any.lens ==5.3.2,
|
||||
lens -benchmark-uniplate -dump-splices +inlining -j +test-hunit +test-properties +test-templates +trustworthy,
|
||||
any.lens-aeson ==1.2.3,
|
||||
any.libyaml ==0.1.4,
|
||||
libyaml -no-unicode -system-libyaml,
|
||||
any.libyaml-clib ==0.2.5,
|
||||
any.list-t ==1.0.5.7,
|
||||
any.logict ==0.8.1.0,
|
||||
any.lsp ==2.7.0.0,
|
||||
lsp -demo,
|
||||
any.lsp-test ==0.17.1.0,
|
||||
any.lsp-types ==2.3.0.0,
|
||||
lsp-types -force-ospath,
|
||||
any.lucid ==2.11.20230408,
|
||||
any.megaparsec ==9.6.1,
|
||||
megaparsec -dev,
|
||||
any.microaeson ==0.1.0.2,
|
||||
any.mmap ==0.5.9,
|
||||
mmap -mmaptest,
|
||||
any.mmorph ==1.2.0,
|
||||
any.mod ==0.2.0.1,
|
||||
mod +semirings +vector,
|
||||
any.monad-control ==1.0.3.1,
|
||||
any.monad-dijkstra ==0.1.1.5,
|
||||
any.mono-traversable ==1.0.20.0,
|
||||
any.monoid-subclasses ==1.2.5.1,
|
||||
any.mtl ==2.3.1,
|
||||
any.neat-interpolation ==0.5.1.4,
|
||||
any.network ==3.2.4.0,
|
||||
network -devel,
|
||||
any.network-uri ==2.6.4.2,
|
||||
any.newtype-generics ==0.6.2,
|
||||
any.old-locale ==1.0.0.7,
|
||||
any.old-time ==1.1.0.4,
|
||||
any.opentelemetry ==0.8.0,
|
||||
any.optparse-applicative ==0.17.1.0,
|
||||
optparse-applicative +process,
|
||||
any.optparse-simple ==0.1.1.4,
|
||||
optparse-simple -build-example,
|
||||
any.ordered-containers ==0.2.4,
|
||||
any.ormolu ==0.7.4.0,
|
||||
ormolu -dev +internal-bundle-fixities,
|
||||
any.os-string ==2.0.6,
|
||||
any.parallel ==3.2.2.0,
|
||||
any.parsec ==3.1.17.0,
|
||||
any.parser-combinators ==1.3.0,
|
||||
parser-combinators -dev,
|
||||
any.parsers ==0.12.11,
|
||||
parsers +attoparsec +binary +parsec,
|
||||
any.polyparse ==1.13,
|
||||
any.pretty ==1.1.3.6,
|
||||
any.pretty-simple ==4.1.2.0,
|
||||
pretty-simple -buildexample +buildexe,
|
||||
any.prettyprinter ==1.7.1,
|
||||
prettyprinter -buildreadme +text,
|
||||
any.prettyprinter-ansi-terminal ==1.1.3,
|
||||
any.primes ==0.2.1.0,
|
||||
any.primitive ==0.9.0.0,
|
||||
any.primitive-extras ==0.10.2,
|
||||
any.primitive-unlifted ==2.1.0.0,
|
||||
any.process ==1.6.18.0,
|
||||
any.process-extras ==0.7.4,
|
||||
any.profunctors ==5.6.2,
|
||||
any.psqueues ==0.2.8.0,
|
||||
any.quickcheck-instances ==0.3.31,
|
||||
any.random ==1.2.1.2,
|
||||
any.random-shuffle ==0.0.4,
|
||||
any.refact ==0.3.0.2,
|
||||
any.reflection ==2.1.8,
|
||||
reflection -slow +template-haskell,
|
||||
any.regex ==1.1.0.2,
|
||||
any.regex-applicative ==0.3.4,
|
||||
any.regex-base ==0.94.0.2,
|
||||
any.regex-pcre-builtin ==0.95.2.3.8.44,
|
||||
any.regex-tdfa ==1.3.2.2,
|
||||
regex-tdfa +doctest -force-o2,
|
||||
any.relude ==1.2.1.0,
|
||||
any.resourcet ==1.3.0,
|
||||
any.retrie ==1.2.3,
|
||||
retrie +buildexecutable,
|
||||
any.row-types ==1.0.1.2,
|
||||
any.rts ==1.0.2,
|
||||
any.safe ==0.3.21,
|
||||
any.safe-exceptions ==0.1.7.4,
|
||||
any.scientific ==0.3.8.0,
|
||||
scientific -integer-simple,
|
||||
any.selective ==0.7.0.1,
|
||||
any.semaphore-compat ==1.0.0,
|
||||
any.semialign ==1.3.1,
|
||||
semialign +semigroupoids,
|
||||
any.semigroupoids ==6.0.1,
|
||||
semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers,
|
||||
any.semigroups ==0.20,
|
||||
semigroups +binary +bytestring -bytestring-builder +containers +deepseq +hashable +tagged +template-haskell +text +transformers +unordered-containers,
|
||||
any.semirings ==0.7,
|
||||
semirings +containers +unordered-containers,
|
||||
any.shake ==0.19.8,
|
||||
shake -cloud -embed-files -portable +threaded,
|
||||
any.slist ==0.2.1.0,
|
||||
any.some ==1.0.6,
|
||||
some +newtype-unsafe,
|
||||
any.sorted-list ==0.2.2.0,
|
||||
any.split ==0.2.5,
|
||||
any.splitmix ==0.1.0.5,
|
||||
splitmix -optimised-mixer,
|
||||
any.sqlite-simple ==0.4.19.0,
|
||||
any.stan ==0.1.3.0,
|
||||
any.stm ==2.5.2.1,
|
||||
any.stm-containers ==1.2.1,
|
||||
any.stm-hamt ==1.2.1,
|
||||
any.streaming-commons ==0.2.2.6,
|
||||
streaming-commons -use-bytestring-builder,
|
||||
any.strict ==0.5.1,
|
||||
any.stylish-haskell ==0.14.6.0,
|
||||
stylish-haskell +ghc-lib,
|
||||
any.syb ==0.7.2.4,
|
||||
any.tagged ==0.8.8,
|
||||
tagged +deepseq +transformers,
|
||||
any.tasty ==1.5,
|
||||
tasty +unix,
|
||||
any.tasty-expected-failure ==0.12.3,
|
||||
any.tasty-golden ==2.3.5,
|
||||
tasty-golden -build-example,
|
||||
any.tasty-hunit ==0.10.2,
|
||||
any.tasty-quickcheck ==0.11,
|
||||
any.tasty-rerun ==1.1.19,
|
||||
any.template-haskell ==2.21.0.0,
|
||||
any.temporary ==1.3,
|
||||
any.terminal-size ==0.3.4,
|
||||
any.text ==2.1.1,
|
||||
any.text-iso8601 ==0.1.1,
|
||||
any.text-rope ==0.2,
|
||||
text-rope -debug,
|
||||
any.text-short ==0.1.6,
|
||||
text-short -asserts,
|
||||
any.th-abstraction ==0.7.0.0,
|
||||
any.th-compat ==0.1.5,
|
||||
any.th-env ==0.1.1,
|
||||
any.these ==1.2.1,
|
||||
any.time ==1.12.2,
|
||||
any.time-compat ==1.9.7,
|
||||
any.time-locale-compat ==0.1.1.5,
|
||||
time-locale-compat -old-locale,
|
||||
any.tomland ==1.3.3.3,
|
||||
tomland -build-play-tomland -build-readme,
|
||||
any.transformers ==0.6.1.0,
|
||||
any.transformers-base ==0.4.6,
|
||||
transformers-base +orphaninstances,
|
||||
any.transformers-compat ==0.7.2,
|
||||
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
|
||||
any.trial ==0.0.0.0,
|
||||
any.trial-optparse-applicative ==0.0.0.0,
|
||||
any.trial-tomland ==0.0.0.0,
|
||||
any.typed-process ==0.2.12.0,
|
||||
any.unbounded-delays ==0.1.1.1,
|
||||
any.uniplate ==1.6.13,
|
||||
any.unix ==2.8.4.0,
|
||||
any.unix-compat ==0.7.2,
|
||||
any.unliftio ==0.2.25.0,
|
||||
any.unliftio-core ==0.2.1.0,
|
||||
any.unordered-containers ==0.2.20,
|
||||
unordered-containers -debug,
|
||||
any.utf8-string ==1.0.2,
|
||||
any.uuid-types ==1.0.6,
|
||||
any.validation-selective ==0.2.0.0,
|
||||
any.vector ==0.13.1.0,
|
||||
vector +boundschecks -internalchecks -unsafechecks -wall,
|
||||
any.vector-algorithms ==0.9.0.2,
|
||||
vector-algorithms +bench +boundschecks -internalchecks -llvm +properties -unsafechecks,
|
||||
any.vector-stream ==0.1.0.1,
|
||||
any.void ==0.7.3,
|
||||
void -safe,
|
||||
any.witherable ==0.5,
|
||||
any.yaml ==0.11.11.2,
|
||||
yaml +no-examples +no-exe,
|
||||
any.zlib ==0.7.1.0,
|
||||
zlib -bundled-c-zlib +non-blocking-ffi +pkg-config
|
||||
index-state: hackage.haskell.org 2024-10-08T09:36:39Z
|
||||
42
main/i3bar-river/APKBUILD
Normal file
42
main/i3bar-river/APKBUILD
Normal file
@@ -0,0 +1,42 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=MaxVerevkin/i3bar-river
|
||||
pkgname=i3bar-river
|
||||
pkgver=1.1.0
|
||||
pkgrel=4
|
||||
pkgdesc="Port of i3bar for wlroots-based compositors"
|
||||
url="https://github.com/MaxVerevkin/i3bar-river"
|
||||
arch="all"
|
||||
license="GPL-3.0-only"
|
||||
makedepends="
|
||||
cairo-dev
|
||||
cargo
|
||||
cargo-auditable
|
||||
glib-dev
|
||||
pango-dev
|
||||
"
|
||||
options="net" # cargo crates
|
||||
source="
|
||||
https://github.com/MaxVerevkin/i3bar-river/archive/v$pkgver/i3bar-river-$pkgver.tar.gz
|
||||
"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo auditable build --frozen --release
|
||||
}
|
||||
|
||||
check() {
|
||||
cargo test --frozen
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 target/release/i3bar-river -t "$pkgdir"/usr/bin/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
eb27c3618e2c7fff4a9bbc74ae85fabac18b3ab72dc649389aa1ce01b264975fb10680cf873e31d103e497b2702cdab83fc8f33c1d0e913bbc594f36cc9bae07 i3bar-river-1.1.0.tar.gz
|
||||
"
|
||||
43
main/luksmeta/APKBUILD
Normal file
43
main/luksmeta/APKBUILD
Normal file
@@ -0,0 +1,43 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=latchset/luksmeta
|
||||
pkgname=luksmeta
|
||||
pkgver=10
|
||||
pkgrel=0
|
||||
pkgdesc="Library for storing metadata in the LUKSv1 header"
|
||||
url="https://github.com/latchset/luksmeta"
|
||||
license="LGPL-2.0-or-later"
|
||||
arch="all"
|
||||
makedepends="autoconf automake libtool asciidoc cryptsetup-dev"
|
||||
checkdepends="bash cryptsetup"
|
||||
subpackages="$pkgname-dev $pkgname-doc"
|
||||
source="https://github.com/latchset/luksmeta/archive/v$pkgver/luksmeta-$pkgver.tar.gz
|
||||
force-creation-of-luks1-containers-in-tests.patch
|
||||
relax-content-tests-in-test-suite.patch
|
||||
musl.patch
|
||||
"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
build() {
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
427f96266795d9d3c8149f5854863512137c7eaef808dbc80a5744359697b395760ac8eefa65eaf0627c0a87feaa1262e7013288874ff5c863301b03e59fbd9c luksmeta-10.tar.gz
|
||||
a97a000c8bd952fb5a6569ef111bdef5acd56d75bd6bc1f3be3b44113ec6d313400961d018ebe442aa214ac6e8aba41bcce838cb5e34cacd3f84d012910ae729 force-creation-of-luks1-containers-in-tests.patch
|
||||
6821e042fcc182dbb7c534a2108d486600c87d3c30fa02491cf6cb47867de85bab6f1fdb13c701bab53a794a9d5559e78dc5a9e53cc169d8792e754dee927741 relax-content-tests-in-test-suite.patch
|
||||
aec3e5b91464a71e33ca7e53c51924cf99b5a7048923bf253c88587d607d763c6671c2fa89c21c0447020368487270dd31f65a40477d277880a9f12d6569431e musl.patch
|
||||
"
|
||||
@@ -0,0 +1,26 @@
|
||||
Patch-Source: https://github.com/latchset/luksmeta/pull/10
|
||||
|
||||
From af81262c0f6e6b37e5c6b520d0fca3a9f9b6c1fc Mon Sep 17 00:00:00 2001
|
||||
From: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
|
||||
Date: Sat, 28 Sep 2019 13:24:11 +0200
|
||||
Subject: [PATCH] Force creation of LUKS1 containers in test suite
|
||||
|
||||
Cryptsetup defaults to LUKS2 since version 2.1, make sure to create
|
||||
LUKS1 containers instead by using the "--type luks1" argument.
|
||||
---
|
||||
test-luksmeta | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test-luksmeta b/test-luksmeta
|
||||
index fd17ead..f1e8b2e 100755
|
||||
--- a/test-luksmeta
|
||||
+++ b/test-luksmeta
|
||||
@@ -11,7 +11,7 @@ function onexit() {
|
||||
trap 'onexit' EXIT
|
||||
|
||||
truncate -s 4M $tmp
|
||||
-echo -n foo | cryptsetup luksFormat $tmp -
|
||||
+echo -n foo | cryptsetup luksFormat --type luks1 $tmp -
|
||||
|
||||
! ./luksmeta test -d $tmp
|
||||
|
||||
175
main/luksmeta/musl.patch
Normal file
175
main/luksmeta/musl.patch
Normal file
@@ -0,0 +1,175 @@
|
||||
The tests use glibc's error.h, which musl libc does not implement.
|
||||
Use err.h instead.
|
||||
|
||||
--- a/test-lm-big.c
|
||||
+++ b/test-lm-big.c
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "test.h"
|
||||
#include <errno.h>
|
||||
-#include <error.h>
|
||||
+#include <err.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -107,7 +107,7 @@ main(int argc, char *argv[])
|
||||
/* Set the data. */
|
||||
r = luksmeta_save(cd, CRYPT_ANY_SLOT, UUID, DATA, sizeof(DATA));
|
||||
if (r < 0)
|
||||
- error(EXIT_FAILURE, -r, "luksmeta_save()");
|
||||
+ err(EXIT_FAILURE, "luksmeta_save()");
|
||||
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
--- a/test-lm-init.c
|
||||
+++ b/test-lm-init.c
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
-#include <error.h>
|
||||
+#include <err.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -89,11 +89,11 @@ main(int argc, char *argv[])
|
||||
/* Test to make sure that data corruption is picked up correctly. */
|
||||
fd = open(filename, O_RDWR | O_SYNC);
|
||||
if (fd < 0)
|
||||
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
if (lseek(fd, offset + 16, SEEK_SET) == -1)
|
||||
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
if (write(fd, &(char) { 17 }, 1) != 1)
|
||||
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
close(fd);
|
||||
assert(luksmeta_save(cd, 2, UUID, UUID, sizeof(UUID)) == -EINVAL);
|
||||
assert(luksmeta_load(cd, 2, uuid, data, sizeof(data)) == -EINVAL);
|
||||
--- a/test-lm-one.c
|
||||
+++ b/test-lm-one.c
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "test.h"
|
||||
-#include <error.h>
|
||||
+#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -44,7 +44,7 @@ main(int argc, char *argv[])
|
||||
|
||||
r = luksmeta_save(cd, CRYPT_ANY_SLOT, UUID, UUID, sizeof(UUID));
|
||||
if (r < 0)
|
||||
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
|
||||
/* Test the layout state. */
|
||||
assert(test_layout((range_t[]) {
|
||||
--- a/test-lm-two.c
|
||||
+++ b/test-lm-two.c
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "test.h"
|
||||
-#include <error.h>
|
||||
+#include <err.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -49,7 +49,7 @@ main(int argc, char *argv[])
|
||||
/* Add one metadata. */
|
||||
r = luksmeta_save(cd, 0, UUID0, UUID0, sizeof(UUID0));
|
||||
if (r < 0)
|
||||
- error(EXIT_FAILURE, -r, "luksmeta_save()");
|
||||
+ err(EXIT_FAILURE, "luksmeta_save()");
|
||||
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
@@ -66,7 +66,7 @@ main(int argc, char *argv[])
|
||||
/* Add a second metadata. */
|
||||
r = luksmeta_save(cd, 1, UUID1, UUID1, sizeof(UUID1));
|
||||
if (r < 0)
|
||||
- error(EXIT_FAILURE, -r, "luksmeta_save()");
|
||||
+ err(EXIT_FAILURE, "luksmeta_save()");
|
||||
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
--- a/test.c
|
||||
+++ b/test.c
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
-#include <error.h>
|
||||
+#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
@@ -105,7 +105,7 @@ test_hole(struct crypt_device *cd, uint32_t *offset, uint32_t *length)
|
||||
|
||||
payload_offset = crypt_get_data_offset(cd) * 512;
|
||||
if (payload_offset < ALIGN(1, true))
|
||||
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
|
||||
for (int slot = 0; slot < crypt_keyslot_max(CRYPT_LUKS1); slot++) {
|
||||
uint64_t off = 0;
|
||||
@@ -113,7 +113,7 @@ test_hole(struct crypt_device *cd, uint32_t *offset, uint32_t *length)
|
||||
|
||||
r = crypt_keyslot_area(cd, slot, &off, &len);
|
||||
if (r < 0)
|
||||
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
|
||||
if (off + len > keyarea_end)
|
||||
keyarea_end = off + len;
|
||||
@@ -132,23 +132,23 @@ test_format(void)
|
||||
|
||||
fd = mkstemp(filename);
|
||||
if (fd < 0)
|
||||
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
|
||||
/* Create a 4MB sparse file. */
|
||||
if (lseek(fd, 4194303, SEEK_SET) == -1)
|
||||
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
if (write(fd, "", 1) != 1)
|
||||
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
close(fd);
|
||||
|
||||
r = crypt_init(&cd, filename);
|
||||
if (r < 0)
|
||||
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
|
||||
r = crypt_format(cd, CRYPT_LUKS1, "aes", "xts-plain64",
|
||||
NULL, NULL, 32, NULL);
|
||||
if (r < 0)
|
||||
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
|
||||
return cd;
|
||||
}
|
||||
@@ -161,15 +161,15 @@ test_init(void)
|
||||
|
||||
r = crypt_init(&cd, filename);
|
||||
if (r < 0)
|
||||
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
|
||||
r = crypt_load(cd, CRYPT_LUKS1, NULL);
|
||||
if (r < 0)
|
||||
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
|
||||
r = luksmeta_init(cd);
|
||||
if (r < 0)
|
||||
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
|
||||
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
|
||||
|
||||
return cd;
|
||||
}
|
||||
150
main/luksmeta/relax-content-tests-in-test-suite.patch
Normal file
150
main/luksmeta/relax-content-tests-in-test-suite.patch
Normal file
@@ -0,0 +1,150 @@
|
||||
Patch-Source: https://github.com/latchset/luksmeta/pull/7
|
||||
|
||||
From 9c550e0675f9fa8fe58c996660c61eca11b424d1 Mon Sep 17 00:00:00 2001
|
||||
From: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
|
||||
Date: Mon, 10 Dec 2018 14:25:33 +0100
|
||||
Subject: [PATCH] Relax content tests in test suite
|
||||
|
||||
Starting with version 2.0.5, cryptsetup wipes the full LUKS header
|
||||
and fills unused sections with random data, this was introduced
|
||||
in commit
|
||||
|
||||
commit c2bce3e93ecee41f661b589ee28f112eb538259e
|
||||
Author: Milan Broz <gmazyland@gmail.com>
|
||||
Date: Sun Oct 14 13:11:50 2018 +0200
|
||||
|
||||
Wipe full header areas (including unused) during LUKS format.
|
||||
|
||||
While this is the right thing to do, it breaks luksmeta tests. So
|
||||
relax them.
|
||||
|
||||
Bug-Debian: https://bugs.debian.org/915256
|
||||
Resolves: https://github.com/latchset/luksmeta/issues/6
|
||||
---
|
||||
test-lm-assumptions.c | 3 ++-
|
||||
test-lm-big.c | 4 ++--
|
||||
test-lm-init.c | 4 ++--
|
||||
test-lm-one.c | 4 ++--
|
||||
test-lm-two.c | 8 ++++----
|
||||
5 files changed, 12 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/test-lm-assumptions.c b/test-lm-assumptions.c
|
||||
index d9ff20b..b4f293f 100644
|
||||
--- a/test-lm-assumptions.c
|
||||
+++ b/test-lm-assumptions.c
|
||||
@@ -28,7 +28,8 @@ main(int argc, char *argv[])
|
||||
/* Test the layout state. */
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- END(1024), /* Rest of the file */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
+ { 0, 0 },
|
||||
}));
|
||||
|
||||
unlink(filename);
|
||||
diff --git a/test-lm-big.c b/test-lm-big.c
|
||||
index 6098e59..eb94d3b 100644
|
||||
--- a/test-lm-big.c
|
||||
+++ b/test-lm-big.c
|
||||
@@ -111,7 +111,7 @@ main(int argc, char *argv[])
|
||||
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- { 1024, offset - 1024, true }, /* Keyslot Area */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
{ offset, 4096 }, /* luksmeta header */
|
||||
{ offset + 4096, 4096 }, /* luksmeta slot 0 */
|
||||
{ offset + 8192, 4096 }, /* luksmeta slot 0 (cont) */
|
||||
@@ -127,7 +127,7 @@ main(int argc, char *argv[])
|
||||
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- { 1024, offset - 1024, true }, /* Keyslot Area */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
{ offset, 4096 }, /* luksmeta header */
|
||||
END(offset + 4096), /* Rest of the file */
|
||||
}));
|
||||
diff --git a/test-lm-init.c b/test-lm-init.c
|
||||
index 2a6cb45..b16d597 100644
|
||||
--- a/test-lm-init.c
|
||||
+++ b/test-lm-init.c
|
||||
@@ -57,7 +57,7 @@ main(int argc, char *argv[])
|
||||
/* Test the layout state. */
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- { 1024, offset - 1024, true }, /* Keyslot Area */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
{ offset, 4096 }, /* luksmeta header */
|
||||
END(offset + 4096), /* Rest of the file */
|
||||
}));
|
||||
@@ -106,7 +106,7 @@ main(int argc, char *argv[])
|
||||
assert(luksmeta_test(cd) == -ENOENT);
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- { 1024, offset - 1024, true }, /* Keyslot Area */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
END(offset), /* Rest of the file */
|
||||
}));
|
||||
|
||||
diff --git a/test-lm-one.c b/test-lm-one.c
|
||||
index 8deb70a..18613e0 100644
|
||||
--- a/test-lm-one.c
|
||||
+++ b/test-lm-one.c
|
||||
@@ -49,7 +49,7 @@ main(int argc, char *argv[])
|
||||
/* Test the layout state. */
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- { 1024, offset - 1024, true }, /* Keyslot Area */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
{ offset, 4096 }, /* luksmeta header */
|
||||
{ offset + 4096, 4096 }, /* luksmeta slot 0 */
|
||||
END(offset + 8192), /* Rest of the file */
|
||||
@@ -68,7 +68,7 @@ main(int argc, char *argv[])
|
||||
/* Test the layout state. */
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- { 1024, offset - 1024, true }, /* Keyslot Area */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
{ offset, 4096 }, /* luksmeta header */
|
||||
END(offset + 4096), /* Rest of the file */
|
||||
}));
|
||||
diff --git a/test-lm-two.c b/test-lm-two.c
|
||||
index 78fea5b..9f0b1c5 100644
|
||||
--- a/test-lm-two.c
|
||||
+++ b/test-lm-two.c
|
||||
@@ -53,7 +53,7 @@ main(int argc, char *argv[])
|
||||
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- { 1024, offset - 1024, true }, /* Keyslot Area */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
{ offset, 4096 }, /* luksmeta header */
|
||||
{ offset + 4096, 4096 }, /* luksmeta slot 0 */
|
||||
END(offset + 8192), /* Rest of the file */
|
||||
@@ -70,7 +70,7 @@ main(int argc, char *argv[])
|
||||
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- { 1024, offset - 1024, true }, /* Keyslot Area */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
{ offset, 4096 }, /* luksmeta header */
|
||||
{ offset + 4096, 4096 }, /* luksmeta slot 0 */
|
||||
{ offset + 8192, 4096 }, /* luksmeta slot 1 */
|
||||
@@ -88,7 +88,7 @@ main(int argc, char *argv[])
|
||||
assert(luksmeta_wipe(cd, 0, UUID0) == 0);
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- { 1024, offset - 1024, true }, /* Keyslot Area */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
{ offset, 4096 }, /* luksmeta header */
|
||||
{ offset + 4096, 4096, true }, /* luksmeta slot 0 */
|
||||
{ offset + 8192, 4096 }, /* luksmeta slot 1 */
|
||||
@@ -99,7 +99,7 @@ main(int argc, char *argv[])
|
||||
assert(luksmeta_wipe(cd, 1, UUID1) == 0);
|
||||
assert(test_layout((range_t[]) {
|
||||
{ 0, 1024 }, /* LUKS header */
|
||||
- { 1024, offset - 1024, true }, /* Keyslot Area */
|
||||
+ { 1024, 3072, true }, /* Keyslot Area */
|
||||
{ offset, 4096 }, /* luksmeta header */
|
||||
END(offset + 4096), /* Rest of the file */
|
||||
}));
|
||||
34
main/nvim-lspconfig/APKBUILD
Normal file
34
main/nvim-lspconfig/APKBUILD
Normal file
@@ -0,0 +1,34 @@
|
||||
# Contributor: Galen Abell <galen@galenabell.com>
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=neovim/nvim-lspconfig
|
||||
pkgname=nvim-lspconfig
|
||||
pkgver=2.5.0
|
||||
pkgrel=3
|
||||
pkgdesc="quickstart configurations for the neovim LSP client"
|
||||
url="https://github.com/neovim/nvim-lspconfig"
|
||||
arch="noarch"
|
||||
license="Apache-2.0"
|
||||
subpackages="$pkgname-doc"
|
||||
makedepends="neovim"
|
||||
options="!check"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/neovim/nvim-lspconfig/archive/v$pkgver/nvim-lspconfig-$pkgver.tar.gz"
|
||||
|
||||
build() {
|
||||
nvim -u NONE -i NONE -e --headless -c "helptags doc" -c quit
|
||||
}
|
||||
|
||||
package() {
|
||||
local plgdir="$pkgdir"/usr/share/nvim/site/pack/dist/opt/$pkgname
|
||||
install -d "$plgdir"
|
||||
cp -ra lsp lua plugin "$plgdir"
|
||||
install -Dm644 doc/*.txt -t "$plgdir"/doc
|
||||
}
|
||||
|
||||
doc() {
|
||||
default_doc
|
||||
amove usr/share/nvim/site/pack/dist/opt/$pkgname/doc
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
b620cf9cdf778dffb8302334a472dda2dec430e33cc67f2eb0363f263fdd626ddb42fb68207611cffdcb1e3b9e9fa58b3ae2b56b75d182f391d089aa3477301f nvim-lspconfig-2.5.0.tar.gz
|
||||
"
|
||||
@@ -2,7 +2,7 @@
|
||||
# renovate: datasource=github-tags packageName=celenityy/Phoenix
|
||||
pkgname=phoenix
|
||||
pkgver=2025.11.27.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Privacy & security configurations for Firefox"
|
||||
url="https://codeberg.org/celenity/Phoenix"
|
||||
arch="noarch"
|
||||
|
||||
31
main/swappy/APKBUILD
Normal file
31
main/swappy/APKBUILD
Normal file
@@ -0,0 +1,31 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=jtheoof/swappy
|
||||
pkgname=swappy
|
||||
pkgver=1.8.0
|
||||
pkgrel=1
|
||||
pkgdesc="Snapshot editing tool for Wayland"
|
||||
url="https://github.com/jtheoof/swappy"
|
||||
license="MIT"
|
||||
arch="all"
|
||||
options="!check" # no test suite
|
||||
depends="font-awesome-free"
|
||||
makedepends="meson cairo-dev pango-dev gtk+3.0-dev libnotify-dev scdoc"
|
||||
subpackages="$pkgname-doc $pkgname-lang"
|
||||
source="
|
||||
https://github.com/jtheoof/swappy/archive/v$pkgver/swappy-$pkgver.tar.gz
|
||||
revert-git-check.patch
|
||||
"
|
||||
|
||||
build() {
|
||||
abuild-meson . output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
e139ab3de544fe7008c00822ac66bb86f8ff8fabadef8aed8b445a1c8389bc0297d1be045bcd368b66533a9bef23ad4735302eaf5428334cc6723991fb3e32fd swappy-1.8.0.tar.gz
|
||||
8e80dc138efce4867f3dac62122fb484467ebe36d6e803d03102e0266a6ff7061ad659d3b954fb08485c51aefcc18ceb052c1bdc95b9781f49fdc3f2166ac7b3 revert-git-check.patch
|
||||
"
|
||||
15
main/swappy/revert-git-check.patch
Normal file
15
main/swappy/revert-git-check.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff --git i/meson.build w/meson.build
|
||||
index 908325c..9d20154 100644
|
||||
--- i/meson.build
|
||||
+++ w/meson.build
|
||||
@@ -14,8 +14,8 @@ project(
|
||||
version = '"@0@"'.format(meson.project_version())
|
||||
git = find_program('git', native: true, required: false)
|
||||
if git.found()
|
||||
- git_commit = run_command([git, 'rev-parse', '--short', 'HEAD'], check:true)
|
||||
- git_branch = run_command([git, 'rev-parse', '--abbrev-ref', 'HEAD'], check:true)
|
||||
+ git_commit = run_command([git, 'rev-parse', '--short', 'HEAD'], check:false)
|
||||
+ git_branch = run_command([git, 'rev-parse', '--abbrev-ref', 'HEAD'], check:false)
|
||||
if git_commit.returncode() == 0 and git_branch.returncode() == 0
|
||||
version = '"@0@-@1@ (" __DATE__ ", branch \'@2@\')"'.format(
|
||||
meson.project_version(),
|
||||
@@ -2,7 +2,7 @@
|
||||
# renovate: datasource=github-tags packageName=siderolabs/talos
|
||||
pkgname=talosctl
|
||||
pkgver=1.11.5
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Kubernetes Linux distribution"
|
||||
url="https://talos.dev"
|
||||
arch="all"
|
||||
|
||||
35
main/tangctl/APKBUILD
Normal file
35
main/tangctl/APKBUILD
Normal file
@@ -0,0 +1,35 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=anatol/tang.go
|
||||
pkgname=tangctl
|
||||
pkgver=0_git20230725
|
||||
_pkgsha=dcc6e9494f1429ca94cfce692b0ff41e48679fc0
|
||||
pkgrel=3
|
||||
pkgdesc="Tool implementing server-side ECMR exchange functionality (Tang server)"
|
||||
url="https://github.com/anatol/tang.go"
|
||||
license="BSD-3-Clause"
|
||||
arch="all"
|
||||
makedepends="go"
|
||||
options="!check net"
|
||||
source="https://github.com/anatol/tang.go/archive/$_pkgsha.tar.gz
|
||||
tang-location.patch
|
||||
"
|
||||
builddir="$srcdir/tang.go-$_pkgsha"
|
||||
|
||||
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
|
||||
export GOPATH="$srcdir"
|
||||
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
||||
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
||||
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
||||
|
||||
build() {
|
||||
go build ./cmd/tangctl
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 tangctl -t "$pkgdir"/usr/bin/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
7db56de898ceff64f737671b3bf7238894e63f0ae3fa4da93e7bc969fc89d2c6795f9328cced4ccaf11a7dbb61faf2d58b7b134aae94e5d7877cfcf6d2f45692 dcc6e9494f1429ca94cfce692b0ff41e48679fc0.tar.gz
|
||||
22d1dac2321c9e2fe7c1e5559d3976f759941d9aef27e8c0fc7858e311243635560d235c228ad846f58743e7d3c76737ce8bec3c844a4f567a8604b279961dd4 tang-location.patch
|
||||
"
|
||||
12
main/tangctl/tang-location.patch
Normal file
12
main/tangctl/tang-location.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/native_server.go
|
||||
+++ b/native_server.go
|
||||
@@ -30,8 +30,7 @@ func NewNativeServer(keysDir string, port int) (*NativeServer, error) {
|
||||
|
||||
// different OS use different tang server binary location
|
||||
tangLocations := []string{
|
||||
- "/usr/lib/",
|
||||
- "/usr/lib/x86_64-linux-gnu/",
|
||||
+ "/usr/libexec/",
|
||||
}
|
||||
|
||||
var tangdPath string
|
||||
@@ -2,7 +2,7 @@
|
||||
# renovate: datasource=github-tags packageName=hashicorp/terraform-ls
|
||||
pkgname=terraform-ls
|
||||
pkgver=0.38.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Terraform Language Server"
|
||||
url="https://github.com/hashicorp/terraform-ls"
|
||||
arch="all"
|
||||
|
||||
37
main/transmission-remote-gtk/APKBUILD
Normal file
37
main/transmission-remote-gtk/APKBUILD
Normal file
@@ -0,0 +1,37 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=transmission-remote-gtk/transmission-remote-gtk
|
||||
pkgname=transmission-remote-gtk
|
||||
pkgver=1.6.0
|
||||
pkgrel=1
|
||||
pkgdesc="GTK client for remote management of the Transmission BitTorrent client"
|
||||
url="https://github.com/transmission-remote-gtk/transmission-remote-gtk"
|
||||
arch="all"
|
||||
license="GPL-2.0-or-later"
|
||||
makedepends="
|
||||
appstream-glib-dev
|
||||
geoip-dev
|
||||
gtk+3.0-dev
|
||||
json-glib-dev
|
||||
libayatana-appindicator-dev
|
||||
libsoup3-dev
|
||||
meson
|
||||
perl
|
||||
"
|
||||
options="!check" # no tests
|
||||
source="https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/$pkgver/transmission-remote-gtk-$pkgver.tar.xz"
|
||||
subpackages="$pkgname-doc $pkgname-lang"
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
351079d91cc5b33c7955103cbc28d1010bf3d18668689ff5b690ff2214d9e44cdd9f841ebe207260d31c332650d6ae05a0d9ceb7696861c8be5beeae4d0a08d5 transmission-remote-gtk-1.6.0.tar.xz
|
||||
"
|
||||
35
main/yaml-language-server/APKBUILD
Normal file
35
main/yaml-language-server/APKBUILD
Normal file
@@ -0,0 +1,35 @@
|
||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||
# renovate: datasource=github-tags packageName=redhat-developer/yaml-language-server
|
||||
pkgname=yaml-language-server
|
||||
pkgver=1.19.2
|
||||
pkgrel=2
|
||||
pkgdesc="Language Server for YAML files"
|
||||
url="https://github.com/redhat-developer/yaml-language-server"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="nodejs"
|
||||
makedepends="npm"
|
||||
options="net"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/redhat-developer/yaml-language-server/archive/refs/tags/$pkgver.tar.gz"
|
||||
|
||||
build() {
|
||||
npm install
|
||||
npm run compile
|
||||
}
|
||||
|
||||
check() {
|
||||
npm test
|
||||
}
|
||||
|
||||
package() {
|
||||
npm prune --omit=dev
|
||||
|
||||
install -d "$pkgdir"/usr/bin "$pkgdir"/usr/lib/node_modules/"$pkgname"
|
||||
cp -r bin/ l10n/ node_modules/ out/ package.json \
|
||||
"$pkgdir"/usr/lib/node_modules/"$pkgname"
|
||||
ln -sf ../lib/node_modules/"$pkgname"/bin/"$pkgname" \
|
||||
"$pkgdir"/usr/bin/"$pkgname"
|
||||
}
|
||||
sha512sums="
|
||||
64f488fc78e4738836e3ad8bb16a3c3e68a5240a8536fa287c0195d5c198d9c6df8a656995a16e36f5f52f095c1f23ad3341f54fdf57761d5b9770b3c3598a1c yaml-language-server-1.19.2.tar.gz
|
||||
"
|
||||
Reference in New Issue
Block a user