diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2009-03-24 09:10:08 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2009-03-24 09:10:08 +0000 |
commit | 0c59e6354ab67f734cc75a1f29854c5f1abc6cdb (patch) | |
tree | e9409c2a8d673cf67cd0a418eb1cd59ec5967023 /sys-process/incron | |
parent | Version bump (#262400). Thanks to Tim Harder. (diff) | |
download | historical-0c59e6354ab67f734cc75a1f29854c5f1abc6cdb.tar.gz historical-0c59e6354ab67f734cc75a1f29854c5f1abc6cdb.tar.bz2 historical-0c59e6354ab67f734cc75a1f29854c5f1abc6cdb.zip |
version bump wrt #259920
Package-Manager: portage-2.2_rc25/cvs/Linux i686
Diffstat (limited to 'sys-process/incron')
-rw-r--r-- | sys-process/incron/ChangeLog | 8 | ||||
-rw-r--r-- | sys-process/incron/Manifest | 5 | ||||
-rw-r--r-- | sys-process/incron/files/incron-0.5.8-gentoo.patch | 142 | ||||
-rw-r--r-- | sys-process/incron/incron-0.5.8.ebuild | 34 |
4 files changed, 187 insertions, 2 deletions
diff --git a/sys-process/incron/ChangeLog b/sys-process/incron/ChangeLog index 729576ceb99d..331b841f4eff 100644 --- a/sys-process/incron/ChangeLog +++ b/sys-process/incron/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-process/incron # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/incron/ChangeLog,v 1.4 2009/01/09 19:36:25 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/incron/ChangeLog,v 1.5 2009/03/24 09:10:08 hollow Exp $ + +*incron-0.5.8 (24 Mar 2009) + + 24 Mar 2009; Benedikt Böhm <hollow@gentoo.org> + +files/incron-0.5.8-gentoo.patch, +incron-0.5.8.ebuild: + version bump wrt #259920 09 Jan 2009; Joseph Jezak <josejx@gentoo.org> incron-0.5.7.ebuild: Marked ~ppc for bug #252725. diff --git a/sys-process/incron/Manifest b/sys-process/incron/Manifest index 020f443a0449..cafde34b5c22 100644 --- a/sys-process/incron/Manifest +++ b/sys-process/incron/Manifest @@ -1,6 +1,9 @@ AUX incron-0.5.7-gcc43.patch 836 RMD160 848409c26d0e2548ddd5d9a3d05037ff2676cbc4 SHA1 0efd2cc0d00bb304e2bd885496257fe87c572d46 SHA256 dcaa0cbbff465fa0d571614216523c12dedd8e13baf518a7657b4ff20c073523 AUX incron-0.5.7-gentoo.patch 6076 RMD160 644e25e864f8a8b92b18f70b616b2579686708d8 SHA1 5c7b90c238fbf1136c5958a51202c07131983a73 SHA256 ccabc447f49e9a69ae8594e716a222e1298273239d9eadf3aa82598f35cfc69c +AUX incron-0.5.8-gentoo.patch 4100 RMD160 aba846fa138db6539881b80f84f6c32c04949ebc SHA1 c6bf094091d9ed355dc3641bfdfe3d1f0e298b32 SHA256 eda824666d7b25a96799daf1d8d9cfff02602fc722f92ce741db9b924bebe508 DIST incron-0.5.7.tar.gz 177659 RMD160 b82d91f3e7bd75ac91aa3e07284df281e0695e3f SHA1 63d32a5d82b733c435fd3616bba7ff4c7029e3f1 SHA256 68c724a2d56b9341b0433e00be767676f61cb3b2eb68a51351238e117385ecd6 +DIST incron-0.5.8.tar.gz 172865 RMD160 f73b209be7eb638b20c5db76e1aed716d7244bf0 SHA1 b31e39326052534c87d2d703edfb84d4e284cf59 SHA256 761df34cba81ca8d26bdac4fce197829da053c9c30784b8285cce2aaf77c25bf EBUILD incron-0.5.7.ebuild 873 RMD160 669fee6f941a2290d9c477f44336715a087d1206 SHA1 be961a594c8853553b8d46dadf845b3f12dfb8e1 SHA256 f91a35f3e0842a15ec94bb7793fb0f3d02a43ef253082ff663340b4b8fa68e43 -MISC ChangeLog 720 RMD160 a3dd9fbb7c95d19f8430d39f15df6df0cb35ee39 SHA1 5a7aeb419053d4f708f17caad1936339471ae8de SHA256 b1ee1e83898d9c9cc4663ef650e76ae6f0a02f41392bea4c8cf887a2eec8baef +EBUILD incron-0.5.8.ebuild 821 RMD160 7f59c8e37be27e191b6e92b0e8e1a93decb31c50 SHA1 969eeaad577d9dc7225bc3117c3e1b27a0552a57 SHA256 cf02c075525bf726eb09a5d3a0d61d5ed31966d4507dd3942934bf00d8e7fd41 +MISC ChangeLog 885 RMD160 3655fb1b6db0c82139433d7d76ae74d01e7806df SHA1 1e831fef67e6f0be1dd31ff3db78bffb4182bc7a SHA256 eaa93b1f9e69b1369704f7d526ba31278a474b44cb89fb76ecbd69bddf89792f MISC metadata.xml 233 RMD160 c21983c100e355762b363095c8288c30ddec80ec SHA1 48d7d2e93ee2f8dfd344b40c2c468e1509029c77 SHA256 beb476ec6e21df29167e9daf82fb8dfbfc63be8daa1f841288694882bbc27a98 diff --git a/sys-process/incron/files/incron-0.5.8-gentoo.patch b/sys-process/incron/files/incron-0.5.8-gentoo.patch new file mode 100644 index 000000000000..70a9a9af3054 --- /dev/null +++ b/sys-process/incron/files/incron-0.5.8-gentoo.patch @@ -0,0 +1,142 @@ +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.8-gentoo.patch,v 1.1 2009/03/24 09:10:08 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 +=================================================================== +--- /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.8.ebuild b/sys-process/incron/incron-0.5.8.ebuild new file mode 100644 index 000000000000..31ed53b0b653 --- /dev/null +++ b/sys-process/incron/incron-0.5.8.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/incron/incron-0.5.8.ebuild,v 1.1 2009/03/24 09:10:08 hollow Exp $ + +EAPI="2" + +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 ~ppc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +CONFIG_CHECK="INOTIFY" +ERROR_INOTIFY="Recompile your kernel with inotify support - CONFIG_INOTIFY" + +src_prepare() { + 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" +} |