summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2007-12-19 20:50:04 +0000
committerBenedikt Boehm <hollow@gentoo.org>2007-12-19 20:50:04 +0000
commit7178c278b5727086d12642684bd93cea0b350dd8 (patch)
tree9734c28f875b55b00e773032170539d838eea001 /sys-process
parentx86 stable, bug #202592 (diff)
downloadgentoo-2-7178c278b5727086d12642684bd93cea0b350dd8.tar.gz
gentoo-2-7178c278b5727086d12642684bd93cea0b350dd8.tar.bz2
gentoo-2-7178c278b5727086d12642684bd93cea0b350dd8.zip
initial incron ebuild
(Portage version: 2.1.4_rc8)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/incron/ChangeLog10
-rw-r--r--sys-process/incron/Manifest20
-rw-r--r--sys-process/incron/files/digest-incron-0.5.73
-rw-r--r--sys-process/incron/files/incron-0.5.7-gentoo.patch219
-rw-r--r--sys-process/incron/incron-0.5.7.ebuild34
-rw-r--r--sys-process/incron/metadata.xml9
6 files changed, 295 insertions, 0 deletions
diff --git a/sys-process/incron/ChangeLog b/sys-process/incron/ChangeLog
new file mode 100644
index 000000000000..3a848db290ba
--- /dev/null
+++ b/sys-process/incron/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-process/incron
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/incron/ChangeLog,v 1.1 2007/12/19 20:50:03 hollow Exp $
+
+*incron-0.5.7 (19 Dec 2007)
+
+ 19 Dec 2007; Benedikt Böhm <hollow@gentoo.org>
+ +files/incron-0.5.7-gentoo.patch, +metadata.xml, +incron-0.5.7.ebuild:
+ initial incron ebuild
+
diff --git a/sys-process/incron/Manifest b/sys-process/incron/Manifest
new file mode 100644
index 000000000000..bbcef2afdd0b
--- /dev/null
+++ b/sys-process/incron/Manifest
@@ -0,0 +1,20 @@
+AUX incron-0.5.7-gentoo.patch 5961 RMD160 96fcaae76682d7ca776dd7caac15a6bf4dfba3b2 SHA1 293c8c769c24332568a8435eb370651df44abf9f SHA256 8b2dd61987f463a4690a424054c22bdf9bceefa8d2e525d403aa0dc981402bac
+MD5 d5973c690761ab8ffe4fb346ada4a019 files/incron-0.5.7-gentoo.patch 5961
+RMD160 96fcaae76682d7ca776dd7caac15a6bf4dfba3b2 files/incron-0.5.7-gentoo.patch 5961
+SHA256 8b2dd61987f463a4690a424054c22bdf9bceefa8d2e525d403aa0dc981402bac files/incron-0.5.7-gentoo.patch 5961
+DIST incron-0.5.7.tar.gz 177659 RMD160 b82d91f3e7bd75ac91aa3e07284df281e0695e3f SHA1 63d32a5d82b733c435fd3616bba7ff4c7029e3f1 SHA256 68c724a2d56b9341b0433e00be767676f61cb3b2eb68a51351238e117385ecd6
+EBUILD incron-0.5.7.ebuild 729 RMD160 0348dccb00900c8803ef2fedcbfa632bb55c3ad1 SHA1 200ee4442ba453f33db24c88389499cbe2dca268 SHA256 a37ea0fd05979fbf7cfdac6366ff0c5c50e3bca525563ae3f51ca58c4d5abed0
+MD5 30ee7142e1d416b9a0ae83144c35c42b incron-0.5.7.ebuild 729
+RMD160 0348dccb00900c8803ef2fedcbfa632bb55c3ad1 incron-0.5.7.ebuild 729
+SHA256 a37ea0fd05979fbf7cfdac6366ff0c5c50e3bca525563ae3f51ca58c4d5abed0 incron-0.5.7.ebuild 729
+MISC ChangeLog 296 RMD160 523b091b9d1a1f03dec81b98ab8e42268674c6fa SHA1 beafa775441299e1ef9f3e600525bbac1ab549d0 SHA256 ba52ecbd54ab730ea9e4f49ef86c8eb1bb08081f8d7fd25e10d8296a136d6542
+MD5 d9c5f4f89fe1d6e816103b40d560e7fb ChangeLog 296
+RMD160 523b091b9d1a1f03dec81b98ab8e42268674c6fa ChangeLog 296
+SHA256 ba52ecbd54ab730ea9e4f49ef86c8eb1bb08081f8d7fd25e10d8296a136d6542 ChangeLog 296
+MISC metadata.xml 252 RMD160 41f007b757df1cdb0b302fcfda9deb1850dd2b72 SHA1 1b1098a2b1c35c5fc0a8ebde409e5c61f7cd70ec SHA256 f1e8b3d804fd645bc4bb1b544c97a2aebd6cea6fe457ed990732cc892651ab05
+MD5 0a9e57b28f2d39869d406834c8f5b9f5 metadata.xml 252
+RMD160 41f007b757df1cdb0b302fcfda9deb1850dd2b72 metadata.xml 252
+SHA256 f1e8b3d804fd645bc4bb1b544c97a2aebd6cea6fe457ed990732cc892651ab05 metadata.xml 252
+MD5 d9665061eb498b0e85a61e5c648e4c95 files/digest-incron-0.5.7 238
+RMD160 213abb4da347c6097ca92ce2ede7970ced6efc03 files/digest-incron-0.5.7 238
+SHA256 db71b21f939e6645ccf3bd9e59e49ebdcc9c0c1882e6aec0564be34b5b450927 files/digest-incron-0.5.7 238
diff --git a/sys-process/incron/files/digest-incron-0.5.7 b/sys-process/incron/files/digest-incron-0.5.7
new file mode 100644
index 000000000000..063ad7af91fd
--- /dev/null
+++ b/sys-process/incron/files/digest-incron-0.5.7
@@ -0,0 +1,3 @@
+MD5 24c8fde33c34ce64c390a8e236251f54 incron-0.5.7.tar.gz 177659
+RMD160 b82d91f3e7bd75ac91aa3e07284df281e0695e3f incron-0.5.7.tar.gz 177659
+SHA256 68c724a2d56b9341b0433e00be767676f61cb3b2eb68a51351238e117385ecd6 incron-0.5.7.tar.gz 177659
diff --git a/sys-process/incron/files/incron-0.5.7-gentoo.patch b/sys-process/incron/files/incron-0.5.7-gentoo.patch
new file mode 100644
index 000000000000..9f9641985790
--- /dev/null
+++ b/sys-process/incron/files/incron-0.5.7-gentoo.patch
@@ -0,0 +1,219 @@
+Index: incron-0.5.7/Makefile
+===================================================================
+--- incron-0.5.7.orig/Makefile
++++ incron-0.5.7/Makefile
+@@ -1,15 +1,16 @@
+
+-PREFIX = /usr/local
+-USERDATADIR = /var/spool/incron
+-SYSDATADIR = /etc/incron.d
+-CFGDIR = /etc
+-MANPATH = /usr/share/man
++PREFIX = $(DESTDIR)usr
++USERDATADIR = $(DESTDIR)var/spool/incron
++SYSDATADIR = $(DESTDIR)etc/incron.d
++CFGDIR = $(DESTDIR)etc
++MANPATH = $(DESTDIR)usr/share/man
++INITDIR = $(DESTDIR)etc/init.d
+ RELEASE = incron-`cat VERSION`
+ RELEASEDIR = /tmp/$(RELEASE)
+
+ USER = root
+
+-CXX = g++
++CXX := g++
+ INSTALL = install
+
+ OPTIMIZE = -O2
+@@ -17,8 +18,8 @@ DEBUG = -g0
+ WARNINGS = -Wall
+ CXXAUX = -pipe
+
+-CXXFLAGS = $(OPTIMIZE) $(DEBUG) $(WARNINGS) $(CXXAUX)
+-LDFLAGS = $(WARNINGS)
++CXXFLAGS := $(OPTIMIZE) $(DEBUG) $(WARNINGS) $(CXXAUX)
++LDFLAGS += $(WARNINGS)
+
+ PROGRAMS = incrond incrontab
+
+@@ -45,11 +46,15 @@ distclean: clean
+
+ install: all install-man
+ [ -d $(PREFIX) ]
++ $(INSTALL) -m 0755 -d $(PREFIX)/bin
++ $(INSTALL) -m 0755 -d $(PREFIX)/sbin
++ $(INSTALL) -m 0755 -d $(INITDIR)/
+ $(INSTALL) -m 04755 -o $(USER) incrontab $(PREFIX)/bin/
+ $(INSTALL) -m 0755 incrond $(PREFIX)/sbin/
+ $(INSTALL) -m 0755 -o $(USER) -d $(USERDATADIR)
+ $(INSTALL) -m 0755 -o $(USER) -d $(SYSDATADIR)
+- $(INSTALL) -m 0644 -o $(USER) incron.conf.example $(CFGDIR)
++ $(INSTALL) -m 0644 -o $(USER) incron.conf $(CFGDIR)
++ $(INSTALL) -m 0755 incrond-init.d $(INITDIR)/incrond
+
+ install-man: incrontab.1 incrontab.5 incrond.8 incron.conf.5
+ $(INSTALL) -m 0755 -d $(MANPATH)/man1
+Index: incron-0.5.7/incrond-init.d
+===================================================================
+--- /dev/null
++++ incron-0.5.7/incrond-init.d
+@@ -0,0 +1,21 @@
++#!/sbin/runscript
++# Copyright 1999-2007 Gentoo Foundation
++# Distributed under the terms of the GNU General Public License v2
++# $Header: /var/cvsroot/gentoo-x86/sys-process/incron/files/incron-0.5.7-gentoo.patch,v 1.1 2007/12/19 20:50:04 hollow Exp $
++
++depend() {
++ use clock logger
++ need localmount
++}
++
++start() {
++ ebegin "Starting incrond"
++ start-stop-daemon --start --quiet --exec /usr/sbin/incrond -f /etc/incron.conf
++ eend $?
++}
++
++stop() {
++ ebegin "Stopping incrond"
++ start-stop-daemon --stop --quiet --pidfile /var/run/incrond.pid
++ eend $?
++}
+Index: incron-0.5.7/incron.conf.example
+===================================================================
+--- incron-0.5.7.orig/incron.conf.example
++++ /dev/null
+@@ -1,72 +0,0 @@
+-#
+-# *** incron example configuration file ***
+-#
+-# (c) Lukas Jelinek, 2007
+-#
+-
+-
+-# Parameter: system_table_dir
+-# Meaning: system table directory
+-# Description: This directory is examined by incrond for system table files.
+-# Default: /etc/incron.d
+-#
+-# Example:
+-# system_table_dir = /var/spool/incron.systables
+-
+-
+-# Parameter: user_table_dir
+-# Meaning: user table directory
+-# Description: This directory is examined by incrond for user table files.
+-# Default: /var/spool/incron
+-#
+-# Example:
+-# user_table_dir = /var/spool/incron.usertables
+-
+-
+-# Parameter: allowed_users
+-# Meaning: allowed users list file
+-# Description: This file contains users allowed to use incron.
+-# Default: /etc/incron.allow
+-#
+-# Example:
+-# allowed_users = /etc/incron/allow
+-
+-
+-# Parameter: denied_users
+-# Meaning: denied users list file
+-# Description: This file contains users denied to use incron.
+-# Default: /etc/incron.deny
+-#
+-# Example:
+-# denied_users = /etc/incron/deny
+-
+-
+-# Parameter: lockfile_dir
+-# Meaning: application lock file directory
+-# Description: This directory is used for creating a lock avoiding to run
+-# multiple instances of incrond.
+-# Default: /var/run
+-#
+-# Example:
+-# lockfile_dir = /tmp
+-
+-
+-# Parameter: lockfile_name
+-# Meaning: application lock file name base
+-# Description: This name (appended by '.pid') is used for creating a lock
+-# avoiding to run multiple instances of incrond.
+-# Default: incrond
+-#
+-# Example:
+-# lockfile_name = incron.lock
+-
+-
+-# Parameter: editor
+-# Meaning: editor executable
+-# Description: This name or path is used to run as an editor for editting
+-# user tables.
+-# Default: vim
+-#
+-# Example:
+-# editor = nano
+-
+Index: incron-0.5.7/incron.conf
+===================================================================
+--- /dev/null
++++ incron-0.5.7/incron.conf
+@@ -0,0 +1,56 @@
++#
++# *** incron example configuration file ***
++#
++# (c) Lukas Jelinek, 2007
++#
++
++# Parameter: system_table_dir
++# Meaning: system table directory
++# Description: This directory is examined by incrond for system table files.
++# Default: /etc/incron.d
++system_table_dir = /etc/incron.d
++
++
++# Parameter: user_table_dir
++# Meaning: user table directory
++# Description: This directory is examined by incrond for user table files.
++# Default: /var/spool/incron
++user_table_dir = /var/spool/incron
++
++
++# Parameter: allowed_users
++# Meaning: allowed users list file
++# Description: This file contains users allowed to use incron.
++# Default: /etc/incron.allow
++allowed_users = /etc/incron.allow
++
++
++# Parameter: denied_users
++# Meaning: denied users list file
++# Description: This file contains users denied to use incron.
++# Default: /etc/incron.deny
++denied_users = /etc/incron.deny
++
++
++# Parameter: lockfile_dir
++# Meaning: application lock file directory
++# Description: This directory is used for creating a lock avoiding to run
++# multiple instances of incrond.
++# Default: /var/run
++lockfile_dir = /var/run
++
++
++# Parameter: lockfile_name
++# Meaning: application lock file name base
++# Description: This name (appended by '.pid') is used for creating a lock
++# avoiding to run multiple instances of incrond.
++# Default: incrond
++lockfile_name = incrond
++
++
++# Parameter: editor
++# Meaning: editor executable
++# Description: This name or path is used to run as an editor for editting
++# user tables.
++# Default: vim
++editor = nano
diff --git a/sys-process/incron/incron-0.5.7.ebuild b/sys-process/incron/incron-0.5.7.ebuild
new file mode 100644
index 000000000000..d18174fc8d00
--- /dev/null
+++ b/sys-process/incron/incron-0.5.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/incron/incron-0.5.7.ebuild,v 1.1 2007/12/19 20:50:03 hollow Exp $
+
+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"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+CONFIG_CHECK="INOTIFY"
+ERROR_INOTIFY="Recompile your kernel with inotify support - CONFIG_INOTIFY"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ emake CXX=$(tc-getCXX) CXXFLAGS="${CXXFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/sys-process/incron/metadata.xml b/sys-process/incron/metadata.xml
new file mode 100644
index 000000000000..6d96727da5ca
--- /dev/null
+++ b/sys-process/incron/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>hollow@gentoo.org</email>
+ <name>Benedikt Böhm</name>
+</maintainer>
+</pkgmetadata>