SHA256
1
0
forked from pool/krb5

Accepting request 674684 from home:jengelh:branches:network

- Replace old $RPM_* shell vars

OBS-URL: https://build.opensuse.org/request/show/674684
OBS-URL: https://build.opensuse.org/package/show/network/krb5?expand=0&rev=214
This commit is contained in:
Tomáš Chvátal 2019-02-14 08:52:23 +00:00 committed by Git OBS Bridge
parent cd90bbcf23
commit 05a3f5da3c
4 changed files with 284 additions and 284 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 13 17:45:34 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Replace old $RPM_* shell vars
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 14 16:10:06 UTC 2019 - Samuel Cabrero <scabrero@suse.de> Mon Jan 14 16:10:06 UTC 2019 - Samuel Cabrero <scabrero@suse.de>
@ -1863,4 +1868,3 @@ Wed Nov 3 18:52:07 CET 2004 - mc@suse.de
Thu Oct 28 17:58:41 CEST 2004 - mc@suse.de Thu Oct 28 17:58:41 CEST 2004 - mc@suse.de
- Initital checkin - Initital checkin

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -26,21 +26,21 @@
%define krb5docdir %{_defaultdocdir}/krb5 %define krb5docdir %{_defaultdocdir}/krb5
Name: krb5-mini Name: krb5-mini
Url: https://web.mit.edu/kerberos/www/ Version: 1.17
Release: 0
Summary: MIT Kerberos5 implementation and libraries with minimal dependencies
License: MIT
Group: Productivity/Networking/Security
URL: https://web.mit.edu/kerberos/www/
Obsoletes: krb5-plugin-preauth-pkinit-nss
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: bison BuildRequires: bison
BuildRequires: keyutils BuildRequires: keyutils
BuildRequires: keyutils-devel BuildRequires: keyutils-devel
BuildRequires: libcom_err-devel BuildRequires: libcom_err-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: ncurses-devel
Version: 1.17
Release: 0
Summary: MIT Kerberos5 implementation and libraries with minimal dependencies
License: MIT
Group: Productivity/Networking/Security
Obsoletes: krb5-plugin-preauth-pkinit-nss
BuildRequires: libverto-devel BuildRequires: libverto-devel
BuildRequires: ncurses-devel
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: krb5-64bit Obsoletes: krb5-64bit
@ -119,7 +119,7 @@ autoreconf -fi
DEFCCNAME=DIR:/run/user/%%{uid}/krb5cc; export DEFCCNAME DEFCCNAME=DIR:/run/user/%%{uid}/krb5cc; export DEFCCNAME
./configure \ ./configure \
CC="%{__cc}" \ CC="%{__cc}" \
CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC $(getconf LFS_CFLAGS)" \ CFLAGS="%{optflags} -I%{_includedir}/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC $(getconf LFS_CFLAGS)" \
CPPFLAGS="-I%{_includedir}/et " \ CPPFLAGS="-I%{_includedir}/et " \
SS_LIB="-lss" \ SS_LIB="-lss" \
--prefix=/usr/lib/mit \ --prefix=/usr/lib/mit \
@ -148,16 +148,12 @@ make %{?_smp_mflags}
cp man/kadmin.man man/kadmin.local.8 cp man/kadmin.man man/kadmin.local.8
%install %install
mkdir -p %{buildroot}/%{_localstatedir}/log/krb5
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/krb5 %make_install -C src
cd src
make DESTDIR=%{buildroot} install
cd ..
# Munge krb5-config yet again. This is totally wrong for 64-bit, but chunks # Munge krb5-config yet again. This is totally wrong for 64-bit, but chunks
# of the buildconf patch already conspire to strip out /usr/<anything> from the # of the buildconf patch already conspire to strip out /usr/<anything> from the
# list of link flags, and it helps prevent file conflicts on multilib systems. # list of link flags, and it helps prevent file conflicts on multilib systems.
sed -r -i -e 's|^libdir=/usr/lib(64)?$|libdir=/usr/lib|g' $RPM_BUILD_ROOT/usr/lib/mit/bin/krb5-config sed -r -i -e 's|^libdir=/usr/lib(64)?$|libdir=/usr/lib|g' %{buildroot}/usr/lib/mit/bin/krb5-config
# install autoconf macro # install autoconf macro
mkdir -p %{buildroot}/%{_datadir}/aclocal mkdir -p %{buildroot}/%{_datadir}/aclocal
@ -212,9 +208,9 @@ install -m 755 %{vendorFiles}/krb5kdc.init %{buildroot}%{_sysconfdir}/init.d/krb
install -m 755 %{vendorFiles}/kpropd.init %{buildroot}%{_sysconfdir}/init.d/kpropd install -m 755 %{vendorFiles}/kpropd.init %{buildroot}%{_sysconfdir}/init.d/kpropd
%endif %endif
# install sysconfig templates # install sysconfig templates
mkdir -p $RPM_BUILD_ROOT/%{_fillupdir} mkdir -p %{buildroot}/%{_fillupdir}
install -m 644 %{vendorFiles}/sysconfig.kadmind $RPM_BUILD_ROOT/%{_fillupdir}/ install -m 644 %{vendorFiles}/sysconfig.kadmind %{buildroot}/%{_fillupdir}/
install -m 644 %{vendorFiles}/sysconfig.krb5kdc $RPM_BUILD_ROOT/%{_fillupdir}/ install -m 644 %{vendorFiles}/sysconfig.krb5kdc %{buildroot}/%{_fillupdir}/
# install logrotate files # install logrotate files
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
install -m 644 %{vendorFiles}/krb5-server.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/krb5-server install -m 644 %{vendorFiles}/krb5-server.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/krb5-server

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 13 17:45:34 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Replace old $RPM_* shell vars
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 14 16:10:06 UTC 2019 - Samuel Cabrero <scabrero@suse.de> Mon Jan 14 16:10:06 UTC 2019 - Samuel Cabrero <scabrero@suse.de>
@ -1926,4 +1931,3 @@ Wed Nov 3 18:52:07 CET 2004 - mc@suse.de
Thu Oct 28 17:58:41 CEST 2004 - mc@suse.de Thu Oct 28 17:58:41 CEST 2004 - mc@suse.de
- Initital checkin - Initital checkin

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -22,22 +22,22 @@
%endif %endif
Name: krb5 Name: krb5
Url: https://web.mit.edu/kerberos/www/
BuildRequires: autoconf
BuildRequires: bison
BuildRequires: keyutils
BuildRequires: keyutils-devel
BuildRequires: libcom_err-devel
BuildRequires: libselinux-devel
BuildRequires: ncurses-devel
Version: 1.17 Version: 1.17
Release: 0 Release: 0
Summary: MIT Kerberos5 implementation Summary: MIT Kerberos5 implementation
License: MIT License: MIT
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
URL: https://web.mit.edu/kerberos/www/
Obsoletes: krb5-plugin-preauth-pkinit-nss Obsoletes: krb5-plugin-preauth-pkinit-nss
BuildRequires: autoconf
BuildRequires: bison
BuildRequires: keyutils
BuildRequires: keyutils-devel
BuildRequires: libcom_err-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libselinux-devel
BuildRequires: libverto-devel BuildRequires: libverto-devel
BuildRequires: ncurses-devel
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
BuildRequires: pam-devel BuildRequires: pam-devel
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
@ -193,7 +193,7 @@ autoreconf -fi
DEFCCNAME=DIR:/run/user/%%{uid}/krb5cc; export DEFCCNAME DEFCCNAME=DIR:/run/user/%%{uid}/krb5cc; export DEFCCNAME
./configure \ ./configure \
CC="%{__cc}" \ CC="%{__cc}" \
CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC $(getconf LFS_CFLAGS)" \ CFLAGS="%{optflags} -I%{_includedir}/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC $(getconf LFS_CFLAGS)" \
CPPFLAGS="-I%{_includedir}/et " \ CPPFLAGS="-I%{_includedir}/et " \
SS_LIB="-lss" \ SS_LIB="-lss" \
--prefix=/usr/lib/mit \ --prefix=/usr/lib/mit \
@ -224,16 +224,12 @@ make %{?_smp_mflags}
cp man/kadmin.man man/kadmin.local.8 cp man/kadmin.man man/kadmin.local.8
%install %install
mkdir -p %{buildroot}/%{_localstatedir}/log/krb5
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/krb5 %make_install -C src
cd src
make DESTDIR=%{buildroot} install
cd ..
# Munge krb5-config yet again. This is totally wrong for 64-bit, but chunks # Munge krb5-config yet again. This is totally wrong for 64-bit, but chunks
# of the buildconf patch already conspire to strip out /usr/<anything> from the # of the buildconf patch already conspire to strip out /usr/<anything> from the
# list of link flags, and it helps prevent file conflicts on multilib systems. # list of link flags, and it helps prevent file conflicts on multilib systems.
sed -r -i -e 's|^libdir=/usr/lib(64)?$|libdir=/usr/lib|g' $RPM_BUILD_ROOT/usr/lib/mit/bin/krb5-config sed -r -i -e 's|^libdir=/usr/lib(64)?$|libdir=/usr/lib|g' %{buildroot}/usr/lib/mit/bin/krb5-config
# install autoconf macro # install autoconf macro
mkdir -p %{buildroot}/%{_datadir}/aclocal mkdir -p %{buildroot}/%{_datadir}/aclocal
@ -288,13 +284,13 @@ install -m 755 %{vendorFiles}/krb5kdc.init %{buildroot}%{_sysconfdir}/init.d/krb
install -m 755 %{vendorFiles}/kpropd.init %{buildroot}%{_sysconfdir}/init.d/kpropd install -m 755 %{vendorFiles}/kpropd.init %{buildroot}%{_sysconfdir}/init.d/kpropd
%endif %endif
# install sysconfig templates # install sysconfig templates
mkdir -p $RPM_BUILD_ROOT/%{_fillupdir} mkdir -p %{buildroot}/%{_fillupdir}
install -m 644 %{vendorFiles}/sysconfig.kadmind $RPM_BUILD_ROOT/%{_fillupdir}/ install -m 644 %{vendorFiles}/sysconfig.kadmind %{buildroot}/%{_fillupdir}/
install -m 644 %{vendorFiles}/sysconfig.krb5kdc $RPM_BUILD_ROOT/%{_fillupdir}/ install -m 644 %{vendorFiles}/sysconfig.krb5kdc %{buildroot}/%{_fillupdir}/
# install logrotate files # install logrotate files
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
install -m 644 %{vendorFiles}/krb5-server.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/krb5-server install -m 644 %{vendorFiles}/krb5-server.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/krb5-server
find . -type f -name '*.ps' -exec gzip -9 {} \; find . -type f -name '*.ps' -exec gzip -9 {} +
# create rc* links # create rc* links
mkdir -p %{buildroot}/usr/bin/ mkdir -p %{buildroot}/usr/bin/
mkdir -p %{buildroot}/usr/sbin/ mkdir -p %{buildroot}/usr/sbin/