summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristian Hesse2019-06-05 22:54:17 +0200
committerChristian Hesse2019-06-05 22:54:17 +0200
commit46ffa243019e4c2f8c8f5a782d835642c01c7142 (patch)
tree46465c0b9d88ebbb202a33c9bd04805325f725e5 /PKGBUILD
parentc2d44e0c147fed7d030bf0ba606282a345813aa0 (diff)
downloadaur-mod_auth_radius.tar.gz
commit mod_auth_radius 1.6.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 5 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b2e139693c6..cf72a2324e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Christian Hesse <mail@eworm.de>
pkgname=mod_auth_radius
-pkgver=1.5.8
+pkgver=1.6.0
pkgrel=1
pkgdesc='Radius authentication module for Apache'
arch=('x86_64' 'i686')
@@ -10,28 +10,20 @@ license=('GPL')
depends=('apache')
conflicts=('apache-mod_auth_radius')
replaces=('apache-mod_auth_radius')
-source=('ftp://ftp.freeradius.org/pub/radius/mod_auth_radius-1.5.8.tar'
- 'http://ftp.de.debian.org/debian/pool/main/liba/libapache-mod-auth-radius/libapache-mod-auth-radius_1.5.8-1.2.diff.gz')
-sha256sums=('6a16cb64c8e3da5ccef5db007d3ab3fa53274bdb37c5f6b1821a12de42aa6d93'
- 'e8de2c1a76178dd993d0011966e29c29d1a0ae5db929f6bd643c6fe4d43b6140')
-
-prepare() {
- cd "${srcdir}/mod_auth_radius-${pkgver}/"
-
- patch -Np1 < "${srcdir}/libapache-mod-auth-radius_1.5.8-1.2.diff"
-}
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/FreeRADIUS/mod_auth_radius/archive/v${pkgver}.tar.gz")
+sha256sums=('018a2f9887fb838a256fcc76c37ca996928392e2aaee0a0ef936b6381de60a51')
build() {
cd "${srcdir}/mod_auth_radius-${pkgver}/"
- apxs -c mod_auth_radius-2.0.c
+ apxs -a -c mod_auth_radius.c
}
package() {
cd "${srcdir}/mod_auth_radius-${pkgver}/"
# module
- install -D -m0755 .libs/mod_auth_radius-2.0.so "${pkgdir}"/usr/lib/httpd/modules/mod_auth_radius.so
+ install -D -m0755 .libs/mod_auth_radius.so "${pkgdir}"/usr/lib/httpd/modules/mod_auth_radius.so
# config
@@ -39,6 +31,5 @@ package() {
install -D -m0644 htaccess "${pkgdir}"/usr/share/doc/${pkgname}/htaccess
install -D -m0644 httpd.conf "${pkgdir}"/usr/share/doc/${pkgname}/httpd.conf
install -D -m0644 index.html "${pkgdir}"/usr/share/doc/${pkgname}/index.html
- install -D -m0644 README "${pkgdir}"/usr/share/doc/${pkgname}/README
}