Browse Source

build: import forked packages

Packages from either the AUR or generated by myself.
primary
George Rawlinson 11 months ago
parent
commit
40a7250c58
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
  1. 21
      bind-adblock/.SRCINFO
  2. 3
      bind-adblock/.gitignore
  3. 56
      bind-adblock/PKGBUILD
  4. 18
      bind-adblock/bind-adblock.install
  5. 35
      cargo-expand/PKGBUILD
  6. 40
      cargo-sort/PKGBUILD
  7. 15
      check-sieve/.SRCINFO
  8. 46
      check-sieve/PKGBUILD
  9. 25
      cloud-hypervisor/PKGBUILD
  10. 63
      commitizen/PKGBUILD
  11. 16
      dracut-alpm-hook/.SRCINFO
  12. 27
      dracut-alpm-hook/PKGBUILD
  13. 15
      idracadm7/.SRCINFO
  14. 7
      idracadm7/LICENSE
  15. 28
      idracadm7/PKGBUILD
  16. 52
      ignite/PKGBUILD
  17. 10
      ignite/ignite.install
  18. 10
      ignite/systemd.service
  19. 1
      ignite/tmpfiles.conf
  20. 76
      kata-containers/PKGBUILD
  21. 14
      lego/.SRCINFO
  22. 40
      lego/PKGBUILD
  23. 14
      libversion/.SRCINFO
  24. 29
      libversion/PKGBUILD
  25. 21
      nextcloud-app-client-push/.SRCINFO
  26. 62
      nextcloud-app-client-push/PKGBUILD
  27. 17
      nextcloud-app-client-push/nextcloud-app-client-push.conf
  28. 11
      nextcloud-app-client-push/nextcloud-app-client-push.hook
  29. 7
      nextcloud-app-client-push/nextcloud-app-client-push.install
  30. 44
      nextcloud-app-client-push/nextcloud-app-client-push.service
  31. 15
      nginx-mainline-mod-brotli/.SRCINFO
  32. 34
      nginx-mainline-mod-brotli/PKGBUILD
  33. 14
      nginx-mainline-mod-headers-more/.SRCINFO
  34. 40
      nginx-mainline-mod-headers-more/PKGBUILD
  35. 16
      nodejs-homebridge-denon-tv/.SRCINFO
  36. 31
      nodejs-homebridge-denon-tv/PKGBUILD
  37. 16
      nodejs-homebridge-platform-orbit/.SRCINFO
  38. 31
      nodejs-homebridge-platform-orbit/PKGBUILD
  39. 16
      nodejs-homebridge-webos-tv/.SRCINFO
  40. 31
      nodejs-homebridge-webos-tv/PKGBUILD
  41. 17
      nzbget-systemd/.SRCINFO
  42. 23
      nzbget-systemd/PKGBUILD
  43. 17
      nzbget-systemd/nzbget.service
  44. 1
      nzbget-systemd/nzbget.sysusers
  45. 1
      nzbget-systemd/nzbget.tmpfiles
  46. 24
      prometheus-smbmc-exporter/.SRCINFO
  47. 42
      prometheus-smbmc-exporter/PKGBUILD
  48. 44
      prometheus-smbmc-exporter/systemd.service
  49. 1
      prometheus-smbmc-exporter/sysusers.conf
  50. 39
      python-decli/PKGBUILD
  51. 39
      python-questionary/PKGBUILD
  52. 15
      python-smbmc/.SRCINFO
  53. 30
      python-smbmc/PKGBUILD
  54. 50
      rbw/PKGBUILD
  55. 17
      rollup/.SRCINFO
  56. 39
      rollup/PKGBUILD
  57. 28
      rtorrent-systemd/.SRCINFO
  58. 38
      rtorrent-systemd/PKGBUILD
  59. 16
      rtorrent-systemd/cleanlock
  60. 103
      rtorrent-systemd/rtorrent.conf
  61. 16
      rtorrent-systemd/systemd.service
  62. 1
      rtorrent-systemd/sysusers.conf
  63. 7
      rtorrent-systemd/tmpfiles.conf
  64. 15
      ruby-cool.io/.SRCINFO
  65. 30
      ruby-cool.io/PKGBUILD
  66. 16
      ruby-http_parser.rb/.SRCINFO
  67. 41
      ruby-http_parser.rb/PKGBUILD
  68. 14
      ruby-oj/.SRCINFO
  69. 41
      ruby-oj/PKGBUILD
  70. 15
      ruby-yajl-ruby/.SRCINFO
  71. 25
      ruby-yajl-ruby/PKGBUILD
  72. 28
      rutorrent/.SRCINFO
  73. 86
      rutorrent/PKGBUILD
  74. 5
      rutorrent/tmpfiles.conf
  75. 13
      systemd-boot-alpm-hook/.SRCINFO
  76. 9
      systemd-boot-alpm-hook/100-systemd-boot.hook
  77. 17
      systemd-boot-alpm-hook/PKGBUILD
  78. 16
      wiredtiger/.SRCINFO
  79. 28
      wiredtiger/PKGBUILD
  80. 101
      z-push/.SRCINFO
  81. 6
      z-push/.gitignore
  82. 337
      z-push/PKGBUILD
  83. 5
      z-push/stickynote.install
  84. 1
      z-push/sysusers.conf
  85. 4
      z-push/tmpfiles.conf
  86. 12
      z-push/z-push-common.install
  87. 21
      zsh-grawlinson/.SRCINFO
  88. 38
      zsh-grawlinson/PKGBUILD

21
bind-adblock/.SRCINFO

@ -0,0 +1,21 @@
pkgbase = bind-adblock
pkgdesc = Fetch various blocklists and generate a BIND RPZ zonefile
pkgver = 2009021459
pkgrel = 1
url = https://github.com/Trellmor/bind-adblock
install = bind-adblock.install
arch = any
license = MIT
makedepends = python-requests
makedepends = python-dnspython
depends = bind>=9.8
backup = var/named/adblock.rpz
source = 7bc3d5-update-zonefile.py::https://raw.githubusercontent.com/Trellmor/bind-adblock/7bc3d5b3cd87eb5af11e1b531842eef550df23a7/update-zonefile.py
source = 7bc3d5-LICENSE::https://raw.githubusercontent.com/Trellmor/bind-adblock/7bc3d5b3cd87eb5af11e1b531842eef550df23a7/LICENSE
source = 7bc3d5-blocklist.txt::https://raw.githubusercontent.com/Trellmor/bind-adblock/7bc3d5b3cd87eb5af11e1b531842eef550df23a7/blocklist.txt
sha512sums = a83a727021abae5a2b28843d3111177b2e4ef025db462710012cd642b0c445e449b359a3082bb09c925e9f73ca0535ef739bdd1464783aa433b923aeeb6bd53c
sha512sums = 19c76446db8f97aece5045aeb0e0303d152522383d1d543bb42fcc37dd8d50013030946293047b115f2c3ee0d238f8b1ec6b6dd1b5327d2ff95dded5edd83787
sha512sums = c7a4b2254d9ac5888a7f02649fa97c1f0540bfcd968366f3a64d8a575576d715a05128fc7d8aa6015ec0e1cbf973c1019f9af76b0fb668478efd9806803f2d2f
pkgname = bind-adblock

3
bind-adblock/.gitignore vendored

@ -0,0 +1,3 @@
*LICENSE
*blocklist.txt
*update-zonefile.py

56
bind-adblock/PKGBUILD

