mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
mit-krb5: rebuild for -dbg pkgs; cross build support.
This commit is contained in:
parent
76b406e02b
commit
0abd36c477
4 changed files with 16 additions and 19 deletions
|
@ -1,9 +1,6 @@
|
||||||
# Template file for 'mit-krb5-client'.
|
# Template file for 'mit-krb5-client'.
|
||||||
#
|
#
|
||||||
short_desc="${short_desc} - client programs"
|
short_desc="${short_desc} - client programs"
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains the client side programs."
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/bin usr
|
vmove usr/bin usr
|
||||||
|
|
|
@ -4,9 +4,6 @@ noarch=yes
|
||||||
depends="db-devel openssl-devel e2fsprogs-devel>=1.4.10_1
|
depends="db-devel openssl-devel e2fsprogs-devel>=1.4.10_1
|
||||||
mit-krb5-libs>=${version}"
|
mit-krb5-libs>=${version}"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc="${short_desc} - development files"
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
#
|
#
|
||||||
conflicts="heimdal-libs>=0"
|
conflicts="heimdal-libs>=0"
|
||||||
short_desc="${short_desc} - shared libraries"
|
short_desc="${short_desc} - shared libraries"
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains the shared libraries."
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove "usr/lib/*.so*" usr/lib
|
vmove "usr/lib/*.so*" usr/lib
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'mit-krb5'
|
# Template file for 'mit-krb5'
|
||||||
pkgname=mit-krb5
|
pkgname=mit-krb5
|
||||||
version=1.11
|
version=1.11
|
||||||
revision=1
|
revision=2
|
||||||
noextract=yes
|
noextract=yes
|
||||||
wrksrc="krb5-${version}"
|
wrksrc="krb5-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_script="./src/configure"
|
configure_script="./src/configure"
|
||||||
configure_args="--disable-rpath --with-system-et
|
configure_args="--disable-rpath --with-system-et
|
||||||
--with-system-ss --with-system-db --enable-shared CFLAGS=-I/usr/include/et"
|
--with-system-ss --with-system-db --enable-shared"
|
||||||
depends="mit-krb5-client-${version}_${revision}"
|
depends="mit-krb5-client-${version}_${revision}"
|
||||||
makedepends="perl>=0 flex db-devel e2fsprogs-devel openssl-devel"
|
makedepends="perl flex db-devel e2fsprogs-devel openssl-devel"
|
||||||
subpackages="${pkgname}-devel ${pkgname}-libs ${pkgname}-client"
|
subpackages="${pkgname}-devel ${pkgname}-libs ${pkgname}-client"
|
||||||
conflicts="heimdal>=0"
|
conflicts="heimdal>=0"
|
||||||
short_desc="MIT Kerberos 5 implementation"
|
short_desc="MIT Kerberos 5 implementation"
|
||||||
|
@ -18,14 +18,20 @@ license="MIT"
|
||||||
homepage="http://web.mit.edu/Kerberos"
|
homepage="http://web.mit.edu/Kerberos"
|
||||||
distfiles="$homepage/dist/krb5/1.11/krb5-$version-signed.tar"
|
distfiles="$homepage/dist/krb5/1.11/krb5-$version-signed.tar"
|
||||||
checksum=fe37fb93b398db98a1b23f814673ea2ae4b90138f85e1a4027ef639456a78651
|
checksum=fe37fb93b398db98a1b23f814673ea2ae4b90138f85e1a4027ef639456a78651
|
||||||
long_desc="
|
|
||||||
Kerberos is a network authentication protocol. It is designed to provide
|
|
||||||
strong authentication for client/server applications by using secret-key
|
|
||||||
cryptography. A free implementation of this protocol is available from the
|
|
||||||
Massachusetts Institute of Technology. Kerberos is available in many
|
|
||||||
commercial products as well."
|
|
||||||
|
|
||||||
pre_configure() {
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
|
makedepends="perl flex e2fsprogs-devel"
|
||||||
|
crossmakedepends="libfl-devel db-devel e2fsprogs-devel openssl-devel"
|
||||||
|
configure_args="${configure_args}
|
||||||
|
ac_cv_func_pthread_once=yes
|
||||||
|
ac_cv_func_pthread_rwlock_init=yes
|
||||||
|
acx_pthread_ok=yes
|
||||||
|
ac_cv_func_regcomp=yes
|
||||||
|
ac_cv_printf_positional=yes
|
||||||
|
krb5_cv_attr_constructor_destructor=yes,yes"
|
||||||
|
fi
|
||||||
|
|
||||||
|
do_extract() {
|
||||||
# We have to do this dance because the real distfile is
|
# We have to do this dance because the real distfile is
|
||||||
# included in the .tar archive.
|
# included in the .tar archive.
|
||||||
tar xf $XBPS_SRCDISTDIR/$(basename $distfiles) -C $wrksrc
|
tar xf $XBPS_SRCDISTDIR/$(basename $distfiles) -C $wrksrc
|
||||||
|
|
Loading…
Add table
Reference in a new issue