Accepting request 460912 from home:k0da:branches:Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/460912 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_auth_gssapi?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
4
apache2-mod_auth_gssapi.changes
Normal file
4
apache2-mod_auth_gssapi.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 15:29:32 UTC 2017 - k0da@opensuse.org
|
||||
|
||||
- Initial mod_gssapi-1.5 version
|
114
apache2-mod_auth_gssapi.spec
Normal file
114
apache2-mod_auth_gssapi.spec
Normal file
@@ -0,0 +1,114 @@
|
||||
#
|
||||
# spec file for package apache2-mod_auth_gssapi
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2004, 2005 NOVELL (All rights reserved)
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
# this is required to be underscore
|
||||
%define module_name mod_auth_gssapi
|
||||
%if ! %{?distro:1}0
|
||||
%if %{?suse_version:1}0
|
||||
%define distro suse
|
||||
%endif
|
||||
%if %{?fedora_version:1}0
|
||||
%define distro redhat
|
||||
%endif
|
||||
%endif
|
||||
%if ! %{?distro:1}0
|
||||
%define distro suse
|
||||
%endif
|
||||
%if %{distro} == "suse"
|
||||
BuildRequires: apache2-devel
|
||||
BuildRequires: apache-rpm-macros
|
||||
Requires: %{apache_mmn}
|
||||
Requires: %{apache_suse_maintenance_mmn}
|
||||
Requires: apache2
|
||||
# FIXME: use proper Requires(pre/post/preun/...)
|
||||
PreReq: apache2-prefork
|
||||
PreReq: apparmor-parser
|
||||
%else
|
||||
%if %{distro} == "redhat" || %{distro} == "rhel4"
|
||||
%define apxs %{_sbindir}/apxs
|
||||
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
|
||||
%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
|
||||
BuildRequires: httpd-devel
|
||||
# FIXME: use proper Requires(pre/post/preun/...)
|
||||
PreReq: httpd
|
||||
%endif
|
||||
%endif
|
||||
Name: apache2-mod_auth_gssapi
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
Summary: GSSAPI Module for Apache
|
||||
License: MIT
|
||||
Group: Applications/System
|
||||
Url: https://github.com/modauthgssapi/mod_auth_gssapi/releases/download/v1.5.0/mod_auth_gssapi-1.5.0.tar.gz
|
||||
Source0: %{module_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: krb5-devel
|
||||
|
||||
%description
|
||||
apache2-mod_apparmor adds support to apache2 to provide AppArmor confinement
|
||||
to individual cgi scripts handled by apache modules like mod_php and
|
||||
mod_perl.
|
||||
This package is part of a suite of tools that used to be named SubDomain.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q -n %{module_name}-%{version}
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags} APXS=%{apache_apxs}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} DISTRO=%{distro} MANDIR=%{_mandir}
|
||||
|
||||
%if %{distro} == "suse"
|
||||
mkdir -p %{buildroot}%{_libdir}/apache2-prefork/
|
||||
ln -s %{apache_libexecdir}/%{module_name}.so %{buildroot}%{_libdir}/apache2-prefork/%{module_name}.so
|
||||
%else
|
||||
%if %{distro} == "redhat" || %{distro} == "rhel4"
|
||||
mkdir -p %{buildroot}/%{apache_sysconfdir}.d/
|
||||
install -m 644 %{module_name}.conf %{buildroot}/%{apache_sysconfdir}.d/
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%check
|
||||
set +x
|
||||
%apache_test_module_load -m auth_gssapi
|
||||
set -x
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING README
|
||||
%{apache_libexecdir}
|
||||
%if %{distro} == "suse"
|
||||
%{_libdir}/apache2-prefork/%{module_name}.so
|
||||
%else
|
||||
%if %{distro} == "redhat" || %{distro} == "rhel4"
|
||||
%{apache_sysconfdir}.d/%{module_name}.conf
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%triggerpostun -- mod_change_hat mod-change-hat
|
||||
|
||||
%if %{distro} == "suse"
|
||||
%{_sbindir}/a2enmod auth_gssapi
|
||||
%endif
|
||||
|
||||
%changelog
|
3
mod_auth_gssapi-1.5.0.tar.gz
Normal file
3
mod_auth_gssapi-1.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99d2e1bdba964977c12a1b8ea195717f8b09ec799c61d4873905da3b1f5656ab
|
||||
size 444745
|
Reference in New Issue
Block a user