summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Huneycutt <chadh@gentoo.org>2001-08-07 01:20:08 +0000
committerChad Huneycutt <chadh@gentoo.org>2001-08-07 01:20:08 +0000
commit704b90d8fc19f0648bc585a609fab00770a2cb2b (patch)
tree615f81cda307e3abc771be4321a34dbf6380f0f8 /app-admin/petrovich/files
parentadded virtual use x11-libs/xaw -> /x11-libs/Xaw3d (diff)
downloadgentoo-2-704b90d8fc19f0648bc585a609fab00770a2cb2b.tar.gz
gentoo-2-704b90d8fc19f0648bc585a609fab00770a2cb2b.tar.bz2
gentoo-2-704b90d8fc19f0648bc585a609fab00770a2cb2b.zip
petrovich - a file integrity checker
Diffstat (limited to 'app-admin/petrovich/files')
-rw-r--r--app-admin/petrovich/files/petrovich-1.0.0-gentoo.diff32
-rw-r--r--app-admin/petrovich/files/petrovich.conf6
2 files changed, 38 insertions, 0 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
new file mode 100644
index 000000000000..de193296fdf1
--- /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
+*** petrovich.orig/petrovich.pl Mon Jul 16 12:34:55 2001
+--- petrovich/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