summaryrefslogtreecommitdiff
path: root/app-admin/petrovich
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/petrovich
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/petrovich')
-rw-r--r--app-admin/petrovich/Manifest5
-rw-r--r--app-admin/petrovich/files/petrovich-1.0.0-gentoo.diff32
-rw-r--r--app-admin/petrovich/files/petrovich.conf6
-rw-r--r--app-admin/petrovich/metadata.xml8
-rw-r--r--app-admin/petrovich/petrovich-1.0.0-r1.ebuild30
5 files changed, 81 insertions, 0 deletions
diff --git a/app-admin/petrovich/Manifest b/app-admin/petrovich/Manifest
new file mode 100644
index 000000000000..f59a9c8469fc
--- /dev/null
+++ b/app-admin/petrovich/Manifest
@@ -0,0 +1,5 @@
+AUX petrovich-1.0.0-gentoo.diff 1135 BLAKE2B cfb4a284f943e6e7dd97f63ff14641ef0c1c5a962926f3220640d8b76804bfb4e754a62c11988b7352b796b1646739a969690336316f657b98e831fde5804a53 SHA512 cccefe0f88bdc0c4665e38c7e9760e273c5a40dfbbff086839128f2f3556e1e9c1094c2d7380045899d02e5c56aa84280c578a91cef86776e06841a40581b3df
+AUX petrovich.conf 135 BLAKE2B 37e803f0a90805af7f2888d24ca64fb5eb25e2795ac8fb6bbd52e4cd0614b1005b5ebb8cb401054f7ff77703f957ccb41ccfa9e9fa0033e2dbddc2ee216c99b7 SHA512 eaede98ec4921e5b9dae0c79f685d71c1001eed313529ff5c20a55f956d4eb2682880aebb56717f40c090feb92eeba6060aa96ecf45b94fb764cf76993febce1
+DIST petrovich-1.0.0.tar.gz 17844 BLAKE2B 31815188d72656c0dcb4a49f7c1511213ebaf049c2f3961e6aa0ce8ba74f7705b38b414745a73b9c78f05b6e164940e6eea92a8f885b96ad1afbe0f811411734 SHA512 5f30cffffba670ee6c6b53b93427f380c389ba60ee5717cb6ac632aacbd81fba514c0843db4d8e093e164fd8cf275f280a9da5a184b27c077789f2e359b05b5d
+EBUILD petrovich-1.0.0-r1.ebuild 621 BLAKE2B 70ad5a70796983199e5fe5398abd6e7ec3589190d162b2b0d5f1c2f341dcd6a865238a3f879fe1c5bd07b26fa14c2f2531f6b1b27b6f0bfec4f3aa7aadad8940 SHA512 d5f5210399fc709679412554e9842a90846d3de8bac0abd212cdc87580fafc1f04670980709111795b067a2e48b0b96932052bbc18f29925b14360112b4c89cc
+MISC metadata.xml 246 BLAKE2B ff9ff7817a0afb6186b910f53aecbb49c38bb17ee4c210d6e2c178afe63c388709bdcfa6fb9419ba50f94cf54372b2c5672b7f4450627f775ef7ffdddedff5fe SHA512 4d51d21df3e15db124014390bae632822966de5d93b522bb12d23471b3f27b8e097a0c5b32d742c8a15ff0d98609a76da416698b09d625eef6edaa4e3b965f60
diff --git a/app-admin/petrovich/files/petrovich-1.0.0-gentoo.diff b/app-admin/petrovich/files/petrovich-1.0.0-gentoo.diff
new file mode 100644
index 000000000000..9dd32968b249
--- /dev/null
+++ b/app-admin/petrovich/files/petrovich-1.0.0-gentoo.diff
@@ -0,0 +1,32 @@
+diff -r -C2 petrovich.orig/petrovich.pl petrovich/petrovich.pl
+*** a/petrovich.pl Mon Jul 16 12:34:55 2001
+--- b/petrovich.pl Sun Aug 5 22:22:54 2001
+***************
+*** 278,285 ****
+
+ # undef $db_hash_verifier; # for now cuz it's not working
+! $config_file = "petrovich.conf" unless defined($config_file);
+ $hash_type = "md5" unless defined($hash_type);
+ @stuff = ("filename", "mode","uid","gid","size","mtime","ctime","$hash_type");
+! $db_file = "petrovich.db" unless defined($db_file);
+
+ # if running under windows lowercase everything
+--- 278,285 ----
+
+ # undef $db_hash_verifier; # for now cuz it's not working
+! $config_file = "/etc/petrovich.conf" unless defined($config_file);
+ $hash_type = "md5" unless defined($hash_type);
+ @stuff = ("filename", "mode","uid","gid","size","mtime","ctime","$hash_type");
+! $db_file = "/var/db/petrovich/petrovich.db" unless defined($db_file);
+
+ # if running under windows lowercase everything
+***************
+*** 324,326 ****
+ }
+
+! }
+\ No newline at end of file
+--- 324,326 ----
+ }
+
+! }
diff --git a/app-admin/petrovich/files/petrovich.conf b/app-admin/petrovich/files/petrovich.conf
new file mode 100644
index 000000000000..03da7c1535fa
--- /dev/null
+++ b/app-admin/petrovich/files/petrovich.conf
@@ -0,0 +1,6 @@
+# petrovich.conf
+# to include directories to be checked include a line like the following:
+# +/sbin
+#
+# to exclude directories
+# -/var
diff --git a/app-admin/petrovich/metadata.xml b/app-admin/petrovich/metadata.xml
new file mode 100644
index 000000000000..d57dcbd89db6
--- /dev/null
+++ b/app-admin/petrovich/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">petrovich</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-admin/petrovich/petrovich-1.0.0-r1.ebuild b/app-admin/petrovich/petrovich-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..f5ca36fa2d0a
--- /dev/null
+++ b/app-admin/petrovich/petrovich-1.0.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Filesystem Integrity Checker"
+SRC_URI="mirror://sourceforge/petrovich/${P}.tar.gz"
+HOMEPAGE="https://sourceforge.net/projects/petrovich"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+RDEPEND="virtual/perl-Digest-MD5"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=( "${FILESDIR}/${P}-gentoo.diff" )
+HTML_DOCS=( CHANGES.HTML LICENSE.HTML README.HTML TODO.HTML USAGE.HTML )
+
+src_install() {
+ dosbin "${PN}.pl"
+
+ insinto /etc
+ doins "${FILESDIR}/${PN}.conf"
+
+ dodir "/var/db/${PN}"
+
+ einstalldocs
+}