From: Stefan Schantl Date: Sun, 12 Mar 2023 10:05:09 +0000 (+0100) Subject: krb5: Use macro logic to build the package X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=41c50d77850ca048346c29db0cdf9b6fb625db6e;p=people%2Fstevee%2Fipfire-3.x.git krb5: Use macro logic to build the package Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/krb5/krb5.nm b/krb5/krb5.nm index e2132afc0..8d792748d 100644 --- a/krb5/krb5.nm +++ b/krb5/krb5.nm @@ -7,7 +7,7 @@ name = krb5 version = %{ver_maj}.%{ver_min} ver_maj = 1.20 ver_min = 1 -release = 2 +release = 2.1 groups = System/Libraries url = https://web.mit.edu/kerberos/www/ @@ -23,6 +23,8 @@ end source_dl = https://web.mit.edu/kerberos/dist/krb5/%{ver_maj}/ build + DIR_APP = %{DIR_SRC}/%{thisapp}/src + requires autoconf automake @@ -56,19 +58,9 @@ build --with-crypto-impl=openssl \ --with-pam - build - cd %{DIR_APP}/src - - ./configure \ - %{configure_options} - - make %{PARALLELISMFLAGS} end - install - # Install krb5 - make -C src install DESTDIR=%{BUILDROOT} - + install_cmds # Sample KDC config files (bundled kdc.conf and kadm5.acl). mkdir -pv %{BUILDROOT}%{localstatedir}/kerberos/krb5kdc install -pm 600 %{DIR_SOURCE}/kdc.conf %{BUILDROOT}%{localstatedir}/kerberos/krb5kdc/