Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 162346

Summary: incron (new ebuild)
Product: Gentoo Linux Reporter: Wolfgang Herget <wherget>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: VERIFIED FIXED    
Severity: enhancement CC: phajdan.jr, radek, ryan.reich, wschlich
Priority: High Keywords: EBUILD, InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://incron.aiken.cz
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: proposed ebuild
plaintext ebuild
required patch

Description Wolfgang Herget 2007-01-16 11:33:29 UTC
There is no ebuild for incron (http://incron.aiken.cz).

Incron is a daemon that executes programs when certain file system
operations take place (as offered by the kernel INOTIFY notification system),
much like time-based cron.

I have made an ebuild for this, maybe someone can improve on it
and commit it to the portage tree. (there still is a typo in the
init script, which was shamelessly ripped off gpm...)

Reproducible: Always

Steps to Reproduce:
Comment 1 Wolfgang Herget 2007-01-16 11:35:09 UTC
Created attachment 107168 [details]
proposed ebuild

My version of an incron ebuild, please review (and have mercy on me, this is
one of the first ebuilds I've written).
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-16 11:43:11 UTC
Please, don't attach tarballs... http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap2

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-16 12:16:22 UTC
Attach a plaintext ebuild and reopen then; thanks.
Comment 4 Wolfgang Herget 2007-01-16 12:57:22 UTC
Created attachment 107174 [details]
plaintext ebuild
Comment 5 Wolfgang Herget 2007-01-16 12:59:14 UTC
Created attachment 107175 [details, diff]
required patch

not really a well done patch, but it works
Comment 6 Wolfgang Herget 2007-01-16 13:02:14 UTC
attached files as requested. reopening.
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-01-16 14:12:06 UTC
You can perform check for kernel features in a much more clean way (example from nvidia-drivers):

inherit (...) linux-mod (...)

...

ebegin "Checking for MTRR support"
linux_chkconfig_present MTRR
eend $?

if [[ $? -ne 0 ]] ; then
	...
	die "MTRR support not detected!"
fi
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-24 11:03:14 UTC
Updated ebuild and patch in sunrise overlay...

http://gentoo-sunrise.org/svn/reviewed/sys-process/incron/
Comment 9 SpanKY gentoo-dev 2007-07-12 03:21:42 UTC
*** Bug 184800 has been marked as a duplicate of this bug. ***
Comment 10 Ryan Reich 2007-07-14 19:17:16 UTC
Apropos of the previous entry where my bug was marked a duplicate of this one...fair enough, since we both submit ebuilds for incron, but I don't want it to be lost that my bug also concerns the cron setup, and so is strictly a superset of this one.  More accurately this should be the duplicate bug, not mine...
Comment 11 Benedikt Böhm (RETIRED) gentoo-dev 2007-12-19 21:00:27 UTC
0.5.7 in cvs, no idea about fcron, sorry