Porting OroCRM (Was: Re: maven and ports that try to fetch files during build stage)

2014-06-23 Thread Melvyn Sopacua

Hi Mark,

On Sat, 21 Jun 2014, Mark Linimon wrote:


On Sat, Jun 21, 2014 at 12:02:32PM -0500, Pedro Giffuni wrote:

This is a problem with the Apache POI port but it is also an issue
with a potential Apache hadoop update: apparently our cluster
doesn't like ports that download stuff as part of their build


s/doesn't like/doesn't allow/

This is intentional so that we can understand exactly what it being
installed by the port.


I have a similar issue with a Symfony based project, called OroCRM.
Basically all it installs are some templates, a few php files and
symfony/composer configuration.

In other words, after installation you haven't got a working product,
but still have to run composer and download a bunch of stuff. To port
this software I see that I have two choices:

1) I install it as the project itself [1] wants you to and thus the user
   has nothing to show for it.
2) I do the composer-dance myself, package and put it up for download.
   This has the downside that any local changes to the composer
   configuration file will not be picked up and I may break the
   application with upgrades.

What would be advisable in this case?

[1] http://www.orocrm.com/documentation/index/current/installation

--
Melvyn
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: maven and ports that try to fetch files during build stage

2014-06-21 Thread Mark Linimon
On Sat, Jun 21, 2014 at 12:02:32PM -0500, Pedro Giffuni wrote:
> This is a problem with the Apache POI port but it is also an issue
> with a potential Apache hadoop update: apparently our cluster
> doesn't like ports that download stuff as part of their build

s/doesn't like/doesn't allow/

This is intentional so that we can understand exactly what it being
installed by the port.

mcl
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


maven and ports that try to fetch files during build stage

2014-06-21 Thread Pedro Giffuni

Hello;

Some java ports, especially from ASF projects, commonly use maven
to build and maven is meant to be a ports-like system to fetch
dependencies as part of the build. Maven has it's own repository:
http://search.maven.org/#browse

This is a problem with the Apache POI port but it is also an issue
with a potential Apache hadoop update: apparently our cluster
doesn't like ports that download stuff as part of their build so
Apache POI is broken.

While it should be possible to independently pre-download all the
dependencies and extract them were Maven needs them, this tends
to make the use of Maven for ports a lot of work.

Anyone has a good idea on how this should be dealt with?

Regards,

Pedro.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"