From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/system/krb5.xibuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'repo/system/krb5.xibuild') diff --git a/repo/system/krb5.xibuild b/repo/system/krb5.xibuild index c4f3abe..2012fbc 100644 --- a/repo/system/krb5.xibuild +++ b/repo/system/krb5.xibuild @@ -6,7 +6,7 @@ PKG_VER=1.19.2 SOURCE=https://kerberos.org/dist/krb5/$(echo $PKG_VER | cut -d. -f-2)/krb5-$PKG_VER.tar.gz DESC="The Kerberos network authentication system" -build () { +patch () { # fix denial of service vulnerability sed -i '210a if (sprinc == NULL) {\ status = "NULL_SERVER";\ @@ -19,7 +19,9 @@ build () { sed -i -e 's@\^u}@^u cols 300}@' tests/dejagnu/config/default.exp && sed -i -e '/eq 0/{N;s/12 //}' plugins/kdb/db2/libdb2/test/run.test && sed -i '/t_iprop.py/d' tests/Makefile.in && +} +build () { ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ @@ -29,6 +31,9 @@ build () { --with-system-verto=no \ --enable-dns-for-realm && make +} + +package () { make DESTDIR=$PKG_DEST install install -v -dm755 $PKG_DEST/usr/share/doc/krb5-$PKG_VER && -- cgit v1.2.1