From c5dd3bcf3ef3f6de46e78588aa279b8b48f8ecfb Mon Sep 17 00:00:00 2001 From: Haikel Guemar Date: Jul 31 2019 13:29:17 +0000 Subject: Lack of time and build is broken on ppc64le --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 79073da..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/LogService-2.8.0.tar.gz diff --git a/0001-fix-FTBFS-with-Werror-format-security.patch b/0001-fix-FTBFS-with-Werror-format-security.patch deleted file mode 100644 index d5c5c23..0000000 --- a/0001-fix-FTBFS-with-Werror-format-security.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 04ec438941a11c162314c906af2f955166a64e8d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ha=C3=AFkel=20Gu=C3=A9mar?= -Date: Sun, 11 May 2014 15:05:53 +0200 -Subject: [PATCH] fix FTBFS with Werror=format-security - ---- - src/utils/ORBTools.cc | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/utils/ORBTools.cc b/src/utils/ORBTools.cc -index 762dd4c..4b4134d 100644 ---- a/src/utils/ORBTools.cc -+++ b/src/utils/ORBTools.cc -@@ -197,10 +197,10 @@ ORBTools::registerServant(const char* contextName, const char* contextKind, - context.length(1); - size_t sz1 = strlen(contextName) + 1; - context[0].id = new char[sz1]; -- snprintf(context[0].id, sz1, contextName); -+ strncpy(context[0].id, contextName, sz1); - size_t sz2 = strlen(contextKind) + 1; - context[0].kind = new char[sz2]; -- snprintf(context[0].kind, sz2, contextKind); -+ strncpy(context[0].kind, contextKind, sz2); - CosNaming::NamingContext_var testContext; - try { - testContext = rootContext->bind_new_context(context); -@@ -217,10 +217,10 @@ ORBTools::registerServant(const char* contextName, const char* contextKind, - object.length(1); - sz1 = strlen(name) + 1; - object[0].id = new char[sz1]; -- snprintf(object[0].id, sz1, name); -+ strncpy(object[0].id, name, sz1); - sz2 = strlen(kind) + 1; - object[0].kind = new char[sz2]; -- snprintf(object[0].kind, sz2, kind); -+ strncpy(object[0].kind, kind, sz2); - - try { - testContext->bind(object, objref); --- -1.9.0 - diff --git a/LogCentral.config b/LogCentral.config deleted file mode 100644 index 19cf8b3..0000000 --- a/LogCentral.config +++ /dev/null @@ -1,7 +0,0 @@ -# an empty configuration file for LogService -[General] - -[DynamicTagList] -[StaticTagList] -[UniqueTagList] -[VolatileTagList] diff --git a/LogCentral.service b/LogCentral.service deleted file mode 100644 index 2e99f8a..0000000 --- a/LogCentral.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=LogCentral Log Server for distributed applications -After=syslog.target -Requires=omniNames.service - -[Service] -Type=simple -ExecStart=/usr/bin/LogCentral -config /etc/sysconfig/LogCentral -User=LogCentral -Group=LogCentral - -[Install] -WantedBy=multi-user.target \ No newline at end of file diff --git a/LogService.spec b/LogService.spec deleted file mode 100644 index ffd99fd..0000000 --- a/LogService.spec +++ /dev/null @@ -1,180 +0,0 @@ -%global upstream_name LogCentral - -Name: LogService -Version: 2.8.0 -Release: 19%{?dist} -Summary: DIET middleware logging service - -License: CeCILL -URL: http://graal.ens-lyon.fr/DIET/diet-tools/logservice -Source0: %{name}-%{version}.tar.gz -Source1: %{upstream_name}.config -Source2: %{upstream_name}.service -Patch0: 0001-fix-FTBFS-with-Werror-format-security.patch - -BuildRequires: gcc -BuildRequires: gcc-c++ -BuildRequires: cmake >= 2.6.3 -BuildRequires: chrpath -BuildRequires: omniORB-devel >= 4.1.2 -BuildRequires: doxygen -BuildRequires: graphviz -BuildRequires: /usr/bin/rst2man -BuildRequires: systemd -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - - -%description -DIET grid middleware logging service - -%package devel -Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -This package contains development files for %{name}. - -%prep -%setup -q -%patch0 -p1 -b .werror -# disable timestamp in Doxygen page footers to avoid conflict between -# multiarch -devel packages (this flag defaults to NO in Fedora doxygen) -sed -i '/^HTML_TIMESTAMP/d' Cmake/Doxyfile.in - - -%build -%cmake -DLOGSERVICE_BUILD_DOXYGEN:BOOL=ON . -make %{?_smp_mflags} - - -%install -make install DESTDIR=%{buildroot} - -# move installed docs to include them via %%doc magic -rm -rf __tmp_doc ; mkdir __tmp_doc -mv %{buildroot}%{_docdir}/%{name}/html __tmp_doc - -mkdir -p %{buildroot}/lib/systemd/system/ -install -m 0644 %{SOURCE2} %{buildroot}/lib/systemd/system/ -# install service configuration file -install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/%{upstream_name} -chrpath --delete %{buildroot}%{_bindir}/* -chrpath --delete %{buildroot}%{_libdir}/* - - -%pre -getent group %{upstream_name} >/dev/null || groupadd -r %{upstream_name} -getent passwd %{upstream_name} >/dev/null || \ -useradd -r -g %{upstream_name} -d %{_sharedstatedir}/%{upstream_name} -s /sbin/nologin \ - -c "LogCentral Log Server for distributed applications" %{upstream_name} -exit 0 - - -%post -%systemd_post %{upstream_name}.service -/sbin/ldconfig - -%preun -%systemd_preun %{upstream_name}.service - -%postun -%systemd_postun %{upstream_name}.service -/sbin/ldconfig - - -%files -%doc README LICENCE_eng LICENCE_fr ChangeLog -/lib/systemd/system/%{upstream_name}.service -%config(noreplace) %{_sysconfdir}/sysconfig/%{upstream_name} -%{_bindir}/logForwarder -%{_bindir}/LogCentral -%{_bindir}/testComponent -%{_bindir}/DIETtestTool -%{_libdir}/libLogForwarderUtils.so.%{version} -%{_libdir}/libLogServiceToolBase.so.%{version} -%{_libdir}/libLogServiceComponentBase.so.%{version} -%{_mandir}/man1/* - -%files devel -%{_includedir}/*.hh -%{_libdir}/libLogForwarderUtils.so -%{_libdir}/libLogServiceToolBase.so -%{_libdir}/libLogServiceComponentBase.so -%doc __tmp_doc/html -%{_mandir}/man3/* - -%changelog -* Wed Jul 31 2019 Haïkel Guémar - 2.8.0-19 -- Fix FTBFS (RHBZ#1674579) - -* Wed Jul 24 2019 Fedora Release Engineering - 2.8.0-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 2.8.0-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Jul 12 2018 Fedora Release Engineering - 2.8.0-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 2.8.0-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering - 2.8.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 2.8.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 2.8.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 03 2016 Fedora Release Engineering - 2.8.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Jun 16 2015 Fedora Release Engineering - 2.8.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat May 02 2015 Kalev Lember - 2.8.0-9 -- Rebuilt for GCC 5 C++11 ABI change - -* Fri Aug 15 2014 Fedora Release Engineering - 2.8.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Jun 06 2014 Fedora Release Engineering - 2.8.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun May 11 2014 Haïkel Guémar - 2.8.0-6 -- Rebuilt against OmniORB 4.2 -- Use macroized systemd scriptlets -- Drop SysV initscript -- fix FTBFS with -Werror=format-security - -* Sun Dec 15 2013 Michael Schwendt - 2.8.0-5 -- Fix duplicate documentation (#1001301) by using only %%doc magic -- Add BR graphviz (for images in doxygen docs) -- Use sed to disable HTML_TIMESTAMP setting in Doxyfile.in -- Fix URL tags (pages have moved) -- Add ChangeLog to %%doc -- Remove empty %%doc lines -- Remove obsolete BuildRoot definition/cleaning -- Fix -devel package Group tag to "Development/Libraries" -- Add %%?_isa to -devel base package dep -- Remove %%defattr - -* Fri Aug 02 2013 Fedora Release Engineering - 2.8.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Feb 13 2013 Fedora Release Engineering - 2.8.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Jul 18 2012 Fedora Release Engineering - 2.8.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Mon Oct 31 2011 Haïkel Guémar - 2.8.0-1 -- upstream 2.8.0 - -* Wed May 11 2011 Haïkel Guémar - 2.7.0-1 -- first packaging - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..05a8243 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Lack of time and build is broken on ppc64le diff --git a/sources b/sources deleted file mode 100644 index d81f644..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -ee881dcd6d59b0a3411abfc19ed2f1e1 LogService-2.8.0.tar.gz