Summary: | net-p2p/autoscan: New port | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Michiel van Baak Jansen <michiel> | ||||||||
Component: | Individual Port(s) | Assignee: | Yasuhiro Kimura <yasu> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Only Me | CC: | yasu | ||||||||
Priority: | --- | ||||||||||
Version: | Latest | ||||||||||
Hardware: | amd64 | ||||||||||
OS: | Any | ||||||||||
URL: | https://github.com/Cloudbox/autoscan | ||||||||||
Attachments: |
|
Created attachment 228383 [details]
autoscan-1.2.0.log
poudriere log
Created attachment 228694 [details]
0001-net-p2p-autoscan-Add-new-port.-Version-1.2.0.patch
Added documentation to service file about autoscan_group.
Created issue upstream to upgrade the sqlite mod so autoscan can be build on freebsd: https://github.com/Cloudbox/autoscan/issues/135 (In reply to Michiel van Baak from comment #0) Is it possible to build autoscan on FreeBSD by patching source files so it uses newer version of go-sqlite3? (In reply to Yasuhiro Kimura from comment #4) Probably. I have 0 experience in this part of the golanguage, so I will have to investigate. If someone knows, please feel free to send in patches (here or on the upstream referencing the issue) (In reply to Michiel van Baak from comment #5) Thanks for replay. I thought it might be possible to add this port as one that builds native FreeBSD binaries. But I give it up and commit your patch anyway. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c0f0ac37fa62ab2e4abe40fc3cb31eeabd980b7 commit 3c0f0ac37fa62ab2e4abe40fc3cb31eeabd980b7 Author: Michiel van Baak Jansen <michiel@vanbaak.eu> AuthorDate: 2021-10-02 19:28:13 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-11-05 02:34:26 +0000 net-p2p/autoscan: Add new port Autoscan replaces the default Plex and Emby behaviour for picking up file changes on the file system. Autoscan integrates with Sonarr, Radarr, Lidarr and Google Drive to fetch changes in near real-time without relying on the file system. PR: 258873 GIDs | 2 +- UIDs | 2 +- net-p2p/Makefile | 1 + net-p2p/autoscan/Makefile (new) | 36 +++++++++++++++++++ net-p2p/autoscan/distinfo (new) | 3 ++ net-p2p/autoscan/files/autoscan.in (new) | 60 ++++++++++++++++++++++++++++++++ net-p2p/autoscan/pkg-descr (new) | 5 +++ 7 files changed, 107 insertions(+), 2 deletions(-) Committed with following refinements. * $FreeBSD:$ keyword is obsolete. So remove it from files/autoscan.in * Add CONFLICTS_INSTALL to Makefile * Re-format Makefile with portfmt Thanks! (In reply to Yasuhiro Kimura from comment #8) Thanks! And sorry for the work you had to do. Next time I will pay more attention. |
Created attachment 228382 [details] 0001-net-p2p-autoscan-Add-new-port.-Version-1.2.0.patch Autoscan replaces the default Plex and Emby behaviour for picking up file changes on the file system. Autoscan integrates with Sonarr, Radarr, Lidarr and Google Drive to fetch changes in near real-time without relying on the file system. poudriere 13.0 amd64: ok runs on 13e0 amd64 in my 'production' setup portlint -A gives a warning: WARN: Makefile: possible direct use of command "autoscan" found. Use ${AUTOSCAN} instead and set USES=autoreconf and GNU_CONFIGURE=yes Looks like it confuses the portname with the autoscan command as found in GNU configure I asked on libera IRC #freebsd-ports and got the same answer, with the tip to simply ignore it. We cant do a go build on this one, as the sqlite go mod used is mac/linux only (they released a new version with FreeBSD amd64 support, but autoscan needs to update to it before we can do a go build). That's why it uses linux emu and fetches the binary from github.