Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
13
.gitignore
vendored
13
.gitignore
vendored
@ -1 +1,12 @@
|
||||
SOURCES/mod_authnz_pam-1.1.0.tar.gz
|
||||
/mod_authnz_pam-0.8.1.tar.gz
|
||||
/mod_authnz_pam-0.9.tar.gz
|
||||
/mod_authnz_pam-0.9.2.tar.gz
|
||||
/mod_authnz_pam-0.9.3.tar.gz
|
||||
/mod_authnz_pam-1.0.0.tar.gz
|
||||
/mod_authnz_pam-1.0.1.tar.gz
|
||||
/mod_authnz_pam-1.0.2.tar.gz
|
||||
/mod_authnz_pam-1.1.0.tar.gz
|
||||
/mod_authnz_pam-1.2.0.tar.gz
|
||||
/mod_authnz_pam-1.2.1.tar.gz
|
||||
/mod_authnz_pam-1.2.2.tar.gz
|
||||
/mod_authnz_pam-1.2.3.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
c530148c6388b022b08ea152cc9895ac98c771b4 SOURCES/mod_authnz_pam-1.1.0.tar.gz
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -7,12 +7,12 @@
|
||||
|
||||
Summary: PAM authorization checker and PAM Basic Authentication provider
|
||||
Name: mod_authnz_pam
|
||||
Version: 1.1.0
|
||||
Release: 7%{?dist}
|
||||
Version: 1.2.3
|
||||
Release: 9%{?dist}
|
||||
License: ASL 2.0
|
||||
Group: System Environment/Daemons
|
||||
URL: http://www.adelton.com/apache/mod_authnz_pam/
|
||||
Source0: http://www.adelton.com/apache/mod_authnz_pam/%{name}-%{version}.tar.gz
|
||||
URL: https://www.adelton.com/apache/mod_authnz_pam/
|
||||
Source0: https://www.adelton.com/apache/mod_authnz_pam/%{name}-%{version}.tar.gz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: httpd-devel
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkgconfig
|
||||
@ -63,6 +63,67 @@ install -Dp -m 0644 authnz_pam.confx $RPM_BUILD_ROOT%{_httpd_confdir}/authnz_pam
|
||||
%{_httpd_moddir}/*.so
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.3-9
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.3-8
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jan 31 2022 Jan Pazdziora <jpazdziora@redhat.com> - 1.2.3-1
|
||||
- 2048511 - rebase to upstream version 1.2.3.
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Mar 30 2021 Jan Pazdziora <jpazdziora@redhat.com> - 1.2.2-1
|
||||
- 1944553 - rebase to upstream version 1.2.2.
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 15 2020 Jan Pazdziora <jpazdziora@redhat.com> - 1.2.1-1
|
||||
- 1855338 - rebase to upstream version 1.2.1.
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Jul 17 2018 Jan Pazdziora <jpazdziora@redhat.com> - 1.2.0-1
|
||||
- Add support for mod_authn_socache.
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 23 2018 Jan Pazdziora <jpazdziora@redhat.com> - 1.1.0-8
|
||||
- https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
|
||||
|
||||
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.0-7
|
||||
- Escape macros in %%changelog
|
||||
|
8
plans/all.fmf
Normal file
8
plans/all.fmf
Normal file
@ -0,0 +1,8 @@
|
||||
summary: Run gating tests
|
||||
discover:
|
||||
how: fmf
|
||||
dist-git-source: true
|
||||
dist-git-type: centos
|
||||
|
||||
execute:
|
||||
how: tmt
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (mod_authnz_pam-1.2.3.tar.gz) = 9b26e4c323bba550f54ba0104040ea76508baee96f0732cd86ca3e8bff652d7b41dd927e23c920aa2393de5f76f06bc19ed31d8f557f722d24a5f07ad2102091
|
15
tests/tests.yml
Normal file
15
tests/tests.yml
Normal file
@ -0,0 +1,15 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source # Fetch source tarball and unpack it into the test environment, under directory "source/"
|
||||
tags:
|
||||
- always
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- httpd
|
||||
- mod_authnz_pam
|
||||
tests:
|
||||
- upstream:
|
||||
dir: upstream
|
||||
run: ./run_test.sh
|
6
tests/upstream/main.fmf
Normal file
6
tests/upstream/main.fmf
Normal file
@ -0,0 +1,6 @@
|
||||
summary: Run mod_authnz_pam basic httpd tests
|
||||
require:
|
||||
- httpd
|
||||
- mod_authnz_pam
|
||||
test: ./run_test.sh
|
||||
duration: 30m
|
36
tests/upstream/run_test.sh
Executable file
36
tests/upstream/run_test.sh
Executable file
@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
PKG="mod_authnz_pam"
|
||||
|
||||
die () {
|
||||
echo "$1" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
# If source not found, download it with dnf
|
||||
if [ ! -d ./source ]; then
|
||||
# Extract source from srpm
|
||||
dnf download --source ${PKG} && \
|
||||
rpm2cpio ${PKG}*.rpm|cpio -id && \
|
||||
mkdir source && \
|
||||
tar -zxf ${PKG}-*.tar.gz -C source --strip-components=1
|
||||
if [ $? != 0 ]; then
|
||||
echo "Failed to download upstream tests"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
pushd ./source || die "missing source directory"
|
||||
rm -f ${PKG} tests/*.log 2>/dev/null
|
||||
# ln -s /usr/bin/${PKG} || die "failed to link ${PKG} binary"
|
||||
|
||||
FAIL=0
|
||||
|
||||
# run the tests
|
||||
#
|
||||
tests/config.sh
|
||||
setsebool allow_httpd_mod_auth_pam 1
|
||||
systemctl start httpd
|
||||
tail -f /var/log/httpd/*_log &
|
||||
tests/run.sh
|
||||
kill %1
|
Loading…
Reference in New Issue
Block a user