From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sys-process/incron/Manifest | 1 + .../incron/files/incron-0.5.10+gcc-4.7.patch | 12 +++++++ sys-process/incron/files/incrond.init | 21 ++++++++++++ sys-process/incron/files/incrond.service | 9 +++++ sys-process/incron/incron-0.5.10-r1.ebuild | 40 ++++++++++++++++++++++ sys-process/incron/incron-0.5.10.ebuild | 39 +++++++++++++++++++++ sys-process/incron/metadata.xml | 8 +++++ 7 files changed, 130 insertions(+) create mode 100644 sys-process/incron/Manifest create mode 100644 sys-process/incron/files/incron-0.5.10+gcc-4.7.patch create mode 100644 sys-process/incron/files/incrond.init create mode 100644 sys-process/incron/files/incrond.service create mode 100644 sys-process/incron/incron-0.5.10-r1.ebuild create mode 100644 sys-process/incron/incron-0.5.10.ebuild create mode 100644 sys-process/incron/metadata.xml (limited to 'sys-process/incron') diff --git a/sys-process/incron/Manifest b/sys-process/incron/Manifest new file mode 100644 index 00000000000..25e8efb368e --- /dev/null +++ b/sys-process/incron/Manifest @@ -0,0 +1 @@ +DIST incron-0.5.10.tar.gz 203158 SHA256 5d4abadb5f16c26e4f728a6433ad22f7655663b5812fbd4f94e852050f38e78a SHA512 653817c35059b5305e059137eac78f21a7d32ccc03fc92ba282eab66ba5f3d2c83a1a571ebdcead8df3ed500a7fd30cfa46375c635450b08d2bd8d00dfe86df3 WHIRLPOOL 563730d7d2ac9122d6650431c259b50f6e0fd5cbbaa2e64383c756722efd9bf6a8595cfee8bceff006afffff8ce49702b6d44de1c4156498fb559f4ef00e3458 diff --git a/sys-process/incron/files/incron-0.5.10+gcc-4.7.patch b/sys-process/incron/files/incron-0.5.10+gcc-4.7.patch new file mode 100644 index 00000000000..a1b690510f3 --- /dev/null +++ b/sys-process/incron/files/incron-0.5.10+gcc-4.7.patch @@ -0,0 +1,12 @@ +Index: incron-0.5.10/icd-main.cpp +=================================================================== +--- incron-0.5.10.orig/icd-main.cpp ++++ incron-0.5.10/icd-main.cpp +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/sys-process/incron/files/incrond.init b/sys-process/incron/files/incrond.init new file mode 100644 index 00000000000..1137b81bd5a --- /dev/null +++ b/sys-process/incron/files/incrond.init @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + use clock logger + need localmount +} + +start() { + ebegin "Starting incrond" + start-stop-daemon --start --pidfile /var/run/incrond.pid --exec /usr/sbin/incrond -- -f /etc/incron.conf + eend $? +} + +stop() { + ebegin "Stopping incrond" + start-stop-daemon --stop --pidfile /var/run/incrond.pid + eend $? +} diff --git a/sys-process/incron/files/incrond.service b/sys-process/incron/files/incrond.service new file mode 100644 index 00000000000..a3d2a9b0b3b --- /dev/null +++ b/sys-process/incron/files/incrond.service @@ -0,0 +1,9 @@ +[Unit] +Description=Inotify System Scheduler + +[Service] +ExecStart=/usr/sbin/incrond --foreground -f /etc/incron.conf + +[Install] +WantedBy=multi-user.target + diff --git a/sys-process/incron/incron-0.5.10-r1.ebuild b/sys-process/incron/incron-0.5.10-r1.ebuild new file mode 100644 index 00000000000..50a052a28db --- /dev/null +++ b/sys-process/incron/incron-0.5.10-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils linux-info systemd toolchain-funcs + +DESCRIPTION="inotify based cron daemon" +HOMEPAGE="http://incron.aiken.cz/" +SRC_URI="http://inotify.aiken.cz/download/incron/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +# < 2.6.18 => INOTIFY, >= 2.6.18 => INOTIFY_USER +# It should be ok to expect at least 2.6.18 +CONFIG_CHECK="~INOTIFY_USER" + +src_prepare() { + epatch "${FILESDIR}"/${P}+gcc-4.7.patch +} + +src_compile() { + emake CXX=$(tc-getCXX) +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr DOCDIR=/usr/share/doc/${PF} install + + newinitd "${FILESDIR}/incrond.init" incrond + systemd_dounit "${FILESDIR}/incrond.service" + + dodoc CHANGELOG README TODO +} diff --git a/sys-process/incron/incron-0.5.10.ebuild b/sys-process/incron/incron-0.5.10.ebuild new file mode 100644 index 00000000000..dc31eb2113d --- /dev/null +++ b/sys-process/incron/incron-0.5.10.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils linux-info toolchain-funcs + +DESCRIPTION="inotify based cron daemon" +HOMEPAGE="http://incron.aiken.cz/" +SRC_URI="http://inotify.aiken.cz/download/incron/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +# < 2.6.18 => INOTIFY, >= 2.6.18 => INOTIFY_USER +# It should be ok to expect at least 2.6.18 +CONFIG_CHECK="~INOTIFY_USER" + +src_prepare() { + epatch "${FILESDIR}"/${P}+gcc-4.7.patch +} + +src_compile() { + emake CXX=$(tc-getCXX) +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr DOCDIR=/usr/share/doc/${PF} install + + newinitd "${FILESDIR}/incrond.init" incrond + + dodoc CHANGELOG README TODO +} diff --git a/sys-process/incron/metadata.xml b/sys-process/incron/metadata.xml new file mode 100644 index 00000000000..b71a8a2e034 --- /dev/null +++ b/sys-process/incron/metadata.xml @@ -0,0 +1,8 @@ + + + + + idl0r@gentoo.org + Christian Ruppert + + -- cgit v1.2.1