summaryrefslogtreecommitdiff
path: root/changedfiles
diff options
context:
space:
mode:
Diffstat (limited to 'changedfiles')
-rw-r--r--changedfiles/changedfiles-daemon_1.0-rc1.oe16
-rw-r--r--changedfiles/changedfiles-modules_1.0-rc1.oe26
2 files changed, 34 insertions, 8 deletions
diff --git a/changedfiles/changedfiles-daemon_1.0-rc1.oe b/changedfiles/changedfiles-daemon_1.0-rc1.oe
index bbc1ed77be..838db34ea2 100644
--- a/changedfiles/changedfiles-daemon_1.0-rc1.oe
+++ b/changedfiles/changedfiles-daemon_1.0-rc1.oe
@@ -1,14 +1,14 @@
-DESCRIPTION=A framework for simple filesystem replication and/or security monitoring and/or automatic file transformations \
+DESCRIPTION = "A framework for simple filesystem replication and/or security monitoring and/or automatic file transformations \
-- essentially any application where one would poll files or directories and either do things to them or send them out.
-SECTION="base"
-PRIORITY="optional"
-MAINTAINER="Michael Lauer <mickey@Vanille.de>"
-LICENSE="GPL"
-DEPENDS="virtual/libc fget"
-RDEPENDS="libc6 fget"
+SECTION = "base"
+PRIORITY = "optional"
+MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+DEPENDS = "virtual/libc fget"
+RDEPENDS = "libc6 fget"
SRC_URI = http://www.bangstate.com/changedfiles-${PV}.tar.gz
-S = ${WORKDIR}/changedfiles-${PV}
+S = "${WORKDIR}/changedfiles-${PV}"
inherit autotools libtool
diff --git a/changedfiles/changedfiles-modules_1.0-rc1.oe b/changedfiles/changedfiles-modules_1.0-rc1.oe
index e69de29bb2..a05226ffb0 100644
--- a/changedfiles/changedfiles-modules_1.0-rc1.oe
+++ b/changedfiles/changedfiles-modules_1.0-rc1.oe
@@ -0,0 +1,26 @@
+DESCRIPTION = "A framework for simple filesystem replication and/or security monitoring and/or automatic file transformations \
+-- essentially any application where one would poll files or directories and either do things to them or send them out.
+SECTION = "base"
+PRIORITY = "optional"
+MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+
+SRC_URI = http://www.bangstate.com/changedfiles-${PV}.tar.gz
+S = "${WORKDIR}/changedfiles-${PV}/module"
+
+inherit module
+
+do_compile() {
+ changedfiles.o: changedfiles.c
+ ${CC} -Wall -DMODULE -D__KERNEL__ -I${KERNEL_PATH} -c changedfiles.c
+}
+
+#install-exec-hook:
+# (/bin/mknod /dev/changedfiles c 40 0; exit 0 )
+# chmod 0600 /dev/changedfiles
+#FIXME perhaps package also readtest in an init script?
+
+do_install() {
+ install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/fs/changedfiles/
+ install -m 0755 changedfiles.o ${D}/lib/modules/${KERNEL_VERSION}/kernel/fs/changedfiles/
+}