Browse Source

mod_authnz_external: added to repo

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
master
Steven Noonan 5 years ago
parent
commit
3a9f6c14b4
No known key found for this signature in database GPG Key ID: 7EACB44BA7B30DB9
  1. 22
      mod_authnz_external/PKGBUILD
  2. 12
      mod_authnz_external/mod_authnz_external.install

22
mod_authnz_external/PKGBUILD

@ -0,0 +1,22 @@
# Maintainer: Michael Gwin <oksijun+arch at gmail dot com>
# Contributor: Graziano Giuliani <g.giuliani@seco.it>
# Contributor: Pierre Bourdon <delroth@gmail.com>
# Contributor: Arthur Darcet <arthur.darcet@m4x.org>
pkgname=mod_authnz_external
pkgver=3.3.2
pkgrel=1
pkgdesc='Apache External Authentication Modules'
arch=('i686' 'x86_64')
url='http://code.google.com/p/mod-auth-external/'
license=('Apache')
makedepends=('apache>=2.4.0')
install=mod_authnz_external.install
source=(http://mod-auth-external.googlecode.com/files/$pkgname-$pkgver.tar.gz)
sha1sums=('c3b9b25b0c2043d1fd7ab4572a01a9c58f226fc1')
package() {
cd $srcdir/$pkgname-$pkgver
make build || return 1
install -D -m755 .libs/mod_authnz_external.so $pkgdir/usr/lib/httpd/modules/mod_authnz_external.so
}

12
mod_authnz_external/mod_authnz_external.install

@ -0,0 +1,12 @@
post_install() {
cat << EOM
--> Add the following line to the modules section of your apache config
LoadModule authnz_external_module modules/mod_authnz_external.so
EOM
/bin/true
}
post_upgrade() {
post_install $i
}
Loading…
Cancel
Save