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
commitb02d1e992ddc8b1950929f8efa8927e4b6c543c6 (patch)
treefc0ecb5de97e0cdcc035fd59ec5cd32d813809e9 /sys-process/incron
parentx86 stable, bug #202592 (diff)
downloadhistorical-b02d1e992ddc8b1950929f8efa8927e4b6c543c6.tar.gz
historical-b02d1e992ddc8b1950929f8efa8927e4b6c543c6.tar.bz2
historical-b02d1e992ddc8b1950929f8efa8927e4b6c543c6.zip
initial incron ebuild
Package-Manager: portage-2.1.4_rc8
Diffstat (limited to 'sys-process/incron')
-rw-r--r--sys-process/incron/ChangeLog10
-rw-r--r--sys-process/incron/Manifest30
-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, 305 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..9b4479541ad7
--- /dev/null
+++ b/sys-process/incron/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX incron-0.5.7-gentoo.patch 6073 RMD160 9d057422999127a7fdd34cbcd15afed369e99e0f SHA1 d5b2a97b512782f8f452ef5f1929529229e2d131 SHA256 46627558516fd0891c7d026443a7aed71cd0cdbdcf44b88041ac152c25d02afe
+MD5 533e95f762ebe6eaa48fa7642fb92753 files/incron-0.5.7-gentoo.patch 6073
+RMD160 9d057422999127a7fdd34cbcd15afed369e99e0f files/incron-0.5.7-gentoo.patch 6073
+SHA256 46627558516fd0891c7d026443a7aed71cd0cdbdcf44b88041ac152c25d02afe files/incron-0.5.7-gentoo.patch 6073
+DIST incron-0.5.7.tar.gz 177659 RMD160 b82d91f3e7bd75ac91aa3e07284df281e0695e3f SHA1 63d32a5d82b733c435fd3616bba7ff4c7029e3f1 SHA256 68c724a2d56b9341b0433e00be767676f61cb3b2eb68a51351238e117385ecd6
+EBUILD incron-0.5.7.ebuild 829 RMD160 fc711eb8996724add19a980559fb4c7343e0b677 SHA1 08329f0d153f195e0c4d57d7ba092d06edf63608 SHA256 5eb3afa80b995cbb939d8e68135a411cfed18b4aaa187776b40e39dfdf086da5
+MD5 d584a184c651113b64095742301dd78a incron-0.5.7.ebuild 829
+RMD160 fc711eb8996724add19a980559fb4c7343e0b677 incron-0.5.7.ebuild 829
+SHA256 5eb3afa80b995cbb939d8e68135a411cfed18b4aaa187776b40e39dfdf086da5 incron-0.5.7.ebuild 829
+MISC ChangeLog 386 RMD160 74bd9be9281017aa4db1fcd718b725af103b95ea SHA1 911d7c8d4213925173419997f5ef2540a864d2dd SHA256 28d8a8207561f1d70c38e65061cac9c4d6c23fc65ec76adc127ef5a541d9f22c
+MD5 417336fc8b75c2662dfb8f734ef87c1f ChangeLog 386
+RMD160 74bd9be9281017aa4db1fcd718b725af103b95ea ChangeLog 386
+SHA256 28d8a8207561f1d70c38e65061cac9c4d6c23fc65ec76adc127ef5a541d9f22c ChangeLog 386
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHaYQDmPFBzbX68WERAmRlAJ0Q6TrRXBBHgP9IB8Qq/89B0f6v6ACfdMnq
+H8n7hd5VIwqW1osWKNvIyQM=
+=bMih
+-----END PGP SIGNATURE-----
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>