summaryrefslogtreecommitdiff
path: root/app-admin/petrovich
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/petrovich
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/petrovich')
-rw-r--r--app-admin/petrovich/Manifest8
-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
-rw-r--r--app-admin/petrovich/petrovich-1.0.0.ebuild32
6 files changed, 116 insertions, 0 deletions
diff --git a/app-admin/petrovich/Manifest b/app-admin/petrovich/Manifest
new file mode 100644
index 000000000000..cdf92a83bc78
--- /dev/null
+++ b/app-admin/petrovich/Manifest
@@ -0,0 +1,8 @@
+AUX petrovich-1.0.0-gentoo.diff 1135 SHA256 aac6a52e39d3b725a453176565f7f28cf6f5cb176f41fdafca513c3b13be1c38 SHA512 cccefe0f88bdc0c4665e38c7e9760e273c5a40dfbbff086839128f2f3556e1e9c1094c2d7380045899d02e5c56aa84280c578a91cef86776e06841a40581b3df WHIRLPOOL 33c7400da4729787caf66f47ea9eac5e3fa492cddf9607c7030c47de49ccee3979bd4a2c378a7de6855b93a18395f19fc9bd216ba6b1def1534d3c1f22e7ff99
+AUX petrovich.conf 135 SHA256 db22ff4971cb158ced622578809ae6a33b102ffc409fa61d9d2ab8f6e30e6e12 SHA512 eaede98ec4921e5b9dae0c79f685d71c1001eed313529ff5c20a55f956d4eb2682880aebb56717f40c090feb92eeba6060aa96ecf45b94fb764cf76993febce1 WHIRLPOOL a62fa89eb8663f67c57b79fa0a2d90e6793a003269402ef590dfd456225bcf71c834e6ec2a73475081088da0bcf914b533e94355a3d7b8bb3587ee8b9611b993
+DIST petrovich-1.0.0.tar.gz 17844 SHA256 f6d1536844bda3897c7a7ee1beafa6a618fa8544f48798df61fb93e8e5a76663 SHA512 5f30cffffba670ee6c6b53b93427f380c389ba60ee5717cb6ac632aacbd81fba514c0843db4d8e093e164fd8cf275f280a9da5a184b27c077789f2e359b05b5d WHIRLPOOL cf74125699d1f559301e1c243fe9338464dabe997e4b1a29ef6d4a99b3fd43e0118e098aac76955ba6986a617505158cbe032beaaea7732e28e8dee11dce5a2b
+EBUILD petrovich-1.0.0-r1.ebuild 625 SHA256 ccd4e0c3603a69fab5623f76ac2afd51ddc020e1b29f51dc4e892c35c63fa14d SHA512 4a155e00631434dda8a2d0eac096505ae019082053333530e23f2fa0081b494069995f0529484e8ec6ed1d52e1c2385231572b6cfa3decd170f3b3e15834913e WHIRLPOOL faa85409e46a9853819403320911ed07c9d79825dc1804dee1781c65cbdaa20f41c281c48049b44e49651ae4a8ee01b49ff72037749891223bfdf5ec1554758e
+EBUILD petrovich-1.0.0.ebuild 659 SHA256 cc00a0337d3ecd980984a100f578e0102b19e5c9cf18866cf167b156faceeed3 SHA512 c1dd3338cc0f691172093c94b6733c4c4f99cfbc51e393fc5c37ce7965f400dadc5b67546d5ab7de36bac36d9bee512349c24bd533a9edc89995c1177c37dd28 WHIRLPOOL 0467fb4e6b54fa1f97932c741909a2359ca027943e1abed1b2e53fa2d9d056ea9b3177f4414cb68a1ad8893d85fdb2aa4dec46dc9ce85057ad0939bad5174f79
+MISC ChangeLog 2704 SHA256 01bba7780b2faccaea24fdf29d60b9f973ba29dd1b6cbba605f6dd0ad961da8b SHA512 19d4c2086bccee5c3eac4c91a3f241c46d11a786596272150cf8060fe74473d4a3b2339162c65167c782a3c4409733bf2a72a770b739f6d43d01ba51439d0459 WHIRLPOOL 56c848f618d740c0ef89881980c1dc1274962143a9001c60a6489637e35ec89be6f2fc033cbeca7d0b56e9e83006056e47f0e29ca4e9fce8dee51eac88b86dc7
+MISC ChangeLog-2015 1647 SHA256 b178af438ce56bc1e15f926f22e4e3deba274711bcab5af12bf5fc789c9bbc5b SHA512 645968fedf10a4baeeb421341a208fbf7cd2d75e015b516d3e84994bcfc7ec59b149a9d2494a7e78cdf357dedc23df104ff4cd11c39d3c89a1816a9953d124ad WHIRLPOOL 40a0952df441a102fa7b2df9342fa7fe007caa2ac26fea053364ae280d2c0892c10d640cb4c65ada54157a3b3995a2943c426fe3081cc98b115dccb7fa55fdf8
+MISC metadata.xml 246 SHA256 df90d7e74c6202a0f8814fe66b9e8ee653b01499f89035b0ee28ec6c12313d5f SHA512 4d51d21df3e15db124014390bae632822966de5d93b522bb12d23471b3f27b8e097a0c5b32d742c8a15ff0d98609a76da416698b09d625eef6edaa4e3b965f60 WHIRLPOOL 6fbacaf227411034a2005d722a27c8ea8ff05e898bd740a64a6c23b56ed128bfb9757b48b6fcc96b1fe41580bd7988f3e4e08a3b79bca4d044faaf3ffe61dd2c
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..f5bdd23dcd86
--- /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 ~x86 ~ppc ~sparc"
+
+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
+}
diff --git a/app-admin/petrovich/petrovich-1.0.0.ebuild b/app-admin/petrovich/petrovich-1.0.0.ebuild
new file mode 100644
index 000000000000..ffe3db4f1cd0
--- /dev/null
+++ b/app-admin/petrovich/petrovich-1.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="Filesystem Integrity Checker"
+SRC_URI="mirror://sourceforge/petrovich/${P}.tar.gz"
+HOMEPAGE="https://sourceforge.net/projects/petrovich"
+IUSE=""
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc"
+
+DEPEND="virtual/perl-Digest-MD5"
+
+src_unpack () {
+ unpack ${A}
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}"/${PF}-gentoo.diff
+}
+
+src_install() {
+ dosbin petrovich.pl
+
+ insinto /etc
+ doins "${FILESDIR}"/petrovich.conf
+
+ dodir /var/db/petrovich
+
+ dohtml CHANGES.HTML LICENSE.HTML README.HTML TODO.HTML USAGE.HTML
+}