mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
update to 1.4
This commit is contained in:
@@ -2,13 +2,12 @@ BROKEN-sparc64 = undefined reference to `std::filesystem::__cxx11::path::*
|
||||
|
||||
COMMENT= FTS indexer for grommunio-web
|
||||
|
||||
V= 1.3
|
||||
V= 1.4
|
||||
DISTNAME= grommunio-index-${V}
|
||||
REVISION= 0
|
||||
|
||||
GH_ACCOUNT= grommunio
|
||||
GH_PROJECT= grommunio-index
|
||||
GH_COMMIT= 2bd8a8c9d6fe8673b9eaac0be7f7a6ef688c7002
|
||||
GH_COMMIT= 622b983d46f515f5448fbf44c75ed00830b25412
|
||||
|
||||
CATEGORIES= mail www productivity
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (grommunio/grommunio-index-1.3-2bd8a8c9.tar.gz) = UyG/J2UfA1lmmldLyZ4MSzD+ccJAC9UQxeZMnYHwz70=
|
||||
SIZE (grommunio/grommunio-index-1.3-2bd8a8c9.tar.gz) = 27247
|
||||
SHA256 (grommunio/grommunio-index-1.4-622b983d.tar.gz) = Vktk1NFTiD3W1wTMd7PHoAS99AdGHp6og4TQW0QhoXc=
|
||||
SIZE (grommunio/grommunio-index-1.4-622b983d.tar.gz) = 27610
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Index: CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -26,5 +26,5 @@ if(LOGGING_TRACE)
|
||||
@@ -39,5 +39,5 @@ if(LOGGING_TRACE)
|
||||
endif()
|
||||
|
||||
install(TARGETS grommunio-index RUNTIME)
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
Index: grommunio-index.cpp
|
||||
--- grommunio-index.cpp.orig
|
||||
+++ grommunio-index.cpp
|
||||
@@ -1046,7 +1046,7 @@ int main(int argc, char **argv) try
|
||||
return single_mode();
|
||||
|
||||
@@ -1286,7 +1286,7 @@ int main(int argc, char **argv) try
|
||||
* the right group already.
|
||||
*/
|
||||
if (geteuid() == 0) {
|
||||
- auto ret = HXproc_switch_user("groindex", "groweb");
|
||||
+ auto ret = HXproc_switch_user("www", "daemon");
|
||||
if (static_cast<int>(ret) < 0) {
|
||||
fprintf(stderr, "switch_user grommunio/groweb: %s\n", strerror(errno));
|
||||
return EXIT_FAILURE;
|
||||
@@ -1055,7 +1055,7 @@ int main(int argc, char **argv) try
|
||||
@@ -1295,7 +1295,7 @@ int main(int argc, char **argv) try
|
||||
execv(argv[0], argv);
|
||||
}
|
||||
int bigret = EXIT_SUCCESS;
|
||||
- static const std::string index_root = "/var/lib/grommunio-web/sqlite-index";
|
||||
+ static const std::string index_root = "/var/www/cache/sqlite-index";
|
||||
fprintf(stderr, "Running grommunio-index for all user databases\n");
|
||||
for (auto &&u : am_read_users(std::move(cfg))) {
|
||||
auto index_home = index_root + "/" + u.username;
|
||||
if (mkdir(index_home.c_str(), 0777) != 0 && errno != EEXIST) {
|
||||
|
||||
Reference in New Issue
Block a user