[cpp-linbuild] branch main updated: Add shibresolver component.

Scott Cantor cantor.2 at osu.edu
Fri Oct 29 15:59:54 UTC 2021


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository cpp-linbuild.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-linbuild.git;a=commit;h=4de504bbd7524de29c330fcbbc2c9db07d4e687f

The following commit(s) were added to refs/heads/main by this push:
     new 4de504b  Add shibresolver component.
4de504b is described below

commit 4de504bbd7524de29c330fcbbc2c9db07d4e687f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Oct 29 11:59:23 2021 -0400

    Add shibresolver component.
---
 Makefile                       |  12 +++-
 common/SPECS/shibresolver.spec | 144 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 154 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index b589148..3b87bef 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,8 @@ COMPONENTS=\
 	CURLOPENSSL \
 	XMLTOOLING \
 	OPENSAML \
-	SHIBBOLETH
+	SHIBBOLETH \
+	SHIBRESOLVER
 
 # Per-component variables
 
@@ -115,7 +116,14 @@ SHIBBOLETH_DISTFILE=$(SHIBBOLETH_DISTNAME)-$(SHIBBOLETH_VERSION).$(DEFAULT_DIST_
 SHIBBOLETH_URL=https://shibboleth.net/downloads/service-provider/$(SHIBBOLETH_VERSION)/$(SHIBBOLETH_DISTFILE)
 SHIBBOLETH_DEPENDS=LOG4SHIB XERCESC XMLSECURITYC XMLTOOLING OPENSAML
 SHIBBOLETH_DEPENDS_centos7=CURLOPENSSL
-
+SHIBBOLETH_DEPENDS_amazonlinux2=CURLOPENSSL
+
+SHIBRESOLVER_COMPNAME=shibresolver
+SHIBRESOLVER_DISTNAME=shibboleth-resolver
+SHIBRESOLVER_VERSION=3.2.0
+SHIBRESOLVER_DISTFILE=$(SHIBRESOLVER_DISTNAME)-$(SHIBRESOLVER_VERSION).$(DEFAULT_DIST_EXT)
+SHIBRESOLVER_URL=https://shibboleth.net/downloads/service-provider/extensions/$(SHIBRESOLVER_COMPNAME)/$(SHIBRESOLVER_VERSION)/$(SHIBRESOLVER_DISTFILE)
+SHIBRESOLVER_DEPENDS=LOG4SHIB XERCESC XMLSECURITYC XMLTOOLING OPENSAML SHIBBOLETH
 
 #
 # Platform-neutral variables and rules
diff --git a/common/SPECS/shibresolver.spec b/common/SPECS/shibresolver.spec
new file mode 100644
index 0000000..5cd023e
--- /dev/null
+++ b/common/SPECS/shibresolver.spec
@@ -0,0 +1,144 @@
+Name:		shibboleth-resolver
+Version:	3.2.0
+Summary:	Shibboleth SP Attribute Resolver Library
+Release:	1
+Vendor:		Shibboleth Consortium
+Group:		System Environment/Libraries
+License:	Apache-2.0
+URL:		https://www.shibboleth.net/
+Source0:	https://shibboleth.net/downloads/extensions/sp/%{name}-%{version}.tar.bz2
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildRequires:  libxerces-c-devel >= 3.2
+BuildRequires:  libxml-security-c-devel >= 2.0.0
+BuildRequires:  libxmltooling-devel >= 3.2.0
+BuildRequires:  libsaml-devel >= 3.2.0
+BuildRequires:  shibboleth-devel >= 3.2.0
+%{?_with_log4cpp:BuildRequires: liblog4cpp-devel >= 1.0}
+%{!?_with_log4cpp:BuildRequires: liblog4shib-devel >= 1.0.4}
+%{!?_without_gssapi:BuildRequires: krb5-devel}
+BuildRequires:  gcc-c++, pkgconfig
+%if "%{_vendor}" == "redhat"
+BuildRequires: redhat-rpm-config
+%endif
+
+%if "%{_vendor}" == "suse"
+%define pkgdocdir %{_docdir}/%{name}
+%else
+%define pkgdocdir %{_docdir}/%{name}-%{version}
+%endif
+
+%description
+This package contains a Shibboleth SP Extension that provides
+externally accessible attribute resolver functionality for processing
+local and remote sources of federated attribute information.
+
+%package -n libshibresolver4
+Summary:    Shibboleth SP Attribute Resolver library
+Group:      Development/Libraries
+Provides:   shibboleth-resolver = %{version}-%{release}
+Obsoletes:  shibboleth-resolver < %{version}-%{release}
+
+%description -n libshibresolver4
+This package contains a Shibboleth SP Extension that provides
+externally accessible attribute resolver functionality for processing
+local and remote sources of federated attribute information.
+
+This package contains just the shared library.
+
+%package -n libshibresolver-devel
+Summary:    Shibboleth SP Attribute Resolver development Headers
+Group:      Development/Libraries
+Requires:   libshibresolver4 = %{version}-%{release}
+Provides:   shibboleth-resolver-devel = %{version}-%{release}
+Obsoletes:  shibboleth-resolver-devel < %{version}-%{release}
+Requires: libxerces-c-devel >= 3.2
+Requires: libxml-security-c-devel >= 2.0.0
+Requires: libxmltooling-devel >= 3.2.0
+Requires: libsaml-devel >= 3.2.0
+Requires: shibboleth-devel >= 3.2.0
+%{?_with_log4cpp:Requires: liblog4cpp-devel >= 1.0}
+%{!?_with_log4cpp:Requires: liblog4shib-devel >= 1.0.4}
+
+%description -n libshibresolver-devel
+This package contains a Shibboleth SP Extension that provides
+externally accessible attribute resolver functionality for processing
+local and remote sources of federated attribute information.
+
+This package includes files needed for development.
+
+%prep
+%setup -q
+
+%build
+%if 0%{?suse_version} >= 1300
+    %configure --with-gssapi %{?shib_options} PKG_CONFIG_PATH=./pkgconfig-workarounds/opensuse13
+%else
+%if 0%{?suse_version} >= 1210
+    %configure --with-gssapi %{?shib_options}
+%else
+%if 0%{?rhel} >= 7
+    %configure --with-gssapi %{?shib_options} PKG_CONFIG_PATH=/opt/shibboleth/%{_lib}/pkgconfig
+%else
+%if 0%{?rhel} >= 6
+    %configure --with-gssapi %{?shib_options} PKG_CONFIG_PATH=/opt/shibboleth/%{_lib}/pkgconfig:./pkgconfig-workarounds/rh6
+%else
+%if 0%{?rhel} >= 5
+    %configure --with-gssapi %{?shib_options} PKG_CONFIG_PATH=./pkgconfig-workarounds/rh5
+%else
+    %configure --with-gssapi %{?shib_options}
+%endif
+%endif
+%endif
+%endif
+%endif
+%{__make} pkgdocdir=%{pkgdocdir}
+
+%install
+[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT pkgdocdir=%{pkgdocdir}
+
+%check
+%{__make} check
+
+%clean
+[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
+
+%post -n libshibresolver4 -p /sbin/ldconfig
+
+%postun -n libshibresolver4 -p /sbin/ldconfig
+
+%files -n libshibresolver4
+%defattr(-,root,root,-)
+%{_libdir}/libshibresolver-lite.so.*
+%{_libdir}/libshibresolver.so.*
+%exclude %{_libdir}/*.la
+
+%files -n libshibresolver-devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/shibresolver.pc
+%{_libdir}/pkgconfig/shibresolver-lite.pc
+%doc %{pkgdocdir}
+
+%changelog
+* Mon Dec 7 2020  Scott Cantor  <cantor.2 at osu.edu> - 3.2.0-1
+- Bump version
+
+* Thu Apr 2 2020  Scott Cantor  <cantor.2 at osu.edu> - 3.1.0-1
+- Bump version
+
+* Mon Sep 30 2019  Scott Cantor  <cantor.2 at osu.edu>  - 3.0.0-2
+- CentOS 8 changes
+
+* Fri Jul 20 2018  Scott Cantor  <cantor.2 at osu.edu>  - 3.0.0-1
+- Redo package for SP 3 release
+
+* Wed Jan 25 2017  Scott Cantor  <cantor.2 at osu.edu>  - 1.0.0-2
+- Apply fixes to make this available via official package sets
+
+* Wed Aug 27 2014  Scott Cantor  <cantor.2 at osu.edu>  - 1.0-1
+- Update specfile for release, with RH7 changes
+
+* Tue Sep 14 2010  Scott Cantor  <cantor.2 at osu.edu>  - 0.1-1
+- Initial specfile

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list