Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
ae42ef42b3
!5 Package upgrade
From: @wk333 
Reviewed-by: @zhujianwei001 
Signed-off-by: @zhujianwei001
2022-06-17 02:26:39 +00:00
wk333
4728081edc Package upgrade 2022-06-16 19:23:19 +08:00
openeuler-ci-bot
154fd3a859
!4 add buildrequires perl
From: @chen-jan 
Reviewed-by: @gwei3 
Signed-off-by: @gwei3
2022-04-06 07:55:30 +00:00
chen-jan
23996bfec0 add buildrequires perl 2022-03-30 16:00:45 +08:00
openeuler-ci-bot
c951aae7bb !3 mod_authnz_pam delete -S git from %autosetup, and delete BuildRequires git
From: @chenyanpanHW
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
2021-08-13 02:16:21 +00:00
chenyanpanHW
62ed014e3d
delete -S git from %autosetup, and delete BuildRequires git 2021-07-30 23:07:28 +08:00
openeuler-ci-bot
828bca32c9 !2 修复因缺少依赖导致编译失败问题
From: @wu-leilei
Reviewed-by: @hht8,@zhujianwei001
Signed-off-by: @zhujianwei001
2021-06-15 04:32:55 +00:00
wu-leilei
a984beb551 fixes failed: git: No such file or directory 2021-06-09 10:47:22 +08:00
openeuler-ci-bot
60b1d4a2e6 !1 package init
Merge pull request !1 from jeff200902/master
2020-06-20 14:20:07 +08:00
jeff200902
467ef31d0b mod_authnz_pam package init 2020-06-19 17:49:41 +08:00
3 changed files with 55 additions and 0 deletions

BIN
mod_authnz_pam-1.2.3.tar.gz Normal file

Binary file not shown.

51
mod_authnz_pam.spec Normal file
View File

@ -0,0 +1,51 @@
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo 0-0)}}
Name: mod_authnz_pam
Version: 1.2.3
Release: 1
Summary: PAM Basic Authentication provider and check.
License: ASL 2.0
URL: http://www.adelton.com/apache/mod_authnz_pam/
Source0: http://www.adelton.com/apache/mod_authnz_pam/mod_authnz_pam-%{version}.tar.gz
BuildRequires: gcc httpd-devel pam-devel pkgconfig perl
Requires: httpd-mmn = %{_httpd_mmn} pam
%description
mod_authnz_pam is a supplementary authentication module, supplementing
authorization module completed by other modules. It can also provide
[name, password] authentication through the PAM stack.
%prep
%autosetup -n mod_authnz_pam-%{version} -p1
%build
%{_bindir}/apxs -c -Wc,"%{optflags} -Wall -pedantic -std=c99" -lpam mod_authnz_pam.c
echo > authnz_pam.confx
echo "# Load the module in %{_sysconfdir}/httpd/conf.modules.d/55-authnz_pam.conf" >> authnz_pam.confx
cat authnz_pam.conf >> authnz_pam.confx
%install
install -Dm 755 .libs/mod_authnz_pam.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules/mod_authnz_pam.so
install -Dp -m 0644 authnz_pam.module $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/55-authnz_pam.conf
install -Dp -m 0644 authnz_pam.confx $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/authnz_pam.conf
%files
%doc README LICENSE
%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/55-authnz_pam.conf
%config(noreplace) %{_sysconfdir}/httpd/conf.d/authnz_pam.conf
%{_libdir}/httpd/modules/*.so
%changelog
* Thu Jun 16 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.2.3-1
- Upgrade to version 1.2.3
* Wed Mar 30 2022 chenchen <chen_aka_jan@163.com> - 1.2.0-5
- add buildrequires perl
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.2.0-4
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Jun 09 2021 wulei <wulei80@huawei.com> - 1.2.0-3
- fixes failed: git: No such file or directory
* Wed Apr 22 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.2.0-2
- Package init

4
mod_authnz_pam.yaml Normal file
View File

@ -0,0 +1,4 @@
version-control: NA
src_repo: NA
tag_prefix: NA
seperator: NA