SHA256
1
0
forked from pool/krb5
Ismail Dönmez 2016-07-22 11:04:02 +00:00 committed by Git OBS Bridge
parent 06399cb6eb
commit 80be49d3d2
2 changed files with 40 additions and 35 deletions

View File

@ -48,10 +48,11 @@ Conflicts: krb5-plugin-kdb-ldap
Conflicts: krb5-plugin-preauth-pkinit Conflicts: krb5-plugin-preauth-pkinit
Conflicts: krb5-plugin-preauth-otp Conflicts: krb5-plugin-preauth-otp
# both tar.gz and .tar.gz.asc extracted from the http://web.mit.edu/kerberos/dist/krb5/1.13/krb5-1.13.2-signed.tar # both tar.gz and .tar.gz.asc extracted from the http://web.mit.edu/kerberos/dist/krb5/1.13/krb5-1.13.2-signed.tar
Source: krb5-%{version}.tar.gz Source0: krb5-%{version}.tar.gz
Source43: krb5.keyring Source1: krb5-%{version}.tar.gz.asc
Source1: vendor-files.tar.bz2 Source2: krb5.keyring
Source2: baselibs.conf Source3: vendor-files.tar.bz2
Source4: baselibs.conf
Source5: krb5-rpmlintrc Source5: krb5-rpmlintrc
Patch1: krb5-1.12-pam.patch Patch1: krb5-1.12-pam.patch
Patch2: krb5-1.9-manpaths.dif Patch2: krb5-1.9-manpaths.dif
@ -97,7 +98,7 @@ Include Files for Development
%prep %prep
%setup -q -n %{srcRoot} %setup -q -n %{srcRoot}
%setup -a 1 -T -D -n %{srcRoot} %setup -a 3 -T -D -n %{srcRoot}
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
@ -128,19 +129,20 @@ DEFCCNAME=DIR:/run/user/%%{uid}/krb5cc; export DEFCCNAME
--libexecdir=/usr/lib/mit/sbin \ --libexecdir=/usr/lib/mit/sbin \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--includedir=%{_includedir} \ --includedir=%{_includedir} \
--localstatedir=%{_localstatedir}/lib/kerberos \ --localstatedir=%{_localstatedir}/lib/kerberos \
--localedir=%{_datadir}/locale \ --localedir=%{_datadir}/locale \
--enable-shared \ --enable-shared \
--disable-static \ --disable-static \
--enable-dns-for-realm \ --enable-dns-for-realm \
--disable-rpath \ --disable-rpath \
--disable-pkinit \ --disable-pkinit \
--without-pam \ --without-pam \
--with-selinux \ --with-selinux \
--with-system-et \ --with-system-et \
--with-system-ss \ --with-system-ss \
--with-system-verto --with-system-verto
%{__make} %{?_smp_mflags}
make %{?_smp_mflags}
# Copy kadmin manual page into kadmin.local's due to the split between client and server package # Copy kadmin manual page into kadmin.local's due to the split between client and server package
cp man/kadmin.man man/kadmin.local.8 cp man/kadmin.man man/kadmin.local.8

View File

@ -47,10 +47,11 @@ Obsoletes: krb5-64bit
%endif %endif
Conflicts: krb5-mini Conflicts: krb5-mini
# both tar.gz and .tar.gz.asc extracted from the http://web.mit.edu/kerberos/dist/krb5/1.13/krb5-1.13.2-signed.tar # both tar.gz and .tar.gz.asc extracted from the http://web.mit.edu/kerberos/dist/krb5/1.13/krb5-1.13.2-signed.tar
Source: krb5-%{version}.tar.gz Source0: krb5-%{version}.tar.gz
Source43: krb5.keyring Source1: krb5-%{version}.tar.gz.asc
Source1: vendor-files.tar.bz2 Source2: krb5.keyring
Source2: baselibs.conf Source3: vendor-files.tar.bz2
Source4: baselibs.conf
Source5: krb5-rpmlintrc Source5: krb5-rpmlintrc
Patch1: krb5-1.12-pam.patch Patch1: krb5-1.12-pam.patch
Patch2: krb5-1.9-manpaths.dif Patch2: krb5-1.9-manpaths.dif
@ -167,7 +168,7 @@ Include Files for Development
%prep %prep
%setup -q -n %{srcRoot} %setup -q -n %{srcRoot}
%setup -a 1 -T -D -n %{srcRoot} %setup -a 3 -T -D -n %{srcRoot}
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
@ -198,23 +199,25 @@ DEFCCNAME=DIR:/run/user/%%{uid}/krb5cc; export DEFCCNAME
--libexecdir=/usr/lib/mit/sbin \ --libexecdir=/usr/lib/mit/sbin \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--includedir=%{_includedir} \ --includedir=%{_includedir} \
--localstatedir=%{_localstatedir}/lib/kerberos \ --localstatedir=%{_localstatedir}/lib/kerberos \
--localedir=%{_datadir}/locale \ --localedir=%{_datadir}/locale \
--enable-shared \ --enable-shared \
--disable-static \ --disable-static \
--enable-dns-for-realm \ --enable-dns-for-realm \
--disable-rpath \ --disable-rpath \
--with-ldap \ --with-ldap \
--with-pam \ --with-pam \
--enable-pkinit \ --enable-pkinit \
--with-pkinit-crypto-impl=openssl \ --with-pkinit-crypto-impl=openssl \
--with-selinux \ --with-selinux \
--with-system-et \ --with-system-et \
--with-system-ss \ --with-system-ss \
--with-system-verto --with-system-verto
%{__make} %{?_smp_mflags}
make %{?_smp_mflags}
cd doc cd doc
make %{?jobs:-j%jobs} substhtml make %{?_smp_mflags} substhtml
cp -a html_subst ../../html cp -a html_subst ../../html
cd .. cd ..