Bug 196922 - [maintainer update] net-mgmt/seafile: move python codes
Summary: [maintainer update] net-mgmt/seafile: move python codes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: John Marino
URL:
Keywords:
Depends on: 196921
Blocks: 196920
  Show dependency treegraph
 
Reported: 2015-01-20 05:36 UTC by Jingfeng Yan
Modified: 2015-02-23 09:23 UTC (History)
2 users (show)

See Also:


Attachments
svn diff (12.25 KB, patch)
2015-01-20 05:36 UTC, Jingfeng Yan
no flags Details | Diff
svn diff (12.25 KB, patch)
2015-01-27 01:39 UTC, Jingfeng Yan
no flags Details | Diff
portlint result (394 bytes, text/plain)
2015-01-27 01:39 UTC, Jingfeng Yan
no flags Details
testport result (308.43 KB, text/plain)
2015-01-27 01:40 UTC, Jingfeng Yan
no flags Details
svn diff (10.29 KB, patch)
2015-02-08 20:30 UTC, Jingfeng Yan
no flags Details | Diff
testport result (309.08 KB, text/plain)
2015-02-08 20:32 UTC, Jingfeng Yan
no flags Details
svn diff (10.27 KB, patch)
2015-02-23 04:05 UTC, Jingfeng Yan
no flags Details | Diff
testport result (318.86 KB, text/plain)
2015-02-23 04:05 UTC, Jingfeng Yan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jingfeng Yan 2015-01-20 05:36:08 UTC
Created attachment 151883 [details]
svn diff

depend on Pillow instead of PIL. In addition, clean the installation to global site-packages, and server installation is as non-root user/group.
Comment 1 Jingfeng Yan 2015-01-27 01:39:02 UTC
Created attachment 152228 [details]
svn diff
Comment 2 Jingfeng Yan 2015-01-27 01:39:39 UTC
Created attachment 152229 [details]
portlint result
Comment 3 Jingfeng Yan 2015-01-27 01:40:07 UTC
Created attachment 152230 [details]
testport result
Comment 4 Jingfeng Yan 2015-02-08 20:30:55 UTC
Created attachment 152772 [details]
svn diff

(1) using py-pillow instead of PIL, which is too old.
(2) add missing assignment for SHEBANG_FILES.
(3) move python code to server deployment directory. 
(4) only top level directory has the ownership changes to www/www because it write data to there.
Comment 5 Jingfeng Yan 2015-02-08 20:32:26 UTC
Created attachment 152774 [details]
testport result

should include portlint test.
Comment 6 John Marino freebsd_committer freebsd_triage 2015-02-16 08:52:29 UTC
same comment - what about "@exec install -d -o %%SEAFILE_USERNAME%% -g %%SEAFILE_GROUPNAME%% -m 755 %D/%%HAIWENDIR%%"

and there's a "@" on an rm command in post-instal
Comment 7 Jingfeng Yan 2015-02-23 04:05:09 UTC
Created attachment 153355 [details]
svn diff

correct @exec to @dir
Comment 8 Jingfeng Yan 2015-02-23 04:05:56 UTC
Created attachment 153356 [details]
testport result
Comment 9 commit-hook freebsd_committer freebsd_triage 2015-02-23 09:22:53 UTC
A commit references this bug:

Author: marino
Date: Mon Feb 23 09:21:53 UTC 2015
New revision: 379650
URL: https://svnweb.freebsd.org/changeset/ports/379650

Log:
  net-mgmt/seafile: relocate python files

  PR:		196922
  Submitted by:	maintainer (JingFeng Yan)

Changes:
  head/net-mgmt/seafile/Makefile
  head/net-mgmt/seafile/pkg-plist
Comment 10 John Marino freebsd_committer freebsd_triage 2015-02-23 09:23:06 UTC
Thanks