From 422c7a6ad8dad4c688d9a3989073508ec92cb62c Mon Sep 17 00:00:00 2001 From: "Christian Berendt (lhunephel)" Date: Fri, 23 Feb 2007 08:52:24 +0000 Subject: sys-process/incron: updated ebuild for bug #162346 svn path=/sunrise/; revision=3075 --- sys-process/incron/ChangeLog | 8 +++ sys-process/incron/Manifest | 20 +++++++ sys-process/incron/files/digest-incron-0.5.5 | 3 + sys-process/incron/files/incron-0.5.5-gentoo.patch | 70 ++++++++++++++++++++++ sys-process/incron/incron-0.5.5.ebuild | 40 +++++++++++++ sys-process/incron/metadata.xml | 5 ++ 6 files changed, 146 insertions(+) create mode 100644 sys-process/incron/ChangeLog create mode 100644 sys-process/incron/Manifest create mode 100644 sys-process/incron/files/digest-incron-0.5.5 create mode 100644 sys-process/incron/files/incron-0.5.5-gentoo.patch create mode 100644 sys-process/incron/incron-0.5.5.ebuild create mode 100644 sys-process/incron/metadata.xml (limited to 'sys-process') diff --git a/sys-process/incron/ChangeLog b/sys-process/incron/ChangeLog new file mode 100644 index 000000000..32cbf569c --- /dev/null +++ b/sys-process/incron/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-process/incron +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 23 Feb 2007; Christian Berendt (lhunephel) + +incron-0.5.5.ebuild, +files/incron-0.5.5-gentoo.patch, +metadata.xml: + updated ebuild for bug #162346 + diff --git a/sys-process/incron/Manifest b/sys-process/incron/Manifest new file mode 100644 index 000000000..9a78a800b --- /dev/null +++ b/sys-process/incron/Manifest @@ -0,0 +1,20 @@ +AUX incron-0.5.5-gentoo.patch 1932 RMD160 ac34ef28c11392b6e7edf357db331a6a59a66e27 SHA1 159f19ffa8d526f48af7886986160b35527214e9 SHA256 b32b389fc25959eda56c61cc72c5f35b65ad2adffc237cbe6f6e80f7cbd2d716 +MD5 8c2fd9548dfb82838481a9f19115d37e files/incron-0.5.5-gentoo.patch 1932 +RMD160 ac34ef28c11392b6e7edf357db331a6a59a66e27 files/incron-0.5.5-gentoo.patch 1932 +SHA256 b32b389fc25959eda56c61cc72c5f35b65ad2adffc237cbe6f6e80f7cbd2d716 files/incron-0.5.5-gentoo.patch 1932 +DIST incron-0.5.5.tar.gz 176622 RMD160 d63b4fd65559115e1a9d46a6cefe4228c35bd2e0 SHA1 7e2dcbe86c08922ae29cddb3c614d94e44a3cbb6 SHA256 4b51f9f8b8cb019b3061817a8629eadf4d8a78085134fa9cc3b8fc04a464ea3a +EBUILD incron-0.5.5.ebuild 725 RMD160 05f37c29868201883a3af7965f28ffa3c2024054 SHA1 61090e54733e6d993c9efa82388ee17816044979 SHA256 3195b6317780a59496d8e2ce3c4d5cbcd0cb652d37010e4a486930ee09c9c42a +MD5 8390bbb57d3cb267a33452b9c9069a12 incron-0.5.5.ebuild 725 +RMD160 05f37c29868201883a3af7965f28ffa3c2024054 incron-0.5.5.ebuild 725 +SHA256 3195b6317780a59496d8e2ce3c4d5cbcd0cb652d37010e4a486930ee09c9c42a incron-0.5.5.ebuild 725 +MISC ChangeLog 298 RMD160 d2c6c1e2d42c3a04fa90db305329d28befbf0343 SHA1 29c80b9bf4c367cf3bf82522a7e3108e11f1c9fd SHA256 b9481d6ff345a317dd3d93802246a6aa0e5b64abafb843c882bb3f12fa05bde8 +MD5 51173da22ddb55adc134c79f2f29a808 ChangeLog 298 +RMD160 d2c6c1e2d42c3a04fa90db305329d28befbf0343 ChangeLog 298 +SHA256 b9481d6ff345a317dd3d93802246a6aa0e5b64abafb843c882bb3f12fa05bde8 ChangeLog 298 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 ec3632039a414498bd4e858fe9727b7f files/digest-incron-0.5.5 238 +RMD160 dcd87290008c4d4d68164c30f35862374b8f0b43 files/digest-incron-0.5.5 238 +SHA256 33e88cd51d42b84ed8083533705da47724e06c3e842de6b5136a98271647123c files/digest-incron-0.5.5 238 diff --git a/sys-process/incron/files/digest-incron-0.5.5 b/sys-process/incron/files/digest-incron-0.5.5 new file mode 100644 index 000000000..9f0280565 --- /dev/null +++ b/sys-process/incron/files/digest-incron-0.5.5 @@ -0,0 +1,3 @@ +MD5 ceec983283f419e9da0b207e58ed3fbf incron-0.5.5.tar.gz 176622 +RMD160 d63b4fd65559115e1a9d46a6cefe4228c35bd2e0 incron-0.5.5.tar.gz 176622 +SHA256 4b51f9f8b8cb019b3061817a8629eadf4d8a78085134fa9cc3b8fc04a464ea3a incron-0.5.5.tar.gz 176622 diff --git a/sys-process/incron/files/incron-0.5.5-gentoo.patch b/sys-process/incron/files/incron-0.5.5-gentoo.patch new file mode 100644 index 000000000..ca05cad28 --- /dev/null +++ b/sys-process/incron/files/incron-0.5.5-gentoo.patch @@ -0,0 +1,70 @@ +diff -Nur incron-0.5.5/Makefile incron-0.5.5-r1/Makefile +--- incron-0.5.5/Makefile 2007-02-14 15:54:33.000000000 +0100 ++++ incron-0.5.5-r1/Makefile 2007-02-23 09:57:16.000000000 +0100 +@@ -1,9 +1,10 @@ + +-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) + +@@ -18,7 +19,7 @@ + CXXAUX = -pipe + + CXXFLAGS = $(OPTIMIZE) $(DEBUG) $(WARNINGS) $(CXXAUX) +-LDFLAGS = $(WARNINGS) ++LDFLAGS += $(WARNINGS) + + PROGRAMS = incrond incrontab + +@@ -45,11 +46,15 @@ + + 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 0755 incrond-init.d $(INITDIR)/incrond + + install-man: incrontab.1 incrontab.5 incrond.8 incron.conf.5 + $(INSTALL) -m 0755 -d $(MANPATH)/man1 +diff -Nur incron-0.5.5/incrond-init.d incron-0.5.5-r1/incrond-init.d +--- incron-0.5.5/incrond-init.d 1970-01-01 01:00:00.000000000 +0100 ++++ incron-0.5.5-r1/incrond-init.d 2007-02-23 09:53:59.000000000 +0100 +@@ -0,0 +1,22 @@ ++#!/sbin/runscript ++# Copyright 1999-2004 Gentoo Foundation ++# Distributed under the terms of the GNU General Public License v2 ++# $Header: $ ++ ++ ++depend() { ++ need localmount ++ use logger ++} ++ ++start() { ++ ebegin "Starting incrond" ++ /usr/sbin/incrond ++ eend ${?} ++} ++ ++stop() { ++ ebegin "Stopping incrond" ++ /usr/sbin/incrond -k ++ eend ${?} ++} diff --git a/sys-process/incron/incron-0.5.5.ebuild b/sys-process/incron/incron-0.5.5.ebuild new file mode 100644 index 000000000..0fb72e5bf --- /dev/null +++ b/sys-process/incron/incron-0.5.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils linux-mod + +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" + +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_compile() { + ebegin "Checking for INOTIFY support" + linux_chkconfig_present INOTIFY + eend $? + + if [[ $? -ne 0 ]]; then + die "INOTIFY support not enabled" + fi + + emake || 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 000000000..7e3286984 --- /dev/null +++ b/sys-process/incron/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + -- cgit v1.2.3-65-gdbad