Commit 14d95384 authored by Natanael Copa's avatar Natanael Copa

main/krb5-conf: new meta package

Shared conf file for both heimdal and mit krb5
This is to prevent conflicts between those.
parent bdd045db
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=krb5-conf
pkgver=1.0
pkgrel=0
pkgdesc="Shared krb5.conf for both MIT krb5 and heimdal"
url="http://web.mit.edu/kerberos/www/ http://h5l.org"
arch="noarch"
license="MIT"
depends=""
makedepends=""
install=""
subpackages=""
source=""
replaces="heimdal krb5-libs"
build() {
return 0
}
package() {
mkdir -p "$pkgdir"/etc
cat > "$pkgdir"/etc/krb5.conf.example <<EOF
[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
EOF
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment