|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: pam_wrapper
|
|
|
|
|
Version: 1.0.7
|
|
|
|
|
Version: 1.1.4
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
|
|
Summary: A tool to test PAM applications and PAM modules
|
|
|
|
@ -7,13 +7,17 @@ License: GPLv3+
|
|
|
|
|
Url: http://cwrap.org/
|
|
|
|
|
|
|
|
|
|
Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
|
|
|
|
|
Source2: pam_wrapper.keyring
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: libcmocka-devel
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: git
|
|
|
|
|
|
|
|
|
|
Recommends: cmake
|
|
|
|
|
Recommends: pkgconfig
|
|
|
|
@ -75,42 +79,29 @@ the header files for libpamtest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
|
|
|
|
%autosetup -S git
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
if test ! -e "obj"; then
|
|
|
|
|
mkdir obj
|
|
|
|
|
fi
|
|
|
|
|
pushd obj
|
|
|
|
|
%cmake \
|
|
|
|
|
-DUNIT_TESTING=ON \
|
|
|
|
|
%{_builddir}/%{name}-%{version}
|
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
|
-DUNIT_TESTING=ON
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} VERBOSE=1
|
|
|
|
|
make doc VERBOSE=1
|
|
|
|
|
popd
|
|
|
|
|
%cmake_build
|
|
|
|
|
%__cmake --build %{__cmake_builddir} --target doc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
pushd obj
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
popd
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%post -n libpamtest -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -n libpamtest -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets -n libpamtest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
pushd obj
|
|
|
|
|
ctest --output-on-failure
|
|
|
|
|
popd
|
|
|
|
|
%ctest
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{_libdir}/libpam_wrapper.so*
|
|
|
|
@ -118,10 +109,12 @@ popd
|
|
|
|
|
%dir %{_libdir}/cmake/pam_wrapper
|
|
|
|
|
%{_libdir}/cmake/pam_wrapper/pam_wrapper-config-version.cmake
|
|
|
|
|
%{_libdir}/cmake/pam_wrapper/pam_wrapper-config.cmake
|
|
|
|
|
%{_libdir}/pam_wrapper/pam_chatty.so
|
|
|
|
|
%{_libdir}/pam_wrapper/pam_matrix.so
|
|
|
|
|
%{_libdir}/pam_wrapper/pam_get_items.so
|
|
|
|
|
%{_libdir}/pam_wrapper/pam_set_items.so
|
|
|
|
|
%{_mandir}/man1/pam_wrapper.1*
|
|
|
|
|
%{_mandir}/man8/pam_chatty.8*
|
|
|
|
|
%{_mandir}/man8/pam_matrix.8*
|
|
|
|
|
%{_mandir}/man8/pam_get_items.8*
|
|
|
|
|
%{_mandir}/man8/pam_set_items.8*
|
|
|
|
@ -132,23 +125,72 @@ popd
|
|
|
|
|
%files -n libpamtest-devel
|
|
|
|
|
%{_libdir}/libpamtest.so
|
|
|
|
|
%{_libdir}/pkgconfig/libpamtest.pc
|
|
|
|
|
%dir %{_libdir}/cmake/libpamtest
|
|
|
|
|
%{_libdir}/cmake/libpamtest/libpamtest-config-version.cmake
|
|
|
|
|
%{_libdir}/cmake/libpamtest/libpamtest-config.cmake
|
|
|
|
|
%dir %{_libdir}/cmake/pamtest
|
|
|
|
|
%{_libdir}/cmake/pamtest/pamtest-config-relwithdebinfo.cmake
|
|
|
|
|
%{_libdir}/cmake/pamtest/pamtest-config-version.cmake
|
|
|
|
|
%{_libdir}/cmake/pamtest/pamtest-config.cmake
|
|
|
|
|
%{_includedir}/libpamtest.h
|
|
|
|
|
|
|
|
|
|
%files -n libpamtest-doc
|
|
|
|
|
%doc obj/doc/html
|
|
|
|
|
%doc %{__cmake_builddir}/doc/html
|
|
|
|
|
|
|
|
|
|
%files -n python3-libpamtest
|
|
|
|
|
%{python3_sitearch}/pypamtest.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.0.7-2
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
* Tue May 03 2022 Norbert Pocs <npocs@redhat.com> - 1.1.4-2
|
|
|
|
|
- related: rhbz#2048653 - Add package to CRB
|
|
|
|
|
|
|
|
|
|
* Thu Apr 21 2022 Andreas Schneider <asn@redhat.com> - 1.1.4-1
|
|
|
|
|
- related: rhbz#2028819 - Update to version 1.1.4
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.3-8
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.3-7
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 05 2020 Andreas Schneider <asn@redhat.com> - 1.1.3-5
|
|
|
|
|
- Build using new cmake macros
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-4
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.3-2
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Thu Mar 26 2020 Andreas Schneider <asn@redhat.com> - 1.1.3-1
|
|
|
|
|
- Update to version 1.1.3
|
|
|
|
|
* https://gitlab.com/cwrap/pam_wrapper/-/blob/master/CHANGELOG
|
|
|
|
|
* resolves: #1816943
|
|
|
|
|
|
|
|
|
|
* Tue Mar 24 2020 Andreas Schneider <asn@redhat.com> - 1.1.2-1
|
|
|
|
|
- Update to version 1.1.2
|
|
|
|
|
* https://gitlab.com/cwrap/pam_wrapper/-/blob/master/CHANGELOG
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 22 2020 Bastien Nocera <bnocera@redhat.com> - 1.0.7-5
|
|
|
|
|
+ pam_wrapper-1.0.7-5
|
|
|
|
|
- Fix crash in pam_wrapper
|
|
|
|
|
|
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.7-4
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 9 2022 Norbert Pocs <npocs@redhat.com> - 1.0.7-2
|
|
|
|
|
- resolves: rhbz#2048659 - Add package to CRB
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Sep 26 2018 Andreas Schneider <asn@redhat.com> - 1.0.7-1
|
|
|
|
|
- Update to version 1.0.7
|
|
|
|
|