blob: c9f2f7d01696f92b3c9a1f25c532965e471ad1a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Jeff Bilyk <jbilyk@gmail.com>
# Maintainer: Natanael Copa <natanael.copa@gmail.com>
pkgname=apache-mod-auth-ntlm-winbind
pkgver=0.1
pkgrel=2
pkgdesc="Authentication module for Apache using NTLM protocol with winbind helper"
url="http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/"
arch="all"
license="Apache2"
depends="apache2 samba winbind"
makedepends="autoconf apache2-dev apr-util-dev apr-dev"
source="http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/mod_auth_ntlm_winbind.c
http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/configure.in
http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/Makefile.in
mod-auth-ntlm-winbind.conf"
build() {
cd "$srcdir"
autoconf
./configure
make DESTDIR="$pkgdir" || return 1
}
package() {
cd "$srcdir"
mkdir -p "$pkgdir"/etc/apache2/conf.d
mkdir -p "$pkgdir"/usr/lib/apache2
install mod-auth-ntlm-winbind.conf "$pkgdir"/etc/apache2/conf.d/mod-auth-ntlm-winbind.conf
install "$srcdir"/.libs/mod_auth_ntlm_winbind.so "$pkgdir"/usr/lib/apache2/mod_auth_ntlm_winbind.so
}
md5sums="01d32e311e6a404bcf4179c863081818 mod_auth_ntlm_winbind.c
e1490dae6e468d4bc56154b16e5d8c24 configure.in
410de8b0ac7ffe5c44a71d094190187d Makefile.in
27142b177996bd34c56d4bb60c3991e0 mod-auth-ntlm-winbind.conf"
|