diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-04 19:22:24 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-04 19:22:24 -0500 |
commit | c864e0201a1d0515fa07be1baa881972d69ab6f8 (patch) | |
tree | f3a6c0365db946973f2ebfda4e719e7536a07e3a | |
parent | 4d6fdd8bd190dc41a7e179c929ac6b693b0eebd7 (diff) | |
download | packages-c864e0201a1d0515fa07be1baa881972d69ab6f8.tar.gz packages-c864e0201a1d0515fa07be1baa881972d69ab6f8.tar.bz2 packages-c864e0201a1d0515fa07be1baa881972d69ab6f8.tar.xz packages-c864e0201a1d0515fa07be1baa881972d69ab6f8.zip |
user/krb5-conf: pull in for heimdal
-rw-r--r-- | user/krb5-conf/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/user/krb5-conf/APKBUILD b/user/krb5-conf/APKBUILD new file mode 100644 index 000000000..4d60ad666 --- /dev/null +++ b/user/krb5-conf/APKBUILD @@ -0,0 +1,50 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +# +# 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. +# +pkgname=krb5-conf +pkgver=1.0 +pkgrel=1 +pkgdesc="Shared krb5.conf for both MIT krb5 and heimdal" +url="http://web.mit.edu/kerberos/www/ http://h5l.org" +arch="noarch" +options="!check" # Single config file. +license="MIT" +depends="" +makedepends="" +install="" +subpackages="" +source="" +replaces="heimdal krb5-libs" + +package() { + mkdir -p "$pkgdir"/etc + cat > "$pkgdir"/etc/krb5.conf <<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 +} + |