Bug 242552 - New port: science/orthanc-mysql: Plugins to use MySQL or MariaDB for indexing and storage in Orthanc
Summary: New port: science/orthanc-mysql: Plugins to use MySQL or MariaDB for indexing...
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Guangyuan Yang
URL:
Keywords: patch-ready
Depends on: 242546
Blocks:
  Show dependency treegraph
 
Reported: 2019-12-10 17:13 UTC by Frank Scholl
Modified: 2021-06-10 15:33 UTC (History)
1 user (show)

See Also:


Attachments
.shar of the orthanc-mysql port (3.96 KB, text/plain)
2019-12-10 17:13 UTC, Frank Scholl
no flags Details
orthanc-mysql-2.0_3 (5.10 KB, text/plain)
2020-06-25 16:57 UTC, Frank Scholl
no flags Details
Diff / the latest version of science/orthanc-mysql (orthanc-mysql-2.0_3), diff based on r545144) (6.69 KB, patch)
2020-08-17 09:39 UTC, Frank Scholl
maintainer.freebsd: maintainer-approval+
Details | Diff
orthanc-mysql 4.0 (3.95 KB, patch)
2021-05-18 12:52 UTC, Frank Scholl
maintainer.freebsd: maintainer-approval+
Details | Diff
orthanc-mysql 4.0 (3.88 KB, patch)
2021-05-28 17:07 UTC, Frank Scholl
maintainer.freebsd: maintainer-approval+
Details | Diff
orthanc-mysql-4.0.diff (3.52 KB, patch)
2021-06-06 11:44 UTC, Frank Scholl
maintainer.freebsd: maintainer-approval+
Details | Diff
orthanc-mysql-4.0.diff (3.88 KB, patch)
2021-06-08 19:07 UTC, Frank Scholl
maintainer.freebsd: maintainer-approval+
Details | Diff
orthanc-mysql-4.0.diff (3.95 KB, patch)
2021-06-10 15:28 UTC, Frank Scholl
maintainer.freebsd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Scholl 2019-12-10 17:13:20 UTC
Created attachment 209837 [details]
.shar of the orthanc-mysql port

This is a new port to provide science/orthanc with a MySQL database backend. Willing to maintain the port from now on.
Comment 1 Frank Scholl 2019-12-11 10:50:34 UTC
This new port depends on science/orthanc, which got submitted in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242546.
Comment 2 Frank Scholl 2020-06-24 15:54:32 UTC
Currently figuring out how to get cmake to find mysqlclient headers. Updating this port when it can be built against orthanc-1.7.1.
Comment 3 Frank Scholl 2020-06-25 16:57:04 UTC
Created attachment 215940 [details]
orthanc-mysql-2.0_3

Update to build with orthanc-1.7.1, made portlint happy, builds in poudriere, patched .cmake to detect installed mysqlclient library
Comment 4 Frank Scholl 2020-08-06 08:59:06 UTC
This version is tested to work with orthanc-1.7.2 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242546).
Comment 5 Frank Scholl 2020-08-17 09:39:24 UTC
Created attachment 217277 [details]
Diff / the latest version of science/orthanc-mysql (orthanc-mysql-2.0_3), diff based on r545144)

This diff is based on today's head (r545144), including:

- added orthanc-mysql to science/Makefile
Comment 6 Frank Scholl 2021-05-18 12:52:55 UTC
Created attachment 225066 [details]
orthanc-mysql 4.0

Updated port to work with current science/orthanc.
Comment 7 Frank Scholl 2021-05-28 17:07:51 UTC
Created attachment 225336 [details]
orthanc-mysql 4.0

This port got an update and now uses CMAKE_ON / CMAKE_OFF instead of using CMAKE_ARGS.

Further information:
- portlint is fine.
- Builds in poudriere (testport), tested for 11.4, 12.2 and 13.0
Comment 8 Frank Scholl 2021-06-06 11:44:03 UTC
Created attachment 225594 [details]
orthanc-mysql-4.0.diff

- DISTVERSION is used instead of PORTVERSION
Comment 9 Frank Scholl 2021-06-08 19:07:02 UTC
Created attachment 225649 [details]
orthanc-mysql-4.0.diff

Just updated the .diff to also contain changes in `science/Makefile`.
Comment 10 Frank Scholl 2021-06-10 15:28:01 UTC
Created attachment 225705 [details]
orthanc-mysql-4.0.diff

- updated `COMMENT` to align them with the those from other Orthanc plugins
- removed `USE_LDCONFIG` (no shared lib installed)
- added `PLIST_SUB` to use %%PORTVERSION%% in `pkg-plist`
- portlint & portfmt are happy
- poudriere testport successful  on 11.4, 12.2, 13.0
Comment 11 Frank Scholl 2021-06-10 15:30:48 UTC
This port contains two plugins, one for indexing and one for storage of medical data. This is why the `COMMENT` says "plugins", pkg-descr got a clean-up to reflect this as well.