summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/rttr/APKBUILD4
-rw-r--r--user/rttr/permissions.patch36
2 files changed, 39 insertions, 1 deletions
diff --git a/user/rttr/APKBUILD b/user/rttr/APKBUILD
index 13ee5257f..bb9b5e7b0 100644
--- a/user/rttr/APKBUILD
+++ b/user/rttr/APKBUILD
@@ -14,6 +14,7 @@ source="https://github.com/rttrorg/rttr/releases/download/v$pkgver/rttr-$pkgver-
arm64.patch
dlclose-doesnt-work.patch
install-doc.patch
+ permissions.patch
"
build() {
@@ -41,4 +42,5 @@ package() {
sha512sums="7e0d4fa87f83feda0b926d4d0e52aaf0f369f25fe7e23e5ffe86c0bba159e8353cef44eed37611a81e8ccc8d6facb36942f940d0d0b965f873177d7078f91cf4 rttr-0.9.6-src.tar.gz
559b4d55109b7021082cdd15663075312d80a896325db2b6bba43bf9d3ba17ecc2152aa30617f200be904351c7f8ba188b7e7a6b29a71612b42d48a5a0535aa7 arm64.patch
76efa45715d2a6459ae3cf5a6189de414775eed11a1f6780de563005765139ae6be86e30ead63b5ef8e9a5e84ba77a4ef2b7a75ded7506c6c8d81a696a887ff3 dlclose-doesnt-work.patch
-825ca43fb35f6139db13f0b01818b49bb1556a1190ac2941c643e4d438c5b458883fa2ffb64d95625125c251632da7b3d8b703141335df8883b6e186f2e6a349 install-doc.patch"
+825ca43fb35f6139db13f0b01818b49bb1556a1190ac2941c643e4d438c5b458883fa2ffb64d95625125c251632da7b3d8b703141335df8883b6e186f2e6a349 install-doc.patch
+905e4c62093ee3877a8a15a1cbd4bc20499e04916ce869a495cf4ef9f47aa94d56aa5ac861d0ca8b6079f2a3b398f92237dc423e452130f7c40b9a170a8aa625 permissions.patch"
diff --git a/user/rttr/permissions.patch b/user/rttr/permissions.patch
new file mode 100644
index 000000000..f572d9f23
--- /dev/null
+++ b/user/rttr/permissions.patch
@@ -0,0 +1,36 @@
+--- rttr-0.9.6/CMake/config.cmake.old 2018-03-26 21:30:35.000000000 +0000
++++ rttr-0.9.6/CMake/config.cmake 2019-04-19 02:03:32.738933898 +0000
+@@ -172,5 +172,5 @@
+
+ install(FILES "${LICENSE_FILE}" "${README_FILE}"
+ DESTINATION ${RTTR_ADDITIONAL_FILES_INSTALL_DIR}
+- PERMISSIONS OWNER_READ)
++ PERMISSIONS WORLD_READ)
+ endif()
+--- rttr-0.9.6/CMake/utility.cmake.old 2018-03-26 21:30:35.000000000 +0000
++++ rttr-0.9.6/CMake/utility.cmake 2019-04-19 02:03:40.268125422 +0000
+@@ -165,7 +165,7 @@
+ getNameOfDir(CMAKE_CURRENT_SOURCE_DIR DIRNAME)
+ if (${shouldInstall})
+ if (NOT ${FULL_HEADER_PATH} MATCHES ".*_p.h$") # we don't want to install header files which are marked as private
+- install(FILES ${FULL_HEADER_PATH} DESTINATION "include/${DIRNAME}/${REL_PATH}" PERMISSIONS OWNER_READ)
++ install(FILES ${FULL_HEADER_PATH} DESTINATION "include/${DIRNAME}/${REL_PATH}" PERMISSIONS WORLD_READ)
+ endif()
+ endif()
+ endforeach()
+--- rttr-0.9.6/doc/CMakeLists.txt.old 2018-03-26 21:30:36.000000000 +0000
++++ rttr-0.9.6/doc/CMakeLists.txt 2019-04-19 02:04:09.075032169 +0000
+@@ -133,11 +133,11 @@
+ install(DIRECTORY "${DOXYGEN_OUTPUT_DIRECTORY}/${DOXYGEN_CUSTOM_HTML_DIR}"
+ DESTINATION "${DOXYGEN_DOC_INSTALL_DIR}"
+ PATTERN "*.*"
+- PERMISSIONS OWNER_READ)
++ PERMISSIONS WORLD_READ)
+
+ install(FILES "${DOXYGEN_OUTPUT_DIRECTORY}/${DOXYGEN_INDEX_FILE}"
+ DESTINATION "${DOXYGEN_DOC_INSTALL_DIR}"
+- PERMISSIONS OWNER_READ)
++ PERMISSIONS WORLD_READ)
+
+ #########################################################################################
+