Opened 9 years ago

Closed 8 years ago

#48905 closed submission (duplicate)

New port: syncthing

Reported by: subpop (Link Dupont) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: axet (Alexey Kuznetsov), anatol (Anatol Pomozov), mkae (Marko Käning), AlD (Daniel Albers)
Port: syncthing

Description

Open source continuous file synchronization application

Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.

http://syncthing.net

Attachments (6)

Portfile (1.8 KB) - added by subpop (Link Dupont) 9 years ago.
Portfile.2 (1.9 KB) - added by anatol (Anatol Pomozov) 9 years ago.
Up-to-date port file
Portfile.3 (1.9 KB) - added by anatol (Anatol Pomozov) 9 years ago.
Portfile.4 (1.9 KB) - added by anatol (Anatol Pomozov) 8 years ago.
syncthing Portfile update
Portfile.5 (1.9 KB) - added by anatol (Anatol Pomozov) 8 years ago.
0.14.4
Portfile.6 (1.9 KB) - added by anatol (Anatol Pomozov) 8 years ago.
Portfile with fixed "notes"

Download all attachments as: .zip

Change History (24)

Changed 9 years ago by subpop (Link Dupont)

Attachment: Portfile added

comment:1 Changed 9 years ago by anatol (Anatol Pomozov)

+1 for having syncthing in macports. Just started using syncthing at my Linux devices and would like to say it is a great tool.

comment:2 Changed 9 years ago by anatol (Anatol Pomozov)

Ping?

Syncthing is a great tool and I use it daily. Would love to see an official port.

Changed 9 years ago by anatol (Anatol Pomozov)

Attachment: Portfile.2 added

Up-to-date port file

Changed 9 years ago by anatol (Anatol Pomozov)

Attachment: Portfile.3 added

comment:3 Changed 9 years ago by axet (Alexey Kuznetsov)

Cc: axet@… added

Cc Me!

Changed 8 years ago by anatol (Anatol Pomozov)

Attachment: Portfile.4 added

syncthing Portfile update

comment:4 Changed 8 years ago by anatol (Anatol Pomozov)

I use this software daily and I found it extremely useful. If there anything I can do to get the package mainlined please let me know.

comment:5 Changed 8 years ago by mf2k (Frank Schima)

Sorry for the delay. Some notes/questions:

  • link.dupont: Are you still interested in being maintainer? Can we add openmaintainer?
  • The revision line should be deleted because 0 is the default value.
  • In the notes block, /opt/local/ should be replaced with ${prefix}.

Changed 8 years ago by anatol (Anatol Pomozov)

Attachment: Portfile.5 added

0.14.4

comment:6 Changed 8 years ago by anatol (Anatol Pomozov)

Attached updated Portfile.

In the notes block, /opt/local/ should be replaced with ${prefix}.

During install i've got a message

--->  Activating syncthing @0.14.4_0

Syncthing ships with a sample launchd plist that must be configured before use.
Copy ${prefix}/share/syncthing/syncthing.plist to ~/Library/LaunchAgents and replace USERNAME with your username. Then run: launchctl load ~/Library/LaunchAgents/syncthing.plist.

${prefix} is not replaced. Is it expected?

Last edited 8 years ago by anatol (Anatol Pomozov) (previous) (diff)

comment:7 Changed 8 years ago by mf2k (Frank Schima)

That is definitely not expected. If that can be figured out, maybe by looking at other ports, I will commit it.

We can make you maintainer if you are interested? link.dupont is not responding.

comment:8 Changed 8 years ago by mf2k (Frank Schima)

I'm looking at the bash-completion Portfile, Apparently the notes need to be in quotes rather than in block format.

Version 0, edited 8 years ago by mf2k (Frank Schima) (next)

comment:9 Changed 8 years ago by raimue (Rainer Müller)

notes takes a normal Tcl string argument. With {} no variable substitution is applied, use "" instead.

comment:10 Changed 8 years ago by anatol (Anatol Pomozov)

Quotes work perfectly. Here is an updated Portfile.

Changed 8 years ago by anatol (Anatol Pomozov)

Attachment: Portfile.6 added

Portfile with fixed "notes"

comment:11 Changed 8 years ago by anatol (Anatol Pomozov)

Cc: anatol.pomozov@… added

Cc Me!

comment:12 Changed 8 years ago by mf2k (Frank Schima)

More notes:

  • Due to the custom build phase, the universal variant will need to be removed or handled explicitly.
  • Are you OK with being maintainer?

comment:13 Changed 8 years ago by mf2k (Frank Schima)

See also #52324.

comment:14 Changed 8 years ago by lbschenkel (Leonardo Brondani Schenkel)

Hi, I submitted a new Portfile in #52324. My bad, I did not notice that there was already a submission open and did not mean to hijack this ticket.

I volunteer to be the maintainer this port, in case there are no other interested. The version I submitted is not very different from the one here, but I believe mine is a bit more compliant with the MacPorts file hierarchy standard. I also plan to add subports later for the other servers (discovery server, relay server, etc.).

In case my Portfile is taken for consideration, I would like some feedback and guidance regarding the decision on how to handle versioning because Syncthing regularly releases new versions which are not backwards-compatible and break the synchronization protocol. More details in #52324.

comment:15 Changed 8 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:16 Changed 8 years ago by AlD (Daniel Albers)

Cc: daniel@… added

Cc Me!

comment:17 Changed 8 years ago by lbschenkel (Leonardo Brondani Schenkel)

I think this can be closed due to #52324 having been committed.

comment:18 Changed 8 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed
Version: 2.3.3
Note: See TracTickets for help on using tickets.