summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/petrovich/files/petrovich-1.0.0-gentoo.diff4
-rw-r--r--app-admin/petrovich/petrovich-1.0.0-r1.ebuild29
2 files changed, 31 insertions, 2 deletions
diff --git a/app-admin/petrovich/files/petrovich-1.0.0-gentoo.diff b/app-admin/petrovich/files/petrovich-1.0.0-gentoo.diff
index de193296fdf..9dd32968b24 100644
--- a/app-admin/petrovich/files/petrovich-1.0.0-gentoo.diff
+++ b/app-admin/petrovich/files/petrovich-1.0.0-gentoo.diff
@@ -1,6 +1,6 @@
diff -r -C2 petrovich.orig/petrovich.pl petrovich/petrovich.pl
-*** petrovich.orig/petrovich.pl Mon Jul 16 12:34:55 2001
---- petrovich/petrovich.pl Sun Aug 5 22:22:54 2001
+*** a/petrovich.pl Mon Jul 16 12:34:55 2001
+--- b/petrovich.pl Sun Aug 5 22:22:54 2001
***************
*** 278,285 ****
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 00000000000..b5fd02481bd
--- /dev/null
+++ b/app-admin/petrovich/petrovich-1.0.0-r1.ebuild
@@ -0,0 +1,29 @@
+# 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"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~ppc ~sparc"
+
+DEPEND="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
+}