Sync from SUSE:SLFO:Main log4shib revision 890b0f10d681e62b6249cd9f265cba2c
This commit is contained in:
commit
e10f61379d
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
|
12
log4shib-1.0.9-doxygen_timestamp.patch
Normal file
12
log4shib-1.0.9-doxygen_timestamp.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: log4shib-1.0.9/doc/Doxyfile.in
|
||||
===================================================================
|
||||
--- log4shib-1.0.9.orig/doc/Doxyfile.in
|
||||
+++ log4shib-1.0.9/doc/Doxyfile.in
|
||||
@@ -15,6 +15,7 @@ OUTPUT_DIRECTORY = .
|
||||
HTML_OUTPUT = html/api
|
||||
HTML_HEADER =
|
||||
HTML_FOOTER =
|
||||
+HTML_TIMESTAMP = NO
|
||||
LATEX_OUTPUT = latex
|
||||
MAN_OUTPUT = man
|
||||
|
BIN
log4shib-2.0.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
log4shib-2.0.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
16
log4shib-2.0.1.tar.gz.asc
Normal file
16
log4shib-2.0.1.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE3KoVAHvtneaQzZUjN4uEVAIneWIFAmFu3xkACgkQN4uEVAIn
|
||||
eWILMg//V+F9zQEjzWZ02YMoMKDxHqZe9+cqUiA2Z2+B8Dtj0GoSys6RmR3kLMYs
|
||||
lhdx81ir/kKbmTmGId7QTnV9kRmDT4Jdu11ArtuNCzSUloSQMX3Boy5g/gAW4pfu
|
||||
xCBHBZUVoPPI2/5L7K3zf1ox3peuKBvND1xlKF1UW7NkV18zXwvX1q51FMY2SGOL
|
||||
sTwLp+RwbJiISiQZYmjTbDeJXDsA4YTSmr1FOQAICf0lU0ssJIm3E5r3+nRMt/SW
|
||||
xAK3L+vf+dQst6P4nh6V9sOqZMIZlEFGHqdzbR1aKSTGqXjG+YdEBQWbcP/At7du
|
||||
YhKA6swFhFcnhYzPLXGQsGkaToQ6yv0qwZC3ggTmXfrrvFtUSgiioOhUiVv6g9HR
|
||||
b6OoimL2yHO8BIZ5qVSOp4416qoKmE4qY2lSKnAxCwSXm+SysFKjDMmvkaf1BtQx
|
||||
B/XKGtM8REc1q0fG9Xz4aMvUuIqt3ZMWuvrvQilmQL7c4Q21Yb8cf40j6st0PBxa
|
||||
F6bnUTS7QJ/naYlLnOPJfe+a/frrHxVueW51gzV8pKt00TTUcJcplZvDQF3tTQKq
|
||||
4vpd5X+4NmatOcL/j+azJLA3f6qCRu3kMOIlAJ2ollWidpoCbpOX9Ic6ZObq4DkQ
|
||||
oLBl8znZFGaa6i3gYTFWq1mExsVf1XOARkSOmftNx/3YB1jZ9GQ=
|
||||
=Vm7n
|
||||
-----END PGP SIGNATURE-----
|
61
log4shib.changes
Normal file
61
log4shib.changes
Normal file
@ -0,0 +1,61 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 11:09:50 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||
%patchN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 22 10:50:20 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>
|
||||
|
||||
- Update to version 2.0.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 21 09:56:01 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>
|
||||
|
||||
- Fix build on GCC-11.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 3 11:22:14 UTC 2020 - Kristyna Streitova <kstreitova@suse.com>
|
||||
|
||||
- run spec-cleaner, especially to fix SUSE header
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 27 16:47:30 UTC 2018 - kstreitova@suse.com
|
||||
|
||||
- update to version 2.0.0
|
||||
- update library soname from 1 to 2
|
||||
- update package filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 14 22:46:14 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Rectify RPM groups.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 11 13:42:04 UTC 2017 - kstreitova@suse.com
|
||||
|
||||
- add missing "Requires: libboost_thread-devel" for
|
||||
liblog4shib-devel subpackage [bsc#1062791]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 18:00:37 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Add gpg signature
|
||||
- Do not build static libraries
|
||||
- Do not ship .la files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 27 16:18:53 UTC 2015 - kstreitova@suse.com
|
||||
|
||||
- use spec-cleaner
|
||||
- package cleaning
|
||||
- add log4shib-1.0.9-doxygen_timestamp.patch to remove timestamps
|
||||
in a documentation generated by Doxygen and avoid RPMLINT warnings
|
||||
(file-contains-date-and-time).
|
||||
- remove unused conditionals
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 24 14:56:33 UTC 2015 - kstreitova@suse.com
|
||||
|
||||
- initial revision
|
||||
|
100
log4shib.keyring
Normal file
100
log4shib.keyring
Normal file
@ -0,0 +1,100 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2
|
||||
|
||||
mQINBE56gwwBEADI6Y7tBIdYr8t0zfHU2hRbD7GfuanIkn4Fhf/CZ7ICN+SfA/XP
|
||||
JAx3HDRkM/nc65U2mKG7vG3zlNOcKgeFoCwqhlLc4sSGP6DDoPYKtZOLEHwA/sIy
|
||||
Lldw3re5KbCFIElnbBW/0av15IGHXgyylmG24jhlY/ufjLd53Qm4agxv51kdYdgH
|
||||
cI0djzLqvMWTabWhw8QtmitPZSKdqOwTqkIt6bYAdOvc9r5bvAzemw6IO01L9aX7
|
||||
/yFIVJAYySL/UpbEtLcl3B/qXUXwhiq2bAUtvdmV+35FSMrAgfD25bYv+dVoJdtX
|
||||
Gb4tQcPteSRDIQYswT+bilEtGOOu9vqLvko3hSHOK2Yqc8SufDakrOlCWO1R00Sw
|
||||
QHGSkPKgA5O3RpOz3qbuPN6sDt/7FgqyzB6VqF9445bTqWDfIihXEAFr97gf28Xg
|
||||
ngAn2Tp8ZZ6zTzYWv3/GGvCedCcrHrIG/nKf0Z0/1q9Uf8P7crv2udGuZjs3bMtY
|
||||
RQNKzki/wKRuGnZ7HjgOEDIe8E+QMs+568i5vYqdaNrmCxUodRFjwkZ/0aRuHzxo
|
||||
JNQaB/r2Ckj5X/yEX6f45D0hiwBmIFz2+VUnis7RAPelcUl1X/kT4p/3gvKSsFE0
|
||||
Ti7JWCY9e+ntnzcsb4ywisFen9tQQPP4G++qnhGyApz323LfDVPJkFWWJwARAQAB
|
||||
tB9TY290dCBDYW50b3IgPGNhbnRvci4yQG9zdS5lZHU+iEYEEBECAAYFAk6DTO8A
|
||||
CgkQ70D8KeoogrukNwCdGX5zZOsC44CjV2AopI8KoMFJto4AoMH+qA35GIBUkEt8
|
||||
IoRVFs1rp3TGiEYEEBEKAAYFAk6ApGIACgkQpXtW80eQXRUgxwCePIV9LehYh+Ji
|
||||
o8mtQ74I/NWvfDQAoLmXTfmKAganE+r/FcCcwykzj70ViQEcBBABAgAGBQJOfS4a
|
||||
AAoJEH8LUwap169VyrAH/1lrWiCJarm8eFLNlajcDt5TR5ZpanZVUbuzAp9Jk8Xt
|
||||
BkCMssnuzcqqSbGmq3P6CuaSTx0BybBOhRgC+UCb/DCS0TGomJYUTcG7e7MyJZC4
|
||||
ocarORGURABk1UK/fkgEBn+9o2jdDlf7bm7JHlZJ8huLjiAq5fapzp5WhTUAcreH
|
||||
jYieTS5umt01yxFatxhqiTbNXzs1c7Hc19rW4cTLREm6YQUNwTIxqJ2hHyDfU13e
|
||||
phowv1DpoAwLXdHAsNy/C8RKRlr0Qc4snihVkGevLNWatYK4HP6M0tEvGX9CpnTX
|
||||
pOsLZkfp96RMtE2TEvMEEA0HVoZPE7/kCyYR5DForeqJARwEEAECAAYFAlQtSU8A
|
||||
CgkQWcpz+XPnY1H5dQgA4p+myZvcKjMAfhgvQZtEeqeSloZIcyYF1NyWJp0WAUUK
|
||||
pZKdYYauaxPVd9l+iqz0dBlVotx5CHuymbqnj6JiX55kfKsbClWcDUs0wE6NGH3m
|
||||
evosr55/17u01yFGw2KhbevdpgO5i+rNAliFe5LkZ+50CEzWcO0Io2ZhXy+qYpcz
|
||||
Oy71ezwstgTJG2guH5BpbcIKku75dauPkD106wmSSswA+D95nXiJ5CFSdK3c4+Q2
|
||||
GDbXoIxJtKECb0c6tsjhU1TSPgc/XeeWqAaH/z4u8S5QlQCrMYH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A8WVc2sBwCtlfJTilyJ7LxVO+vfodb9RKTPx0PGbQBNbFaxmK64Sz4xjVUTZiHn9
|
||||
j329rTDv7yzQuCiO+CWSy7Ti789bRcUgPWv2bbg4UlTPn40OIfAUb/s1P39J3lID
|
||||
g4GstZcBjGNTa5o65tF3m0+s2mDbDAToGqzqv0fHE6iDDvctudFZoUbgJ/5DSqsA
|
||||
5Xe5VCRRvwR3S9t7OJS4eQdxDYWxgPGhoovNdzPePTbdIfkWBw+Wwokj0rsAUKfx
|
||||
7jXZtjYXfG6NJdEHqGQLYeW23kMmxIdoY1jjWOEJwdD0q8p7M2aum9Ncjn1sW/RU
|
||||
PPLu+U3rtjc6fhf4VWpvp6NVp7a8/6cgSTZL4eavYIOuXDCa44KsnGhWpPBOJNeZ
|
||||
WvCkgGNCUbzArnre3iDTnf6iJ1aMrXToN838IV2svifkAvEnMkhYfjUgDIFOMOrs
|
||||
fLhRULAR6zzyXiJiznT6rjlxlixsKazyy9dLC3qlwC4pCIpol0QKbQ==
|
||||
=96Mf
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
109
log4shib.spec
Normal file
109
log4shib.spec
Normal file
@ -0,0 +1,109 @@
|
||||
#
|
||||
# spec file for package log4shib
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define libvers 2
|
||||
%define pkgdocdir %{_docdir}/%{name}
|
||||
Name: log4shib
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
Summary: Log for C++, Shibboleth Edition
|
||||
License: LGPL-2.1-only
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://wiki.shibboleth.net/confluence/display/OpenSAML/log4shib
|
||||
Source0: http://shibboleth.net/downloads/log4shib/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: http://shibboleth.net/downloads/log4shib/%{version}/%{name}-%{version}.tar.gz.asc
|
||||
Source2: %{name}.keyring
|
||||
Patch0: log4shib-1.0.9-doxygen_timestamp.patch
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
Log for C++ is a library of classes for flexible logging to files, syslog,
|
||||
and other destinations. It is modeled after the Log for Java library and
|
||||
stays as close to its API as is reasonable.
|
||||
|
||||
%package -n liblog4shib%{libvers}
|
||||
Summary: Log for C++, Shibboleth Edition
|
||||
Group: System/Libraries
|
||||
Provides: log4shib = %{version}-%{release}
|
||||
Obsoletes: log4shib < %{version}-%{release}
|
||||
|
||||
%description -n liblog4shib%{libvers}
|
||||
Log for C++ is a library of classes for flexible logging to files, syslog,
|
||||
and other destinations. It is modeled after the Log for Java library and
|
||||
stays as close to its API as is reasonable.
|
||||
|
||||
This package contains just the shared library.
|
||||
|
||||
%package -n liblog4shib-devel
|
||||
Summary: Development tools for Log for C++
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libboost_thread-devel
|
||||
Requires: liblog4shib%{libvers} = %{version}-%{release}
|
||||
Provides: log4shib-devel = %{version}-%{release}
|
||||
Obsoletes: log4shib-devel < %{version}-%{release}
|
||||
|
||||
%description -n liblog4shib-devel
|
||||
The static libraries and header files needed for development with log4shib.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
# The default C++ standard used in GCC-11 is C++17,
|
||||
# which does not support log4shib codebase.
|
||||
export CXXFLAGS="-std=c++11 %{optflags}"
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-doxygen
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} apidir=%{buildroot}%{pkgdocdir}/api install
|
||||
# If we use %%doc down below to package the README files from the build tree,
|
||||
# it will blow away the package's docdir folder, and the installed API docs with it.
|
||||
# Instead, copy the README files manually into the platform's docdir.
|
||||
config/install-sh -d %{buildroot}%{pkgdocdir}
|
||||
config/install-sh -m 644 -c AUTHORS COPYING NEWS README THANKS ChangeLog %{buildroot}%{pkgdocdir}
|
||||
|
||||
# We don't want to ship these
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n liblog4shib%{libvers} -p /sbin/ldconfig
|
||||
|
||||
%post -n liblog4shib-devel
|
||||
if test "x$RPM_INSTALL_PREFIX0" != "x" ; then
|
||||
perl -pi -e"s|^prefix=\"[^\"]*\"|prefix=\"$RPM_INSTALL_PREFIX0\"|" $RPM_INSTALL_PREFIX0/bin/log4shib-config
|
||||
fi
|
||||
|
||||
%postun -n liblog4shib%{libvers} -p /sbin/ldconfig
|
||||
|
||||
%files -n liblog4shib%{libvers}
|
||||
%defattr(-,root,root,755)
|
||||
%{_libdir}/lib*.so.*
|
||||
|
||||
%files -n liblog4shib-devel
|
||||
%defattr(-,root,root,755)
|
||||
%{_includedir}/*
|
||||
%{_mandir}/man?/*
|
||||
%{_libdir}/*.so
|
||||
%attr(644,root,root) %{_libdir}/pkgconfig/log4shib.pc
|
||||
%doc %{pkgdocdir}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user