@ -0,0 +1,56 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=bind-adblock
pkgver=2009021459
pkgrel=1
pkgdesc="Fetch various blocklists and generate a BIND RPZ zonefile"
arch=('any')
url="https://github.com/Trellmor/bind-adblock"
license=('MIT')
depends=('bind>=9.8')
makedepends=(python-requests python-dnspython)
backup=('var/named/adblock.rpz')
install=$pkgname.install
# Commit IDs of latest Git commit
_long=7bc3d5b3cd87eb5af11e1b531842eef550df23a7
_short="${_long:0:6}"
source=("$_short-update-zonefile.py::https://raw.githubusercontent.com/Trellmor/bind-adblock/$_long/update-zonefile.py"
"$_short-LICENSE::https://raw.githubusercontent.com/Trellmor/bind-adblock/$_long/LICENSE"
"$_short-blocklist.txt::https://raw.githubusercontent.com/Trellmor/bind-adblock/$_long/blocklist.txt")
sha512sums=('a83a727021abae5a2b28843d3111177b2e4ef025db462710012cd642b0c445e449b359a3082bb09c925e9f73ca0535ef739bdd1464783aa433b923aeeb6bd53c'
'19c76446db8f97aece5045aeb0e0303d152522383d1d543bb42fcc37dd8d50013030946293047b115f2c3ee0d238f8b1ec6b6dd1b5327d2ff95dded5edd83787'
'c7a4b2254d9ac5888a7f02649fa97c1f0540bfcd968366f3a64d8a575576d715a05128fc7d8aa6015ec0e1cbf973c1019f9af76b0fb668478efd9806803f2d2f')
pkgver() {
date +%y%m%d%H%M
}
prepare() {
mkdir -p "$pkgname"
cp "$_short-update-zonefile.py" "$pkgname/update-zonefile.py"
cp "$_short-blocklist.txt" "$pkgname/blocklist.txt"
}
_zonefile=adblock.rpz
_origin=adblock.rpz
build() {
cd "$pkgname"
# instead of packaging the script, build zonefile & update regularly
python update-zonefile.py \
--no-bind \
"$_zonefile-$pkgver" \
"$_origin"
sed -i "1 s/ 1 / ${pkgver} /" "$_zonefile-$pkgver"
}
package() {
# ensure directory permissions follow upstream (770)
install -dm770 "$pkgdir/var/named"
# package zonefile
install -Dm644 "$srcdir/$pkgname/$_zonefile-$pkgver" "$pkgdir/var/named/$_zonefile"
# package license
install -Dm644 "$srcdir/$_short-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

18
bind-adblock/bind-adblock.install

@ -0,0 +1,18 @@
post_install() {
cat<<EOF
Add BIND options entry:
options {
response-policy {
zone "adblock.rpz"
};
};
Add BIND zone entry:
zone "adblock.rpz" {
type master;
file "/var/named/adblock.rpz";
masterfile-format text;
allow-query { none; };
};
EOF
}

35
cargo-expand/PKGBUILD

@ -0,0 +1,35 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
# Contributor: Philipp A. <flying-sheep@web.de>
# Contributor: Jian Zeng <anonymousknight96 AT gmail.com>
pkgname=cargo-expand
pkgver=1.0.7
pkgrel=1
pkgdesc='Cargo subcommand to show result of macro expansion'
arch=('x86_64')
url='https://github.com/dtolnay/cargo-expand'
license=('Apache' 'MIT')
depends=('gcc-libs')
makedepends=('rust')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
b2sums=('11a1c08503ac60401dad323afbcc2245b4462d5d31c4c1c66757489fe884e9af11c8447f8e7cefb0943d24d3517f1a1660e14778540e75a5f824b76580c5117a')
build() {
cd "$pkgname-$pkgver"
RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target
}
check() {
cd "$pkgname-$pkgver"
RUSTUP_TOOLCHAIN=stable cargo test --locked --target-dir=target
}
package() {
cd "$pkgname-$pkgver"
# binary
install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"
# licenses
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
}

40
cargo-sort/PKGBUILD

@ -0,0 +1,40 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
# Contributor: Dominic Meiser [git at msrd0 dot de]
pkgname=cargo-sort
pkgver=1.0.5
pkgrel=1
pkgdesc='Check if tables and items in a .toml file are lexically sorted'
arch=('x86_64')
url="https://github.com/DevinR528/cargo-sort"
license=('Apache' 'MIT')
depends=('gcc-libs')
makedepends=('cargo' 'llvm' 'clang')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
b2sums=('647ecaea8e6b5a1f53460996b1374a502c4d0356a29d982c67ee83682710e74a7f709c2495291c1be70e572e77176cbbe29fc7d1728ab88283d586bf948ff40b')
build() {
cd "$pkgname-$pkgver"
RUSTUP_TOOLCHAIN=stable cargo build --release --locked --target-dir=target
}
check() {
cd "$pkgname-$pkgver"
RUSTUP_TOOLCHAIN=stable cargo test --locked --target-dir=target
}
package() {
cd "$pkgname-$pkgver"
# binary
install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"
# licenses
install -vd "$pkgdir/usr/share/licenses/$pkgname"
sed -n '/^####.*$/,/^<\/sub>$/p' README.md \
> "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# documentation
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
cp -vr examp "$pkgdir/usr/share/doc/$pkgname/examples"
}

15
check-sieve/.SRCINFO

@ -0,0 +1,15 @@
pkgbase = check-sieve
pkgdesc = Syntax checker for Sieve scripts
pkgver = 0.6
pkgrel = 2
url = https://github.com/dburkart/check-sieve
arch = i686
arch = x86_64
license = MIT
checkdepends = python
depends = gcc-libs
source = https://github.com/dburkart/check-sieve/archive/check-sieve-0.6.tar.gz
b2sums = ceb747f94385f4f5ed883e6503aab1bde82ece472cf41c16f8bdfb039d72068ec80cc2f1f3b3c0374947d2e785504295dbcda252d1d9df165c354eff509ae3ff
pkgname = check-sieve

46
check-sieve/PKGBUILD

@ -0,0 +1,46 @@
# Maintainer: Geoffrey Frogeye <geoffrey+aur@frogeye.fr>
# Contributor: George Rawlinson <grawlinson@archlinux.org>
pkgname=check-sieve
pkgver=0.6
pkgrel=2
pkgdesc="Syntax checker for Sieve scripts"
arch=('i686' 'x86_64')
url="https://github.com/dburkart/check-sieve"
license=('MIT')
depends=('gcc-libs')
checkdepends=('python')
source=("$url/archive/$pkgname-$pkgver.tar.gz")
b2sums=('ceb747f94385f4f5ed883e6503aab1bde82ece472cf41c16f8bdfb039d72068ec80cc2f1f3b3c0374947d2e785504295dbcda252d1d9df165c354eff509ae3ff')
prepare() {
# rename extracted folder for convenience
mv "$pkgname-$pkgname-$pkgver" "$pkgname-$pkgver"
# ensure LDFLAGS are passed to compiler
sed -i '/\t$(CXX).*/s/$/ $(LDFLAGS)/' "$pkgname-$pkgver/Makefile"
}
build() {
cd "$pkgname-$pkgver"
make
}
check() {
cd "$pkgname-$pkgver"
make test
}
package() {
cd "$pkgname-$pkgver"
make INSTALL_PREFIX="$pkgdir/usr" install
# license
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING
# fix incorrect permissions on library
chmod 644 "$pkgdir/usr/lib/libchecksieve.a"
}

25
cloud-hypervisor/PKGBUILD

@ -0,0 +1,25 @@
# Maintainer:
pkgname=cloud-hypervisor
pkgver=16.0
pkgrel=1
pkgdesc="A Virtual Machine Monitor for modern cloud workloads"
url="https://github.com/cloud-hypervisor/cloud-hypervisor"
arch=('x86_64')
license=('Apache')
depends=('gcc-libs')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
b2sums=('f8327de30c123bcab6ed8c67cc1498ff1e00217f94f001701a430f7365cc8dd28df1a164c55b05f692a5ac2abc58b96f43c3bec984cdd38cbdf319c18949d325')
build() {
cd "$pkgname-$pkgver"
# FTBFS: --all-features due to hypervisor not compiling
#RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target
cargo build --release
}
package() {
install -vDm755 -t "$pkgdir/usr/bin" \
"$pkgname-$pkgver/target/release/"{ch-remote,cloud-hypervisor}
}

63
commitizen/PKGBUILD

@ -0,0 +1,63 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=commitizen
pkgver=2.17.13
pkgrel=1
pkgdesc="A tool for enforcing descriptive commit messages and version/changelog management"
arch=('any')
url="https://github.com/commitizen-tools/commitizen"
license=('MIT')
depends=(
'python'
'python-questionary' # AUR
'python-decli' # AUR
'python-colorama'
'python-termcolor'
'python-packaging'
'python-tomlkit'
'python-jinja'
'python-pyaml'
'python-argcomplete'
'python-prompt_toolkit'
)
makedepends=('python-pip' 'python-poetry')
#checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-freezegun' 'python-pytest-regressions' 'git')
optdepends=()
#checkdepends=(
# 'python-pytest'
# 'python-pytest-mock'
#)
source=("$pkgname-$pkgver.tar.gz::$url/archive//v$pkgver.tar.gz")
b2sums=('da8414d261ac7a1ad5217f6965e2819a936692e5e282d98a1bebcd7e21da4446b75f677e58408301f12c3903c25f1e3149c7d2958aefe7c672a5b673bb3f8edf')
#prepare() {
#cd "$pkgname-$pkgver"
# Skip test that checks the root folder of the repo but as we download the tar ball
# it would detect aur as its root
#sed -i'' 's/test_find_git_project_root/skip_find_git_project_root/' tests/test_conf.py
#}
#check() {
# cd "$pkgname-$pkgver"
# pytest tests/
#}
build() {
cd "$pkgname-$pkgver"
poetry build --format wheel
}
package() {
cd "$pkgname-$pkgver"
PIP_CONFIG_FILE=/dev/null pip \
install \
--isolated \
--root="$pkgdir" \
--ignore-installed \
--no-deps \
dist/*.whl
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}

16
dracut-alpm-hook/.SRCINFO

@ -0,0 +1,16 @@
pkgbase = dracut-alpm-hook
pkgdesc = alpm hooks for dracut
pkgver = 1.0.0
pkgrel = 1
url = https://wiki.archlinux.org/index.php/Dracut
arch = any
license = GPL
depends = dracut
source = dracut-alpm-hook-1.0.0.tar.gz::https://github.com/grawlinson/dracut-alpm-hook/archive/1.0.0.tar.gz
source = dracut-alpm-hook-1.0.0.tar.gz.asc::https://github.com/grawlinson/dracut-alpm-hook/releases/download/1.0.0/1.0.0.tar.gz.asc
validpgpkeys = 034D823DA2055BEE6A6BF0BB25EA6900D9EA5EBC
sha512sums = e186fd69f401ff04f766e6eae056f2bfaeb7437bc71381b9465c9c341e9c92f1f555fcbca677cd7dfcfcb964160f8aa1f9f81babe30f3f534b7afe59197d716e
sha512sums = SKIP
pkgname = dracut-alpm-hook

27
dracut-alpm-hook/PKGBUILD

@ -0,0 +1,27 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=dracut-alpm-hook
pkgver=1.0.0
pkgrel=1
pkgdesc='alpm hooks for dracut'
url='https://wiki.archlinux.org/index.php/Dracut'
arch=('any')
license=('GPL')
depends=('dracut')
source=("$pkgname-$pkgver.tar.gz::https://github.com/grawlinson/dracut-alpm-hook/archive/$pkgver.tar.gz"
"$pkgname-$pkgver.tar.gz.asc::https://github.com/grawlinson/dracut-alpm-hook/releases/download/$pkgver/$pkgver.tar.gz.asc")
sha512sums=('e186fd69f401ff04f766e6eae056f2bfaeb7437bc71381b9465c9c341e9c92f1f555fcbca677cd7dfcfcb964160f8aa1f9f81babe30f3f534b7afe59197d716e'
'SKIP')
validpgpkeys=('034D823DA2055BEE6A6BF0BB25EA6900D9EA5EBC') # George Rawlinson <george@rawlinson.net.nz>
package() {
cd "$srcdir/$pkgname-$pkgver/hooks"
install -Dm644 -t "${pkgdir}/usr/share/libalpm/hooks" \
60-dracut-remove.hook \
90-dracut-install.hook
cd "$srcdir/$pkgname-$pkgver/scripts"
install -Dm755 -t "${pkgdir}/usr/share/libalpm/scripts" \
dracut-remove \
dracut-install
}

15
idracadm7/.SRCINFO

@ -0,0 +1,15 @@
pkgbase = idracadm7
pkgdesc = Command-line interface to the Remote Access Controller - iDRAC7
pkgver = 9.5.0
pkgrel = 1
url = https://linux.dell.com/repo/community/openmanage/
arch = x86_64
license = custom:dell
depends = argtable
source = idracadm7-9.5.0.deb::https://linux.dell.com/repo/community/openmanage/950/focal/pool/main/s/srvadmin-idracadm8/srvadmin-idracadm7_9.5.0_all.deb
source = LICENSE
b2sums = fc49ef3f0d22b9a5051a1bb062884b72a3747f3617252058d4802ff1b12f0497f97b7c00cf338f20ce2240d9de9eb854b61ee1864e587ffa4b2efd85082d14ef
b2sums = bf369d65bc553e5431ade90457cd45ec7b47da97031b3c478ed02fafff9b6c10009c0fe7fd4bee6da4a9b97e1d1b2f3f716e622185debb919223e49218ac90aa
pkgname = idracadm7

7
idracadm7/LICENSE

@ -0,0 +1,7 @@
© 2019 Dell Inc. or its subsidiaries.
All Rights Reserved.
Dell, EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Other trademarks may be trademarks of their respective owners.

28
idracadm7/PKGBUILD

@ -0,0 +1,28 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=idracadm7
pkgver=9.5.0
pkgrel=1
pkgdesc="Command-line interface to the Remote Access Controller - iDRAC7"
arch=('x86_64')
url='https://linux.dell.com/repo/community/openmanage/'
license=('custom:dell')
depends=(argtable)
source=("$pkgname-$pkgver.deb::https://linux.dell.com/repo/community/openmanage/950/focal/pool/main/s/srvadmin-idracadm8/srvadmin-${pkgname}_${pkgver}_all.deb"
LICENSE)
b2sums=('fc49ef3f0d22b9a5051a1bb062884b72a3747f3617252058d4802ff1b12f0497f97b7c00cf338f20ce2240d9de9eb854b61ee1864e587ffa4b2efd85082d14ef'
'bf369d65bc553e5431ade90457cd45ec7b47da97031b3c478ed02fafff9b6c10009c0fe7fd4bee6da4a9b97e1d1b2f3f716e622185debb919223e49218ac90aa')
# https://www.dell.com/support/article/en-nz/sln310714/support-for-openmanage-enterprise?lang=en
# https://www.delltechnologies.com/en-us/collaterals/unauth/offering-overview-documents/products/servers/openmanage_enterprise_licensing_guide.pdf
prepare() {
tar xvf "$srcdir/data.tar.xz" ./opt/dell/srvadmin/bin/idracadm7 --strip-components=5
}
package() {
# binary
install -Dm755 -t "$pkgdir/usr/bin" "$srcdir/idracadm7"
# license
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$srcdir/LICENSE"
}

52
ignite/PKGBUILD

@ -0,0 +1,52 @@
# Maintainer: techknowlogick <techknowlogick at gitea dot io>
pkgname=ignite
pkgver=0.10.0
pkgrel=1
pkgdesc="Utilise Firecracker microVMs with Docker/OCI images to unify containers & VMs"
arch=('x86_64')
url="https://github.com/weaveworks/ignite"
depends=('containerd' 'cni-plugins' 'firecracker')
makedepends=('go' 'git')
optdepends=(
'containerd: for container runtime'
'docker: for container runtime'
'git: for ignite gitops functionality'
'openssh: for ignite ssh functionality'
)
license=('Apache')
install="$pkgname.install"
source=(
"$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
'systemd.service'
'tmpfiles.conf'
)
b2sums=('aea336f3aa0ab805e68435f52c0c7ede869d379e23e78e93156aa062ca3baaf0f127c409fbdbd0c7dbbc79d9dde9fa6a1ece5196a29a4070ae96295abbf8029a'
'e95f5c26d8f03d84a219e850ebecbc2b737012bd8a17b29431a8e89cd1ffaa2b84d58808f077df54d49523ec41c81047861052dd5a1632e98b57f92f59a9b0bb'
'104333c65008ce9311b0a539525b9308b389d177abfa1e332ce28c11f1d72d86cbc1de3eece6d37c78150dad051d7c453c9026d6a2e91795f55d31f51a224be7')
prepare() {
cd "$pkgname-$pkgver"
mkdir build
go mod vendor
}
build() {
cd "$pkgname-$pkgver"
# build assumes git repo, but we're building from tarball, so we need to set state to clean
go build -v \
-mod=vendor \
-ldflags "$(IGNITE_GIT_VERSION=v${pkgver} ./hack/ldflags.sh)" \
-o build ./cmd/...
}
package() {
# systemd integration
install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/ignited.service"
install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
# binaries
cd "$pkgname-$pkgver"
install -vDm755 -t "$pkgdir/usr/bin" build/*
}

10
ignite/ignite.install

@ -0,0 +1,10 @@
post_install() {
cat <<EOF
Ignite requires at least one of the following container runtimes:
* containerd (default)
* docker
EOF
}

10
ignite/systemd.service

@ -0,0 +1,10 @@
[Unit]
Description=ignited
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/ignited daemon
[Install]
WantedBy=multi-user.target

1
ignite/tmpfiles.conf

@ -0,0 +1 @@
d /var/lib/firecracker

76
kata-containers/PKGBUILD

@ -0,0 +1,76 @@
# Maintainer:
pkgbase=kata-containers
pkgname=(
'kata-runtime'
'kata-agent'
'kata-containers-docs'
# 'kata-agent-ctl'
# 'kata-osbuilder'
# 'kata-packaging'
# 'kata-trace-forwarder'
)
pkgver=2.1.1
pkgrel=1
pkgdesc="Secure container runtime with lightweight virtual machines"
arch=('x86_64')
url="https://katacontainers.io/"
license=('Apache')
depends=()
makedepends=('go' 'git' 'rust')
checkdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgbase-$pkgver.tar.gz::https://github.com/kata-containers/kata-containers/archive/$pkgver.tar.gz")
b2sums=('32b4b9e7f139cc47ca53d4f4b7dcf7b3a2008f68c98622ddcc846d9c60204b89d8a569f5179033a3504555071c5bb8dd7afc9ba8133c7142e23bfbbceb70e217')
# common make flags for runtime + agent
_RUNTIME_FLAGS=(
-C "$pkgbase-$pkgver/src/runtime"
PREFIX=/usr
LIBEXECDIR=/usr/lib
PKGLIBEXECDIR=/usr/lib/kata-containers
DEFAULTSDIR=/usr/share
LIBC=gnu
)
_AGENT_FLAGS=(
-C "$pkgbase-$pkgver/src/agent"
BUILD_TYPE=release
BINDIR=/usr/bin
LIBC=gnu
)
prepare() {
mkdir go cargo
}
build() {
# runtime
GOPATH="$srcdir/go" make "${_RUNTIME_FLAGS[@]}"
# agent
CARGO_HOME="$srcdir/cargo" make "${_AGENT_FLAGS[@]}"
}
package_kata-runtime() {
pkgdesc+=" (runtime)"
optdepends=('bash-completion: for shell auto-completion')
GOPATH="$srcdir/go" make "${_RUNTIME_FLAGS[@]}" DESTDIR="$pkgdir" install
}
package_kata-agent() {
pkgdesc+=" (agent)"
CARGO_HOME="$srcdir/cargo" make "${_AGENT_FLAGS[@]}" DESTDIR="$pkgdir" install
}
package_kata-containers-docs() {
pkgdesc+=" (documentation)"
cd "$pkgbase-$pkgver"
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgbase" *.md CODEOWNERS
cp -rv "$pkgbase-$pkgver/docs" "$pkgdir/usr/share/doc/$pkgbase"
}

14
lego/.SRCINFO

@ -0,0 +1,14 @@
pkgbase = lego
pkgdesc = Lets Encrypt client and ACME library
pkgver = 4.4.0
pkgrel = 1
url = https://go-acme.github.io/lego/
arch = x86_64
license = MIT
makedepends = go
makedepends = git
depends = glibc
source = lego-4.4.0.tar.gz::https://github.com/go-acme/lego/archive/v4.4.0.tar.gz
sha512sums = a8fc84ae2caee4966691092d1f379eb901c67cef3ca968ba78e1628cab3df02f0fc9b345c33121a6437a9d1495356929faf946920bd9a9e33d58975481330ce2
pkgname = lego

40
lego/PKGBUILD

@ -0,0 +1,40 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
# Contributor: Fernandez Ludovic <lfernandez dot dev at gmail dot com>
pkgname=lego
pkgver=4.4.0
pkgrel=1
pkgdesc='Lets Encrypt client and ACME library'
url='https://go-acme.github.io/lego/'
arch=('x86_64')
license=('MIT')
depends=(glibc)
makedepends=(go git)
source=("$pkgname-$pkgver.tar.gz::https://github.com/go-acme/lego/archive/v$pkgver.tar.gz")
sha512sums=('a8fc84ae2caee4966691092d1f379eb901c67cef3ca968ba78e1628cab3df02f0fc9b345c33121a6437a9d1495356929faf946920bd9a9e33d58975481330ce2')
prepare() {
cd $pkgname-$pkgver
go mod vendor
}
build() {
cd $pkgname-$pkgver/cmd/lego
go build -v \
-buildmode=pie \
-trimpath \
-mod=vendor \
-modcacherw \
-ldflags "-extldflags $LDFLAGS -X "main.version=v${pkgver}""
}
package() {
cd $pkgname-$pkgver
# binary
install -Dm755 "cmd/lego/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
# license
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

14
libversion/.SRCINFO

@ -0,0 +1,14 @@
pkgbase = libversion
pkgdesc = Advanced version string comparison library
pkgver = 3.0.1
pkgrel = 1
url = https://github.com/repology/libversion
arch = x86_64
license = MIT
makedepends = cmake
depends = gcc-libs
provides = libversion.so
source = libversion-3.0.1.tar.gz::https://github.com/repology/libversion/archive/3.0.1.tar.gz
b2sums = d65f4d415e5c17abf49b641bb7ecee08ccd07c747bfddb43c6d0586a6d48bbb4e87b607f0812abb3da7c5696e928c79ebd1c0a00d7baaf5be75caffe7b18a2e7
pkgname = libversion

29
libversion/PKGBUILD

@ -0,0 +1,29 @@
# Maintainer: KokaKiwi <kokakiwi+aur at kokakiwi dot net>
pkgname=libversion
pkgver=3.0.1
pkgrel=1
pkgdesc='Advanced version string comparison library'
url='https://github.com/repology/libversion'
license=('MIT')
arch=('x86_64')
depends=('gcc-libs')
makedepends=('cmake')
provides=('libversion.so')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
b2sums=('d65f4d415e5c17abf49b641bb7ecee08ccd07c747bfddb43c6d0586a6d48bbb4e87b607f0812abb3da7c5696e928c79ebd1c0a00d7baaf5be75caffe7b18a2e7')
build() {
cmake \
-B build \
-S "$pkgname-$pkgver" \
-D CMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -vDm644 "$pkgname-$pkgver/COPYING" -t "$pkgdir/usr/share/licenses/$pkgname"
}

21
nextcloud-app-client-push/.SRCINFO

@ -0,0 +1,21 @@
pkgbase = nextcloud-app-client-push
pkgdesc = Push update support for Nextcloud clients
pkgver = 0.1.7
pkgrel = 2
url = https://github.com/nextcloud/notify_push
install = nextcloud-app-client-push.install
arch = x86_64
license = AGPL
makedepends = cargo
depends = nextcloud
depends = gcc-libs
optdepends = redis: use a local redis server
source = nextcloud-app-client-push-0.1.7.tar.gz::https://github.com/nextcloud/notify_push/archive/v0.1.7.tar.gz
source = nextcloud-app-client-push.hook
source = nextcloud-app-client-push.service
b2sums = 7365cf94fa17c1e0af8b88995e0763cc23b831ed94d43448973a2cacca260e06067b60981e2f078e0941087a1a6850ddcd224b2bc44193806c688154b29b81e8
b2sums = 1dd7720beba1482e1759f7dea8e9c07ae32f2107fc45fe94388993e66ad9a442771209af086b36e0cc50ab36e7a3990c6f3a120e24a525292f906e0d1a3434cd
b2sums = 28f2c102b1370ef7d9bc5bc736f71ccb4708e50285a1f6592535efe2ad0c301e99707021bdc4fe2be131082b1589329334b30ad0ad1e6a6764c189fb4f287170
pkgname = nextcloud-app-client-push

62
nextcloud-app-client-push/PKGBUILD

@ -0,0 +1,62 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=nextcloud-app-client-push
_pkgname=notify_push
pkgver=0.2.1
pkgrel=1
pkgdesc="Push update support for Nextcloud clients"
arch=('x86_64')
url="https://github.com/nextcloud/notify_push"
license=('AGPL')
depends=('nextcloud' 'gcc-libs')
makedepends=('cargo')
optdepends=('redis: use a local redis server')
install="$pkgname.install"
source=(
"$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
"$pkgname.hook"
"$pkgname.service"
)
b2sums=('ebc6f1480e4e4c51ec9c0d48735b56dfa8643831f58f711e90edce98f4cf8c9bb88347461ec1793e92b7312c0c050ad65b97668bc732885c6d29700fd43c84a5'
'1dd7720beba1482e1759f7dea8e9c07ae32f2107fc45fe94388993e66ad9a442771209af086b36e0cc50ab36e7a3990c6f3a120e24a525292f906e0d1a3434cd'
'28f2c102b1370ef7d9bc5bc736f71ccb4708e50285a1f6592535efe2ad0c301e99707021bdc4fe2be131082b1589329334b30ad0ad1e6a6764c189fb4f287170')
prepare() {
# kludgy workaround to specify target architecture
sed -i "s/ARCH/$CARCH/" "$pkgname.service"
}
build() {
cd "$_pkgname-$pkgver"
cargo build --release --locked --all-features
}
check() {
cd "$_pkgname-$pkgver"
cargo test --release --locked --all-features
}
package() {
local _appdir="$pkgdir/usr/share/webapps/nextcloud/apps/$_pkgname"
cd "$_pkgname-$pkgver"
# documentation
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" \
README.md \
"$srcdir/$pkgname.hook"
# app files
install -d "$_appdir"
cp -a . "$_appdir"
# binary
install -Dm755 -t "$_appdir/bin/$CARCH" "target/release/$_pkgname"
# systemd integration
install -Dm644 -t "$pkgdir/usr/lib/systemd/system" "$srcdir/$pkgname.service"
# cleanup
cd "$_appdir"
rm .dockerignore
cat .nextcloudignore | xargs echo rm -rf | sh
}

17
nextcloud-app-client-push/nextcloud-app-client-push.conf

@ -0,0 +1,17 @@
# Specify path to Nextcloud's config.php
NC_CLIENT_PUSH_ARGS="/etc/webapps/nextcloud/config/config.php"
# If using the config.php isn't possible, you can configure the push server by
# setting the following environment variables:
#PORT=7867 Listen port for push server
#SOCKET_PATH=/run/nextcloud/push.sock
#DATABASE_URL connection url for the Nextcloud database, e.g. postgres://user:password@db_host/db_name
#DATABASE_PREFIX database prefix configured in Nextcloud, e.g. oc_
#REDIS_URL connection url for redis, e.g. redis://redis_host
#NEXTCLOUD_URL url for the nextcloud instance, e.g. https://cloud.example.com
#LOG log level of the push server, e.g. error, warn, info, debug or trace
#METRICS_PORT Exposes Prometheus-compatible metrics on configured port if set
#ALLOW_SELF_SIGNED Disable certificate verification by setting this to true
# If both the config.php and environment variables are provided, the environment
# variables will overwrite the value from config.php

11
nextcloud-app-client-push/nextcloud-app-client-push.hook

@ -0,0 +1,11 @@
# Copy, move or symlink this file in /usr/share/libalpm/hooks/ to force a
# restart when nextcloud-app-client-push is updated.
[Trigger]
Operation = Upgrade
Type = Package
Target = nextcloud-app-client-push
[Action]
When = PostTransaction
Exec = /usr/bin/systemctl try-restart nextcloud-app-client-push.service

7
nextcloud-app-client-push/nextcloud-app-client-push.install

@ -0,0 +1,7 @@
post_install() {
echo "Run systemctl enable --now nextcloud-app-client-push.service"
echo "Enable the Nextcloud app via 'occ app:enable notify_push'"
echo "Set up the push server via 'occ notify_push:setup https://cloud.example.com/push'"
echo "Perform a self check via 'occ notify_push:self-test"
echo "See /usr/share/doc/nextcloud-app-client-push for README.md and a pacman hook"
}

44
nextcloud-app-client-push/nextcloud-app-client-push.service

@ -0,0 +1,44 @@
[Unit]
Description=Push daemon for Nextcloud clients
[Service]
# If NC_CLIENT_PUSH_ARGS needs to be adjusted, it should be adjusted
# using a drop-in systemd file. See `man 5 systemd.unit` for details.
Environment=NC_CLIENT_PUSH_ARGS="/etc/webapps/nextcloud/config/config.php"
ExecStart=/usr/share/webapps/nextcloud/apps/notify_push/bin/ARCH/notify_push $NC_CLIENT_PUSH_ARGS
User=nextcloud
Group=nextcloud
Restart=on-failure
RestartSec=5s
# hardening options
UMask=0077
NoNewPrivileges=true
LimitNOFILE=1048576
ProtectSystem=strict
ProtectHome=true
PrivateUsers=yes
PrivateTmp=true
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=true
LockPersonality=true
MemoryDenyWriteExecute=true
RestrictRealtime=true
RestrictSUIDSGID=true
RemoveIPC=true
CapabilityBoundingSet=
AmbientCapabilities=
SystemCallFilter=@system-service
SystemCallFilter=~@privileged @resources
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target

15
nginx-mainline-mod-brotli/.SRCINFO

@ -0,0 +1,15 @@
pkgbase = nginx-mainline-mod-brotli
pkgdesc = Brotli compression filter module for nginx
pkgver = 1.0.0rc
pkgrel = 10
url = https://github.com/google/ngx_brotli
arch = x86_64
license = BSD
makedepends = nginx-mainline-src
depends = nginx-mainline
depends = brotli
depends = glibc
source = https://github.com/google/ngx_brotli/archive/v1.0.0rc/ngx_brotli-1.0.0rc.tar.gz
b2sums = 450d0ea693bd98d4a1b615f2cdcaad41ccd28266f6d80beec7fe77fe750ab8c5d1bb55aabe15161b9b6d819d2b4d99a7774f2706f2f6fd084b52a7c7dddbc00c
pkgname = nginx-mainline-mod-brotli

34
nginx-mainline-mod-brotli/PKGBUILD

@ -0,0 +1,34 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=nginx-mainline-mod-brotli
pkgver=1.0.0rc
pkgrel=11
pkgdesc="Brotli compression filter module (nginx-mainline)"
arch=('x86_64')
url="https://github.com/google/ngx_brotli"
_modname="${url##*/}"
license=('BSD')
depends=('nginx-mainline' 'brotli')
makedepends=('nginx-mainline-src')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
b2sums=('450d0ea693bd98d4a1b615f2cdcaad41ccd28266f6d80beec7fe77fe750ab8c5d1bb55aabe15161b9b6d819d2b4d99a7774f2706f2f6fd084b52a7c7dddbc00c')
prepare() {
mkdir -p build
ln -sf -t build /usr/src/nginx/{auto,src}
}
build() {
cd build
/usr/src/nginx/configure --with-compat --add-dynamic-module="$srcdir/$_modname-$pkgver"
make modules
}
package() {
# modules
install -vDm755 -t "$pkgdir/usr/lib/nginx/modules" build/objs/*.so
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$_modname-$pkgver/LICENSE"
}

14
nginx-mainline-mod-headers-more/.SRCINFO

@ -0,0 +1,14 @@
pkgbase = nginx-mainline-mod-headers-more
pkgdesc = Set and clear input and output headers
pkgver = 0.33
pkgrel = 38
url = https://github.com/openresty/headers-more-nginx-module
arch = x86_64
license = BSD
makedepends = nginx-mainline-src
depends = nginx-mainline
depends = glibc
source = headers-more-0.33.tar.gz::https://github.com/openresty/headers-more-nginx-module/archive/v0.33.tar.gz
b2sums = fe3097a7700ce5da087058f7bb44c95164b75137031187400473f6833bf0e33e5c4920807225a6ff94174fe7dbd6186cca176a33a629ca0911faab6804bdd12a
pkgname = nginx-mainline-mod-headers-more

40
nginx-mainline-mod-headers-more/PKGBUILD

@ -0,0 +1,40 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=nginx-mainline-mod-headers-more
pkgver=0.33
pkgrel=39
pkgdesc="Set and clear input and output headers"
arch=('x86_64')
url="https://github.com/openresty/headers-more-nginx-module"
_modname="${url##*/}"
license=('BSD')
depends=('nginx-mainline')
makedepends=('nginx-mainline-src')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
b2sums=('fe3097a7700ce5da087058f7bb44c95164b75137031187400473f6833bf0e33e5c4920807225a6ff94174fe7dbd6186cca176a33a629ca0911faab6804bdd12a')
prepare() {
mkdir -p build
ln -sf -t build /usr/src/nginx/{auto,src}
}
build() {
cd build
/usr/src/nginx/configure --with-compat --add-dynamic-module="$srcdir/$_modname-$pkgver"
make modules
}
package() {
# modules
install -vDm755 -t "$pkgdir/usr/lib/nginx/modules" build/objs/*.so
cd "$_modname-$pkgver"
# license
install -d "$pkgdir/usr/share/licenses/$pkgname"
sed -n "507,535p" README.markdown > "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
# documentation
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.markdown
}

16
nodejs-homebridge-denon-tv/.SRCINFO

@ -0,0 +1,16 @@
pkgbase = nodejs-homebridge-denon-tv
pkgdesc = Homebridge plugin for Denon/Marantz AV receivers
pkgver = 3.10.61
pkgrel = 1
url = https://github.com/grzegorz914/homebridge-denon-tv
arch = any
license = MIT
makedepends = npm
depends = homebridge
noextract = homebridge-denon-tv-3.10.61.tar.gz
options = !strip
source = homebridge-denon-tv-3.10.61.tar.gz::https://registry.npmjs.org/homebridge-denon-tv/-/homebridge-denon-tv-3.10.61.tgz
b2sums = f7b1f7b3aeaa379d7589a24d22cf0348f5e6c13eff83be7ccdcecc3bb01da5a7d5692f482b2940404ffa30f26fec2ec2f892510aea6d1876b0c25dba44f27143
pkgname = nodejs-homebridge-denon-tv

31
nodejs-homebridge-denon-tv/PKGBUILD

@ -0,0 +1,31 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=nodejs-homebridge-denon-tv
_pkgname="${pkgname#nodejs-}"
pkgver=3.10.61
pkgrel=1
pkgdesc="Homebridge plugin for Denon/Marantz AV receivers"
arch=('any')
url="https://github.com/grzegorz914/homebridge-denon-tv"
license=('MIT')
depends=('homebridge')
makedepends=('npm')
options=('!strip')
source=("$_pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz")
noextract=("$_pkgname-$pkgver.tar.gz")
b2sums=('f7b1f7b3aeaa379d7589a24d22cf0348f5e6c13eff83be7ccdcecc3bb01da5a7d5692f482b2940404ffa30f26fec2ec2f892510aea6d1876b0c25dba44f27143')
package() {
npm install --global --prefix "$pkgdir/usr" "$_pkgname-$pkgver.tar.gz"
# Non-deterministic race in npm gives 777 permissions to random directories
# See https://github.com/npm/cli/issues/1103 for details
find "$pkgdir/usr" -type d -exec chmod 755 {} +
# npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396
chown -R root:root "$pkgdir"
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
"$pkgdir/usr/lib/node_modules/$_pkgname/LICENSE"
}

16
nodejs-homebridge-platform-orbit/.SRCINFO

@ -0,0 +1,16 @@
pkgbase = nodejs-homebridge-platform-orbit
pkgdesc = Homebridge plugin for Orbit Irrigation System
pkgver = 1.4.5
pkgrel = 1
url = https://github.com/MortJC/homebridge-platform-orbit
arch = any
license = MIT
makedepends = npm
depends = homebridge
noextract = homebridge-platform-orbit-1.4.5.tar.gz
options = !strip
source = homebridge-platform-orbit-1.4.5.tar.gz::https://registry.npmjs.org/homebridge-platform-orbit/-/homebridge-platform-orbit-1.4.5.tgz
b2sums = 1c4e2c643dd682a5d5d7ebba2def4037b020954512319dd32ebd09c02031ff227605a24a6f1d99a0fb670c083a20ca69a4d55704b4b7e59846595760344d6d82
pkgname = nodejs-homebridge-platform-orbit

31
nodejs-homebridge-platform-orbit/PKGBUILD

@ -0,0 +1,31 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=nodejs-homebridge-platform-orbit
_pkgname="${pkgname#nodejs-}"
pkgver=1.4.5
pkgrel=1
pkgdesc="Homebridge plugin for Orbit Irrigation System"
arch=('any')
url="https://github.com/MortJC/homebridge-platform-orbit"
license=('MIT')
depends=('homebridge')
makedepends=('npm')
options=('!strip')
source=("$_pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz")
noextract=("$_pkgname-$pkgver.tar.gz")
b2sums=('1c4e2c643dd682a5d5d7ebba2def4037b020954512319dd32ebd09c02031ff227605a24a6f1d99a0fb670c083a20ca69a4d55704b4b7e59846595760344d6d82')
package() {
npm install --global --prefix "$pkgdir/usr" "$_pkgname-$pkgver.tar.gz"
# Non-deterministic race in npm gives 777 permissions to random directories
# See https://github.com/npm/cli/issues/1103 for details
find "$pkgdir/usr" -type d -exec chmod 755 {} +
# npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396
chown -R root:root "$pkgdir"
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
"$pkgdir/usr/lib/node_modules/$_pkgname/LICENSE"
}

16
nodejs-homebridge-webos-tv/.SRCINFO

@ -0,0 +1,16 @@
pkgbase = nodejs-homebridge-webos-tv
pkgdesc = Homebridge plugin for LG webOS TVs
pkgver = 2.2.0
pkgrel = 1
url = https://github.com/merdok/homebridge-webos-tv
arch = any
license = MIT
makedepends = npm
depends = homebridge
noextract = homebridge-webos-tv-2.2.0.tar.gz
options = !strip
source = homebridge-webos-tv-2.2.0.tar.gz::https://registry.npmjs.org/homebridge-webos-tv/-/homebridge-webos-tv-2.2.0.tgz
b2sums = ab789f1073899dbf805c3fd96f728b6cb7ee35ef60ae8b958b90a5d26602c7ba0303ce77382ed8ea5e2d1da2363b6f1cf7529c7038797c7d22421a43b58d012e
pkgname = nodejs-homebridge-webos-tv

31
nodejs-homebridge-webos-tv/PKGBUILD

@ -0,0 +1,31 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=nodejs-homebridge-webos-tv
_pkgname="${pkgname#nodejs-}"
pkgver=2.2.2
pkgrel=1
pkgdesc="Homebridge plugin for LG webOS TVs"
arch=('any')
url="https://github.com/merdok/homebridge-webos-tv"
license=('MIT')
depends=('homebridge')
makedepends=('npm')
options=('!strip')
source=("$_pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz")
noextract=("$_pkgname-$pkgver.tar.gz")
b2sums=('6a208aba330c24a70864f373a7b986d3f38c65ebc46735acebd5c03f363dfe9c13d0e656aac99cb033ece450d96738c83396e6c987c66b6e0d2435fd23165453')
package() {
npm install --global --prefix "$pkgdir/usr" "$_pkgname-$pkgver.tar.gz"
# Non-deterministic race in npm gives 777 permissions to random directories
# See https://github.com/npm/cli/issues/1103 for details
find "$pkgdir/usr" -type d -exec chmod 755 {} +
# npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396
chown -R root:root "$pkgdir"
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
"$pkgdir/usr/lib/node_modules/$_pkgname/LICENSE"
}

17
nzbget-systemd/.SRCINFO

@ -0,0 +1,17 @@
pkgbase = nzbget-systemd
pkgdesc = Systemd service for NZBGet
pkgver = 0.1
pkgrel = 4
url = https://github.com/Holzhaus/PKGBUILDs
arch = any
license = GPL
depends = nzbget
source = nzbget.service
source = nzbget.sysusers
source = nzbget.tmpfiles
sha512sums = 74bb6d1a79c6a0c928877c7bc3149c2e7e2d0536b70abcb6e5a328f1aa4a33ce0ddfa02bee589f886f5c7e7cb8ad7c5a739b0e904196819ad81f6357c7b62944
sha512sums = b178acf03a0c2776a5609070a51d6a07f4ab2e3e8411e7c0b361db73638b097b663ab564b525a49ce01faf91eb8f9cfb3ef92eb44d702d774419213e0745ce0e
sha512sums = d1042a314238add1e10dbd02fc8912565fec47f67b54aeb10ba66cbaf2d20575985db9188e0ce40f679df1e2ce824435ce1523186d160406057c990e82d3fcbc
pkgname = nzbget-systemd

23
nzbget-systemd/PKGBUILD

@ -0,0 +1,23 @@
# Maintainer: Jan Holthuis <holthuis.jan@googlemail.com>
# Contributor: George Rawlinson <george@rawlinson.net.nz>
pkgname=nzbget-systemd
_pkgname="${pkgname%-systemd}"
pkgver=0.1
pkgrel=4
pkgdesc="Systemd service for NZBGet"
url="https://github.com/Holzhaus/PKGBUILDs"
arch=('any')
depends=('nzbget')
license=('GPL')
source=("$_pkgname.service"
"$_pkgname.sysusers"
"$_pkgname.tmpfiles")
sha512sums=('74bb6d1a79c6a0c928877c7bc3149c2e7e2d0536b70abcb6e5a328f1aa4a33ce0ddfa02bee589f886f5c7e7cb8ad7c5a739b0e904196819ad81f6357c7b62944'
'b178acf03a0c2776a5609070a51d6a07f4ab2e3e8411e7c0b361db73638b097b663ab564b525a49ce01faf91eb8f9cfb3ef92eb44d702d774419213e0745ce0e'
'd1042a314238add1e10dbd02fc8912565fec47f67b54aeb10ba66cbaf2d20575985db9188e0ce40f679df1e2ce824435ce1523186d160406057c990e82d3fcbc')
package() {
install -Dm644 -t "${pkgdir}/usr/lib/systemd/system" "$_pkgname.service"
install -Dm644 "$_pkgname.sysusers" "${pkgdir}/usr/lib/sysusers.d/$_pkgname.conf"
install -Dm644 "$_pkgname.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/$_pkgname.conf"
}

17
nzbget-systemd/nzbget.service

@ -0,0 +1,17 @@
[Unit]
Description=NZBGet Daemon
Documentation=http://nzbget.net/Documentation
After=network.target
[Service]
User=nzbget
Group=nzbget
Type=forking
ExecStart=/usr/bin/nzbget -D
ExecStop=/usr/bin/nzbget -Q
ExecReload=/usr/bin/nzbget -O
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target

1
nzbget-systemd/nzbget.sysusers

@ -0,0 +1 @@
u nzbget - "NZBGet User" /var/lib/nzbget -

1
nzbget-systemd/nzbget.tmpfiles

@ -0,0 +1 @@
d /var/lib/nzbget 0755 nzbget nzbget - -

24
prometheus-smbmc-exporter/.SRCINFO

@ -0,0 +1,24 @@
pkgbase = prometheus-smbmc-exporter
pkgdesc = Prometheus exporter for smbmc metrics
pkgver = 0.1.0
pkgrel = 3
url = https://github.com/grawlinson/smbmc-exporter
arch = any
license = GPL
makedepends = python-dephell
depends = python-smbmc
depends = python-click
depends = python-prometheus_client
provides = smbmc-exporter
backup = etc/conf.d/prometheus-smbmc-exporter
source = prometheus-smbmc-exporter-0.1.0.tar.gz::https://github.com/grawlinson/smbmc-exporter/archive/v0.1.0.tar.gz
source = prometheus-smbmc-exporter.conf
source = prometheus-smbmc-exporter.service
source = prometheus-smbmc-exporter.sysusers
b2sums = ae5c63b4e7b19746dfb250c9db1a942133ebb826b315e194d396c4aea478bf5e7587b31568542776f9c79eca0a08503f7506136188bf087c5ac112d1f9f6551c
b2sums = 1603847802a1e330aa03a9a586a0b92da80bfd12ef6c949b95dac81b1473f594b4120eca6acae935a6e5875d3c36ff1a0245fdb2dd0987bd538c0db6699b5150
b2sums = 635eaf4d6abe8a17bcbbba826d6201726880231b919e54def7d0df44ae9d16b605a48d20c144f28dfbf8e00ed1d1fe65932b33664bc07a00960e69ddfaad98ce
b2sums = 6b1b7367ab783700cfff7eadfeff18220a7cc9e63fa923b4af2fd4da85b0b94b2c6462819f2906d8b1f42eb7e2fb2228b1297537e3585bcb47cc498ca314e716
pkgname = prometheus-smbmc-exporter

42
prometheus-smbmc-exporter/PKGBUILD

@ -0,0 +1,42 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=prometheus-smbmc-exporter
_pkgname=smbmc-exporter
pkgver=0.1.0
pkgrel=4
pkgdesc="Prometheus exporter for smbmc metrics"
arch=('any')
url="https://github.com/grawlinson/smbmc-exporter"
license=('GPL')
depends=('python-smbmc' 'python-click' 'python-prometheus_client')
makedepends=('python-pip' 'python-poetry')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
'systemd.service'
'sysusers.conf')
b2sums=('ae5c63b4e7b19746dfb250c9db1a942133ebb826b315e194d396c4aea478bf5e7587b31568542776f9c79eca0a08503f7506136188bf087c5ac112d1f9f6551c'
'a78a964ecef23f2eed36c1c926692848d6b03232ba947dd8234cf43cf7a7151f933749913037964764fa9fcf0a89f3344e67a5fada83f4a90aea241e8c4cb06a'
'6b1b7367ab783700cfff7eadfeff18220a7cc9e63fa923b4af2fd4da85b0b94b2c6462819f2906d8b1f42eb7e2fb2228b1297537e3585bcb47cc498ca314e716')
build() {
cd "$_pkgname-$pkgver"
poetry build --format wheel
}
package() {
# systemd integration
install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
cd "$_pkgname-$pkgver"
# package
PIP_CONFIG_FILE=/dev/null pip install \
--isolated \
--root="$pkgdir" \
--ignore-installed \
--no-deps \
dist/*.whl
# license
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}

44
prometheus-smbmc-exporter/systemd.service

@ -0,0 +1,44 @@
[Unit]
Description=Prometheus exporter for smbmc metrics
Requires=network-online.target
After=network-online.target
[Service]
ExecStart=/usr/bin/smbmc-exporter
ExecReload=/bin/kill -HUP $MAINPID
User=smbmc-exporter
Group=smbmc-exporter
Restart=on-failure
RestartSec=5s
NoNewPrivileges=true
LimitNOFILE=1048576
UMask=0077
ProtectSystem=strict
ProtectHome=true
PrivateUsers=yes
PrivateTmp=true
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=true
LockPersonality=true
MemoryDenyWriteExecute=true
RestrictRealtime=true
RestrictSUIDSGID=true
RemoveIPC=true
CapabilityBoundingSet=
AmbientCapabilities=
SystemCallFilter=@system-service
SystemCallFilter=~@privileged @resources
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target

1
prometheus-smbmc-exporter/sysusers.conf

@ -0,0 +1 @@
u smbmc-exporter - "Prometheus smbmc exporter user"

39
python-decli/PKGBUILD

@ -0,0 +1,39 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=python-decli
_pkgname="${pkgname#python-}"
pkgver=0.5.2
pkgrel=1
pkgdesc="A minimal declarative command-line interface library"
arch=('any')
url="https://github.com/Woile/decli"
license=('MIT')
depends=('python')
makedepends=('python-pip' 'python-poetry')
checkdepends=()
optdepends=()
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
b2sums=('cc6b281e43643dc0f214223d410bc03972051244c3793500a435ea345f2b6cb28d10f6aa6db6a3dfcc69d054818361166c5f10623e091349749b14391929ee8d')
build() {
cd "$_pkgname-$pkgver"
poetry build --format wheel
}
#check() {
# cd "$_name-$pkgver"
#}
package() {
cd "$_pkgname-$pkgver"
PIP_CONFIG_FILE=/dev/null pip \
install \
--isolated \
--root="$pkgdir" \
--ignore-installed \
--no-deps \
dist/*.whl
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}

39
python-questionary/PKGBUILD

@ -0,0 +1,39 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=python-questionary
_pkgname="${pkgname#python-}"
pkgver=1.10.0
pkgrel=1
pkgdesc="A library to build pretty command line user prompts"
arch=('any')
url="https://github.com/tmbo/questionary"
license=('MIT')
depends=('python')
makedepends=('python-pip' 'python-poetry')
checkdepends=()
optdepends=()
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
b2sums=('b0f5e10df598306d6ea5fc1b1726879cc11ea44fb200f0dbc31d20993587dd463fd5d34d2b16a9a6018fdbeb64cf2b02afdd621e3446a15faf9fb83fc97037db')
build() {
cd "$_pkgname-$pkgver"
poetry build --format wheel
}
#check() {
# cd "$_name-$pkgver"
#}
package() {
cd "$_pkgname-$pkgver"
PIP_CONFIG_FILE=/dev/null pip \
install \
--isolated \
--root="$pkgdir" \
--ignore-installed \
--no-deps \
dist/*.whl
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}

15
python-smbmc/.SRCINFO

@ -0,0 +1,15 @@
pkgbase = python-smbmc
pkgdesc = Supermicro BMC interface
pkgver = 0.2.0
pkgrel = 2
url = https://github.com/grawlinson/smbmc
arch = any
license = GPL
makedepends = python-dephell
depends = python-requests
depends = python-defusedxml
source = python-smbmc-0.2.0.tar.gz::https://github.com/grawlinson/smbmc/archive/v0.2.0.tar.gz
b2sums = f73f077de5e2b7e6cb96a19a9eb952f8274e0cb1b5980437b365d6586ef557bbdd494362f301737776c924de2f580d91eec4e45ed18c32dd712b37565fb98784
pkgname = python-smbmc

30
python-smbmc/PKGBUILD

@ -0,0 +1,30 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=python-smbmc
_pkgname=smbmc
pkgver=0.2.0
pkgrel=2
pkgdesc="Supermicro BMC interface"
arch=