diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rpm.daily | 4 | ||||
-rw-r--r-- | scripts/rpm.log | 5 | ||||
-rw-r--r-- | scripts/rpm.xinetd | 16 |
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 +} |