Merge pull request #3145 from Vaelatern/mit-krb5

Mit krb5
This commit is contained in:
Juan RP 2015-12-18 09:19:58 +01:00
commit 68db6597bf
4 changed files with 19 additions and 13 deletions

View File

@ -523,9 +523,9 @@ libmysqlclient.so.18 libmysqlclient-5.5.27_1
libgssapi_krb5.so.2 mit-krb5-libs-1.8_1
libgssrpc.so.4 mit-krb5-libs-1.8_1
libk5crypto.so.3 mit-krb5-libs-1.8_1
libkadm5clnt_mit.so.9 mit-krb5-libs-1.12.1_1
libkadm5clnt_mit.so.10 mit-krb5-libs-1.14_1
libkadm5clnt.so mit-krb5-libs-1.8_1
libkadm5srv_mit.so.9 mit-krb5-libs-1.12.1_1
libkadm5srv_mit.so.10 mit-krb5-libs-1.14_1
libkadm5srv.so mit-krb5-libs-1.8_1
libkdb5.so.8 mit-krb5-libs-1.13.1_1
libkrb5.so.3 mit-krb5-libs-1.8_1

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec kadmind -nofork

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec krb5kdc -n

View File

@ -1,13 +1,13 @@
# Template file for 'mit-krb5'
# Template file for 'mit-krb5'
pkgname=mit-krb5
version=1.13.2
revision=4
version=1.14
revision=1
short_desc="MIT Kerberos 5 implementation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://web.mit.edu/Kerberos"
distfiles="$homepage/dist/krb5/${version%.*}/krb5-${version}-signed.tar"
checksum=e528c30b0209c741f6f320cb83122ded92f291802b6a1a1dc1a01dcdb3ff6de1
homepage="http://web.mit.edu/kerberos"
distfiles="$homepage/dist/krb5/${version}/krb5-${version}.tar.gz"
checksum=cedb07fad8331e3ff2983d26e977a2ddba622f379c2b19bfea85bd695930f9e9
build_style=gnu-configure
wrksrc="krb5-${version}"
@ -16,11 +16,7 @@ makedepends="db-devel e2fsprogs-devel libressl-devel"
depends="mit-krb5-client>=${version}_${revision}"
conflicts="heimdal>=0"
do_extract() {
# We have to do this dance because the real distfile is
# included in the .tar archive.
tar xf $XBPS_SRCDISTDIR/${pkgname}-${version}/$(basename $distfiles) -O krb5-$version.tar.gz | \
tar xz -C $XBPS_BUILDDIR
post_extract() {
# Fix db plugin.
sed -i -e "s|<db.h>|<db_185.h>|" $wrksrc/src/plugins/kdb/db2/*.[ch]
}
@ -36,6 +32,12 @@ do_build() {
make
}
post_install() {
vsv krb5kdc
vsv kadmind
vlicense NOTICE
}
mit-krb5-client_package() {
short_desc+=" - client programs"
pkg_install() {