summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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
+}