APKBUILD 1002 Bytes
Newer Older
1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2 3 4 5 6
#
# We need this package to avoid conflict with krb5 and heimdal. We can not
# let it be a subpackage of either because that could create a cyclic
# buildtime dependency.
#
7 8
pkgname=krb5-conf
pkgver=1.0
9
pkgrel=1
10 11 12
pkgdesc="Shared krb5.conf for both MIT krb5 and heimdal"
url="http://web.mit.edu/kerberos/www/ http://h5l.org"
arch="noarch"
13
options="!check"  # Single config file.
14 15 16 17 18
license="MIT"
replaces="heimdal krb5-libs"

package() {
	mkdir -p "$pkgdir"/etc
19
	cat > "$pkgdir"/etc/krb5.conf <<EOF
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
[logging]
# default = FILE:/var/log/krb5libs.log
# kdc = FILE:/var/log/krb5kdc.log
# admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 dns_lookup_realm = false
 ticket_lifetime = 24h
 renew_lifetime = 7d
 forwardable = true
 rdns = false
# default_realm = EXAMPLE.COM

[realms]
# EXAMPLE.COM = {
#  kdc = kerberos.example.com
#  admin_server = kerberos.example.com
# }

[domain_realm]
# .example.com = EXAMPLE.COM
# example.com = EXAMPLE.COM
42 43 44 45

EOF
}