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
|
8
.gitignore
vendored
8
.gitignore
vendored
@ -1 +1,7 @@
|
|||||||
SOURCES/mod_intercept_form_submit-1.1.0.tar.gz
|
/mod_intercept_form_submit-0.9.5.tar.gz
|
||||||
|
/mod_intercept_form_submit-0.9.7.tar.gz
|
||||||
|
/mod_intercept_form_submit-0.9.8.tar.gz
|
||||||
|
/mod_intercept_form_submit-1.0.0.tar.gz
|
||||||
|
/mod_intercept_form_submit-1.0.1.tar.gz
|
||||||
|
/mod_intercept_form_submit-1.1.0.tar.gz
|
||||||
|
/mod_intercept_form_submit-1.2.0.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
08ab8519588d6879ed8dc43679d668ae4dce0446 SOURCES/mod_intercept_form_submit-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: Apache module to intercept login form submission and run PAM authentication
|
Summary: Apache module to intercept login form submission and run PAM authentication
|
||||||
Name: mod_intercept_form_submit
|
Name: mod_intercept_form_submit
|
||||||
Version: 1.1.0
|
Version: 1.2.0
|
||||||
Release: 5%{?dist}
|
Release: 8%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: System Environment/Daemons
|
URL: https://www.adelton.com/apache/mod_intercept_form_submit/
|
||||||
URL: http://www.adelton.com/apache/mod_intercept_form_submit/
|
Source0: https://www.adelton.com/apache/mod_intercept_form_submit/%{name}-%{version}.tar.gz
|
||||||
Source0: http://www.adelton.com/apache/mod_intercept_form_submit/%{name}-%{version}.tar.gz
|
BuildRequires: gcc
|
||||||
BuildRequires: httpd-devel
|
BuildRequires: httpd-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
Requires: httpd-mmn = %{_httpd_mmn}
|
Requires: httpd-mmn = %{_httpd_mmn}
|
||||||
@ -62,6 +62,61 @@ install -Dp -m 0644 intercept_form_submit.confx $RPM_BUILD_ROOT%{_httpd_confdir}
|
|||||||
%{_httpd_moddir}/*.so
|
%{_httpd_moddir}/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.0-8
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.0-7
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 18 2022 Jan Pazdziora <jpazdziora@redhat.com> - 1.2.0-1
|
||||||
|
- 2055636 - rebase to upstream version 1.2.0.
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 23 2018 Jan Pazdziora <jpazdziora@redhat.com> - 1.1.0-7
|
||||||
|
- https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
|
||||||
|
|
||||||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
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_intercept_form_submit-1.2.0.tar.gz) = 3b2cc3a1b704c79298223cbcde5a5b3e8fe93f3914cb3ba88ca8e79c66bbb2386a6214fa2475e047864c306c182c31c86ffe2f764455399b0be94942d51268cd
|
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_intercept_form_submit
|
||||||
|
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_intercept_form_submit
|
||||||
|
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_intercept_form_submit"
|
||||||
|
|
||||||
|
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