|
|
ca199d1 |
%global _hardened_build 1
|
|
|
3e9b2a5 |
%bcond_without selinux
|
|
|
9e78a22 |
|
|
|
d711b60 |
Name: icecream
|
|
|
f24d494 |
Version: 1.2
|
|
|
f24d494 |
Release: 1%{?dist}
|
|
|
d711b60 |
Summary: Distributed compiler
|
|
|
d711b60 |
License: GPLv2+
|
|
|
d711b60 |
URL: https://github.com/icecc/icecream
|
|
|
d18323f |
Source0: https://github.com/icecc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
d711b60 |
Source1: fedora-sysconfig.icecream
|
|
|
d711b60 |
Source2: icecream.module.in
|
|
|
d711b60 |
Source3: icecream.fc
|
|
|
d711b60 |
Source4: icecream.te
|
|
|
d711b60 |
Source5: icecream.if
|
|
|
d711b60 |
Source6: iceccd.service
|
|
|
d711b60 |
Source7: icecc-scheduler.service
|
|
|
d711b60 |
Source9: iceccd-wrapper
|
|
|
d711b60 |
Source10: icecc-scheduler-wrapper
|
|
|
d711b60 |
Source11: icecream-tmpfiles.conf
|
|
|
d711b60 |
Source12: icecream.xml
|
|
|
d711b60 |
Source13: icecream-scheduler.xml
|
|
|
d711b60 |
Patch1: 0001-Revert-chmod-chown-envs-dir-when-preparing-this.patch
|
|
|
d711b60 |
Patch2: 0002-daemon-main-do-not-create-run-icecc-by-ourselves.patch
|
|
|
3e9b2a5 |
Patch3: 0003-Ignore-the-suse-directory.patch
|
|
|
3e9b2a5 |
Patch4: 0004-do-not-use-usr-bin-env.patch
|
|
|
4c2a32f |
|
|
|
db1053d |
BuildRequires: gcc-c++
|
|
|
4c2a32f |
BuildRequires: systemd
|
|
|
4c2a32f |
BuildRequires: libcap-ng-devel
|
|
|
4c2a32f |
BuildRequires: lzo-devel
|
|
|
4c2a32f |
BuildRequires: docbook2X
|
|
|
4c2a32f |
BuildRequires: environment(modules)
|
|
|
1f72fef |
BuildRequires: firewalld-filesystem
|
|
|
d711b60 |
BuildRequires: autoconf automake libtool
|
|
|
4c2a32f |
|
|
|
d711b60 |
Requires: firewalld-filesystem
|
|
|
d711b60 |
Requires: environment(modules)
|
|
|
d711b60 |
Requires(pre): shadow-utils
|
|
|
d711b60 |
Requires(post): systemd
|
|
|
d711b60 |
Requires(preun): systemd
|
|
|
d711b60 |
Requires(postun): systemd
|
|
|
0ae50e1 |
Requires(post): findutils
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%if %{with selinux}
|
|
|
9e78a22 |
# For SELinux protection:
|
|
|
d711b60 |
BuildRequires: checkpolicy selinux-policy-devel hardlink
|
|
|
9e78a22 |
# semanage is in policycoreutils (EL-5) or policycoreutils-python (Fedora). File dep will work in both.
|
|
|
d711b60 |
Requires(post): policycoreutils /usr/sbin/semanage
|
|
|
d711b60 |
Requires(preun): policycoreutils /usr/sbin/semanage
|
|
|
d711b60 |
Requires(postun): policycoreutils
|
|
|
9e78a22 |
%define selinux_policyver %(sed -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp)
|
|
|
9e78a22 |
%if "%{selinux_policyver}" != ""
|
|
|
d711b60 |
Requires: selinux-policy >= %{selinux_policyver}
|
|
|
9e78a22 |
%endif
|
|
|
9e78a22 |
%define selinux_variants mls strict targeted
|
|
|
9e78a22 |
%endif
|
|
|
9e78a22 |
|
|
|
9e78a22 |
|
|
|
9e78a22 |
# description copied from Debian icecc package
|
|
|
9e78a22 |
%description
|
|
|
9e78a22 |
Icecream is a distributed compile system. It allows parallel compiling by
|
|
|
9e78a22 |
distributing the compile jobs to several nodes of a compile network running the
|
|
|
9e78a22 |
icecc daemon. The icecc scheduler routes the jobs and provides status and
|
|
|
9e78a22 |
statistics information to the icecc monitor. Each compile node can accept one
|
|
|
9e78a22 |
or more compile jobs depending on the number of processors and the settings of
|
|
|
9e78a22 |
the daemon. Link jobs and other jobs which cannot be distributed are executed
|
|
|
9e78a22 |
locally on the node where the compilation is started.
|
|
|
9e78a22 |
|
|
|
3e9b2a5 |
%package devel
|
|
|
3e9b2a5 |
Summary: Development files for %{name}
|
|
|
3e9b2a5 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
9e78a22 |
|
|
|
3e9b2a5 |
%description devel
|
|
|
9e78a22 |
This package contains development files for %{name}.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%prep
|
|
|
d18323f |
%autosetup -p1
|
|
|
fc00d50 |
|
|
|
9e78a22 |
mkdir SELinux
|
|
|
9e78a22 |
cp -p %{SOURCE3} %{SOURCE4} %{SOURCE5} SELinux
|
|
|
9e78a22 |
mkdir fedora
|
|
|
48d39d8 |
cp -p %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} %{SOURCE11} fedora
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%build
|
|
|
d711b60 |
./autogen.sh
|
|
|
d711b60 |
|
|
|
fc00d50 |
%configure \
|
|
|
fc00d50 |
--disable-static \
|
|
|
fc00d50 |
--enable-shared \
|
|
|
fc00d50 |
--enable-clang-rewrite-includes \
|
|
|
4c2a32f |
--enable-clang-wrappers
|
|
|
4c2a32f |
|
|
|
4c2a32f |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
4c2a32f |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
9e78a22 |
|
|
|
9e78a22 |
make %{?_smp_mflags}
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%if %{with selinux}
|
|
|
9e78a22 |
pushd SELinux
|
|
|
9e78a22 |
for selinuxvariant in %{selinux_variants}; do
|
|
|
9e78a22 |
make NAME=${selinuxvariant} -f %{_datadir}/selinux/devel/Makefile
|
|
|
9e78a22 |
mv icecream.pp icecream.pp.${selinuxvariant}
|
|
|
9e78a22 |
make NAME=${selinuxvariant} -f %{_datadir}/selinux/devel/Makefile clean
|
|
|
9e78a22 |
done
|
|
|
9e78a22 |
popd
|
|
|
9e78a22 |
%endif
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%install
|
|
|
9e78a22 |
make install DESTDIR=%{buildroot}
|
|
|
9e78a22 |
rm -f %{buildroot}/%{_libdir}/libicecc.la
|
|
|
9e78a22 |
|
|
|
9e78a22 |
# install config file and initscripts
|
|
|
9e78a22 |
install -d -m 755 %{buildroot}/%{_unitdir}
|
|
|
48d39d8 |
install -p -m 644 fedora/*.service %{buildroot}/%{_unitdir}
|
|
|
48d39d8 |
install -p -m 755 fedora/*-wrapper %{buildroot}/%{_libexecdir}/icecc
|
|
|
48d39d8 |
mkdir -p %{buildroot}%{_tmpfilesdir}
|
|
|
48d39d8 |
install -p -m 644 fedora/icecream-tmpfiles.conf %{buildroot}/%{_tmpfilesdir}/icecream.conf
|
|
|
9e78a22 |
install -d -m 755 %{buildroot}/%{_sysconfdir}/profile.d
|
|
|
9e78a22 |
|
|
|
fc00d50 |
install -m644 -p -D %{SOURCE12} %{buildroot}%{_prefix}/lib/firewalld/services/icecream.xml
|
|
|
fc00d50 |
install -m644 -p -D %{SOURCE13} %{buildroot}%{_prefix}/lib/firewalld/services/icecream-scheduler.xml
|
|
|
fc00d50 |
|
|
|
4c2a32f |
install -D -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/icecream
|
|
|
4c2a32f |
|
|
|
9e78a22 |
# create default working dir
|
|
|
9e78a22 |
mkdir -p %{buildroot}/%{_localstatedir}/cache/icecream
|
|
|
9e78a22 |
|
|
|
48d39d8 |
mkdir -p %{buildroot}/run/icecc/
|
|
|
48d39d8 |
|
|
|
4c2a32f |
# Make the environment-modules file
|
|
|
9e8efac |
mkdir -p %{buildroot}%{_modulesdir}/icecream
|
|
|
9e8efac |
sed 's#@LIBEXECDIR@#%{_libexecdir}#' < %{SOURCE2} > %{buildroot}%{_modulesdir}/icecream/icecc
|
|
|
4c2a32f |
|
|
|
9e78a22 |
%if %{with selinux}
|
|
|
9e78a22 |
for selinuxvariant in %{selinux_variants}; do
|
|
|
9e78a22 |
install -d %{buildroot}/%{_datadir}/selinux/${selinuxvariant}
|
|
|
9e78a22 |
install -p -m 644 -D SELinux/icecream.pp.${selinuxvariant} \
|
|
|
9e78a22 |
%{buildroot}/%{_datadir}/selinux/${selinuxvariant}/icecream.pp
|
|
|
9e78a22 |
done
|
|
|
9e78a22 |
# Hardlink identical policy module packages together
|
|
|
9e78a22 |
/usr/sbin/hardlink -cv %{buildroot}%{_datadir}/selinux
|
|
|
9e78a22 |
%endif
|
|
|
9e78a22 |
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%define saveFileContext() \
|
|
|
9e78a22 |
if [ -s /etc/selinux/config ]; then \
|
|
|
9e78a22 |
. %{_sysconfdir}/selinux/config; \
|
|
|
9e78a22 |
FILE_CONTEXT=%{_sysconfdir}/selinux/%1/contexts/files/file_contexts; \
|
|
|
9e78a22 |
if [ "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT} ]; then \
|
|
|
9e78a22 |
cp -f ${FILE_CONTEXT} ${FILE_CONTEXT}.%{name}; \
|
|
|
9e78a22 |
fi \
|
|
|
9e78a22 |
fi;
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%define relabel() \
|
|
|
9e78a22 |
. %{_sysconfdir}/selinux/config; \
|
|
|
9e78a22 |
FILE_CONTEXT=%{_sysconfdir}/selinux/%1/contexts/files/file_contexts; \
|
|
|
9e78a22 |
selinuxenabled; \
|
|
|
9e78a22 |
if [ $? == 0 -a "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT}.%{name} ]; then \
|
|
|
9e78a22 |
fixfiles -C ${FILE_CONTEXT}.%{name} restore; \
|
|
|
9e78a22 |
rm -f ${FILE_CONTEXT}.%name; \
|
|
|
9e78a22 |
fi;
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%pre
|
|
|
9e78a22 |
%if %{with selinux}
|
|
|
9e78a22 |
for selinuxvariant in %{selinux_variants}; do
|
|
|
9e78a22 |
%saveFileContext ${selinuxvariant}
|
|
|
9e78a22 |
done
|
|
|
9e78a22 |
%endif
|
|
|
9e78a22 |
|
|
Helio Chissini de Castro |
575176a |
getent group icecc >/dev/null || groupadd -r icecc
|
|
Helio Chissini de Castro |
575176a |
getent passwd icecc >/dev/null || \
|
|
Helio Chissini de Castro |
575176a |
useradd -r -g icecc -d %{_localstatedir}/cache/icecream \
|
|
Helio Chissini de Castro |
575176a |
-s /sbin/nologin -c "Icecream distributed compiler" icecc
|
|
|
9e78a22 |
exit 0
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%post
|
|
|
9e78a22 |
/sbin/ldconfig
|
|
|
9e78a22 |
%if %{with selinux}
|
|
|
9e78a22 |
for selinuxvariant in %{selinux_variants}; do
|
|
|
9e78a22 |
semodule -s ${selinuxvariant} -i \
|
|
|
48d39d8 |
%{_datadir}/selinux/${selinuxvariant}/icecream.pp 2>/dev/null
|
|
|
48d39d8 |
done
|
|
|
48d39d8 |
|
|
|
48d39d8 |
for selinuxvariant in %{selinux_variants}; do
|
|
|
1df4054 |
semanage port -a -S ${selinuxvariant} -t iceccd_port_t -p tcp 10245
|
|
|
1df4054 |
semanage port -a -S ${selinuxvariant} -t icecc_scheduler_port_t -p tcp 8766
|
|
|
1df4054 |
semanage port -a -S ${selinuxvariant} -t icecc_scheduler_port_t -p udp 8765
|
|
|
9e78a22 |
# tcp 8765 is taken by LIRC. icecream.te knows it.
|
|
|
1df4054 |
# semanage port -a -S ${selinuxvariant} -t icecc_scheduler_port_t -p tcp 8765
|
|
|
1df4054 |
done 2>/dev/null
|
|
|
48d39d8 |
|
|
|
48d39d8 |
for selinuxvariant in %{selinux_variants}; do
|
|
|
9e78a22 |
%relabel ${selinuxvariant}
|
|
|
9e78a22 |
done
|
|
|
48d39d8 |
|
|
|
c61b150 |
restorecon -R %{_localstatedir}/cache/icecream /run/icecc 2>/dev/null
|
|
|
9e78a22 |
%endif
|
|
|
9e78a22 |
|
|
|
1f72fef |
%firewalld_reload
|
|
|
ca199d1 |
%systemd_post iceccd.service icecc-scheduler.service
|
|
|
0ae50e1 |
|
|
|
0ae50e1 |
# Remove files owned by the user 'icecream' (used by older versions).
|
|
|
0ae50e1 |
find %{_localstatedir}/cache/icecream/ -user icecream -delete 2>/dev/null
|
|
|
9e78a22 |
exit 0
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%preun
|
|
|
ca199d1 |
%systemd_preun iceccd.service icecc-scheduler.service
|
|
|
9e78a22 |
%if %{with selinux}
|
|
|
ca199d1 |
if [ $1 -eq 0 ]; then # Final removal
|
|
|
9e78a22 |
for selinuxvariant in %{selinux_variants}; do
|
|
|
9e78a22 |
%saveFileContext ${selinuxvariant}
|
|
|
48d39d8 |
done
|
|
|
48d39d8 |
for selinuxvariant in %{selinux_variants}; do
|
|
|
1df4054 |
semanage port -d -S ${selinuxvariant} -t iceccd_port_t -p tcp 10245
|
|
|
1df4054 |
semanage port -d -S ${selinuxvariant} -t icecc_scheduler_port_t -p tcp 8766
|
|
|
1df4054 |
semanage port -d -S ${selinuxvariant} -t icecc_scheduler_port_t -p udp 8765
|
|
|
1df4054 |
done 2>/dev/null
|
|
|
9e78a22 |
fi
|
|
|
ca199d1 |
%endif
|
|
|
9e78a22 |
exit 0
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%postun
|
|
|
9e78a22 |
/sbin/ldconfig
|
|
|
ca199d1 |
%systemd_postun_with_restart iceccd.service icecc-scheduler.service
|
|
|
9e78a22 |
%if %{with selinux}
|
|
|
9e78a22 |
if [ $1 -eq 0 ]; then # Final removal
|
|
|
9e78a22 |
for selinuxvariant in %{selinux_variants}; do
|
|
|
48d39d8 |
semodule -s ${selinuxvariant} -r icecream 2>/dev/null
|
|
|
9e78a22 |
%relabel ${selinuxvariant}
|
|
|
9e78a22 |
done
|
|
|
9e78a22 |
fi
|
|
|
9e78a22 |
%endif
|
|
|
9e78a22 |
exit 0
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%files
|
|
|
6a59c53 |
%license COPYING
|
|
|
6a59c53 |
%doc README NEWS TODO
|
|
|
9e78a22 |
%{_bindir}/icecc
|
|
|
c61b150 |
%{_bindir}/icecc-create-env
|
|
|
f24d494 |
%{_bindir}/icecc-test-env
|
|
|
9e78a22 |
%{_bindir}/icerun
|
|
|
ca199d1 |
%{_libexecdir}/icecc/
|
|
|
9e78a22 |
%{_libdir}/libicecc.so.*
|
|
|
9e78a22 |
%{_sbindir}/iceccd
|
|
|
9e78a22 |
%{_sbindir}/icecc-scheduler
|
|
|
9e8efac |
%{_modulesdir}/icecream/
|
|
|
9e78a22 |
%config(noreplace) %{_sysconfdir}/sysconfig/icecream
|
|
|
9e78a22 |
%{_unitdir}/icecc*.service
|
|
Helio Chissini de Castro |
575176a |
%attr(0775, root, icecc) %{_localstatedir}/cache/icecream
|
|
Helio Chissini de Castro |
575176a |
%attr(0775, root, icecc) /run/icecc
|
|
|
9e78a22 |
%{_mandir}/man*/*
|
|
|
48d39d8 |
%{_tmpfilesdir}/icecream.conf
|
|
|
9e78a22 |
%{?with_selinux:%{_datadir}/selinux/*/icecream.pp}
|
|
|
fc00d50 |
%{_prefix}/lib/firewalld/services/icecream.xml
|
|
|
fc00d50 |
%{_prefix}/lib/firewalld/services/icecream-scheduler.xml
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%files devel
|
|
|
9e78a22 |
%dir %{_includedir}/icecc/
|
|
|
9e78a22 |
%{_includedir}/icecc/*.h
|
|
|
9e78a22 |
%{_libdir}/libicecc.so
|
|
|
9e78a22 |
%{_libdir}/pkgconfig/icecc.pc
|
|
|
9e78a22 |
|
|
|
9e78a22 |
%changelog
|
|
|
f24d494 |
* Fri Nov 09 2018 Michal Schmidt <mschmidt@redhat.com> - 1.2-1
|
|
|
f24d494 |
- Upstream release 1.2.
|
|
|
f24d494 |
- selinux: allow symlinks in foreign environment
|
|
|
f24d494 |
|
|
|
a0aced6 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-5
|
|
|
a0aced6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
a0aced6 |
|
|
|
db1053d |
* Mon Mar 05 2018 Michal Schmidt <mschmidt@redhat.com> - 1.1-4
|
|
|
db1053d |
- BuildRequire gcc-c++.
|
|
|
db1053d |
|
|
|
63d6f1b |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
|
|
|
63d6f1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
63d6f1b |
|
|
|
6efbe02 |
* Mon Aug 14 2017 Michal Schmidt <mschmidt@redhat.com> - 1.1-2
|
|
|
6efbe02 |
- selinux: allow scheduler to perform connection checks
|
|
|
6efbe02 |
|
|
|
d18323f |
* Wed Aug 09 2017 Michal Schmidt <mschmidt@redhat.com> - 1.1-1
|
|
|
d18323f |
- Upstream release 1.1.
|
|
|
d18323f |
|
|
|
f0c45dc |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-0.10.rc3.g22fcc39
|
|
|
f0c45dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
f0c45dc |
|
|
|
8d8e2cb |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-0.9.rc3.g22fcc39
|
|
|
8d8e2cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8d8e2cb |
|
|
|
f4aab35 |
* Fri Jul 21 2017 Michal Schmidt <mschmidt@redhat.com> - 1.1-0.8.rc3.g22fcc39
|
|
|
f4aab35 |
- Update to upstream rc3 plus latest commits.
|
|
|
f4aab35 |
|
|
|
de573ca |
* Mon Jul 03 2017 Michal Schmidt <mschmidt@redhat.com> - 1.1-0.7.rc2.g1c15f6b
|
|
|
de573ca |
- Current git snapshot.
|
|
|
de573ca |
|
|
|
f4e5e5b |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-0.6.rc2.ga79f70f
|
|
|
f4e5e5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
f4e5e5b |
|
|
|
1df4054 |
* Mon Nov 14 2016 Michal Schmidt <mschmidt@redhat.com> - 1.1-0.5.rc2.ga79f70f
|
|
|
1df4054 |
- In scriptlets split the semanage calls for robustness. (#1391871)
|
|
|
1df4054 |
|
|
|
3e9b2a5 |
* Fri Nov 11 2016 Michal Schmidt <mschmidt@redhat.com> - 1.1-0.4.rc2.ga79f70f
|
|
|
3e9b2a5 |
- Fix FTBFS on s390x. (#1393742)
|
|
|
3e9b2a5 |
- Do not use #!/usr/bin/env.
|
|
|
3e9b2a5 |
|
|
|
404ce3d |
* Fri Nov 04 2016 Michal Schmidt <mschmidt@redhat.com> - 1.1-0.3.rc2.ga79f70f
|
|
|
404ce3d |
- One more SELinux fix. (#1389570)
|
|
|
404ce3d |
|
|
|
2e1a017 |
* Fri Nov 04 2016 Michal Schmidt <mschmidt@redhat.com> - 1.1-0.2.rc2.ga79f70f
|
|
|
2e1a017 |
- Fix fallout from 'icecream'->'icecc' user name change.
|
|
|
2e1a017 |
- Drop Group tag.
|
|
|
2e1a017 |
|
|
|
ab14fb6 |
* Thu Nov 03 2016 Michal Schmidt <mschmidt@redhat.com> - 1.1-0.1.rc2.ga79f70f
|
|
|
ab14fb6 |
- Update to current git snapshot.
|
|
|
ab14fb6 |
- SELinux policy fixes. (#1389570, #1391871)
|
|
|
ab14fb6 |
- Drop PATH_MAX patch of no obvious benefit.
|
|
|
ab14fb6 |
- Prod firewalld in %%post.
|
|
|
ab14fb6 |
- Move environment module file from under /etc to /usr.
|
|
|
ab14fb6 |
- Do not ship /var/log/icecream.
|
|
|
ab14fb6 |
- spec file cleanups.
|
|
|
ab14fb6 |
|
|
Helio Chissini de Castro |
575176a |
* Wed Mar 16 2016 Helio Chissini de Castro <helio@kde.org> - 1.0.98-4
|
|
Helio Chissini de Castro |
575176a |
- Default user is icecc, not icecream
|
|
Helio Chissini de Castro |
575176a |
|
|
|
4c2a32f |
* Tue Mar 08 2016 Helio Chissini de Castro <helio@kde.org> - 1.0.98-3
|
|
|
4c2a32f |
- Re-apply config cleanup patch
|
|
|
4c2a32f |
- Remove libexec from configure since is already on macro
|
|
|
4c2a32f |
- Remove logrotate as not be a good idea
|
|
|
4c2a32f |
- Add github pull requests from Pino Toscano ( RedHat )
|
|
|
4c2a32f |
|
|
|
3714170 |
* Wed Mar 02 2016 Helio Chissini de Castro <helio@kde.org> - 1.0.98-2
|
|
|
3714170 |
- Add log entries and log dir
|
|
|
3714170 |
- Remove profile entries. We shouldn't be in the path, since tools rely on icecc binary
|
|
|
3714170 |
and this break the process since it relies on recursive call due to be in path.
|
|
|
3714170 |
|
|
|
3714170 |
* Thu Feb 25 2016 Helio Chissini de Castro <helio@kde.org> - 1.0.98-1
|
|
|
fc00d50 |
- Update for most recent version available by Suse
|
|
|
fc00d50 |
- Icecream is now in github
|
|
|
fc00d50 |
|
|
|
ab4cf1e |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-14.20140822git
|
|
|
ab4cf1e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
ab4cf1e |
|
|
|
25b5333 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-13.20140822git
|
|
|
25b5333 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
25b5333 |
|
|
|
fad9a0d |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.1-12.20140822git
|
|
|
fad9a0d |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
fad9a0d |
|
|
|
d7dd36b |
* Fri Dec 12 2014 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-11.20140822git
|
|
|
d7dd36b |
- selinux: allow icecc_scheduler_t to read /proc/meminfo
|
|
|
d7dd36b |
|
|
|
18c4d09 |
* Fri Dec 12 2014 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-10.20140822git
|
|
|
18c4d09 |
- selinux: fix daemons running as unconfined_service_t
|
|
|
18c4d09 |
- selinux: fix label of icecc-create-env
|
|
|
18c4d09 |
- Fixes: rhbz#1173477
|
|
|
18c4d09 |
|
|
|
577fbad |
* Thu Nov 27 2014 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-9.20140822git
|
|
|
577fbad |
- selinux: allow the scheduler to read state via netlink route sockets
|
|
|
577fbad |
- Fixes: rhbz#1162321
|
|
|
577fbad |
|
|
|
c61b150 |
* Fri Sep 05 2014 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-8.20140822git
|
|
|
c61b150 |
- Update to current upstream git.
|
|
|
c61b150 |
- Drops bundled minilzo, use system lzo library. (#1131794, CVE-2014-4607)
|
|
|
c61b150 |
- Fix build of manpages (use docbook2X).
|
|
|
c61b150 |
- Enable clang wrappers.
|
|
|
c61b150 |
- Remove no longer necessary restorecon /var/log/icecc.
|
|
|
c61b150 |
- Drop merged patches.
|
|
|
c61b150 |
|
|
|
5f70f14 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
|
|
|
5f70f14 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
5f70f14 |
|
|
|
d0c48d5 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-6
|
|
|
d0c48d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d0c48d5 |
|
|
|
147f2f1 |
* Mon Sep 02 2013 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-5
|
|
|
147f2f1 |
- Drop the permissions to log to the old files from the SELinux policy.
|
|
|
147f2f1 |
|
|
|
a031cc8 |
* Mon Sep 02 2013 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-4
|
|
|
a031cc8 |
- Fix dropping of capabilities.
|
|
|
a031cc8 |
- Log everything to journal/syslog, not the custom log files.
|
|
|
a031cc8 |
|
|
|
c785916 |
* Fri Aug 30 2013 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-3
|
|
|
c785916 |
- Disable building with librsync. The upstream code to use it is unfinished
|
|
|
c785916 |
and the only thing it does is leak memory.
|
|
|
c785916 |
|
|
|
48d39d8 |
* Fri Aug 30 2013 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-2
|
|
|
48d39d8 |
- Update the SELinux policy module and build it.
|
|
|
48d39d8 |
- Use tmpfiles.d to create /run/icecc instead of letting the daemon write to
|
|
|
48d39d8 |
var_run_t directly.
|
|
|
48d39d8 |
- Add a patch to stop icecc-create-env from reading /etc/passwd.
|
|
|
48d39d8 |
- Batch semenage calls in scriptlets.
|
|
|
48d39d8 |
|
|
|
ca199d1 |
* Mon Aug 26 2013 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-1
|
|
|
ca199d1 |
- Rebase to current upstream release. (#888183, #914087, #925572, #992557)
|
|
|
ca199d1 |
- Build with librsync and libcap-ng support.
|
|
|
ca199d1 |
- Build manpages from included DocBook sources.
|
|
|
ca199d1 |
- Disable the SELinux module, it's out of date.
|
|
|
ca199d1 |
- Enable PIE. (#955456)
|
|
|
ca199d1 |
- Modernize spec file. (#850154)
|
|
|
ca199d1 |
|
|
|
9e78a22 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-6
|
|
|
9e78a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-5
|
|
|
9e78a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-4
|
|
|
9e78a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-3
|
|
|
9e78a22 |
- Rebuilt for c++ ABI breakage
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue Feb 07 2012 Michal Schmidt <mschmidt@redhat.com> - 0.9.7-2
|
|
|
9e78a22 |
- systemd conversion
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Mon Feb 06 2012 Michal Schmidt <mschmidt@redhat.com> - 0.9.7-1
|
|
|
9e78a22 |
- Upstream release 0.9.7.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-5
|
|
|
9e78a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue May 03 2011 Michal Schmidt <mschmidt@redhat.com> - 0.9.6-4
|
|
|
9e78a22 |
- Add lto plugin for -fuse-linker-plugin (patch from dtardon)
|
|
|
9e78a22 |
- Fixes: BZ#675663
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-3
|
|
|
9e78a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Mon Aug 16 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.6-2
|
|
|
9e78a22 |
- Fix spaces instead of ':' separator for $PATH in icecream.csh.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue Aug 03 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.6-1
|
|
|
9e78a22 |
- New upstream release. With an official tarball this time.
|
|
|
9e78a22 |
- Dropped icecream-fix-createenv-when-ldconfig-fails.patch
|
|
|
9e78a22 |
It was never accepted upstream and it is not necessary with working ldconfig.
|
|
|
9e78a22 |
- Refreshed icecream-rename-scheduler.patch
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Jul 08 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-7
|
|
|
9e78a22 |
- Build without SELinux only on RHEL 5.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Jul 08 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-6
|
|
|
9e78a22 |
- Moved away from fedora-usermgmt in favor of plain shadow-utils.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Sun Jun 13 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-5
|
|
|
9e78a22 |
- Mark UDP port 8765 as icecc_scheduler_port_t.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Sat Jun 12 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-4
|
|
|
9e78a22 |
- Require /usr/sbin/semanage for scriptlets. (BZ#581272)
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Sat Jun 12 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-3
|
|
|
9e78a22 |
- Fix incorrect handling of SELinux in the scriptlets.
|
|
|
9e78a22 |
- Avoid recursive rpm invocation (fixfiles -R).
|
|
|
9e78a22 |
- Fixes: BZ#581272
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Mar 25 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-2
|
|
|
9e78a22 |
- SELinux policy fix (current selinux-policy assigns port 8765 to LIRC).
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Mar 25 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-1
|
|
|
9e78a22 |
- Upstream release 0.9.5.
|
|
|
9e78a22 |
- new command 'icerun': serialize possibly resource-intensive tasks
|
|
|
9e78a22 |
- minor bugfixes
|
|
|
9e78a22 |
- Refreshed icecream-rename-scheduler.patch.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Mon Oct 12 2009 Michal Schmidt <mschmidt@redhat.com> 0.9.4-5
|
|
|
9e78a22 |
- Fix failure to build native environment in SELinux enforcing mode.
|
|
|
9e78a22 |
- 'cvs rm ...' unused patches.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Mon Aug 17 2009 Michal Schmidt <mschmidt@redhat.com> 0.9.4-4
|
|
|
9e78a22 |
- SELinux policy: Allow untrusted binaries to getattr all filesystems.
|
|
|
9e78a22 |
(BSD process accounting does vfs_getattr() to check disk space.)
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Fri Aug 14 2009 Michal Schmidt <mschmidt@redhat.com> 0.9.4-3
|
|
|
9e78a22 |
- Create the logfile for the scheduler in the initscript.
|
|
|
9e78a22 |
- Allow the scheduler to write to the log in the SELinux policy (BZ#517251).
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-2
|
|
|
9e78a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Apr 30 2009 Michal Schmidt <mschmidt@redhat.com> - 0.9.4-1
|
|
|
9e78a22 |
- Upstream release 0.9.4.
|
|
|
9e78a22 |
- Dropped merged patches.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Mon Apr 06 2009 Michal Schmidt <mschmidt@redhat.com> - 0.9.3-6
|
|
|
9e78a22 |
- Fix wrong permissions on the cache dir preventing the jobs from being
|
|
|
9e78a22 |
distributed.
|
|
|
9e78a22 |
- SELinux policy update based on review comments on refpolicy ML.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Mon Mar 02 2009 Michal Schmidt <mschmidt@redhat.com> - 0.9.3-5
|
|
|
9e78a22 |
- Fix a fd leak from iceccd + avoid using system().
|
|
|
9e78a22 |
- Allows tighter SELinux policy.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-4
|
|
|
9e78a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Mon Feb 16 2009 Michal Schmidt <mschmidt@redhat.com> - 0.9.3-3
|
|
|
9e78a22 |
- Do not use --disable-rpath, icecream's configure script does not understand
|
|
|
9e78a22 |
it and warns about it. We still remove rpath using the sed tricks.
|
|
|
9e78a22 |
- One more SELinux policy tweak.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Mon Feb 16 2009 Michal Schmidt <mschmidt@redhat.com> - 0.9.3-2
|
|
|
9e78a22 |
- Updated and re-enabled the SELinux policy. The scheduler is now confined too.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Mon Feb 16 2009 Michal Schmidt <mschmidt@redhat.com> - 0.9.3-1
|
|
|
9e78a22 |
- new upstream release
|
|
|
9e78a22 |
- Dropped merged patches.
|
|
|
9e78a22 |
- Added an upstream patch to fix compilation with gcc 4.4.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Sat Feb 07 2009 Michal Schmidt <mschmidt@redhat.com> - 0.9.2-4
|
|
|
9e78a22 |
- one more fix for gcc 4.4.
|
|
|
9e78a22 |
- updated the scheduler renaming patch.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Sat Feb 07 2009 Michal Schmidt <mschmidt@redhat.com> - 0.9.2-3
|
|
|
9e78a22 |
- add an upstream patch to fix FTBFS with gcc 4.4
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Wed Jan 28 2009 Michal Schmidt <mschmidt@redhat.com> - 0.9.2-2
|
|
|
9e78a22 |
- Fix the create-env script not to crash on relative paths in ld.so.conf.
|
|
|
9e78a22 |
- No need to build the native environment as root anymore.
|
|
|
9e78a22 |
- Disable the SELinux policy for now, it needs more work.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Nov 13 2008 Michal Schmidt <mschmidt@redhat.com> - 0.9.2-1
|
|
|
9e78a22 |
- Update to upstream release 0.9.2.
|
|
|
9e78a22 |
- The license is GPLv2+.
|
|
|
9e78a22 |
- Add manpages from SUSE src package.
|
|
|
9e78a22 |
- Add patch to run icecc --build-native as root.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue Sep 2 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.8.0-12.20080117svn
|
|
|
9e78a22 |
- Include unowned icecc directories.
|
|
|
9e78a22 |
- Add defattr in devel pkg.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Mar 13 2008 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-11.20080117svn
|
|
|
9e78a22 |
- Minor SELinux policy fix.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Sun Feb 10 2008 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-10.20080117svn
|
|
|
9e78a22 |
- Compile fix (added missing #includes).
|
|
|
9e78a22 |
- Conditional building of SELinux policy and documentation.
|
|
|
9e78a22 |
- Fix build on RHEL5.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue Jan 29 2008 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-9.20080117svn
|
|
|
9e78a22 |
- SELinux policy fixes.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Jan 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-8.20080117svn
|
|
|
9e78a22 |
- Update to current icecream-make-it-cool branch.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue Jan 8 2008 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-7.20071101svn
|
|
|
9e78a22 |
- Build fix. meinproc is now in kdelibs3. BuildRequire that instead of kdelibs.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Nov 29 2007 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-6.20071101svn
|
|
|
9e78a22 |
- Rewritten the profile scripts to make icecream work together with ccache.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue Nov 27 2007 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-5.20071101svn
|
|
|
9e78a22 |
- SELinux: Allow iceccd to contact the scheduler via UDP.
|
|
|
9e78a22 |
- Don't add icecream to PATH in the profile scripts if ccache is installed
|
|
|
9e78a22 |
to avoid recursive invocations (bz #377761).
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue Nov 20 2007 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-4.20071101svn
|
|
|
9e78a22 |
- Add a SELinux policy for iceccd
|
|
|
9e78a22 |
- Initscripts as sources instead of patches in the .spec file
|
|
|
9e78a22 |
- Don't touch /var/log/iceccd in the initscript. Let iceccd create it.
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Mon Nov 12 2007 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-3.20071101svn
|
|
|
9e78a22 |
- Add icecc to $PATH using scripts in profile.d
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Tue Nov 6 2007 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-2.20071101svn
|
|
|
9e78a22 |
- Use the _datadir macro instead of hardcoded /usr/share
|
|
|
9e78a22 |
|
|
|
9e78a22 |
* Thu Nov 01 2007 Michal Schmidt <mschmidt@redhat.com> - 0.8.0-1.20071101svn
|
|
|
9e78a22 |
- Initial package for Fedora.
|