You are not logged in.

#1 2025-04-10 11:58:56

siachnofe
Member
Registered: 2025-04-10
Posts: 1

Update of pam_radius PKGBUILD

I tried to use the pam_radius PKGBUILD but it seems to be broken. I fixed the PKGBUILD by upgrading to the current version of pam_radius-3.0.0, tested the PKGBUILD and could compile and install the package. However I am not sure if I made a mistake modifying the PKGBUILD so maybe someone could have a look, test the PKGBUILD an update the PKGBUILD in AUR?

# Maintainer: teamalpha5441
pkgname=pam_radius-3.0.0
pkgver=3.0.0
pkgrel=1
pkgdesc="This is the FreeRADIUS PAM to RADIUS authentication module."
url="https://freeradius.org/sub_projects/"
depends=('pam')
makedepends=('git')
license=('GPL2')
arch=('x86_64')

source=("https://github.com/FreeRADIUS/pam_radius/releases/download/release_3_0_0/pam_radius-3.0.0.tar.gz")
sha256sums=('SKIP')

backup=('etc/raddb/server')

build() {
    cd "$srcdir/$pkgname"
    ./configure --prefix=/usr
    make
}

package() {
    cd "$srcdir/$pkgname"
    install -m 755 -D pam_radius_auth.so "$pkgdir/usr/lib/security/pam_radius_auth.so"
    install -m 600 -D pam_radius_auth.conf "$pkgdir/etc/raddb/server"
    chmod 700 "$pkgdir/etc/raddb"
}

Offline

#2 2025-04-10 15:33:45

mackin_cheese
Member
Registered: 2025-01-07
Posts: 434

Re: Update of pam_radius PKGBUILD

you can always just build it in a clean chroot, you don't need others to test it for you if you build it in a clean chroot

Offline

#3 2025-04-10 15:56:09

seth
Member
Registered: 2012-09-03
Posts: 62,832

Re: Update of pam_radius PKGBUILD

Building in a clean chroot won't help w/ the OPs RFC.

@siachnofe
You changed the package name (resulting in a different package) and SOURCE pattern (now loads a tarball instead of checking out the git tag, ie.the package doesn't require git but should use a SHA256)
If you'd like to see the AUR package udpated, it's better to comment there than posting here (the package maintainer will likely never see this thread)

When posting file contents or shell IO here, please use [code][/code] tags.

Offline

Board footer

Powered by FluxBB