Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Nov 2014 06:52:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193134] [NEW PORT] www/seafile: Framework for writing networked applications
Message-ID:  <bug-193134-13-Kc6nHX7Iqu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193134-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193134-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193134

--- Comment #25 from John Marino <marino@FreeBSD.org> ---
now that everything is cleaned up per request, the actual code has come out. 
e.g.

X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/fileserver \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/fileserver
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-fsck \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seaf-fsck
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seafserv-gc \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seafserv-gc
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-fuse \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seaf-fuse
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-migrate \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seaf-migrate
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-server \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seaf-server
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-server-init \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seaf-server-init
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seafile-controller \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seafile-controller
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seafserv-tool \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seafserv-tool


I see you are installing programs that are already in $STAGEDIR, apparently for
the purpose having two names for the same program.  Normally sym links used for
this.

try this:
(cd ${STAGEDIR}${PREFIX}/bin/seafile && \
    ${LN} -s ../fileserver && \
    ${LN} -s ../seaf-fsck && \
    ..etc)

You could also use .for/.endfor loops but I think the above is more clear

This assumes having installing the same program in 2 places is really desired. 
Is it?  Why are these being put in seafile/bin ?

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193134-13-Kc6nHX7Iqu>