aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache-mod-auth-ntlm-winbind/APKBUILD
blob: c9acfe906b50d849158a54d190e8c2e412f4b19a (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
36
37
38
39
40
41
42
43
# Contributor: Jeff Bilyk <jbilyk@gmail.com>
# Maintainer: Natanael Copa <natanael.copa@gmail.com>
pkgname=apache-mod-auth-ntlm-winbind
pkgver=0.1
pkgrel=6
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="Apache-2.0"
depends="apache2 samba 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"
sha256sums="fb4fb45ed346aa964ff8d6ff669bc837669e0b7fe6c02684afdb0659b40b1b4b  mod_auth_ntlm_winbind.c
b79bd515739bbd9a7566a4141783096af10c6d1f2d74b5e02ae30fdc1625d873  configure.in
b7ccb8f4407ed486640d7087a522d42a5fbe6bd9e1b01df0f53d4b66a23d1a57  Makefile.in
654d92cdb8577216c0da47b6468c46df26d71d32e6c5e0387e3cc2e97b40a477  mod-auth-ntlm-winbind.conf"
sha512sums="098312c16a3ad546b44f7025181526486aa91880e7b6f815f7610fba17c7be2c6a41f6a1882b01bdd23f7f06957884d716920abca7f7e96ff4e76ccd82d7e8de  mod_auth_ntlm_winbind.c
3aca2e21aa01d33449c55eec996735cc7eb80695a22e0979d5c9201b89b618a8133379cf633666b88c931805823fcb9c603e6606a7591058a96e2dae5a6ce10d  configure.in
9dfde80a35b53f32b85ba334fa86da8e397ab6fdca499da511dbe79daeeec148bdf651eaa79a9f8c54315c4f77e4ed0ce9fd142ee85214a4d4013798ed4fe755  Makefile.in
d443b625d8459b218742d4db639883c7d14c1f38c879904b73c2a1b80e5eaa6cf6adf7a775e644f4d691351c0ddc17ecc4dd74a4cd82f340427ef7a92ab50ff1  mod-auth-ntlm-winbind.conf"