mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-04-28 22:53:37 +02:00
Rename library, header file and export it.
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
This commit is contained in:
parent
ca6b42ab17
commit
12af148131
@ -44,7 +44,8 @@ exit 0
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/libevm.*
|
%{_libdir}/libimaevm.*
|
||||||
|
%{_includedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Apr 05 2012 Dmitry Kasatkin <dmitry.kasatkin@intel.com>
|
* Thu Apr 05 2012 Dmitry Kasatkin <dmitry.kasatkin@intel.com>
|
||||||
|
@ -44,7 +44,8 @@ exit 0
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/libevm.*
|
%{_libdir}/libimaevm.*
|
||||||
|
%{_includedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Apr 05 2012 Dmitry Kasatkin <dmitry.kasatkin@intel.com>
|
* Thu Apr 05 2012 Dmitry Kasatkin <dmitry.kasatkin@intel.com>
|
||||||
|
@ -1,18 +1,20 @@
|
|||||||
lib_LTLIBRARIES = libevm.la
|
lib_LTLIBRARIES = libimaevm.la
|
||||||
|
|
||||||
libevm_la_SOURCES = libevm.c
|
libimaevm_la_SOURCES = libimaevm.c
|
||||||
libevm_la_CPPFLAGS = $(OPENSSL_CFLAGS)
|
libimaevm_la_CPPFLAGS = $(OPENSSL_CFLAGS)
|
||||||
# current[:revision[:age]]
|
# current[:revision[:age]]
|
||||||
# result: [current-age].age.revision
|
# result: [current-age].age.revision
|
||||||
libevm_la_LDFLAGS = -version-info 0:0:0
|
libimaevm_la_LDFLAGS = -version-info 0:0:0
|
||||||
libevm_la_LIBADD = $(OPENSSL_LIBS)
|
libimaevm_la_LIBADD = $(OPENSSL_LIBS)
|
||||||
|
|
||||||
|
include_HEADERS = imaevm.h
|
||||||
|
|
||||||
bin_PROGRAMS = evmctl
|
bin_PROGRAMS = evmctl
|
||||||
|
|
||||||
evmctl_SOURCES = evmctl.c
|
evmctl_SOURCES = evmctl.c
|
||||||
evmctl_CPPFLAGS = $(OPENSSL_CFLAGS)
|
evmctl_CPPFLAGS = $(OPENSSL_CFLAGS)
|
||||||
evmctl_LDFLAGS = $(LDFLAGS_READLINE)
|
evmctl_LDFLAGS = $(LDFLAGS_READLINE)
|
||||||
evmctl_LDADD = $(OPENSSL_LIBS) -lkeyutils libevm.la
|
evmctl_LDADD = $(OPENSSL_LIBS) -lkeyutils libimaevm.la
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -include config.h
|
INCLUDES = -I$(top_srcdir) -include config.h
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
#define USE_FPRINTF
|
#define USE_FPRINTF
|
||||||
|
|
||||||
#include <libevm.h>
|
#include "imaevm.h"
|
||||||
|
|
||||||
static char *evm_config_xattrnames[] = {
|
static char *evm_config_xattrnames[] = {
|
||||||
"security.selinux",
|
"security.selinux",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef _LIBEVM_H
|
#ifndef _LIBIMAEVM_H
|
||||||
#define _LIBEVM_H
|
#define _LIBIMAEVM_H
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
@ -26,7 +26,7 @@
|
|||||||
/* should we use logger instead for library? */
|
/* should we use logger instead for library? */
|
||||||
#define USE_FPRINTF
|
#define USE_FPRINTF
|
||||||
|
|
||||||
#include "libevm.h"
|
#include "imaevm.h"
|
||||||
|
|
||||||
const char *const pkey_hash_algo[PKEY_HASH__LAST] = {
|
const char *const pkey_hash_algo[PKEY_HASH__LAST] = {
|
||||||
[PKEY_HASH_MD4] = "md4",
|
[PKEY_HASH_MD4] = "md4",
|
Loading…
x
Reference in New Issue
Block a user