Here is a port for anki-sync-server which lets you sync your anki collection to your private sync server instead of AnkiWeb.
To sync from the anki desktop client, you need a small plugin; syncing from AnkiDroid works out of the box. This is further explained in the package-README. I also intend to ship the plugin with anki in the future. The sync server works for me on -current and also on 6.1, both with AnkiDroid and the desktop version. This port installs a rc-script and creates a user (_anki:_anki) the server runs with. Attached is also a diff to infrastructure/db/user.list. I also take maintainership for this port. Homepage: https://github.com/dsnopek/anki-sync-server Any comments? Nils
anki-sync-server-2.0.6.tgz
Description: GNU Unix tar archive
Index: infrastructure/db/user.list =================================================================== RCS file: /cvs/ports/infrastructure/db/user.list,v retrieving revision 1.291 diff -u -p -u -r1.291 user.list --- infrastructure/db/user.list 12 Apr 2017 21:49:32 -0000 1.291 +++ infrastructure/db/user.list 26 Apr 2017 08:07:01 -0000 @@ -298,3 +298,4 @@ id user group port options 787 _gitea _gitea www/gitea 788 _dnsdist _dnsdist net/dnsdist 789 _ftpsesame _ftpsesame net/ftpsesame +790 _anki _anki www/anki-sync-server