rpms/audit/devel audit-1.8-crypto.patch, NONE, 1.1 audit.spec, 1.199, 1.200

Steve Grubb sgrubb at fedoraproject.org
Tue Jan 13 21:52:13 UTC 2009


Author: sgrubb

Update of /cvs/pkgs/rpms/audit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18584

Modified Files:
	audit.spec 
Added Files:
	audit-1.8-crypto.patch 
Log Message:
Add crypto event definitions


audit-1.8-crypto.patch:

--- NEW FILE audit-1.8-crypto.patch ---
Index: /trunk/lib/libaudit.h
===================================================================
--- /trunk/lib/libaudit.h (revision 171)
+++ /trunk/lib/libaudit.h (revision 234)
@@ -227,4 +227,12 @@
 
 #define AUDIT_FIRST_CRYPTO_MSG		2400
+#define AUDIT_CRYPTO_TEST_USER		2400 /* Crypto test results */
+#define AUDIT_CRYPTO_PARAM_CHANGE_USER	2401 /* Crypto attribute change */
+#define AUDIT_CRYPTO_LOGIN		2402 /* Logged in as crypto officer */
+#define AUDIT_CRYPTO_LOGOUT		2403 /* Logged out from crypto */
+#define AUDIT_CRYPTO_KEY_USER		2404 /* Create,delete,negotiate */
+#define AUDIT_CRYPTO_FAILURE_USER	2405 /* Fail decrypt,encrypt,randomiz */
+#define AUDIT_CRYPTO_REPLAY_USER	2406 /* Crypto replay detected */
+
 #define AUDIT_LAST_CRYPTO_MSG		2499
 
Index: /trunk/lib/msg_typetab.h
===================================================================
--- /trunk/lib/msg_typetab.h (revision 171)
+++ /trunk/lib/msg_typetab.h (revision 234)
@@ -175,3 +175,10 @@
 _S(AUDIT_FS_RELABEL,                 "FS_RELABEL"                    )
 _S(AUDIT_USER_MAC_POLICY_LOAD,       "USER_MAC_POLICY_LOAD"          )
+_S(AUDIT_CRYPTO_TEST_USER,           "CRYPTO_TEST_USER"              )
+_S(AUDIT_CRYPTO_PARAM_CHANGE_USER,   "CRYPTO_PARAM_CHANGE_USER"      )
+_S(AUDIT_CRYPTO_LOGIN,               "CRYPTO_LOGIN"                  )
+_S(AUDIT_CRYPTO_LOGOUT,              "CRYPTO_LOGOUT"                 )
+_S(AUDIT_CRYPTO_KEY_USER,            "CRYPTO_KEY_USER"               )
+_S(AUDIT_CRYPTO_FAILURE_USER,        "CRYPTO_FAILURE_USER"           )
+_S(AUDIT_CRYPTO_REPLAY_USER,         "CRYPTO_REPLAY_USER"            )
 


Index: audit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audit/devel/audit.spec,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -r1.199 -r1.200
--- audit.spec	10 Jan 2009 21:10:21 -0000	1.199
+++ audit.spec	13 Jan 2009 21:51:42 -0000	1.200
@@ -1,7 +1,7 @@
 %define audit_version 1.7.11
-%define audit_release 1%{?dist}
+%define audit_release 2%{?dist}
 %define sca_version 0.4.8
-%define sca_release 14
+%define sca_release 15
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Summary: User space tools for 2.6 kernel auditing
@@ -12,6 +12,7 @@
 Group: System Environment/Daemons
 URL: http://people.redhat.com/sgrubb/audit/
 Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
+Patch1: audit-1.8-crypto.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: gettext-devel intltool libtool swig python-devel
 BuildRequires: tcp_wrappers-devel 
@@ -89,6 +90,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure --sbindir=/sbin --libdir=/%{_lib} --with-prelude --with-libwrap --enable-gssapi-krb5=no
@@ -259,6 +261,9 @@
 %config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server
 
 %changelog
+* Tue Jan 13 2009 Steve Grubb <sgrubb at redhat.com> 1.7.11-2
+- Add crypto event definitions
+
 * Sat Jan 10 2009 Steve Grubb <sgrubb at redhat.com> 1.7.11-1
 - New upstream release
 




More information about the fedora-extras-commits mailing list