summaryrefslogtreecommitdiff
path: root/app-admin/filewatcher
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/filewatcher
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/filewatcher')
-rw-r--r--app-admin/filewatcher/Manifest6
-rw-r--r--app-admin/filewatcher/files/filewatcher.conf24
-rw-r--r--app-admin/filewatcher/filewatcher-2.4.6-r1.ebuild38
-rw-r--r--app-admin/filewatcher/metadata.xml8
4 files changed, 76 insertions, 0 deletions
diff --git a/app-admin/filewatcher/Manifest b/app-admin/filewatcher/Manifest
new file mode 100644
index 000000000000..763c1256a32e
--- /dev/null
+++ b/app-admin/filewatcher/Manifest
@@ -0,0 +1,6 @@
+AUX filewatcher.conf 567 SHA256 a2cdc87ec46e3ad4a7f2be2a37aeca5ec9eacc5b777ea09d44c5ea0a6a8a4952 SHA512 74108243a29e3993cf2c1b6bc4821907918e978a0bd7e6ca76c62172485ac94587a685c504fbb0a32a326e5537ebe00d0418f56229dc2031e3142773571ced14 WHIRLPOOL d60b3cbf1e83fe3c8a0ba2a2bc0dacb929d47e239c16b7b04a68344e65ec6fb38e149ca18e6c82d6a4c8ffbfbd34cc7bb9cdbdd8d0281e6d8d591a7e2b660dc3
+DIST filewatcher-2.4.6.tar.gz 37459 SHA256 abff119b18cb915d0116aa910e0cc54f1a8e97ceb47d37c02bd58fde86d9829c SHA512 a6e1d2fb11f54352f963c21a1cbb42ceadcf3aff0ebf2b0e629d7827fada12c03531ecc9b9400afc65937830f92a0f16c54abd1cc034392351b72326943d6442 WHIRLPOOL ba23f0f230d78fd335e9897dfd0b25876996ba5ded1ef80eeb69021d65f6f2a0bf2aa8ceadfd229c09712f0616fd55f625b9b2b3999733aa0d80dcbc33a6fe55
+EBUILD filewatcher-2.4.6-r1.ebuild 890 SHA256 4a8c6a83e18278f0b8046252e98c7efc0e5306a2a9166c238efa4dfcdf04b824 SHA512 b0c53b07b6291277346de663325a8a88a1782ef752efe7a36a34d5d6584a0c154095ccb2ff56c3afab0711bbe866977ae40ba9c4213048f59c3e65b3361d28d4 WHIRLPOOL 17a86804a4c34909c06e649fe5958b0ce1c277d932f1a325ba4a7de6c18b0d0edbfbf7526e4b4f4735732b005e9601058171adbeb24d58898758159c0f58a97f
+MISC ChangeLog 2676 SHA256 06661f5f230bce06a8225134bd565b54928d7bd351ddb558a5dca370eba04276 SHA512 0b056c2dd2fa01bcb0a80893b1c52b0765a20d0b4b10a69ce8529053df290e435715112d7b6523e60faaacba3c771051003a8b3484e12c966559f2c6faf3daa4 WHIRLPOOL f46eb15ba8b9611e75157c8fb633eef8b744789533b568a97f50a2df18dc513d4abe4060df07383d71f07f36e104c924cd9c2a2ae470d830c355ef773455502d
+MISC ChangeLog-2015 2115 SHA256 cb8e4383dac71e4f2c8603189ad0aa3452c4664db17620a238a11d3c80e7141b SHA512 b80718e321fb098510c08441483e24081c7b11b70ccc77a0e6aac13bb3d2955a7a5e7d15d4979895165be5f9b4f746cd39e81e4a124f34ee6d372edc889f740e WHIRLPOOL 9e1a9f0c7f4342792ddb680a58079707585785675cb33c2b304a697e51cf1d34fef0f29ad46d5a2a45b5af78579f1fe702aa110b071b5f484025ee671e8aa44e
+MISC metadata.xml 248 SHA256 d905942523422a3bcd5b920b290603f3cf606f14c6e728353df8bbb8d07b75ab SHA512 b9359e11a093d5e57800889f12683be0fc228d18dc9a63bd258d428185d825475089911629a9e34c53ae27cea7591caeb8ab8dee92d9bfe05d7037f48c3ee75e WHIRLPOOL bd692b465d0bb843c7a70d55d4fb22b31c7b15333c857b40f516dd33ad7a905e965e95d016af9c14c764a6776482c7214c556e7e5d76c0aa7a3f187558f9f1fe
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.6-r1.ebuild b/app-admin/filewatcher/filewatcher-2.4.6-r1.ebuild
new file mode 100644
index 000000000000..db9d3becf660
--- /dev/null
+++ b/app-admin/filewatcher/filewatcher-2.4.6-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="File control configuration system and IDS"
+HOMEPAGE="https://sourceforge.net/projects/filewatcher/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+ dev-perl/MailTools
+ dev-vcs/rcs
+ virtual/mta"
+
+DOCS=( Changes README )
+
+src_install() {
+ keepdir /var/lib/filewatcher /var/lib/filewatcher/archive
+ dosbin filewatcher
+ doman filewatcher.1
+ insinto /etc
+ doins "${FILESDIR}"/filewatcher.conf
+ einstalldocs
+}
+
+pkg_postinst() {
+ elog " A basic configuration has been provided in"
+ elog " /etc/filewatcher.conf. It is strongly"
+ elog " recommended that you invoke filewatcher via"
+ elog " crontab."
+ elog
+ elog " 55,25,40 * * * * root /usr/sbin/filewatcher"
+ elog " --config=/etc/filewatcher.conf"
+}
diff --git a/app-admin/filewatcher/metadata.xml b/app-admin/filewatcher/metadata.xml
new file mode 100644
index 000000000000..78a26da23d19
--- /dev/null
+++ b/app-admin/filewatcher/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">filewatcher</remote-id>
+ </upstream>
+</pkgmetadata>