Bug 218245 - net-mgmt/seafile-server: Updated to 6.0.9
Summary: net-mgmt/seafile-server: Updated to 6.0.9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nikolai Lifanov
URL: https://seacloud.cc/group/3/wiki/serv...
Keywords: patch-ready
Depends on:
Blocks:
 
Reported: 2017-03-31 03:28 UTC by Ultima
Modified: 2017-03-31 15:55 UTC (History)
2 users (show)

See Also:


Attachments
seafile-server.diff (12.58 KB, patch)
2017-03-31 03:28 UTC, Ultima
Ultima1252: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ultima 2017-03-31 03:28:05 UTC
Created attachment 181339 [details]
seafile-server.diff

There are a few things I am changing with this update that will help manage the ports associated with this port.

 First off I want to explain that these ports are all updated synchronously upstream regardless of commits between versions of each independent port. Because of this, I'v decided to add a Makefile.include that is imported by all ports that determine the port version. I also added a make arg, makesum-all that will run makesum on these ports. This patch will help keep these ports updated and cut down time spent on repetitive tasks.

Affected ports:
net-mgmt/seafile-server, net-mgmt/ccnet-server, www/py-seafdav, www/py-seafobj, www/seahub

* Updated to 6.0.9
* Added Makefile.include
* Added make arg, makesum-all

 - Show user' name instead of user's email in notifications sent out by email
 - Add config items for setting favicon, disable wiki feature
 - Add css id to easily hide user password reset and delete account button
 - [fix] Fix UI bug in restoring a file from snapshot
 - [fix] Fix after renaming a file, the old versions before file rename can't be downloaded
 - [security] Fix XSS problem of the "go back" button in history page and snapshot view page


portlint -AC:
net-mgmt/seafile:
WARN: Makefile: Consider adding support for a NLS knob to conditionally disable gettext support.
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
0 fatal errors and 2 warnings found.

net-mgmt/ccnet-server:
WARN: Makefile: Consider adding support for a NLS knob to conditionally disable gettext support.
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
0 fatal errors and 2 warnings found.

www/py-seafdav:
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
0 fatal errors and 1 warning found.

www/py-seafobj:
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
0 fatal errors and 1 warning found.

www/seahub:
WARN: Makefile: [0]: possible direct use of command "file" found. use ${FILE} instead.
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
0 fatal errors and 2 warnings found.



poudriere bulk -tC:
12amd64: https://poudriere.ultimasbox.com/build.html?mastername=12amd64-test&build=2017-03-30_23h07m02s 
12i386: https://poudriere.ultimasbox.com/build.html?mastername=12i386-test&build=2017-03-30_23h07m04s 
110amd64: https://poudriere.ultimasbox.com/build.html?mastername=110amd64-test&build=2017-03-30_23h07m00s 
110i386: https://poudriere.ultimasbox.com/build.html?mastername=110i386-test&build=2017-03-30_23h07m01s 
103amd64: https://poudriere.ultimasbox.com/build.html?mastername=103amd64-test&build=2017-03-30_23h06m58s 
103i386: https://poudriere.ultimasbox.com/build.html?mastername=103i386-test&build=2017-03-30_23h06m59s
Comment 1 commit-hook freebsd_committer 2017-03-31 14:57:35 UTC
A commit references this bug:

Author: lifanov
Date: Fri Mar 31 14:57:28 UTC 2017
New revision: 437363
URL: https://svnweb.freebsd.org/changeset/ports/437363

Log:
  update net-mgmt/seafile-server to 6.0.9

  Changelog: https://seacloud.cc/group/3/wiki/server-changelog

   - Show user' name instead of user's email in notifications sent out by email
   - Add config items for setting favicon, disable wiki feature
   - Add css id to easily hide user password reset and delete account button
   - [fix] Fix UI bug in restoring a file from snapshot
   - [fix] Fix after renaming a file, the old versions before file rename can't be downloaded
   - [security] Fix XSS problem of the "go back" button in history page and snapshot view page

  * unify versioning of dependent ports:
    net-mgmt/seafile-server
    net-mgmt/ccnet-server
    www/py-seadav
    www/py-seaobj
    www/seahub
  This replaces a rather ugly hack.

  * add makesum-all target to ease maintenance
  PR:		218245
  Submitted by:	ultima1252@gmail.com (maintainer)

Changes:
  head/net-mgmt/ccnet-server/Makefile
  head/net-mgmt/ccnet-server/distinfo
  head/net-mgmt/seafile-server/Makefile
  head/net-mgmt/seafile-server/Makefile.include
  head/net-mgmt/seafile-server/distinfo
  head/www/py-seafdav/Makefile
  head/www/py-seafdav/distinfo
  head/www/py-seafobj/Makefile
  head/www/py-seafobj/distinfo
  head/www/seahub/Makefile
  head/www/seahub/distinfo
  head/www/seahub/pkg-plist
Comment 2 Nikolai Lifanov freebsd_committer 2017-03-31 14:58:09 UTC
Great job on Makefile.include. It looks much cleaner now!

Committed, thanks!
Comment 3 Ultima 2017-03-31 15:55:39 UTC
(In reply to Nikolai Lifanov from comment #2)
Thanks for suggesting it. That little bit of attention is definitely worth it.