Package init

This commit is contained in:
dogsheng 2019-11-19 11:51:51 +08:00
commit e33c2155b6
3 changed files with 53 additions and 0 deletions

BIN
pam_krb5-2.4.13.tar.gz Normal file

Binary file not shown.

BIN
pam_krb5-2.4.13.tar.gz.sig Normal file

Binary file not shown.

53
pam_krb5.spec Normal file
View File

@ -0,0 +1,53 @@
Name: pam_krb5
Version: 2.4.13
Release: 12
Summary: A Pluggable Authentication Module for Kerberos 5
License: BSD or LGPLv2+
URL: https://pagure.io/pam_krb5
Source0: https://releases.pagure.org/pam_krb5/pam_krb5-%{version}.tar.gz
Source1: https://releases.pagure.org/pam_krb5/pam_krb5-%{version}.tar.gz.sig
BuildRequires: git krb5-devel pam-devel
%description
This PAM module supports authentication against a Kerberos KDC. It also
supports updating your Kerberos password.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
%configure --with-default-use-shmem="sshd" --with-default-external="sshd sshd-rekey gssftp" \
--with-default-multiple-ccaches="su su-l" --with-default-no-cred-session="sshd"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%make_install INSTALL="install -p"
ln -s pam_krb5.so %{buildroot}/%{_libdir}/security/pam_krb5afs.so
sed -ri -e 's|/lib(64)?/|/\$LIB/|g' %{buildroot}/%{_mandir}/man*/pam_krb5*.8*
%delete_la
%find_lang %{name}
%pre
%preun
%post
%postun
%files -f %{name}.lang
%doc COPYING*
%{_bindir}/*
%{_libdir}/security/*
%files help
%doc README* ChangeLog NEWS
%{_mandir}/*/*
%changelog
* Fri Sep 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.4.13-12
- Package init