summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Danilov <mdanilov@luxoft.com>2018-02-16 15:43:52 +0800
committerMaxim Danilov <mdanilov@luxoft.com>2018-02-16 15:43:52 +0800
commitf5b3b6726dfed08bf5b69ab059b7d6e5d17ac99c (patch)
tree34bbcfae546e819d8267608de3d039457f785bf7
parent29ec697368f1ebddfedd5502329ba821c158564d (diff)
downloadpersistence-common-object-f5b3b6726dfed08bf5b69ab059b7d6e5d17ac99c.tar.gz
Fixed build, added missed dbus config file
-rw-r--r--.gitignore99
-rw-r--r--INSTALL12
-rw-r--r--README13
-rwxr-xr-x[-rw-r--r--]autogen.sh0
-rw-r--r--dbus_config/org.genivi.persistence.admin.conf16
-rw-r--r--src/Makefile.am1
6 files changed, 135 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b2d1ad0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,99 @@
+# Autotools.gitignore
+
+# http://www.gnu.org/software/automake
+
+Makefile.in
+/ar-lib
+/mdate-sh
+/py-compile
+/test-driver
+/ylwrap
+
+# http://www.gnu.org/software/autoconf
+
+/autom4te.cache
+/autoscan.log
+/autoscan-*.log
+/aclocal.m4
+/compile
+/config.guess
+/config.h.in
+/config.sub
+/configure
+/configure.scan
+/depcomp
+/install-sh
+/missing
+/stamp-h1
+
+# https://www.gnu.org/software/libtool/
+
+/ltmain.sh
+
+# http://www.gnu.org/software/texinfo
+
+/texinfo.tex
+
+# http://www.gnu.org/software/m4/
+
+m4/libtool.m4
+m4/ltoptions.m4
+m4/ltsugar.m4
+m4/ltversion.m4
+m4/lt~obsolete.m4
+autom4te.cache
+
+# C.gitignore
+
+# Prerequisites
+*.d
+
+# Object files
+*.o
+*.ko
+*.obj
+*.elf
+
+# Linker output
+*.ilk
+*.map
+*.exp
+
+# Precompiled Headers
+*.gch
+*.pch
+
+# Libraries
+*.lib
+*.a
+*.la
+*.lo
+
+# Shared objects (inc. Windows DLLs)
+*.dll
+*.so
+*.so.*
+*.dylib
+
+# Executables
+*.exe
+*.out
+*.app
+*.i*86
+*.x86_64
+*.hex
+
+# Debug files
+*.dSYM/
+*.su
+*.idb
+*.pdb
+
+# Kernel Module Compile Results
+*.mod*
+*.cmd
+.tmp_versions/
+modules.order
+Module.symvers
+Mkfile.old
+dkms.conf \ No newline at end of file
diff --git a/INSTALL b/INSTALL
index a1e89e1..2099840 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,7 @@
Installation Instructions
*************************
-Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
+Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
Inc.
Copying and distribution of this file, with or without modification,
@@ -12,8 +12,8 @@ without warranty of any kind.
Basic Installation
==================
- Briefly, the shell commands `./configure; make; make install' should
-configure, build, and install this package. The following
+ Briefly, the shell command `./configure && make && make install'
+should configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package. Some packages provide this
`INSTALL' file but do not implement all of the features documented
@@ -309,9 +309,10 @@ causes the specified `gcc' to be used as the C compiler (unless it is
overridden in the site shell script).
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
-an Autoconf bug. Until the bug is fixed you can use this workaround:
+an Autoconf limitation. Until the limitation is lifted, you can use
+this workaround:
- CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
+ CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
`configure' Invocation
======================
@@ -367,4 +368,3 @@ operates.
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.
-
diff --git a/README b/README
new file mode 100644
index 0000000..8d2bb65
--- /dev/null
+++ b/README
@@ -0,0 +1,13 @@
+# GENIVI Persistence Common Object
+
+This is the official source of the GENIVI Persistence Common Object. At present, all relevant documentation for this project is available in the GENIVI wiki on: https://at.projects.genivi.org/wiki/display/PROJ/The+Persistence+Common+Object
+
+Master location for GENIVI Persistence Common Object: https://github.com/GENIVI/persistence-common-object
+
+## License
+
+For licensing information see the COPYING file, distributed along with this project.
+
+## Build Dependencies and Instructions
+
+The Persistence Common Object has dependencies on the DLT library, which is a part of the GENIVI/dlt-daemon (https://github.com/GENIVI/dlt-daemon). The Persistence Common Object specifies an API to access the key/value and configuration data of GENIVI's persistent data handling.
diff --git a/autogen.sh b/autogen.sh
index daeaa51..daeaa51 100644..100755
--- a/autogen.sh
+++ b/autogen.sh
diff --git a/dbus_config/org.genivi.persistence.admin.conf b/dbus_config/org.genivi.persistence.admin.conf
new file mode 100644
index 0000000..4058199
--- /dev/null
+++ b/dbus_config/org.genivi.persistence.admin.conf
@@ -0,0 +1,16 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- Only root can own the service -->
+ <policy user="root">
+ <allow own="org.genivi.persistence.admin"/>
+ <allow send_destination="org.genivi.persistence.admin"/>
+ <allow send_interface="org.genivi.persistence.admin"/>
+ </policy>
+ <policy context="default">
+ <allow send_destination="org.genivi.persistence.admin"/>
+ <allow send_interface="org.genivi.persistence.admin"/>
+ </policy>
+</busconfig>
diff --git a/src/Makefile.am b/src/Makefile.am
index 2294605..181b4ad 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -116,6 +116,7 @@ endif
# Export interface description of org.genivi.persistence.admin DBus interface
dbusinterfaces_DATA = ../dbus_specifications/org.genivi.persistence.admin.xml
+dbuspolicy_DATA = ../dbus_config/org.genivi.persistence.admin.conf
EXTRA_DIST = $(dbuspolicy_DATA) \
$(dbusinterfaces_DATA)