]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
audit: Drop package
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Dec 2022 16:24:25 +0000 (16:24 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Dec 2022 16:24:25 +0000 (16:24 +0000)
This package is not very useful as we do not have any sources
configured, nor do we have the audit subsystem enabled in the kernel.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
audit/audit.nm [deleted file]
audit/systemd/auditd.service [deleted file]
openssh/openssh.nm

diff --git a/audit/audit.nm b/audit/audit.nm
deleted file mode 100644 (file)
index 094a51b..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = audit
-version    = 2.5
-release    = 1
-
-groups     = System/Daemons
-url        = http://people.redhat.com/sgrubb/audit/
-license    = GPLv2+
-summary    = User space tools for 2.6 kernel auditing.
-
-description
-       The audit package contains the user space utilities for
-       storing and searching the audit records generate by
-       the audit subsystem in the Linux 2.6 kernel.
-end
-
-source_dl  = http://people.redhat.com/sgrubb/audit/
-
-build
-       requires
-               autoconf
-               automake
-               libcap-ng-devel
-               libtool
-               openldap-devel
-               python-devel
-               swig
-       end
-
-       configure_options += \
-               --without-prelude \
-               --without-libwrap \
-               --enable-gssapi-krb5=no \
-               --with-libcap-ng=yes
-
-       prepare_cmds
-               autoreconf -fvi
-       end
-
-       install_cmds
-               mkdir -pv %{BUILDROOT}/var/log/audit
-
-               rm -rfv %{BUILDROOT}/etc/{rc.d,sysconfig}
-       end
-end
-
-packages
-       package %{name}
-               prerequires += systemd-units
-
-               script postin
-                       /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-               end
-
-               script preun
-                       /bin/systemctl --no-reload disable auditd.service >/dev/null 2>&1 || :
-                       /bin/systemctl stop auditd.service >/dev/null 2>&1 || :
-               end
-
-               script postun
-                       /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-               end
-
-               script postup
-                       /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-                       /bin/systemctl try-restart auditd.service >/dev/null 2>&1 || :
-               end
-       end
-
-       package %{name}-libs
-               template LIBS
-       end
-
-       package %{name}-devel
-               template DEVEL
-
-               # Just require the libs to link
-               # against them.
-               requires
-                       %{name}-libs = %{thisver}
-               end
-       end
-
-       package python-%{name}
-               summary = Python bindings for libaudit.
-               description = %{summary}
-
-               files
-                       %{libdir}/python*/
-               end
-       end
-
-       package %{name}-debuginfo
-               template DEBUGINFO
-       end
-end
diff --git a/audit/systemd/auditd.service b/audit/systemd/auditd.service
deleted file mode 100644 (file)
index 04b0b36..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Security Auditing Service
-After=syslog.target
-
-[Service]
-ExecStart=/sbin/auditd -n
-ExecStartPost=/sbin/auditctl -R /etc/audit/audit.rules
-
-[Install]
-WantedBy=multi-user.target
-
index 6df5d41fa10c02e443444e81f178e98392a16be7..9ae7bf73884f794de249500d8e34e2d16d461cc6 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = openssh
 version    = 9.1p1
-release    = 1
+release    = 2
 
 groups     = Application/Internet
 url        = https://www.openssh.com/portable.html
@@ -130,7 +130,6 @@ packages
                description = %{summary}
 
                requires
-                       audit
                        openssh = %{thisver}
                end