Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/seafile/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= seafile | PORTNAME= seafile | ||||
PORTVERSION= 4.0.6 | PORTVERSION= 5.0.2 | ||||
koobs: Other reviews are for updates to 4.4.2. Should this be the same? | |||||
Not Done Inline ActionsMinor versions are small bug fixes, Seafile-gui is the client and 4.4.2 is the latest version currently. ultima1252_gmail.com: Minor versions are small bug fixes, Seafile-gui is the client and 4.4.2 is the latest version… | |||||
PORTREVISION= 3 | |||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
DISTVERSIONSUFFIX= -server | DISTVERSIONSUFFIX= -server | ||||
CATEGORIES= net-mgmt devel | CATEGORIES= net-mgmt devel | ||||
Done Inline ActionsWhy aren't the other ports also in devel category? These should be consistently with or without it. koobs: Why aren't the other ports also in devel category?
These should be consistently with or… | |||||
koobsUnsubmitted Not Done Inline Actions
koobs: * Missing python as tertiary category
* I don't agree with devel as a category | |||||
Context not available. | |||||
COMMENT= Framework for writing networked applications | COMMENT= Framework for writing networked applications | ||||
koobsUnsubmitted Not Done Inline ActionsUpstream short description is: Open Source Cloud Storage
koobs: Upstream short description is:
```
Open Source Cloud Storage
```
* Add (Server) to the end of… | |||||
LICENSE= GPLv3 | LICENSE= GPLv3 | ||||
Done Inline ActionsAdd LICENSE_FILE if one exists in WRKSRC koobs: Add LICENSE_FILE if one exists in WRKSRC | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | |||||
BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala | BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala | ||||
koobsUnsubmitted Not Done Inline ActionsDoes this actually depend on and "call" the binary, or includes & headers, library or other things? Is fo, LIB_DEPENDS may be more appropriate koobs: Does this actually depend on and "call" the binary, or includes & headers, library or other… | |||||
LIB_DEPENDS= libsearpc.so:${PORTSDIR}/devel/libsearpc \ | LIB_DEPENDS= libsearpc.so:${PORTSDIR}/devel/libsearpc \ | ||||
Context not available. | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= haiwen | GH_ACCOUNT= haiwen | ||||
USES= autoreconf iconv libarchive libtool pathfix pkgconfig python:2 \ | USES= autoreconf iconv libarchive libtool pathfix pkgconfig python:-2.7 \ | ||||
shebangfix | shebangfix | ||||
SHEBANG_FILES= scripts/*.sh scripts/upgrade/*.sh | SHEBANG_FILES= scripts/*.sh scripts/upgrade/*.sh tests/*.py tests/basic/*.sh \ | ||||
tests/sync-auto-test/*.template *.sh scripts/build/*.py \ | |||||
scripts/*.py *.py scripts/upgrade/*.py app/seaf-cli \ | |||||
tools/seafile-admin | |||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
USE_OPENSSL= yes | USE_OPENSSL= yes | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
Context not available. | |||||
SEABIN= ${SEAFILE_SERVER}/seafile/bin | SEABIN= ${SEAFILE_SERVER}/seafile/bin | ||||
SEALIB= ${SEAFILE_SERVER}/seafile/lib | SEALIB= ${SEAFILE_SERVER}/seafile/lib | ||||
SEAFILE_USERNAME?= www | SEAFILE_USERNAME?= seafile | ||||
SEAFILE_GROUPNAME?= ${SEAFILE_USERNAME} | SEAFILE_GROUPNAME?= ${SEAFILE_USERNAME} | ||||
USE_RC_SUBR= ${PORTNAME} | USE_RC_SUBR= ${PORTNAME} | ||||
Context not available. | |||||
SEAFILE_SERVER=${SEAFILE_SERVER} \ | SEAFILE_SERVER=${SEAFILE_SERVER} \ | ||||
HAIWENDIR=${HAIWENDIR} | HAIWENDIR=${HAIWENDIR} | ||||
SUB_FILES= pkg-message | |||||
SUB_LIST+= SEAFILE_USERNAME=${SEAFILE_USERNAME} \ | |||||
SEAFILE_GROUPNAME=${SEAFILE_GROUPNAME} \ | |||||
SEAFILE_SERVER=${SEAFILE_SERVER} \ | |||||
HAIWENDIR=${HAIWENDIR} | |||||
MAKE_JOBS_UNSAFE= yes | MAKE_JOBS_UNSAFE= yes | ||||
OPTIONS_DEFINE= FUSE RIAK | OPTIONS_DEFINE= FUSE RIAK | ||||
Context not available. | |||||
OPTIONS_DEFAULT= | OPTIONS_DEFAULT= | ||||
.endif | .endif | ||||
post-patch: | |||||
${REINPLACE_CMD} -e 's|^INSTALL.*|INSTALLPATH="${PREFIX}/${SEAFILE_SERVER}/seafile"|' \ | |||||
${WRKSRC}/scripts/seaf-cli-wrapper.sh | |||||
post-install: | post-install: | ||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB}\ | @${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB}\ | ||||
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile \ | ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile \ | ||||
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade | ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade | ||||
.for SERVPROG in seaf-fsck seafserv-gc seaf-fuse seaf-migrate \ | .for SERVPROG in seaf-fsck seafserv-gc seaf-fuse seaf-migrate \ | ||||
seaf-server seaf-server-init seafile-controller | seaf-server seaf-server-init seafile-controller | ||||
if [ -e "${STAGEDIR}${PREFIX}/bin/${SERVPROG}" ]; then \ | if [ -e "${STAGEDIR}${PREFIX}/bin/${SERVPROG}" ]; then \ | ||||
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/${SERVPROG} ${STAGEDIR}${PREFIX}/${SEABIN}; \ | ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/${SERVPROG} ${STAGEDIR}${PREFIX}/${SEABIN}; \ | ||||
${RM} ${STAGEDIR}${PREFIX}/bin/${SERVPROG}; \ | ${RM} ${STAGEDIR}${PREFIX}/bin/${SERVPROG}; \ | ||||
fi | fi | ||||
.endfor | .endfor | ||||
.for SERVPROG in seafile-controller seaf-server | |||||
${LN} -s ${PREFIX}/${SEABIN}/${SERVPROG} ${STAGEDIR}${PREFIX}/bin/ | |||||
.endfor | |||||
${INSTALL_SCRIPT} ${STAGEDIR}${PREFIX}/bin/seaf-cli ${STAGEDIR}${PREFIX}/${SEABIN}/seaf-cli.py | |||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/seaf-cli-wrapper.sh ${STAGEDIR}${PREFIX}/bin/seaf-cli | |||||
(cd ${STAGEDIR}${PREFIX}/lib && \ | (cd ${STAGEDIR}${PREFIX}/lib && \ | ||||
${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB}) | ${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB}) | ||||
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} | @${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} \ | ||||
koobsUnsubmitted Not Done Inline ActionsWhat is this for? Why is it necessary? koobs: What is this for? Why is it necessary? | |||||
ultima1252_gmail.comUnsubmitted Not Done Inline Actionsdo-install will install this, the line above it copies to the seafile directory. This line removes the duplicate. ultima1252_gmail.com: do-install will install this, the line above it copies to the seafile directory. This line… | |||||
${WRKSRC}/scripts/seaf-cli-wrapper.sh \ | |||||
${STAGEDIR}${PREFIX}/bin/seafile-admin | |||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][yh] ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER} | ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][yh] ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER} | ||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*.[ps][yh] \ | ${INSTALL_SCRIPT} ${WRKSRC}/scripts/upgrade/*.[ps][yh] \ | ||||
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade | ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/upgrade | ||||
Context not available. |
Other reviews are for updates to 4.4.2. Should this be the same?