https://github.com/volker-raschek/prometheus-fail2ban-exporter-pkg
[MIRROR]: PKGBUILD files of the AUR package prometheus-fail2ban-exporter
https://github.com/volker-raschek/prometheus-fail2ban-exporter-pkg
arch-linux aur metrics prometheus prometheus-fail2ban-exporter yay
Last synced: about 2 months ago
JSON representation
[MIRROR]: PKGBUILD files of the AUR package prometheus-fail2ban-exporter
- Host: GitHub
- URL: https://github.com/volker-raschek/prometheus-fail2ban-exporter-pkg
- Owner: volker-raschek
- Created: 2024-12-20T09:06:46.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-12-20T10:41:47.000Z (5 months ago)
- Last Synced: 2025-01-30T11:09:50.500Z (4 months ago)
- Topics: arch-linux, aur, metrics, prometheus, prometheus-fail2ban-exporter, yay
- Language: Shell
- Homepage: https://aur.archlinux.org/packages/prometheus-fail2ban-exporter
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
Awesome Lists containing this project
README
# prometheus-fail2ban-exporter

[](https://drone.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter-pkg)
This repository contains build files to build the Arch Linux package `prometheus-fail2ban-exporter`. Instead of building
the package yourself, it can also be obtained from the following private repository. More detailed are described
[here](#obtaining-pre-built-packages-from-a-repository).## Build
Clone this repository and use `makepkg` to build the package by yourself. For example:
```bash
git clone https://aur.archlinux.org/prometheus-fail2ban-exporter.git
cd prometheus-fail2ban-exporter
makepkg
```## Yay
The build files are also available via AUR and can be installed via an AUR helper like `yay`.
```bash
yay --sync --aur prometheus-fail2ban-exporter
```## Obtaining pre-built packages from a repository
Instead of building the packages locally, it is also possible to configure an additional repository to install the
package directly via `pacman`. The following commands are used to create the repository, configure the GPG key to verify
the packages and install the package:```bash
# Create drop-in directory
sudo mkdir --parents /etc/pacman.d/repos# Create configuration of the repository 'volker.raschek'
sudo tee /etc/pacman.d/repos/volker.raschek.conf > /dev/null <<'EOF'
[volker.raschek]
SigLevel = PackageRequired TrustedOnly
Include = /etc/pacman.d/repos/volker.raschek.list
EOF# Create mirror list of the repository 'volker.raschek'
sudo tee /etc/pacman.d/repos/volker.raschek.list > /dev/null <<'EOF'
Server = https://aur.cryptic.systems/$repo/$arch
EOF# Import gpg key of the repository 'volker.raschek'
sudo pacman-key --keyserver hkps://keys.openpgp.org --recv-keys 9B146D11A9ED6CA7E279EB1A852BCC170D81A982# Extend existing pacman configuration of the repository 'volker.raschek'
sudo echo "Include = /etc/pacman.d/repos/*.conf" >> /etc/pacman.conf# Update pacman cache
sudo pacman --sync --refresh# Install the package and receive updates directly via pacman :)
sudo pacman --sync prometheus-fail2ban-exporter
```