databases/mantis - require_once(/usr/local/www/mantis/vendor/autoload.php): failed to open stream

Dan Langille dan at langille.org
Mon Aug 20 02:40:25 UTC 2018


> On Aug 19, 2018, at 9:40 PM, Dan Langille <dan at langille.org> wrote:
> 
>> On Aug 19, 2018, at 5:13 PM, Rozhuk Ivan <rozhuk.im at gmail.com> wrote:
>> 
>> On Sun, 19 Aug 2018 12:38:03 -0400
>> Dan Langille <dan at langille.org> wrote:
>> 
>>> There is no vendor directory in the pkg-plist for this port.
>>> 
>>> What are other mantis users doing?
>> 
>> IMHO makefile must be switch back to use vendor site instead github: vendor package contain things that not included in github.
> 
> Thank you for this very helpful information.
> 
> I'll work on a port upgrade for 2.16.

I've hit my first block.

Some of the configuration items for mantis are from GitHub.  I do not know how to combine both SF and GitHub into MASTER_SITES.

For now, I tried to ignore GitHub and commented out USE_GITHUB

Then I started trying this:

DISTNAME=	${PORTNAME}bt-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	mantisbt/files/mantis-stable/${PORTVERSION}

But so far I've been unable to get the download URL correct for make makesum.

It keeps trying to download from https://downloads.sourceforge.net/project/mantisbt/files/mantis-stable/2.16.0/mantisbt-2.16.0.tar.gz

But I know I can get it from https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.16.0/mantisbt-2.16.0.tar.gz/download

Or even just https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.16.0/mantisbt-2.16.0.tar.gz

I often find this part of DISTFILES confusing and difficult when it comes to the macros.

--
Dan Langille - BSDCan / PGCon
dan at langille.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 658 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180819/912b3438/attachment.sig>


More information about the freebsd-ports mailing list