]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
icecream: Remove package
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Aug 2015 14:50:07 +0000 (15:50 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Aug 2015 14:50:07 +0000 (15:50 +0100)
This has not been used in a long time and it is very
unlikely that we will need this functionality at some
other point in the near future.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
icecream/icecream.nm [deleted file]
icecream/icecream.sh [deleted file]
icecream/systemd/icecc-scheduler.service [deleted file]
icecream/systemd/iceccd.service [deleted file]

diff --git a/icecream/icecream.nm b/icecream/icecream.nm
deleted file mode 100644 (file)
index 7a5b4ff..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = icecream
-version    = 1.0.0
-release    = 1
-
-maintainer = Michael Tremer <michael.tremer@ipfire.org>
-groups     = Development/Compilers
-url        = http://en.opensuse.org/Icecream
-license    = GPLv2+
-summary    = Distributed compiler.
-
-description
-       Icecream is a distributed compile system. It allows parallel compiling by
-       distributing the compile jobs to several nodes of a compile network running the
-       icecc daemon. The icecc scheduler routes the jobs and provides status and
-       statistics information to the icecc monitor. Each compile node can accept one
-       or more compile jobs depending on the number of processors and the settings of
-       the daemon. Link jobs and other jobs which cannot be distributed are executed
-       locally on the node where the compilation is started.
-end
-
-source_dl  = ftp://ftp.suse.com/pub/projects/icecream/
-sources    = icecc-%{version}.tar.bz2
-
-build
-       requires
-               gcc-c++
-       end
-
-       DIR_APP = %{DIR_SRC}/icecc-%{version}
-
-       configure_options += \
-               --disable-static \
-               --enable-shared
-
-       install_cmds
-               mkdir -pv %{BUILDROOT}%{libdir}/icecc/bin
-               for i in gcc g++ cc c++; do
-                       ln -svf ../../../bin/icecc %{BUILDROOT}%{prefix}/lib/icecc/bin/${i}
-                       ln -svf ../../../bin/icecc %{BUILDROOT}%{prefix}/lib/icecc/bin/%{DISTRO_BUILDTARGET}-${i}
-               done
-               ln -svf icecc %{BUILDROOT}%{bindir}/icerun
-               sed -e 's|^#!.*|#!/bin/bash|' -i %{BUILDROOT}%{prefix}/lib/icecc/icecc-create-env
-
-               mkdir -pv %{BUILDROOT}/etc/profile.d
-               sed -e "s|@LIBDIR@|%{prefix}/lib|g" \
-                       < %{DIR_SOURCE}/icecream.sh > %{BUILDROOT}/etc/profile.d/icecream.sh
-
-               # create default working dir
-               mkdir -pv %{BUILDROOT}/var/cache/icecream
-
-               # Remove unwanted symlinks.
-               rm -rvf %{BUILDROOT}/usr/bin/c++
-               rm -rvf %{BUILDROOT}/usr/bin/cc
-               rm -rvf %{BUILDROOT}/usr/bin/g++
-               rm -rvf %{BUILDROOT}/usr/bin/gcc
-
-               # Create Logfiles.
-               mkdir -pv %{BUILDROOT}/var/log
-               touch %{BUILDROOT}/var/log/icecc{d,-scheduler}.log
-       end
-end
-
-packages
-       package %{name}
-               requires
-                       gcc-c++
-                       /usr/bin/ldd
-               end
-
-               prerequires += systemd-units
-
-               script postin
-                       /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-               end
-
-               script preun
-                       /bin/systemctl --no-reload disable iceccd.service \
-                               icecc-scheduler.service >/dev/null 2>&1 || :
-                       /bin/systemctl stop iceccd.service \
-                               icecc-scheduler.service >/dev/null 2>&1 || :
-               end
-
-               script postun
-                       /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-               end
-
-               script postup
-                       /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-                       /bin/systemctl try-restart iceccd.service \
-                               icecc-scheduler.service >/dev/null 2>&1 || :
-               end
-       end
-
-       package %{name}-devel
-               template DEVEL
-       end
-
-       package %{name}-debuginfo
-               template DEBUGINFO
-       end
-end
diff --git a/icecream/icecream.sh b/icecream/icecream.sh
deleted file mode 100644 (file)
index e8ab803..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# Leaves PATH unchanged if icecc is already there.
-# If ccache is there, adds icecc _after_ it.
-# Otherwise adds icecc to the beginning.
-
-PATH=`echo $PATH | /bin/sed -e \
-       '\%@LIBDIR@/icecc/bin% b
-       s%@LIBDIR@/ccache%&:@LIBDIR@/icecc/bin%
-       t
-       s%^%@LIBDIR@/icecc/bin:%'`
-
diff --git a/icecream/systemd/icecc-scheduler.service b/icecream/systemd/icecc-scheduler.service
deleted file mode 100644 (file)
index 38a1402..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Icecream job scheduler
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/icecc-scheduler -vvv -d -p 8765 -l /var/log/icecc-scheduler.log
-
-[Install]
-WantedBy=multi-user.target
diff --git a/icecream/systemd/iceccd.service b/icecream/systemd/iceccd.service
deleted file mode 100644 (file)
index aab8d30..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Icecream daemon
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/iceccd -vvv -d -s localhost -m 2 -l /var/log/iceccd.log
-
-[Install]
-WantedBy=multi-user.target