Bug 196922

Summary: [maintainer update] net-mgmt/seafile: move python codes
Product: Ports & Packages Reporter: Jingfeng Yan <yan_jingfeng>
Component: Individual Port(s)Assignee: John Marino <marino>
Status: Closed FIXED    
Severity: Affects Many People CC: marino, yan_jingfeng
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 196921    
Bug Blocks: 196920    
Attachments:
Description Flags
svn diff
none
svn diff
none
portlint result
none
testport result
none
svn diff
none
testport result
none
svn diff
none
testport result none

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