summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorPatrick McCarty <patrick.mccarty@linux.intel.com>2013-10-07 12:39:15 -0700
committerLukasz Skalski <l.skalski@samsung.com>2014-11-13 15:29:41 +0100
commit345183e1c448dca1f22730877077b4cbd53522e4 (patch)
tree0b396aa95a7aca1b612817fc879172f5e1629fc4 /packaging
parent06151cfd5455eefd2ea0233b94e79108aa8f2b40 (diff)
downloaddbus-345183e1c448dca1f22730877077b4cbd53522e4.tar.gz
dbus-345183e1c448dca1f22730877077b4cbd53522e4.tar.bz2
dbus-345183e1c448dca1f22730877077b4cbd53522e4.zip
packaging: enable Smack support
Change-Id: Ib400feec8193bb5c98347b778e0aa92a30d954c3 Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/dbus-x11.spec5
-rw-r--r--packaging/dbus.changes3
-rw-r--r--packaging/dbus.spec5
-rw-r--r--packaging/libdbus.spec4
4 files changed, 14 insertions, 3 deletions
diff --git a/packaging/dbus-x11.spec b/packaging/dbus-x11.spec
index 209a6a3c..e914ce6b 100644
--- a/packaging/dbus-x11.spec
+++ b/packaging/dbus-x11.spec
@@ -33,6 +33,7 @@ Source5: dbus-user.service
Source6: dbus-user.socket
Source1001: dbus-x11.manifest
BuildRequires: libcap-ng-devel
+BuildRequires: pkgconfig(libsmack)
# COMMON1-END
# COMMON1-END
@@ -69,7 +70,9 @@ export V=1
--enable-systemd \
%endif
--with-console-auth-dir=/var/run/dbus/at_console/ \
- --with-systemdsystemunitdir=%{_unitdir}
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-smack
+
make %{?_smp_mflags}
%install
diff --git a/packaging/dbus.changes b/packaging/dbus.changes
index 2b644119..f6590d40 100644
--- a/packaging/dbus.changes
+++ b/packaging/dbus.changes
@@ -1,3 +1,6 @@
+* Mon Oct 07 2013 Patrick McCarty <patrick.mccarty@linux.intel.com> 4d8ccdf
+- packaging: enable Smack support
+
* Mon Jul 22 2013 Michael Leibowitz <michael.leibowitz@intel.com> accepted/tizen/20130710.220936@43a3a39
- Enforce smack policy from conf file
- Enable checking of smack context from DBus interface
diff --git a/packaging/dbus.spec b/packaging/dbus.spec
index dc3d1bab..92374a2a 100644
--- a/packaging/dbus.spec
+++ b/packaging/dbus.spec
@@ -29,6 +29,7 @@ Source4: baselibs.conf
Source5: dbus-user.service
Source6: dbus-user.socket
BuildRequires: libcap-ng-devel
+BuildRequires: pkgconfig(libsmack)
# COMMON1-END
Requires(pre): /usr/sbin/groupadd /usr/sbin/useradd
@@ -84,7 +85,9 @@ export V=1
--enable-systemd \
%endif
--with-console-auth-dir=/var/run/dbus/at_console/ \
- --with-systemdsystemunitdir=%{_unitdir}
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-smack
+
make %{?_smp_mflags}
%install
diff --git a/packaging/libdbus.spec b/packaging/libdbus.spec
index 7b6d87e9..e58f733c 100644
--- a/packaging/libdbus.spec
+++ b/packaging/libdbus.spec
@@ -9,6 +9,7 @@ Source0: http://dbus.freedesktop.org/releases/dbus/dbus-%{version}.tar.gz
BuildRequires: expat-devel
BuildRequires: libtool
+BuildRequires: pkgconfig(libsmack)
@@ -65,7 +66,8 @@ export V=1
--with-init-scripts=suse \
--enable-inotify \
--with-console-auth-dir=/var/run/dbus/at_console/ \
- --with-systemdsystemunitdir=%{_unitdir}
+ --with-systemdsystemunitdir=%{_unitdir} \
+ --enable-smack
make %{?_smp_mflags} -C dbus libdbus-1.la