The AUR package prometheus-fail2ban-exporter
Go to file
Markus Pesch bc7d4bce35
continuous-integration/drone/push Build is passing Details
fix: rebuild package
2024-06-20 15:58:39 +02:00
.SRCINFO fix: rebuild package 2024-06-20 15:58:39 +02:00
.drone.yml fix(ci): init 2023-12-03 00:11:44 +01:00
.editorconfig fix(ci): init 2023-12-03 00:11:44 +01:00
.gitignore fix(ci): init 2023-12-03 00:11:44 +01:00
.markdownlint.yaml fix(ci): init 2023-12-03 00:11:44 +01:00
PKGBUILD fix: rebuild package 2024-06-20 15:58:39 +02:00
README.md doc(README): adjust indentation 2023-12-03 12:30:03 +01:00
prometheus-fail2ban-exporter fix: adapt systemd unit to load environment file with extra args 2023-06-10 10:53:08 +02:00
renovate.json fix(renovate): remove automerge options 2024-01-21 14:41:29 +01:00
systemd.service fix: adapt systemd unit to load environment file with extra args 2023-06-10 10:53:08 +02:00
sysusers.conf Initial Commit 2023-06-05 22:49:25 +02:00

README.md

prometheus-fail2ban-exporter

AUR version Build Status AUR votes

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.

Build

Clone this repository and use makepkg to build the package by yourself. For example:

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.

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:

# 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