diff options
author | Elfyn McBratney <beu@gentoo.org> | 2005-04-28 18:54:55 +0000 |
---|---|---|
committer | Elfyn McBratney <beu@gentoo.org> | 2005-04-28 18:54:55 +0000 |
commit | a2a8e6eff3dcffc63878d15f5ff600e893043fbd (patch) | |
tree | 27f401886b4fe4808d063f3e0db4eaec0dcb53fd /app-admin/filewatcher | |
parent | Getting rid of cruft. Thanks arch teams for stabling this so quick :) (diff) | |
download | gentoo-2-a2a8e6eff3dcffc63878d15f5ff600e893043fbd.tar.gz gentoo-2-a2a8e6eff3dcffc63878d15f5ff600e893043fbd.tar.bz2 gentoo-2-a2a8e6eff3dcffc63878d15f5ff600e893043fbd.zip |
New package, thanks to Andrew D Kirch.
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'app-admin/filewatcher')
-rw-r--r-- | app-admin/filewatcher/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/filewatcher/Manifest | 4 | ||||
-rw-r--r-- | app-admin/filewatcher/files/digest-filewatcher-2.4.0 | 1 | ||||
-rw-r--r-- | app-admin/filewatcher/files/filewatcher.conf | 24 | ||||
-rw-r--r-- | app-admin/filewatcher/filewatcher-2.4.0.ebuild | 38 | ||||
-rw-r--r-- | app-admin/filewatcher/metadata.xml | 9 |
6 files changed, 86 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..219fe08bc77a --- /dev/null +++ b/app-admin/filewatcher/Manifest @@ -0,0 +1,4 @@ +MD5 586d4486e3a7f80383b4b78fa54d78ad metadata.xml 220 +MD5 dc6bc74e42a91e2da5c6ac018bba39d6 filewatcher-2.4.0.ebuild 1228 +MD5 6ec1ed3554e3a4ae226a000e4dac38b9 files/digest-filewatcher-2.4.0 65 +MD5 fbf9df1c96f8cd963174f35d7c80d01d files/filewatcher.conf 567 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> |