summaryrefslogtreecommitdiff
path: root/packaging
AgeCommit message (Collapse)AuthorFilesLines
2020-04-16packaging: update packaging for dbus-1.12.16Adrian Szyndela2-8/+10
- spec: drop deprecated option --with-init-scripts - spec: package new, installed files - spec: acknowledge removing of dbus.socket from dbus.target.wants - spec: add autoconf-archive build dependency - acknowledge renaming HACKING to CONTRIBUTING.md - spec: bump version to 1.12.16
2019-08-20Revert "tizen: Add additional unit for "unified" user session"tizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201026.185106submit/tizen_5.5/20191031.000006submit/tizen/20190820.090809accepted/tizen/unified/20190822.045457accepted/tizen/5.5/unified/mobile/hotfix/20201027.063100accepted/tizen/5.5/unified/20191031.005930tizen_5.5_tvtizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_mobile_hotfixYunmi Ha1-4/+0
This reverts commit 662187a7597aaf9c9ad2a635944951e6174a36da. We've optimized systemd-user without unified system/session. So, we revert the patch for unified system/session. Change-Id: I70ee37ebeda65e549c5f544d37d511cb6d54b757
2019-05-07tizen: Add additional unit for "unified" user sessionsubmit/tizen/20190509.015828accepted/tizen/unified/20190510.111111Mateusz Moscicki1-0/+4
The unified user session is about moving user session units, managed by systemd --user, to main systemd, where it's managed as part of newly created user@.target. user@.target will contain same units as previously available in user/, with same UID and environment setup. systemd instance is used for unit to be able to specify UID (inherited from user@.target). The rationale behind this work is following: * VD requirement to remove user session support * boot time optimization requirements, due to: + 'systemd --user' taking 1s its own startup that could be used for unit startup + ability to better rearrange units if these managed by one systemd instance Unit installed by this commit will not be used till user login mechanism will be changed in systemd package (via changing pam_systemd to start user@.target, rather than user@.service). Change-Id: I524768f116ca91d812ae0884adbb300e52817975
2019-04-29dbus-daemon: Don't create /tmp/dbus_launchsubmit/tizen/20190429.043102accepted/tizen/unified/20190430.113428INSUN PYO1-3/+0
VD only uses /tmp/dbus_launch - VD target: use /tmp/dbus_launch generated by systemd in kdbus - VD emulator: use /tmp/dbus_launch generated by dbus-daemon that uses VD plugin drop-in Change-Id: If2120a016015ee76c589416dab7cc6c96ee21b05
2019-01-29tools: modify execute label of dbus-monitorsubmit/tizen/20190131.080207submit/tizen/20190131.021840accepted/tizen/unified/20190201.061340sanghyeok.oh1-1/+1
Unable to read 'fd passing messages' due to permission. Set execute label as "System" Change-Id: I765081a58cc285951216fdb63f8cf9a5c68e39de Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2018-11-29spec: fixed compilation options to reduce warningsAdrian Szyndela1-1/+1
If -mimplicit-it option is set to thumb while compiling to ARM, then it shows lots of: Warning: conditional outside an IT block for Thumb. This commit removes -mimplicit-it from the compilation options on ARM32 arch. Change-Id: I6eea9ef65e61b8ec7afa16035d4a14d6d7f870e4
2018-09-05Set the smack label of executable binary toolssubmit/tizen/20180906.020620accepted/tizen/unified/20180906.144209Hyotaek Shim1-0/+11
Apps (3rd party and even in-house Apps) are not permitted to run dbus tools directly. User System::Tools rx User::Shell System::Tools rx System::TEF System::Tools rx System::Privileged System::Tools rx System System::Tools rx Change-Id: Ica6d587d2516da8241590f3cf090a91ed8d3ff75 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-06-26Boost dbus.service and dbus.socket for boot optimizationsubmit/tizen/20180702.065056accepted/tizen/unified/20180703.062053Hyotaek Shim1-7/+0
Change-Id: Ie47ca8ea5fbf3b1deee98ebcdcd644b021531713 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2017-11-22spec: Change useradd/groupadd to handle in security-manager.submit/tizen/20171123.061702accepted/tizen/unified/20171124.172644INSUN PYO1-6/+7
I left useradd/groupadd to make this package available from open source without security-manager. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I3348c321a44df01c082c36bc09844a122adb669a
2017-11-22spec: remove unused /var/lib/dbus directorysubmit/tizen/20171122.065618accepted/tizen/unified/20171123.184043INSUN PYO1-5/+0
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Iee10a2a4b58f69f8bc90d7209fa6a11762fb11ad
2017-10-18switch compilation mode from Thumb to ARMsubmit/tizen/20171019.034316accepted/tizen/unified/20171019.145715Adrian Szyndela1-0/+3
This is needed to be able to put uprobes in the library code as the uprobes in current kernel versions work only with ARM code. Change-Id: I5e2ee2ac37fda354fa93f080e5553d2c823144ec
2017-09-13Remove Apache-2.0 in the dbus.specHyotaek Shim1-1/+1
Change-Id: I91791d0efa0c2e42fb715c03293675da4fb7a4a3 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2017-09-12Change the license of test-runner.c from the Apache-2.0 to the MIT license ↵Hyotaek Shim1-6/+6
to avoid conflict with LGPL-2.1+/GPL-2.0+ Change-Id: I2f1ac40f78c692571bc11b1b9e5262bdd1c6c125 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2017-07-07Remove legacy smack support, keep upstream smack supportsubmit/tizen/20170710.061501submit/tizen/20170707.072404accepted/tizen/unified/20170712.164836Adrian Szyndela2-9/+0
This commit reverts four commits. There was a need for additional minor changes to make it work. Revert "GetConnectionCredentials - add smack support" This reverts commit 13d888ca95c75c14a4919b36cc0a15979fb1d42b. Revert "packaging: enable Smack support" This reverts commit 54f95c99cf4d53f5566511fc0cdc21b230909b29. Revert "Enforce smack policy from conf file" This reverts commit 1d028039f5d34de8a1224d2ad0d8bc75b3da3ca4. Revert "Enable checking of smack context from DBus interface" This reverts commit 7af23db240c54e9923c76234b7e9c7a243d2d428. Change-Id: I4bf7ce8d43717e1deb5d980f87be39220922b422
2017-06-23spec: remove unused filessubmit/tizen/20170707.050724INSUN PYO2-124/+0
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Idbeb2980bb1ee7c1f5989ba6dc487b20f72c93b8
2017-06-01kdbus: bugfix for return codes on call to non-existing destinationAdrian Szyndela1-0/+2
Calling a method on non-existing destination with auto start disabled caused error org.freedesktop.DBus.ServiceUnknown. Non-kdbus implementation gives org.freedesktop.DBus.NameHasNoOwner. This patch makes kdbus return the same error as non-kdbus implementation. Change-Id: Iadbf060159e91d5c4e10ea9a26abb50d02154a5f
2017-05-30change user socket address from %t/dbus/user_bus_socket to %t/bussubmit/tizen/20170531.022017accepted/tizen/unified/20170605.150455INSUN PYO1-1/+1
Sync to upstream. Upstream uses %d/bus, but tizen uses %t/dbus/user_bus_socket. Some application use hard coded address %d/dbus/user_bus_socket. So, I remain SymLinks temporary. Later changing all application, I will remove SymLinks. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I7d00fc96fdbae28a6bd610ced0adfdcc52ec8987
2017-04-17license:rearrange license from each packagessubmit/tizen/20170417.044225accepted/tizen/unified/20170418.072751sanghyeok.oh1-6/+11
Change-Id: I6ec1d0ff94b9e237bb158d5c49031d0463ec3bc2 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2017-04-03Increase release version for MCD.submit/tizen/20170403.034150accepted/tizen/wearable/20170403.124855accepted/tizen/unified/20170403.124934accepted/tizen/tv/20170403.124840accepted/tizen/mobile/20170403.124829accepted/tizen/ivi/20170403.124913accepted/tizen/common/20170403.190202accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonINSUN PYO1-1/+1
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I8f115a821731b01727bc19510962f9b7720f3d89
2017-03-30Merge "License: add license files - add COPYING" into tizensubmit/tizen/20170331.032259accepted/tizen/wearable/20170331.083033accepted/tizen/unified/20170331.083229accepted/tizen/tv/20170331.082921accepted/tizen/mobile/20170331.083052accepted/tizen/ivi/20170331.083016accepted/tizen/common/20170331.152722INSUN PYO1-3/+3
2017-03-31License: add license files - add COPYINGINSUN PYO1-3/+3
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ib7372970eb1a1e24154de189848cd0ca2faa2563
2017-03-29Replace user dbus.socket and dbus.service file.submit/tizen/20170329.152406accepted/tizen/wearable/20170330.223657accepted/tizen/unified/20170330.223742accepted/tizen/tv/20170330.223645accepted/tizen/mobile/20170330.223629accepted/tizen/ivi/20170330.223726accepted/tizen/common/20170330.151521INSUN PYO3-51/+24
The dbus source includes dbus.socket and dbus.service for user session. But tizen uses its own files. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ied720b0fd5e792845ab626f680d01cbb3e9b2db9
2017-03-28License: add license filessubmit/tizen/20170329.022248accepted/tizen/wearable/20170329.222431accepted/tizen/unified/20170329.222508accepted/tizen/tv/20170329.222415accepted/tizen/mobile/20170329.222402accepted/tizen/ivi/20170329.222504accepted/tizen/common/20170329.172212INSUN PYO1-1/+3
Change-Id: I2e1785ef0d14c2d5a9aa1d49904064b4fe80f9ee
2017-03-13[4.0] Remove OBS Project Dependency (kdbus/TV)submit/tizen/20170314.043113Geunsik Lim1-19/+60
- Please add "dbus-libs-extension-kdbus" for TV/arm-wayland images via JIRA-TRE issue. - Without this commit, this package won't be built correctly in Tizen 4.0. Change-Id: I94d98f44cad637af2acc22898c74a806e74f73bb Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com> Reviewed-by: Insun Pyo <insun.pyo@samsung.com>
2017-03-06Remove unused code (Don't use pgrep)submit/tizen_unified/20170308.100411submit/tizen/20170306.075427accepted/tizen/wearable/20170306.222650accepted/tizen/unified/20170309.035205accepted/tizen/tv/20170306.222625accepted/tizen/mobile/20170306.222608accepted/tizen/ivi/20170306.222710accepted/tizen/common/20170306.165254INSUN PYO1-7/+8
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I8809374f28baae65606b679b3ef15fc71a91f98d
2017-03-05change socket.target.wants/dbus.service ==> socket.target.wants/dbus.socketsubmit/tizen/20170306.064529INSUN PYO1-1/+1
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Iad33b6770458d2e3e4e8507cfae5b1489da5bf0c (cherry picked from commit e1a4cf929e2095ae0bd1e503a59388791e18e1cb)
2017-02-28Merge changes Icf330ba3,I7354c21e into tizenHyotaek Shim2-7/+108
* changes: tests: general fix for tests setup tests: generating coverage version of the library
2017-02-22make link : /usr/lib/systemd/user/dbus.socket ==> ↵submit/tizen/20170223.222428accepted/tizen/wearable/20170224.064806accepted/tizen/tv/20170224.064751accepted/tizen/mobile/20170224.064744accepted/tizen/ivi/20170224.064811accepted/tizen/common/20170227.042931INSUN PYO1-0/+5
/usr/lib/systemd/user/sockets.target.wants/dbus.socket Until now, dbus.socket of user session was not running in the sockets.target. dbus.socket has been triggered by dbus.service's dependencies. The dbus.service is included in basic.target. Therefore, there are some dependency issues. If a service runs before dbus.service, the service can not accesses dbus system. (Since dbus.socket is not yet activated, so you can not make a dbus connection.) I have modified dbus.service to be explicitly run in sockets.target. On the session bus, sockets.target is guaranteed to run before all services. Signed-off-by: INSUN PYO <insun.pyo@ubuntu1604.playinsun.pe.kr> Change-Id: Ic46f1a46b458e2017b0025c6e564ac1204eb8cc8 (cherry picked from commit 1beb067e73478b3948980eb19e379a8986dc365a)
2017-02-16Change the method to get DBUS addres when changing user with "su -" command.INSUN PYO1-0/+9
The adbd's privilege has been changed form "System::Privileged" to "User::Shell". So, pgrep does not work with smack errors when accessing /proc. If it fails to find DBUS address, the fixed address is used. Signed-off-by: INSUN PYO <insun.pyo@ubuntu1604.playinsun.pe.kr> Change-Id: I4f9e0bc0939de2ecd7b866df8a2f266b4258338b (cherry picked from commit 4f11f164f44d78ec6a54892e5d4095ca52e7117d)
2017-02-16tests: general fix for tests setupAdrian Szyndela1-6/+14
Before this patch tests were installed into custom directory /usr/lib/dbus-tests/test-suites/dbus-tests Originally, dbus wants its installed tests in /usr/lib/dbus/installed-tests/dbus This path seems to be partially hardcoded in the configuration files - it relies on defined datadir. As datadir is used also for something else than tests, we don't want to change it. This commit switches installation directory to the original, and adds symbolic links in our custom directory. Change-Id: Icf330ba3b5be59ee941d51b15a8f78a082297846
2017-02-15tests: generating coverage version of the libraryAdrian Szyndela2-4/+97
Additionally: - immediate output of test results instead of caching and printing at the end; - removed manual-authz test, because it is not meant to be run automatically. Change-Id: I7354c21e0fa457ad7e2a4a53e1c898e5039b7f73
2017-02-03gbs incremental build supportKonrad Lipinski1-2/+1
Change-Id: Ic1960a3b70df234a3e9ad141d6c335d373c331ec
2016-12-28Modify from APACHE-2.0 to Apache-2.0submit/tizen_3.0/20161228.020339submit/tizen_3.0.m2/20170104.093752accepted/tizen/3.0/wearable/20161229.054210accepted/tizen/3.0/tv/20161229.054154accepted/tizen/3.0/mobile/20161229.054149accepted/tizen/3.0/ivi/20161229.054231accepted/tizen/3.0/common/20161229.112552accepted/tizen/3.0.m2/wearable/20170105.024524accepted/tizen/3.0.m2/tv/20170105.024027accepted/tizen/3.0.m2/mobile/20170105.023936tizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileHyotaek Shim1-1/+1
Change-Id: I2e509fe1a4f275c9f5b35290bdd2d218c4b3692a
2016-12-28Add .spec description about LICENSE.APACHE2.0Hyotaek Shim1-1/+1
Change-Id: I127f90398b4fe33b3c3b412ef84a42ab2683efd5
2016-11-25Adds package for dbus-integration tests.submit/tizen_3.0/20161216.022433submit/tizen_3.0/20161214.092923submit/tizen_3.0/20161212.081220accepted/tizen/3.0/wearable/20161219.011937accepted/tizen/3.0/tv/20161219.011918accepted/tizen/3.0/mobile/20161219.011901accepted/tizen/3.0/ivi/20161219.011955accepted/tizen/3.0/common/20161219.112846Krystian Kisielak1-1/+22
Change-Id: I0175a6c710e418be7f3b06f1df6ad13396e40f8c Signed-off-by: Krystian Kisielak <k.kisielak@samsung.com>
2016-08-19Support Lazy-Mount feature - move user dbus.service from ↵submit/tizen/20160822.045932submit/tizen/20160822.012953accepted/tizen/wearable/20160823.041235accepted/tizen/tv/20160823.041206accepted/tizen/mobile/20160823.041127accepted/tizen/ivi/20160823.041258accepted/tizen/common/20160822.132729INSUN PYO1-3/+9
default.target.wants to basic.target.wants Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I5ec89ce65fe196d54a4b130e41a83a82acb40101
2016-08-19Support Lazy-Mount feature - ↵INSUN PYO1-0/+1
http://suprem.sec.samsung.net/confluence/display/SFH/Lazy+mount Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I4b9f4a435f2aae9215bb7d77bb423715884d01e1
2016-08-11%reconfigure instead of autoreconfKonrad Lipinski1-2/+1
Change-Id: Icc74194668757c9e7ebc79d63d4a3b2ec65d0c34
2016-06-28to defend against a security attack of changing external PATHHyotaek Shim1-0/+4
Change-Id: I5d2149d71b1c593fc337052becefc68f3cf7265c Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2016-06-09move pid file path of system dbus-daemon from /var/run/dbus/pid to ↵submit/tizen/20160609.071543accepted/tizen/wearable/20160610.010945accepted/tizen/tv/20160610.010936accepted/tizen/mobile/20160610.011005accepted/tizen/ivi/20160610.010927accepted/tizen/common/20160610.180805INSUN PYO1-1/+2
/tmp/dbus_launch Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I5c8d33c56c84bbc00242109a0c10af5c2a7664fd
2016-05-24add license file for MIT licensesubmit/tizen/20160524.103010accepted/tizen/common/20160526.145915sanghyeok.oh1-1/+1
add MIT license for dbus/dbus/dbus-server-launchd.c Change-Id: I006a3efc8e4fa112dcb3ca95e7e9c2faccf54940 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2016-04-20packaging: Integrate libdbus and dbus spec filesKarol Lewandowski2-153/+46
With dbus-1.10 depending on systemd code there is no benefit in keeping separate spec files. Change-Id: I3a9311e1730b51b3d4ff1dda513b564d19065aa9
2016-04-19packaging: Remove dbus-x11 flavorKarol Lewandowski3-158/+0
dbus-x11 is not used on tizen.org in any of available profiles. Change-Id: I94205fbdb526a96202bd2f2165e6a5bcf2c2a080
2016-04-19packaging: Remove documentation packagesKarol Lewandowski2-50/+7
Change-Id: I3b2ddc48b26819452ffa73d25d35177997c844b1
2016-04-05Update to dbus-1.10.6submit/tizen/20160405.144419accepted/tizen/wearable/20160406.014752accepted/tizen/tv/20160406.014732accepted/tizen/mobile/20160406.014711accepted/tizen/ivi/20160406.014807accepted/tizen/common/20160406.143833Adrian Szyndela3-7/+25
Note: from version 1.10 it's required to have systemd support to be enabled not only in dbus-daemon code but also in libdbus. This is because maintainers removed built-in systemd support code (dbus/sd-daemon.c) and now depend on libsystemd- provided functionality. Additionally, update pkgconfig name to libsystemd (as required by configure.ac) Change-Id: I2056086a9281543695643ac31fd3ab8648a4d205
2016-04-05MOVe License patch (LGPL2.1+, BSD2.0 license files)Hyotaek, Shim2-2/+2
Signed-off-by: Hyotaek, Shim <hyotaek.shim@samsung.com> Change-Id: Ie0e4364412bdf83cde0dd33faddef7a22b856f58
2016-02-19add dbuspolicy supportAdrian Szyndela3-1/+33
Change-Id: I1bef17d3930a2ca626d3c002eaa10cf6f16c8aac
2016-02-19Add kdbus transportAdrian Szyndela3-0/+14
This reverts commit 197db0df78e0a9f82df4162885854f99ff749505, which reverts commit 771f5155c9a393a242329988d56661a51fc04e6c. Change-Id: I4133020c585a6f9b42f487ffae4d2005b25a1d08
2016-02-19dbus:MOVe:modify license IDsanghyeok.oh3-3/+3
Change-Id: Iea6db9311c918f99059bb98e8bd396b36387d902 Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2016-02-19Revert "Add kdbus transport"Hyotaek, Shim3-14/+0
This reverts commit 771f5155c9a393a242329988d56661a51fc04e6c. Change-Id: I73b6adc6b76b63e972f7228c88c18dabda81b006