Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162346 - incron (new ebuild)
Summary: incron (new ebuild)
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://incron.aiken.cz
Whiteboard:
Keywords: EBUILD, InVCS
: 184800 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-16 11:33 UTC by Wolfgang Herget
Modified: 2007-12-20 11:12 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed ebuild (incron.tar.bz2,4.11 KB, application/octet-stream)
2007-01-16 11:35 UTC, Wolfgang Herget
Details
plaintext ebuild (incron-0.4.0.ebuild,768 bytes, text/plain)
2007-01-16 12:57 UTC, Wolfgang Herget
Details
required patch (incron-0.4.0-gentoo.patch,8.09 KB, patch)
2007-01-16 12:59 UTC, Wolfgang Herget
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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