[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2023-09-18 Thread WANG Xuerui
commit: 0c9790ea1a2c1425c7b7d614e9017e9ed8d25dab
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu Sep 14 08:08:56 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Mon Sep 18 09:54:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c9790ea

sys-devel/icecream: keyword 1.4 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-devel/icecream/icecream-1.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/icecream/icecream-1.4.ebuild 
b/sys-devel/icecream/icecream-1.4.ebuild
index 8b29c30afdb4..487a71efceb4 100644
--- a/sys-devel/icecream/icecream-1.4.ebuild
+++ b/sys-devel/icecream/icecream-1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/icecc/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~hppa ~loong ~ppc ~sparc ~x86"
 
 DEPEND="app-arch/libarchive:=
app-arch/zstd:=



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2022-10-13 Thread Sam James
commit: f50d0eb1ba49cd626ed4f6736d53f51cd8f9cff6
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 14 00:28:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 14 01:26:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f50d0eb1

sys-devel/icecream: drop 1.3.1

Signed-off-by: Sam James  gentoo.org>

 sys-devel/icecream/Manifest  |  1 -
 sys-devel/icecream/icecream-1.3.1.ebuild | 79 
 2 files changed, 80 deletions(-)

diff --git a/sys-devel/icecream/Manifest b/sys-devel/icecream/Manifest
index 7641b4101f3a..715a372facd9 100644
--- a/sys-devel/icecream/Manifest
+++ b/sys-devel/icecream/Manifest
@@ -1,2 +1 @@
-DIST icecream-1.3.1.tar.gz 224068 BLAKE2B 
d7d66dadf27b0b88ab706bf217ce2b0d33b5db2ed95e48c4e9dcbd000931688ad6809ecbd4e14f0f3889bcebddc8543bd364c9dda09ba71e5dc04d0a5a2122d5
 SHA512 
d850394b4093defcf2c50bb3f9306348a45bf17d21f4730baeee7125998c2a548b7b3a7597785855d7e388e84830769bf0ec1c4136330a4c8e359cbdd111f5da
 DIST icecream-1.4.tar.gz 232707 BLAKE2B 
5fdebea4d0eba4a99e8c7c01acab46ec323a887d3fe9944da23ae7089403a9ebf7bf9870ca61af49578af6adf49679341f7070f9e3da3e8c7c2f50d9d4e7c3fe
 SHA512 
b77dd630c51b7b6b4d7fa06cd14a580891b974fe2d50074f7a3b129adc558fc7ce19b3a3716a6798c2fd0f7d0d3a1bc295bbedee3ed6dafa015f309c7c2590f5

diff --git a/sys-devel/icecream/icecream-1.3.1.ebuild 
b/sys-devel/icecream/icecream-1.3.1.ebuild
deleted file mode 100644
index 72ab4fad07b2..
--- a/sys-devel/icecream/icecream-1.3.1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-AT_NOELIBTOOLIZE="yes"
-inherit autotools systemd tmpfiles
-
-DESCRIPTION="Distributed compiler with a central scheduler to share build load"
-HOMEPAGE="https://github.com/icecc/icecream;
-SRC_URI="https://github.com/icecc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
-
-DEPEND="app-arch/libarchive:=
-   app-arch/zstd:=
-   acct-user/icecream
-   acct-group/icecream
-   dev-libs/lzo:2
-   sys-libs/libcap-ng"
-RDEPEND="${DEPEND}
-   dev-util/shadowman"
-BDEPEND="app-text/docbook2X"
-
-src_prepare() {
-   default
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --enable-clang-rewrite-includes \
-   --enable-clang-wrappers
-}
-
-src_install() {
-   default
-
-   find "${ED}" -name '*.la' -delete || die
-
-   systemd_dounit "${FILESDIR}"/iceccd.service
-   systemd_dounit "${FILESDIR}"/icecc-scheduler.service
-
-   newconfd suse/sysconfig.icecream icecream
-   newinitd "${FILESDIR}"/icecream.openrc icecream
-
-   keepdir /var/log/icecream
-   fowners icecream:icecream /var/log/icecream
-   fperms 0750 /var/log/icecream
-
-   newtmpfiles "${FILESDIR}"/icecream-tmpfiles.conf icecream.conf
-
-   insinto /etc/logrotate.d
-   newins suse/logrotate icecream
-
-   insinto /etc/firewalld/services
-   doins suse/iceccd.xml
-   doins suse/icecc-scheduler.xml
-
-   insinto /usr/share/shadowman/tools
-   newins - icecc <<<"${EPREFIX}"/usr/libexec/icecc/bin
-}
-
-pkg_prerm() {
-   if [[ -z ${REPLACED_BY_VERSION} && -z ${ROOT} ]]; then
-   eselect compiler-shadow remove icecc
-   fi
-}
-
-pkg_postinst() {
-   tmpfiles_process icecream.conf
-
-   if [[ -z ${ROOT} ]]; then
-   eselect compiler-shadow update icecc
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/files/

2022-03-27 Thread Conrad Kostecki
commit: 7b2cb158ffe6906b5951a886260801a8d0976318
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Mar 13 10:08:39 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Mar 27 22:07:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b2cb158

sys-devel/icecream: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/24533
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../icecream/files/icecream-1.0.0-libcap-ng.patch  |  8 
 sys-devel/icecream/files/icecream-r2   | 44 --
 2 files changed, 52 deletions(-)

diff --git a/sys-devel/icecream/files/icecream-1.0.0-libcap-ng.patch 
b/sys-devel/icecream/files/icecream-1.0.0-libcap-ng.patch
deleted file mode 100644
index 3dc0e3713b0a..
--- a/sys-devel/icecream/files/icecream-1.0.0-libcap-ng.patch
+++ /dev/null
@@ -1,8 +0,0 @@
 a/services/icecc.pc.in
-+++ b/services/icecc.pc.in
-@@ -11,4 +11,5 @@ Version: @VERSION@
- Requires:
- Conflicts:
- Libs: -L${libdir} -licecc
-+Libs.private: @CAPNG_LDADD@
- Cflags: -I${includedir}

diff --git a/sys-devel/icecream/files/icecream-r2 
b/sys-devel/icecream/files/icecream-r2
deleted file mode 100644
index 21cfddeda8c3..
--- a/sys-devel/icecream/files/icecream-r2
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-need net
-}
-
-start() {
-   local basedir=${ICECREAM_BASEDIR:-"/var/cache/icecream"}
-   local netname=${ICECREAM_NETNAME:+"-n ${ICECREAM_NETNAME}"}
-   local logfile=${ICECREAM_LOG_FILE:+"-l ${ICECREAM_LOG_FILE}"}
-   local nice=${ICECREAM_NICE_LEVEL:+"--nice ${ICECREAM_NICE_LEVEL}"}
-   local scheduler=${ICECREAM_SCHEDULER_HOST:+"-s 
${ICECREAM_SCHEDULER_HOST}"}
-   local maxjobs=${ICECREAM_MAX_JOBS:+"-m ${ICECREAM_MAX_JOBS}"}
-   local verbosity=${ICECREAM_VERBOSITY:-"-v"}
-
-   [[ ! -d /var/log/icecream/ ]] && mkdir -p /var/log/icecream/ && chown 
icecream:icecream /var/log/icecream/
-   if [[ "${ICECREAM_RUN_SCHEDULER}" == "yes" ]]; then
-   local 
slogfile=${ICECREAM_SCHEDULER_LOG_FILE:-"/var/log/icecc_scheduler"}
-   touch ${slogfile} && chown icecream:icecream ${slogfile}
-   slogfile=${slogfile:+"-l ${slogfile}"}
-   ebegin "Starting Distributed Compiler Scheduler"
-   start-stop-daemon -u icecream --start --quiet --exec 
/usr/sbin/icecc-scheduler -- -d ${slogfile} ${netname} ${verbosity}
-   eend ${?}
-   fi
-
-   [[ ! -d ${basedir} ]] && mkdir -p ${basedir} && chown icecream:icecream 
${basedir}
-   ebegin "Starting Distributed Compiler Daemon"
-   start-stop-daemon --start --quiet --exec /usr/sbin/iceccd -- -d 
${logfile} ${nice} ${scheduler} ${netname} -u icecream -b "${basedir}" 
${maxjobs} ${verbosity}
-   eend ${?}
-}
-
-stop() {
-   ebegin "Stopping Distributed Compiler Daemon"
-   start-stop-daemon --stop --quiet --name iceccd
-   eend ${?}
-
-   if [[ "${ICECREAM_RUN_SCHEDULER}" == "yes" ]]; then
-   ebegin "Stopping Distributed Compiler Scheduler"
-   start-stop-daemon --stop --quiet --name icecc-scheduler
-   eend ${?}
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2022-03-11 Thread Sam James
commit: 87556f241ec6b6b8154afdd7ac88643226b69751
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 12 00:03:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 12 00:03:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87556f24

sys-devel/icecream: drop 1.0.0-r3

Closes: https://bugs.gentoo.org/602492
Signed-off-by: Sam James  gentoo.org>

 sys-devel/icecream/Manifest |  1 -
 sys-devel/icecream/icecream-1.0.0-r3.ebuild | 62 -
 2 files changed, 63 deletions(-)

diff --git a/sys-devel/icecream/Manifest b/sys-devel/icecream/Manifest
index 1b0adc19c2ea..42b3865eabe0 100644
--- a/sys-devel/icecream/Manifest
+++ b/sys-devel/icecream/Manifest
@@ -1,2 +1 @@
-DIST icecc-1.0.0.tar.bz2 485534 BLAKE2B 
31a978a4a461f20716a95277426e79d4c298c212d36361dbbd68c5affcbbbe2f0c71f743cc7b731d86fbb5f09ab556182482f56e1382be8572d019f80a004fc8
 SHA512 
4292ecef6232112c3f4531cb2290a55f70c5c24095fef0865af2526d49fc10a043ffb06d22552e161f671c18ff1ab62795c3a63e2c8cb26f869cf65d0938af2a
 DIST icecream-1.3.1.tar.gz 224068 BLAKE2B 
d7d66dadf27b0b88ab706bf217ce2b0d33b5db2ed95e48c4e9dcbd000931688ad6809ecbd4e14f0f3889bcebddc8543bd364c9dda09ba71e5dc04d0a5a2122d5
 SHA512 
d850394b4093defcf2c50bb3f9306348a45bf17d21f4730baeee7125998c2a548b7b3a7597785855d7e388e84830769bf0ec1c4136330a4c8e359cbdd111f5da

diff --git a/sys-devel/icecream/icecream-1.0.0-r3.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r3.ebuild
deleted file mode 100644
index 53e06f4ae2be..
--- a/sys-devel/icecream/icecream-1.0.0-r3.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_P="${P/icecream/icecc}"
-
-DESCRIPTION="Distributed compiling of C(++) code across several machines; 
based on distcc"
-HOMEPAGE="https://github.com/icecc/icecream;
-SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
-
-DEPEND="sys-libs/libcap-ng"
-RDEPEND="
-   ${DEPEND}
-   acct-group/icecream
-   acct-user/icecream
-   dev-util/shadowman
-"
-
-PATCHES=( "${FILESDIR}/${P}-libcap-ng.patch" )
-
-src_configure() {
-   local myeconfargs=(
-   --enable-shared --disable-static
-   --enable-clang-wrappers
-   --enable-clang-rewrite-includes
-   )
-
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-
-   newconfd suse/sysconfig.icecream icecream
-   newinitd "${FILESDIR}"/icecream-r2 icecream
-
-   insinto /etc/logrotate.d
-   newins suse/logrotate icecream
-
-   insinto /usr/share/shadowman/tools
-   newins - icecc <<<'/usr/libexec/icecc/bin'
-
-   find "${D}" -name '*.la' -delete || die
-}
-
-pkg_prerm() {
-   if [[ -z ${REPLACED_BY_VERSION} && ${ROOT} == / ]]; then
-   eselect compiler-shadow remove icecc
-   fi
-}
-
-pkg_postinst() {
-   if [[ ${ROOT} == / ]]; then
-   eselect compiler-shadow update icecc
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2022-03-11 Thread Sam James
commit: 9f386cb76f9339f7b62ab5eb525b342944fbf1b8
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 12 00:05:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 12 00:05:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f386cb7

sys-devel/icecream: add 1.4

Signed-off-by: Sam James  gentoo.org>

 sys-devel/icecream/Manifest|  1 +
 sys-devel/icecream/icecream-1.4.ebuild | 80 ++
 2 files changed, 81 insertions(+)

diff --git a/sys-devel/icecream/Manifest b/sys-devel/icecream/Manifest
index 42b3865eabe0..7641b4101f3a 100644
--- a/sys-devel/icecream/Manifest
+++ b/sys-devel/icecream/Manifest
@@ -1 +1,2 @@
 DIST icecream-1.3.1.tar.gz 224068 BLAKE2B 
d7d66dadf27b0b88ab706bf217ce2b0d33b5db2ed95e48c4e9dcbd000931688ad6809ecbd4e14f0f3889bcebddc8543bd364c9dda09ba71e5dc04d0a5a2122d5
 SHA512 
d850394b4093defcf2c50bb3f9306348a45bf17d21f4730baeee7125998c2a548b7b3a7597785855d7e388e84830769bf0ec1c4136330a4c8e359cbdd111f5da
+DIST icecream-1.4.tar.gz 232707 BLAKE2B 
5fdebea4d0eba4a99e8c7c01acab46ec323a887d3fe9944da23ae7089403a9ebf7bf9870ca61af49578af6adf49679341f7070f9e3da3e8c7c2f50d9d4e7c3fe
 SHA512 
b77dd630c51b7b6b4d7fa06cd14a580891b974fe2d50074f7a3b129adc558fc7ce19b3a3716a6798c2fd0f7d0d3a1bc295bbedee3ed6dafa015f309c7c2590f5

diff --git a/sys-devel/icecream/icecream-1.4.ebuild 
b/sys-devel/icecream/icecream-1.4.ebuild
new file mode 100644
index ..8b29c30afdb4
--- /dev/null
+++ b/sys-devel/icecream/icecream-1.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+AT_NOELIBTOOLIZE="yes"
+inherit autotools systemd tmpfiles
+
+DESCRIPTION="Distributed compiler with a central scheduler to share build load"
+HOMEPAGE="https://github.com/icecc/icecream;
+SRC_URI="https://github.com/icecc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+
+DEPEND="app-arch/libarchive:=
+   app-arch/zstd:=
+   acct-user/icecream
+   acct-group/icecream
+   dev-libs/lzo:2
+   sys-libs/libcap-ng"
+RDEPEND="${DEPEND}
+   dev-util/shadowman"
+BDEPEND="app-text/docbook2X
+   virtual/pkgconfig"
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --enable-clang-rewrite-includes \
+   --enable-clang-wrappers
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -delete || die
+
+   systemd_dounit "${FILESDIR}"/iceccd.service
+   systemd_dounit "${FILESDIR}"/icecc-scheduler.service
+
+   newconfd suse/sysconfig.icecream icecream
+   newinitd "${FILESDIR}"/icecream.openrc icecream
+
+   keepdir /var/log/icecream
+   fowners icecream:icecream /var/log/icecream
+   fperms 0750 /var/log/icecream
+
+   newtmpfiles "${FILESDIR}"/icecream-tmpfiles.conf icecream.conf
+
+   insinto /etc/logrotate.d
+   newins suse/logrotate icecream
+
+   insinto /etc/firewalld/services
+   doins suse/iceccd.xml
+   doins suse/icecc-scheduler.xml
+
+   insinto /usr/share/shadowman/tools
+   newins - icecc <<<"${EPREFIX}"/usr/libexec/icecc/bin
+}
+
+pkg_prerm() {
+   if [[ -z ${REPLACED_BY_VERSION} && -z ${ROOT} ]] ; then
+   eselect compiler-shadow remove icecc
+   fi
+}
+
+pkg_postinst() {
+   tmpfiles_process icecream.conf
+
+   if [[ -z ${ROOT} ]] ; then
+   eselect compiler-shadow update icecc
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2021-12-20 Thread Sam James
commit: b133beeb3fd21ef368c3fe9b8b05b026ec5cd562
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 21 04:10:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 21 04:19:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b133beeb

sys-devel/icecream: update EAPI 7 -> 8, post-review fixes

- Use EAPI 8
- Use conventional double quotes everywhere
- Unconditionally install systemd units (see small files policy)
- Adapt pkg_* for EAPI 7+ (${ROOT} suffix)
- Style changes (place eclass variables before inherit in general, whitespace)
- Drop unnecessary econf arg (--enable-fast-install)
- Add missing dependencies (libarchive, lzo)

Bug: https://bugs.gentoo.org/602492
Closes: https://bugs.gentoo.org/527376
Closes: https://bugs.gentoo.org/642674
Closes: https://bugs.gentoo.org/828135
Signed-off-by: Sam James  gentoo.org>

 sys-devel/icecream/icecream-1.3.1.ebuild | 64 +++-
 1 file changed, 29 insertions(+), 35 deletions(-)

diff --git a/sys-devel/icecream/icecream-1.3.1.ebuild 
b/sys-devel/icecream/icecream-1.3.1.ebuild
index d9443057aaaf..72ab4fad07b2 100644
--- a/sys-devel/icecream/icecream-1.3.1.ebuild
+++ b/sys-devel/icecream/icecream-1.3.1.ebuild
@@ -1,63 +1,57 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
+AT_NOELIBTOOLIZE="yes"
 inherit autotools systemd tmpfiles
 
-DESCRIPTION='Distributed compiling of C(++) code across several machines; 
based on distcc'
-HOMEPAGE='https://github.com/icecc/icecream'
+DESCRIPTION="Distributed compiler with a central scheduler to share build load"
+HOMEPAGE="https://github.com/icecc/icecream;
 SRC_URI="https://github.com/icecc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-LICENSE='GPL-2'
-SLOT='0'
+LICENSE="GPL-2"
+SLOT="0"
 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
-IUSE='systemd'
 
-DEPEND='
+DEPEND="app-arch/libarchive:=
+   app-arch/zstd:=
acct-user/icecream
acct-group/icecream
-   sys-libs/libcap-ng
-   app-text/docbook2X
-   app-arch/zstd
-'
-RDEPEND="
-   ${DEPEND}
-   dev-util/shadowman
-   systemd? ( sys-apps/systemd )
-"
-
-AT_NOELIBTOOLIZE='yes'
+   dev-libs/lzo:2
+   sys-libs/libcap-ng"
+RDEPEND="${DEPEND}
+   dev-util/shadowman"
+BDEPEND="app-text/docbook2X"
 
 src_prepare() {
default
+
eautoreconf
 }
 
 src_configure() {
econf \
--enable-clang-rewrite-includes \
-   --enable-clang-wrappers \
-   --disable-fast-install
+   --enable-clang-wrappers
 }
 
 src_install() {
default
-   find "${D}" -name '*.la' -delete || die
-
-   if use systemd; then
-   systemd_dounit "${FILESDIR}/iceccd.service"
-   systemd_dounit "${FILESDIR}/icecc-scheduler.service"
-   else
-   newconfd suse/sysconfig.icecream icecream
-   newinitd "${FILESDIR}/icecream.openrc" icecream
-   fi
+
+   find "${ED}" -name '*.la' -delete || die
+
+   systemd_dounit "${FILESDIR}"/iceccd.service
+   systemd_dounit "${FILESDIR}"/icecc-scheduler.service
+
+   newconfd suse/sysconfig.icecream icecream
+   newinitd "${FILESDIR}"/icecream.openrc icecream
 
keepdir /var/log/icecream
fowners icecream:icecream /var/log/icecream
-   fperms  0750 /var/log/icecream
+   fperms 0750 /var/log/icecream
 
-   newtmpfiles "${FILESDIR}/icecream-tmpfiles.conf" icecream.conf
+   newtmpfiles "${FILESDIR}"/icecream-tmpfiles.conf icecream.conf
 
insinto /etc/logrotate.d
newins suse/logrotate icecream
@@ -67,11 +61,11 @@ src_install() {
doins suse/icecc-scheduler.xml
 
insinto /usr/share/shadowman/tools
-   newins - icecc <<<'/usr/libexec/icecc/bin'
+   newins - icecc <<<"${EPREFIX}"/usr/libexec/icecc/bin
 }
 
 pkg_prerm() {
-   if [[ -z ${REPLACED_BY_VERSION} && ${ROOT} == / ]]; then
+   if [[ -z ${REPLACED_BY_VERSION} && -z ${ROOT} ]]; then
eselect compiler-shadow remove icecc
fi
 }
@@ -79,7 +73,7 @@ pkg_prerm() {
 pkg_postinst() {
tmpfiles_process icecream.conf
 
-   if [[ ${ROOT} == / ]]; then
+   if [[ -z ${ROOT} ]]; then
eselect compiler-shadow update icecc
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/, sys-devel/icecream/files/

2021-12-20 Thread Sam James
commit: a857ea599201b42ab12a2919badfd7b34997cbbb
Author: Lucas Yamanishi  gmail  com>
AuthorDate: Tue May 26 17:58:23 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 21 04:19:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a857ea59

sys-devel/icecream: Bump to 1.3.1, various fixes

* Fixes bug #602492
* Adds systemd support
* Installs firewalld service files

Bug: https://bugs.gentoo.org/602492
Closes: https://bugs.gentoo.org/527376
Closes: https://bugs.gentoo.org/642674
Closes: https://github.com/gentoo/gentoo/pull/15975
Signed-off-by: Lucas Yamanishi  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-devel/icecream/Manifest  |  1 +
 sys-devel/icecream/files/icecc-scheduler.service | 12 
 sys-devel/icecream/files/iceccd.service  | 12 
 sys-devel/icecream/files/icecream-tmpfiles.conf  |  2 +
 sys-devel/icecream/files/icecream.openrc | 55 +++
 sys-devel/icecream/icecream-1.3.1.ebuild | 85 
 6 files changed, 167 insertions(+)

diff --git a/sys-devel/icecream/Manifest b/sys-devel/icecream/Manifest
index 2cfb48ce5b59..1b0adc19c2ea 100644
--- a/sys-devel/icecream/Manifest
+++ b/sys-devel/icecream/Manifest
@@ -1 +1,2 @@
 DIST icecc-1.0.0.tar.bz2 485534 BLAKE2B 
31a978a4a461f20716a95277426e79d4c298c212d36361dbbd68c5affcbbbe2f0c71f743cc7b731d86fbb5f09ab556182482f56e1382be8572d019f80a004fc8
 SHA512 
4292ecef6232112c3f4531cb2290a55f70c5c24095fef0865af2526d49fc10a043ffb06d22552e161f671c18ff1ab62795c3a63e2c8cb26f869cf65d0938af2a
+DIST icecream-1.3.1.tar.gz 224068 BLAKE2B 
d7d66dadf27b0b88ab706bf217ce2b0d33b5db2ed95e48c4e9dcbd000931688ad6809ecbd4e14f0f3889bcebddc8543bd364c9dda09ba71e5dc04d0a5a2122d5
 SHA512 
d850394b4093defcf2c50bb3f9306348a45bf17d21f4730baeee7125998c2a548b7b3a7597785855d7e388e84830769bf0ec1c4136330a4c8e359cbdd111f5da

diff --git a/sys-devel/icecream/files/icecc-scheduler.service 
b/sys-devel/icecream/files/icecc-scheduler.service
new file mode 100644
index ..f0db05af534e
--- /dev/null
+++ b/sys-devel/icecream/files/icecc-scheduler.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Icecream distributed compiler scheduler
+
+[Service]
+Type=simple
+User=icecream
+Group=icecream
+SyslogIdentifier=icecc-scheduler
+ExecStart=/usr/sbin/icecc-scheduler -u icecream -l /var/log/icecream/scheduler 
-v
+
+[Install]
+WantedBy=multi-user.target

diff --git a/sys-devel/icecream/files/iceccd.service 
b/sys-devel/icecream/files/iceccd.service
new file mode 100644
index ..0b74362dfb3a
--- /dev/null
+++ b/sys-devel/icecream/files/iceccd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Icecream Distributed Compiler
+After=network.target nss-lookup.target
+
+[Service]
+Type=simple
+SyslogIdentifier=iceccd
+ExecStart=/usr/sbin/iceccd -u icecream -b /var/cache/icecream -l 
/var/log/icecream/iceccd -v
+Nice=5
+
+[Install]
+WantedBy=multi-user.target

diff --git a/sys-devel/icecream/files/icecream-tmpfiles.conf 
b/sys-devel/icecream/files/icecream-tmpfiles.conf
new file mode 100644
index ..a7cbf53f96ef
--- /dev/null
+++ b/sys-devel/icecream/files/icecream-tmpfiles.conf
@@ -0,0 +1,2 @@
+d /run/icecc  0775 root icecream -
+d /var/cache/icecream 0755 icecream icecream 3d

diff --git a/sys-devel/icecream/files/icecream.openrc 
b/sys-devel/icecream/files/icecream.openrc
new file mode 100644
index ..b574874b2075
--- /dev/null
+++ b/sys-devel/icecream/files/icecream.openrc
@@ -0,0 +1,55 @@
+#!/sbin/openrc-run
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+   need net
+}
+
+start() {
+   basedir="${ICECREAM_BASEDIR:-'/var/cache/icecream'}"
+   verbosity="${ICECREAM_VERBOSITY:-'-v'}"
+   netname="${ICECREAM_NETNAME:+"-n ${ICECREAM_NETNAME}"}"
+   iceccd_logfile="${ICECREAM_LOG_FILE:-'/var/log/icecream/iceccd'}"
+   nice="${ICECREAM_NICE_LEVEL:+"--nice ${ICECREAM_NICE_LEVEL}"}"
+   scheduler="${ICECREAM_SCHEDULER_HOST:+"-s ${ICECREAM_SCHEDULER_HOST}"}"
+
+   if [ "$ICECREAM_RUN_SCHEDULER" = 'yes' ]; then
+   
sched_logfile="${ICECREAM_SCHEDULER_LOG_FILE:-'/var/log/icecream/scheduler'}"
+
+   ebegin 'Starting Distributed Compiler Scheduler'
+   start-stop-daemon -u icecream --start --quiet --exec 
/usr/sbin/icecc-scheduler -- -d -l "$sched_logfile" $netname $verbosity
+   eend ${?}
+   fi
+
+   noremote=''
+   if test "$ICECREAM_ALLOW_REMOTE" = 'no' 2> /dev/null; then
+   noremote='--no-remote'
+   fi
+
+   maxjobs=''
+   if [ -n "$ICECREAM_MAX_JOBS" ]; then
+   if test "$ICECREAM_MAX_JOBS" -eq 0 2> /dev/null; then
+   maxjobs='-m 1'
+   noremote='--no-remote'
+   else
+   maxjobs="-m $ICECREAM_MAX_JOBS"
+   fi
+   fi
+
+   ebegin 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2021-07-18 Thread Conrad Kostecki
commit: 308c3d52f1b34e45e086d0c5264a86bf943def40
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Jul 18 11:11:28 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Jul 18 16:17:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=308c3d52

sys-devel/icecream: migrate to GLEP 81

Bug: https://bugs.gentoo.org/781506
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 sys-devel/icecream/icecream-1.0.0-r3.ebuild | 62 +
 1 file changed, 62 insertions(+)

diff --git a/sys-devel/icecream/icecream-1.0.0-r3.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r3.ebuild
new file mode 100644
index 000..53e06f4ae2b
--- /dev/null
+++ b/sys-devel/icecream/icecream-1.0.0-r3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${P/icecream/icecc}"
+
+DESCRIPTION="Distributed compiling of C(++) code across several machines; 
based on distcc"
+HOMEPAGE="https://github.com/icecc/icecream;
+SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+
+DEPEND="sys-libs/libcap-ng"
+RDEPEND="
+   ${DEPEND}
+   acct-group/icecream
+   acct-user/icecream
+   dev-util/shadowman
+"
+
+PATCHES=( "${FILESDIR}/${P}-libcap-ng.patch" )
+
+src_configure() {
+   local myeconfargs=(
+   --enable-shared --disable-static
+   --enable-clang-wrappers
+   --enable-clang-rewrite-includes
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+
+   newconfd suse/sysconfig.icecream icecream
+   newinitd "${FILESDIR}"/icecream-r2 icecream
+
+   insinto /etc/logrotate.d
+   newins suse/logrotate icecream
+
+   insinto /usr/share/shadowman/tools
+   newins - icecc <<<'/usr/libexec/icecc/bin'
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_prerm() {
+   if [[ -z ${REPLACED_BY_VERSION} && ${ROOT} == / ]]; then
+   eselect compiler-shadow remove icecc
+   fi
+}
+
+pkg_postinst() {
+   if [[ ${ROOT} == / ]]; then
+   eselect compiler-shadow update icecc
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2021-07-18 Thread Conrad Kostecki
commit: 939dcfa053ece45f639b8a07e0744a3ea6b30715
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Jul 18 11:12:17 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Jul 18 16:17:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939dcfa0

sys-devel/icecream: drop old version

Closes: https://bugs.gentoo.org/781491
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 69 -
 1 file changed, 69 deletions(-)

diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
deleted file mode 100644
index e7cc21f4e7f..000
--- a/sys-devel/icecream/icecream-1.0.0-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_P="${P/icecream/icecc}"
-
-inherit user
-
-DESCRIPTION="Distributed compiling of C(++) code across several machines; 
based on distcc"
-HOMEPAGE="https://github.com/icecc/icecream;
-SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
-IUSE=""
-
-DEPEND="
-   sys-libs/libcap-ng
-"
-RDEPEND="
-   ${DEPEND}
-   dev-util/shadowman
-"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-   "${FILESDIR}/${P}-libcap-ng.patch"
-)
-
-pkg_setup() {
-   enewgroup icecream
-   enewuser icecream -1 -1 /var/cache/icecream icecream
-}
-
-src_configure() {
-   econf \
-   --enable-shared --disable-static \
-   --enable-clang-wrappers \
-   --enable-clang-rewrite-includes
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -delete || die
-
-   newconfd suse/sysconfig.icecream icecream
-   newinitd "${FILESDIR}"/icecream-r2 icecream
-
-   insinto /etc/logrotate.d
-   newins suse/logrotate icecream
-
-   insinto /usr/share/shadowman/tools
-   newins - icecc <<<'/usr/libexec/icecc/bin'
-}
-
-pkg_prerm() {
-   if [[ -z ${REPLACED_BY_VERSION} && ${ROOT} == / ]]; then
-   eselect compiler-shadow remove icecc
-   fi
-}
-
-pkg_postinst() {
-   if [[ ${ROOT} == / ]]; then
-   eselect compiler-shadow update icecc
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/files/, sys-devel/icecream/

2020-09-07 Thread Sam James
commit: 02b76e7d9468c1e08ea2fe35fac31dfa617c8ead
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep  8 01:19:35 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep  8 01:19:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b76e7d

sys-devel/icecream: cleanup old EAPI 4, 5 ebuilds

Closes: https://bugs.gentoo.org/724216
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 sys-devel/icecream/Manifest|  1 -
 sys-devel/icecream/files/0.9.6-crosscompile.patch  | 12 ---
 sys-devel/icecream/files/0.9.6-symlinks.patch  | 19 -
 sys-devel/icecream/files/0.9.7-automake.patch  | 32 
 sys-devel/icecream/files/0.9.7-glibc2.16.patch | 16 
 sys-devel/icecream/files/icecream  | 43 ---
 .../icecream/files/icecream-conf.d-verbosity.patch | 18 -
 sys-devel/icecream/files/icecream-config   | 69 -
 sys-devel/icecream/files/icecream-create-env   | 82 -
 .../icecream/files/icecream-gentoo-multilib.patch  | 59 ---
 sys-devel/icecream/icecream-0.9.7-r1.ebuild| 86 --
 sys-devel/icecream/icecream-1.0.0-r1.ebuild| 51 -
 12 files changed, 488 deletions(-)

diff --git a/sys-devel/icecream/Manifest b/sys-devel/icecream/Manifest
index 56616a9e27c..2cfb48ce5b5 100644
--- a/sys-devel/icecream/Manifest
+++ b/sys-devel/icecream/Manifest
@@ -1,2 +1 @@
-DIST icecc-0.9.7.tar.bz2 379527 BLAKE2B 
547bc2e534192a6628c261f4d7244eff31bea438cc0273b06c69ef188ffedebaebb028fa2433c5549c52d99ecd0c530a1040db392d8f34537023be9ebdca465e
 SHA512 
023a77d6df33af9837a87218272dc61d68f3782ad59dc8783ec3ca47cbb38619dbcaa25ac7e6654c6cacbd79477c3403b0a73aca595c6fe20aa9a39268f4f2e2
 DIST icecc-1.0.0.tar.bz2 485534 BLAKE2B 
31a978a4a461f20716a95277426e79d4c298c212d36361dbbd68c5affcbbbe2f0c71f743cc7b731d86fbb5f09ab556182482f56e1382be8572d019f80a004fc8
 SHA512 
4292ecef6232112c3f4531cb2290a55f70c5c24095fef0865af2526d49fc10a043ffb06d22552e161f671c18ff1ab62795c3a63e2c8cb26f869cf65d0938af2a

diff --git a/sys-devel/icecream/files/0.9.6-crosscompile.patch 
b/sys-devel/icecream/files/0.9.6-crosscompile.patch
deleted file mode 100644
index 990072bbb8f..000
--- a/sys-devel/icecream/files/0.9.6-crosscompile.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN icecc-0.9.6.old//client/icecc-create-env 
icecc-0.9.6//client/icecc-create-env
 icecc-0.9.6.old//client/icecc-create-env   2010-09-18 12:10:08.143391700 
+0200
-+++ icecc-0.9.6//client/icecc-create-env   2010-09-18 12:10:46.574391700 
+0200
-@@ -97,7 +97,7 @@
- 
- add_file $added_gcc /usr/bin/gcc
- add_file $added_gxx /usr/bin/g++
--add_file /usr/bin/as
-+add_file `$added_gcc -print-prog-name=as` /usr/bin/as
- 
- if test "$is_darwin" = 1; then
- # add dynamic linker

diff --git a/sys-devel/icecream/files/0.9.6-symlinks.patch 
b/sys-devel/icecream/files/0.9.6-symlinks.patch
deleted file mode 100644
index 279ee0cc0f9..000
--- a/sys-devel/icecream/files/0.9.6-symlinks.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -urN icecc-0.9.6//client/Makefile.am icecc-0.9.6.new//client/Makefile.am
 icecc-0.9.6//client/Makefile.am2010-09-11 13:43:53.922000148 +0200
-+++ icecc-0.9.6.new//client/Makefile.am2010-09-11 13:44:39.95148 
+0200
-@@ -7,15 +7,3 @@
- noinst_HEADERS = client.h md5.h util.h
- 
- EXTRA_DIST = icecc-create-env
--
--install-exec-local:
--  $(mkinstalldirs) $(DESTDIR)$(bindir)
--  for link in g++ gcc c++ cc icerun; do \
--rm -f $(DESTDIR)$(bindir)/$$link ;\
--$(LN_S) icecc $(DESTDIR)$(bindir)/$$link ;\
--  done
--
--uninstall-local:
--  for link in g++ gcc c++ cc; do \
--rm $(DESTDIR)$(bindir)/$$link ;\
--  done

diff --git a/sys-devel/icecream/files/0.9.7-automake.patch 
b/sys-devel/icecream/files/0.9.7-automake.patch
deleted file mode 100644
index 6905a2a3415..000
--- a/sys-devel/icecream/files/0.9.7-automake.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Backport upstream patch to fix automake-1.12 issues
-
-https://bugs.gentoo.org/show_bug.cgi?id=397715
-https://bugs.gentoo.org/show_bug.cgi?id=399259
 client/Makefile.am
-+++ client/Makefile.am
-@@ -1,10 +1,11 @@
- INCLUDES = -I$(srcdir)/../services
- 
- bin_PROGRAMS = icecc
--pkglib_SCRIPTS = icecc-create-env
-+pkglibexec_SCRIPTS = icecc-create-env
- icecc_SOURCES = main.cpp arg.cpp cpp.cpp local.cpp remote.cpp util.cpp md5.c 
safeguard.cpp
- icecc_LDADD = ../services/libicecc.la $(LIBRSYNC)
- noinst_HEADERS = client.h md5.h util.h
-+AM_CPPFLAGS = -DPLIBDIR=\"$(pkglibexecdir)\"
- 
- EXTRA_DIST = icecc-create-env
- 
 configure.in
-+++ configure.in
-@@ -246,10 +246,6 @@
- KDE_EXPAND_MAKEVAR(mybindir, bindir)
- AC_DEFINE_UNQUOTED(BINDIR, "$mybindir", [Where to look for icecc])
- 
--myopkglibdir='${libdir}/'"$PACKAGE"
--KDE_EXPAND_MAKEVAR(mypkglibdir, myopkglibdir)
--AC_DEFINE_UNQUOTED(PLIBDIR, "$mypkglibdir", [Where 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2020-04-14 Thread Sergei Trofimovich
commit: 37d9901bbbca7e51c9112c52b9cf2b0530b02f69
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Apr 14 07:13:46 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Apr 14 07:28:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d9901b

sys-devel/icecream: keyworded 1.0.0-r2 for sparc, bug #643082

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
index a93f81246bf..e7cc21f4e7f 100644
--- a/sys-devel/icecream/icecream-1.0.0-r2.ebuild
+++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ 
SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2020-02-15 Thread David Seifert
commit: d9e86b9d3a0045f6895a081316214b99801f34f4
Author: David Seifert  gentoo  org>
AuthorDate: Sat Feb 15 10:03:00 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb 15 10:03:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e86b9d

sys-devel/icecream: [QA] inherit ltprune.eclass directly

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 sys-devel/icecream/icecream-1.0.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/icecream/icecream-1.0.0-r1.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r1.ebuild
index 20c5f3e4bb2..ab7e41ef9c2 100644
--- a/sys-devel/icecream/icecream-1.0.0-r1.ebuild
+++ b/sys-devel/icecream/icecream-1.0.0-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 MY_P="${P/icecream/icecc}"
 
-inherit base eutils user
+inherit base eutils ltprune user
 
 DESCRIPTION="Distributed compiling of C(++) code across several machines; 
based on distcc"
 HOMEPAGE="https://github.com/icecc/icecream;



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2018-03-17 Thread Matt Turner
commit: 392919733976acef0d2be98f7c84d3c0a829c34d
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Mar 17 21:41:00 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Mar 17 21:41:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39291973

sys-devel/icecream-1.0.0-r2: added ~ppc, bug 643082

 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
index d12f928a572..a93f81246bf 100644
--- a/sys-devel/icecream/icecream-1.0.0-r2.ebuild
+++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~x86"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2018-03-17 Thread Pacho Ramos
commit: 8a0ff27f2aeb04ec3dcfd6f7b059204af579ba81
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Mar 17 09:52:43 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Mar 17 09:55:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0ff27f

sys-devel/icecream: Reassign due to Project:SuSE being disbanded

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-devel/icecream/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-devel/icecream/metadata.xml b/sys-devel/icecream/metadata.xml
index 55acc851705..3afc743a5f9 100644
--- a/sys-devel/icecream/metadata.xml
+++ b/sys-devel/icecream/metadata.xml
@@ -5,10 +5,6 @@
clus...@gentoo.org
Gentoo Cluster Project

-   
-   s...@gentoo.org
-   SUSE
-   

icecc/icecream




[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2018-03-14 Thread Markus Meier
commit: 72fc401a3c5465c66382e4468b5cd7a9d5ab070d
Author: Markus Meier  gentoo  org>
AuthorDate: Wed Mar 14 05:58:00 2018 +
Commit: Markus Meier  gentoo  org>
CommitDate: Wed Mar 14 05:58:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72fc401a

sys-devel/icecream: add ~arm, bug #643082

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="arm"

 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
index 6cef8bb2f8e..d12f928a572 100644
--- a/sys-devel/icecream/icecream-1.0.0-r2.ebuild
+++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ 
SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~arm ~hppa ~x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2018-03-10 Thread Matt Turner
commit: 55decd44d9a078b15629cefd62bfa7cf64d500ff
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Mar 11 05:58:37 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Mar 11 05:58:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55decd44

sys-devel/icecream-1.0.0-r2: added ~hppa, bug 643082

 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
index 68485a1e7f5..6cef8bb2f8e 100644
--- a/sys-devel/icecream/icecream-1.0.0-r2.ebuild
+++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~hppa ~x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2017-12-01 Thread David Seifert
commit: 766eec8768840543debdd1e9ebb81e9039836292
Author: David Seifert  gentoo  org>
AuthorDate: Fri Dec  1 21:17:17 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Dec  1 22:17:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=766eec87

sys-devel/icecream: [QA] Fix DESCRIPTION.toolong

 sys-devel/icecream/icecream-0.9.7-r1.ebuild | 2 +-
 sys-devel/icecream/icecream-1.0.0-r1.ebuild | 2 +-
 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-devel/icecream/icecream-0.9.7-r1.ebuild 
b/sys-devel/icecream/icecream-0.9.7-r1.ebuild
index 03105d9b5c3..1c43a464442 100644
--- a/sys-devel/icecream/icecream-0.9.7-r1.ebuild
+++ b/sys-devel/icecream/icecream-0.9.7-r1.ebuild
@@ -7,7 +7,7 @@ inherit autotools base user
 
 MY_P=icecc-${PV}
 
-DESCRIPTION="icecc is a program for distributed compiling of C(++) code across 
several machines; based on distcc"
+DESCRIPTION="Distributed compiling of C(++) code across several machines; 
based on distcc"
 HOMEPAGE="http://en.opensuse.org/Icecream;
 SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
 

diff --git a/sys-devel/icecream/icecream-1.0.0-r1.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r1.ebuild
index e43d004caa2..20c5f3e4bb2 100644
--- a/sys-devel/icecream/icecream-1.0.0-r1.ebuild
+++ b/sys-devel/icecream/icecream-1.0.0-r1.ebuild
@@ -7,7 +7,7 @@ MY_P="${P/icecream/icecc}"
 
 inherit base eutils user
 
-DESCRIPTION="icecc is a program for distributed compiling of C(++) code across 
several machines; based on distcc"
+DESCRIPTION="Distributed compiling of C(++) code across several machines; 
based on distcc"
 HOMEPAGE="https://github.com/icecc/icecream;
 SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
 

diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
index ead3cbfcfa5..68485a1e7f5 100644
--- a/sys-devel/icecream/icecream-1.0.0-r2.ebuild
+++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
@@ -7,7 +7,7 @@ MY_P="${P/icecream/icecc}"
 
 inherit user
 
-DESCRIPTION="icecc is a program for distributed compiling of C(++) code across 
several machines; based on distcc"
+DESCRIPTION="Distributed compiling of C(++) code across several machines; 
based on distcc"
 HOMEPAGE="https://github.com/icecc/icecream;
 SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2017-09-02 Thread Michael Palimaka
commit: 712d53e16d55a3d6da803753528cdceac2ed3341
Author: Francesco Turco  fastmail  fm>
AuthorDate: Wed Aug 23 20:51:56 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep  2 14:56:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=712d53e1

sys-devel/icecream: update make.conf path

 sys-devel/icecream/icecream-0.9.7-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/icecream/icecream-0.9.7-r1.ebuild 
b/sys-devel/icecream/icecream-0.9.7-r1.ebuild
index dbac37a2a68..03105d9b5c3 100644
--- a/sys-devel/icecream/icecream-0.9.7-r1.ebuild
+++ b/sys-devel/icecream/icecream-0.9.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
@@ -67,7 +67,7 @@ pkg_postinst() {
elog "ICECC_VERSION in /etc/conf.d/icecream"
elog '  ICECC_VERSION='
elog
-   elog "To use icecream with portage add the following line to 
/etc/make.conf"
+   elog "To use icecream with portage add the following line to 
/etc/portage/make.conf"
elog '  PREROOTPATH=/usr/lib/icecc/bin'
elog
elog "To use icecream with normal make use (e.g. in /etc/profile)"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2017-08-26 Thread Michał Górny
commit: 059abe657a830d853d864404157071a6d93cb1fe
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 10 20:10:25 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 26 13:36:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=059abe65

sys-devel/icecream: Install dev-util/shadowman data file

 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
index ec2858a94ac..187928a2290 100644
--- a/sys-devel/icecream/icecream-1.0.0-r2.ebuild
+++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
@@ -48,4 +48,7 @@ src_install() {
 
insinto /etc/logrotate.d
newins suse/logrotate icecream
+
+   insinto /usr/share/shadowman/tools
+   newins - icecc <<<'/usr/libexec/icecc/bin'
 }



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2017-08-26 Thread Michał Górny
commit: 19614203ed03dd6e9bf2f21e74093a16411deb02
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 10 20:13:27 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 26 13:36:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19614203

sys-devel/icecream: Use dev-util/shadowman for postinst/prerm

 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 21 ++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
index 187928a2290..ead3cbfcfa5 100644
--- a/sys-devel/icecream/icecream-1.0.0-r2.ebuild
+++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
@@ -13,13 +13,16 @@ 
SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-RDEPEND="
+DEPEND="
sys-libs/libcap-ng
 "
-DEPEND="${RDEPEND}"
+RDEPEND="
+   ${DEPEND}
+   dev-util/shadowman
+"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -52,3 +55,15 @@ src_install() {
insinto /usr/share/shadowman/tools
newins - icecc <<<'/usr/libexec/icecc/bin'
 }
+
+pkg_prerm() {
+   if [[ -z ${REPLACED_BY_VERSION} && ${ROOT} == / ]]; then
+   eselect compiler-shadow remove icecc
+   fi
+}
+
+pkg_postinst() {
+   if [[ ${ROOT} == / ]]; then
+   eselect compiler-shadow update icecc
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/

2017-08-26 Thread Michał Górny
commit: b3c8bfdfbd712d01523a3cdefb59f9653f0a9c62
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 10 20:05:28 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 26 13:36:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c8bfdf

sys-devel/icecream: Convert to EAPI=6

 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 51 +
 1 file changed, 51 insertions(+)

diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild 
b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
new file mode 100644
index 000..ec2858a94ac
--- /dev/null
+++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="${P/icecream/icecc}"
+
+inherit user
+
+DESCRIPTION="icecc is a program for distributed compiling of C(++) code across 
several machines; based on distcc"
+HOMEPAGE="https://github.com/icecc/icecream;
+SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="
+   sys-libs/libcap-ng
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-libcap-ng.patch"
+)
+
+pkg_setup() {
+   enewgroup icecream
+   enewuser icecream -1 -1 /var/cache/icecream icecream
+}
+
+src_configure() {
+   econf \
+   --enable-shared --disable-static \
+   --enable-clang-wrappers \
+   --enable-clang-rewrite-includes
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+
+   newconfd suse/sysconfig.icecream icecream
+   newinitd "${FILESDIR}"/icecream-r2 icecream
+
+   insinto /etc/logrotate.d
+   newins suse/logrotate icecream
+}