summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-05-13 18:03:34 +0000
committerjbj <devnull@localhost>2001-05-13 18:03:34 +0000
commit9b44f1b7168b70652f7fad2e0da6fdade4b965d7 (patch)
tree907b183851b25ed6e70585c18c4f99a5dba01206
parent87c15895a05f100b8a6eb26c17f8742f2b1b3df2 (diff)
downloadrpm-9b44f1b7168b70652f7fad2e0da6fdade4b965d7.tar.gz
rpm-9b44f1b7168b70652f7fad2e0da6fdade4b965d7.tar.bz2
rpm-9b44f1b7168b70652f7fad2e0da6fdade4b965d7.zip
- add cron/logrotate scripts to save installed package filenames.
CVS patchset: 4779 CVS date: 2001/05/13 18:03:34
-rwxr-xr-xscripts/rpm.daily4
-rw-r--r--scripts/rpm.log5
-rw-r--r--scripts/rpm.xinetd16
3 files changed, 25 insertions, 0 deletions
diff --git a/scripts/rpm.daily b/scripts/rpm.daily
new file mode 100755
index 000000000..c4478873f
--- /dev/null
+++ b/scripts/rpm.daily
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' 2>&1 \
+ | sort > /var/log/rpmpkgs
diff --git a/scripts/rpm.log b/scripts/rpm.log
new file mode 100644
index 000000000..732c30118
--- /dev/null
+++ b/scripts/rpm.log
@@ -0,0 +1,5 @@
+/var/log/rpmpkgs {
+ weekly
+ notifempty
+ missingok
+}
diff --git a/scripts/rpm.xinetd b/scripts/rpm.xinetd
new file mode 100644
index 000000000..2f59c0d17
--- /dev/null
+++ b/scripts/rpm.xinetd
@@ -0,0 +1,16 @@
+# This is entirely speculative at the moment, caveat emptor.
+service rpmdb
+{
+ disable = yes
+ type = RPC
+ rpc_number = 351457
+ rpc_version = 1-1
+ protocol = tcp
+ socket_type = stream
+ wait = no
+ user = rpm
+ group = rpm
+ instances = 1
+ server = /usr/bin/berkeley_db_svc
+ server_args = -h /var/lib/rpm
+}