Skip to content

Adjust README for AUR Package #16

Open

Description

@YourSandwich

Hello everyone,

I've developed an AUR package for sshlog tailored for ArchLinux.
You can easily install it using an AUR helper such as yay -S sshlog-bin. The package currently utilizes the Debian build package for arm and amd64, available here: sshlog-bin on AUR.

For manual installation on Arch Linux, follow these steps:

git clone https://aur.archlinux.org/sshlog-bin.git && cd sshlog-bin
makepkg -si

Additionally, I can create a git version that compiles the package if there is a need.

An issue I've encountered is that although joining the sshlog group, my user isn't able to use the daemon without sudo. I'm uncertain whether this is a packaging or software-related problem, so I haven't made any adjustments yet.

It's possible to make a simple adjustment to the package to automatically create the sshlog group if needed.

Best regards.

Activity

  1. YourSandwich commented on Nov 24, 2023

    @YourSandwich
    Author

    This is the current PKGBUILD

    # Maintainer: Norbert <sandwich@archworks.co>
    
    pkgname=sshlog-bin
    pkgver=1.0.0
    pkgrel=1
    pkgdesc="SSH Session Monitoring Daemon (.deb build)."
    arch=('x86_64' 'aarch64')
    url="https://www.sshlog.com/"
    license=('RSALv2')
    depends=('openssh')
    source_x86_64=("https://github.com/sshlog/agent/releases/download/v${pkgver}/sshlog_${pkgver}_amd64.deb")
    sha256sums_x86_64=('d4326879928e9c22e16eaa488fe2e786adb59c378a93af83505f3a96eda07e85')
    sha256sums_aarch64=('e7ee8c4d58adfb58af167663185d70e2f064eb27e1be3c18aea951a8184ac355')
    source_aarch64=("https://github.com/sshlog/agent/releases/download/v${pkgver}/sshlog_${pkgver}_arm64.deb")
    
    package() {
      echo "Extracting the data.tar.xz..."
      bsdtar -xf data.tar.xz -C "$pkgdir/"
    
      # Move the contents of 'lib' to '/usr/lib'
      cp -r "$pkgdir/lib" "$pkgdir/usr/"
    
      # Remove the now-empty 'lib' directory
      rm -r "$pkgdir/lib"
    }
  2. matthill commented on Feb 1, 2026

    @matthill
    Contributor

    If you want to make a PR I can merge it. With this release I only provide the Docker image as officially supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions