diff options
author | metamuffin <metamuffin@disroot.org> | 2025-04-09 15:38:22 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-04-09 15:38:22 +0200 |
commit | 9003df5de00e211acb8ed786e88956c3abdc70b9 (patch) | |
tree | c6e6c1c43bfee43efa58e812813a2f2cf5f28755 | |
parent | c02289cc17ca48d41fb15ed6078536bbd7d54f12 (diff) | |
download | pkgbuilds-9003df5de00e211acb8ed786e88956c3abdc70b9.tar pkgbuilds-9003df5de00e211acb8ed786e88956c3abdc70b9.tar.bz2 pkgbuilds-9003df5de00e211acb8ed786e88956c3abdc70b9.tar.zst |
remove haskell fastbangs
-rw-r--r-- | fastbangs-git/.gitignore | 5 | ||||
-rw-r--r-- | fastbangs-git/PKGBUILD | 39 | ||||
-rw-r--r-- | fastbangs-git/fastbangs.install | 5 | ||||
-rw-r--r-- | fastbangs-git/fastbangs.service | 33 | ||||
-rw-r--r-- | fastbangs-git/sysusers.conf | 1 |
5 files changed, 0 insertions, 83 deletions
diff --git a/fastbangs-git/.gitignore b/fastbangs-git/.gitignore deleted file mode 100644 index fe201fa..0000000 --- a/fastbangs-git/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.tar.zst -*.tar -/pkg -/src -/fastbangs diff --git a/fastbangs-git/PKGBUILD b/fastbangs-git/PKGBUILD deleted file mode 100644 index a5a794b..0000000 --- a/fastbangs-git/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: metamuffin <metamuffin@disroot.org> - -pkgname=fastbangs-git -pkgver=r91.0ece6f0 -pkgrel=4 -pkgdesc="A search engine redirect service" -arch=() -url="https://codeberg.org/lialenck/fastbangs" -license=('AGPL-3.0-only') -makedepends=('esbuild' 'sassc' 'stack-static' 'make') -backup=('etc/fastbangs.yaml') -install='fastbangs.install' -source=("git+https://codeberg.org/lialenck/fastbangs" - "fastbangs.service" - "sysusers.conf") -sha256sums=("SKIP" - "SKIP" - "SKIP") - -pkgver() { - cd "fastbangs" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} -prepare() { - cd "fastbangs" - make frontend/fuzzysort.js - stack setup -} -build() { - cd "fastbangs" - make -} -package() { - install -Dm755 fastbangs/deploy/fastbangs "$pkgdir/usr/bin/fastbangs" - install -Dm644 fastbangs/LICENSE.agpl "$pkgdir/usr/share/licenses/fastbangs/COPYING" - install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/fastbangs.conf" - install -Dm644 fastbangs.service "$pkgdir/usr/lib/systemd/system/fastbangs.service" - install -Dm644 fastbangs/fastbangs.yaml "$pkgdir/etc/fastbangs.yaml" -} diff --git a/fastbangs-git/fastbangs.install b/fastbangs-git/fastbangs.install deleted file mode 100644 index a60b4dc..0000000 --- a/fastbangs-git/fastbangs.install +++ /dev/null @@ -1,5 +0,0 @@ -post_install() { - mkdir -p /var/lib/fastbangs - chown -v fastbangs:fastbangs /var/lib/fastbangs - ln -svf "/etc/fastbangs.yaml" "/var/lib/fastbangs/fastbangs.yaml" -} diff --git a/fastbangs-git/fastbangs.service b/fastbangs-git/fastbangs.service deleted file mode 100644 index 7ba3bb2..0000000 --- a/fastbangs-git/fastbangs.service +++ /dev/null @@ -1,33 +0,0 @@ -[Unit] -Description=fastbangs search engine redirect service -After=network.target -Wants=network-online.target - -[Service] -WorkingDirectory=/var/lib/fastbangs -ExecStart=/usr/bin/fastbangs -User=fastbangs -LockPersonality=yes -MemoryDenyWriteExecute=yes -NoNewPrivileges=yes -PrivateDevices=true -PrivateTmp=true -ProtectClock=yes -ProtectControlGroups=yes -ProtectHome=true -ProtectHostname=yes -ProtectKernelLogs=yes -ProtectKernelModules=yes -ProtectKernelTunables=yes -ProtectSystem=full -RestrictAddressFamilies=~AF_PACKET AF_NETLINK -RestrictNamespaces=yes -RestrictSUIDSGID=yes -RestrictRealtime=yes -Restart=always -SystemCallArchitectures=native -SystemCallFilter=@system-service -Type=simple - -[Install] -WantedBy=multi-user.target diff --git a/fastbangs-git/sysusers.conf b/fastbangs-git/sysusers.conf deleted file mode 100644 index a66b26f..0000000 --- a/fastbangs-git/sysusers.conf +++ /dev/null @@ -1 +0,0 @@ -u fastbangs - "fastbangs search engine redirect service" - - |