summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElfyn McBratney <beu@gentoo.org>2005-04-28 18:54:55 +0000
committerElfyn McBratney <beu@gentoo.org>2005-04-28 18:54:55 +0000
commita9c0332a7fb4b3d140094fd0e034c0bb5be5fdfd (patch)
tree090898748ee2a305e37076c1f2c7bd27099bd4a3 /app-admin/filewatcher
parentGetting rid of cruft. Thanks arch teams for stabling this so quick :) (diff)
downloadhistorical-a9c0332a7fb4b3d140094fd0e034c0bb5be5fdfd.tar.gz
historical-a9c0332a7fb4b3d140094fd0e034c0bb5be5fdfd.tar.bz2
historical-a9c0332a7fb4b3d140094fd0e034c0bb5be5fdfd.zip
New package, thanks to Andrew D Kirch.
Package-Manager: portage-2.0.51.20-r5
Diffstat (limited to 'app-admin/filewatcher')
-rw-r--r--app-admin/filewatcher/ChangeLog10
-rw-r--r--app-admin/filewatcher/Manifest15
-rw-r--r--app-admin/filewatcher/files/digest-filewatcher-2.4.01
-rw-r--r--app-admin/filewatcher/files/filewatcher.conf24
-rw-r--r--app-admin/filewatcher/filewatcher-2.4.0.ebuild38
-rw-r--r--app-admin/filewatcher/metadata.xml9
6 files changed, 97 insertions, 0 deletions
diff --git a/app-admin/filewatcher/ChangeLog b/app-admin/filewatcher/ChangeLog
new file mode 100644
index 000000000000..42a0836d59d7
--- /dev/null
+++ b/app-admin/filewatcher/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-admin/filewatcher
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/filewatcher/ChangeLog,v 1.1 2005/04/28 18:54:55 beu Exp $
+
+*filewatcher-2.4.0 (28 Apr 2005)
+
+ 28 Apr 2005; Elfyn McBratney <beu@gentoo.org> +files/filewatcher.conf,
+ +metadata.xml, +filewatcher-2.4.0.ebuild:
+ Initial ebuild, thanks to Andrew D Kirch.
+
diff --git a/app-admin/filewatcher/Manifest b/app-admin/filewatcher/Manifest
new file mode 100644
index 000000000000..16d26589294e
--- /dev/null
+++ b/app-admin/filewatcher/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 586d4486e3a7f80383b4b78fa54d78ad metadata.xml 220
+MD5 680fb0be12d4933f00287ee0dfec0b76 ChangeLog 408
+MD5 2e587de338bf67ae41cf6cfd388295b7 filewatcher-2.4.0.ebuild 1253
+MD5 fbf9df1c96f8cd963174f35d7c80d01d files/filewatcher.conf 567
+MD5 6ec1ed3554e3a4ae226a000e4dac38b9 files/digest-filewatcher-2.4.0 65
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCcTGqjUHll2nfF60RAqimAJ9awBba7Ojy12O8s93DUFxoCTl72QCgxiB3
+IBIdUt5zEDLZxig4+nUynzs=
+=gM5M
+-----END PGP SIGNATURE-----
diff --git a/app-admin/filewatcher/files/digest-filewatcher-2.4.0 b/app-admin/filewatcher/files/digest-filewatcher-2.4.0
new file mode 100644
index 000000000000..8824e59f7b55
--- /dev/null
+++ b/app-admin/filewatcher/files/digest-filewatcher-2.4.0
@@ -0,0 +1 @@
+MD5 129391b361c7e62e02207963cd793de2 filewatcher-2.4.0.tgz 29770
diff --git a/app-admin/filewatcher/files/filewatcher.conf b/app-admin/filewatcher/files/filewatcher.conf
new file mode 100644
index 000000000000..e3358242759a
--- /dev/null
+++ b/app-admin/filewatcher/files/filewatcher.conf
@@ -0,0 +1,24 @@
+option archive-root /var/lib/filewatcher/archive
+option state-file /var/lib/filewatcher/state
+option warn-if-missing true
+option include-autopush true
+option skip-binary true
+
+# default notify via email to sysadm address
+option notify mailto:root
+# scan for archived files deleted from the filesystem
+option scan-frequency 4h
+watch ARCHIVE
+
+# system security files
+option scan-frequency 5m
+watch /etc/passwd
+watch /etc/group
+watch /sudoers
+
+
+# filewatcher and its configuration files
+option scan-frequency 30m
+watch /etc/filewatcher.conf
+watch /usr/sbin/filewatcher
+
diff --git a/app-admin/filewatcher/filewatcher-2.4.0.ebuild b/app-admin/filewatcher/filewatcher-2.4.0.ebuild
new file mode 100644
index 000000000000..9b1d973c14cb
--- /dev/null
+++ b/app-admin/filewatcher/filewatcher-2.4.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/filewatcher/filewatcher-2.4.0.ebuild,v 1.1 2005/04/28 18:54:55 beu Exp $
+
+inherit eutils
+
+DESCRIPTION="This is a configuration file control system and IDS"
+HOMEPAGE="http://www.willingminds.com/resources/filewatcher.html"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND="dev-perl/MailTools
+ app-text/rcs
+ virtual/mta"
+
+DOCS="COPYING Changes README"
+
+src_install() {
+ keepdir /var/lib/filewatcher /var/lib/filewatcher/archive
+ dosbin filewatcher || die "could not install filewatcher"
+ doman filewatcher.1 || die "could not install filewatcher manpage"
+
+ insinto /etc
+ doins ${FILESDIR}/filewatcher.conf || \
+ die "could not install basic filewatcher config"
+}
+
+pkg_postinst() {
+ einfo " A basic configuration has been provided in "
+ einfo " /etc/filewatcher.conf. It is strongly "
+ einfo " recommended that you invoke filewatcher via "
+ einfo " crontab. "
+ echo
+ einfo " 55,25,40 * * * * root /usr/sbin/filewatcher "
+ einfo " --config=/etc/filewatcher.conf "
+}
diff --git a/app-admin/filewatcher/metadata.xml b/app-admin/filewatcher/metadata.xml
new file mode 100644
index 000000000000..4b9bbc4c3dee
--- /dev/null
+++ b/app-admin/filewatcher/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>beu@gentoo.org</email>
+</maintainer>
+</pkgmetadata>