Created attachment 147567 [details] btsync 1.4.83 patch The attached diff * updates btsync to 1.4.83
A commit references this bug: Author: jhale Date: Tue Sep 23 15:20:28 UTC 2014 New revision: 369070 URL: http://svnweb.freebsd.org/changeset/ports/369070 Log: - Update to 1.4.83 While here: - Clean up pkg-plist PR: 193842 Submitted by: <joshruehlig@gmail.com> (maintainer) Changes: head/net-p2p/btsync/Makefile head/net-p2p/btsync/distinfo head/net-p2p/btsync/pkg-plist
thanks, I'll see if I can understand the additional changes you added. I also read pkgng may have a way to shutdown services upon deinstall, I'll want to add that too.
(In reply to joshruehlig from comment #2) > thanks, I'll see if I can understand the additional changes you added. See CHANGES 20140922. pkg now only needs @dir(user,group,mode) for special directories. This effectively does the work of the @exec line (set the permissions) and the @unexec line (remove the directory). > I also read pkgng may have a way to shutdown services upon deinstall, I'll > want to add that too. See the pkg.conf(5) manpage, specifically the HANDLE_RC_SCRIPTS option. If set, it will automatically handle stop and start of services. That is why I removed the first line of pkg-plist. It was pretty much what @stopdaemon did, which was also removed a while back.
awesome, I checked out changes and say the @dir option. I'll read up on pkg, thanks.