From 9003df5de00e211acb8ed786e88956c3abdc70b9 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 9 Apr 2025 15:38:22 +0200 Subject: remove haskell fastbangs --- fastbangs-git/.gitignore | 5 ----- fastbangs-git/PKGBUILD | 39 --------------------------------------- fastbangs-git/fastbangs.install | 5 ----- fastbangs-git/fastbangs.service | 33 --------------------------------- fastbangs-git/sysusers.conf | 1 - 5 files changed, 83 deletions(-) delete mode 100644 fastbangs-git/.gitignore delete mode 100644 fastbangs-git/PKGBUILD delete mode 100644 fastbangs-git/fastbangs.install delete mode 100644 fastbangs-git/fastbangs.service delete mode 100644 fastbangs-git/sysusers.conf 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 - -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" - - -- cgit v1.2.3-70-g09d2