Re: PR 228848: add Linux Oracle JRE/JDK/Server JRE 10 to our ports

2018-06-10 Thread Lev Serebryakov
Hello Greg,

Sunday, June 10, 2018, 6:33:03 AM, you wrote:

>>  I've prepared three ports for Linux Oracle Java 10.
>> 
>>  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228848
>> 
>>  If nobody objects, I'll commit this.
> My experience when I tried the initial release of Java 10 on FreeBSD 10
> was that it didn't work.  What architectures and releases did you test
> this on?
 It is amd64 only, and I've tested it on 11.2-PRERELEASE. I can not say,
that my tests was very thoughtful, but it could compile & run simple "Hello
World" java program.

 I've tried to port new CrashPlan Small Business backup client to it, but
failed, not due to problem with JVM, but because CrashPlan is incompatible
with Java 10 on any platform.

-- 
Best regards,
 Levmailto:l...@freebsd.org

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


Installing javascript code into a port with npm...

2018-06-10 Thread Willem Jan Withagen

Hi,

The Ceph ports has since a while started to import all kinds of 
javascript code using npm. Which fetches external data and install this 
in the Ceph resulting tree.


I have a question with this:

How would that work under pouderiere building, because I was under the 
impression that fetching extra data whilest builing a ports is sort of 
not done.


Other than that I still have errors in the building code, but I'd like 
to know this before I put major effort in getting it to work the way it 
now does...


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


Re: Installing javascript code into a port with npm...

2018-06-10 Thread Adam Weinberger
On Sun, Jun 10, 2018 at 9:45 AM Willem Jan Withagen  wrote:
>
> Hi,
>
> The Ceph ports has since a while started to import all kinds of
> javascript code using npm. Which fetches external data and install this
> in the Ceph resulting tree.
>
> I have a question with this:
>
> How would that work under pouderiere building, because I was under the
> impression that fetching extra data whilest builing a ports is sort of
> not done.
>
> Other than that I still have errors in the building code, but I'd like
> to know this before I put major effort in getting it to work the way it
> now does...
>
> Thanx,
> --WjW

poudriere cannot fetch during build. (However, it can if you whitelist
it in ALLOW_NETWORKING_PACKAGES in poudriere.conf.)

The only thing you can do is fetch those dependencies as part of
do-fetch, or have the user do it after installation (pkg-message
instructions or a script or something).

Please, try *not* to create ports for the dependencies. We absolutely
do not want npm packages in ports unless there's no other option.

# Adam


-- 
Adam Weinberger
ad...@adamw.org
https://www.adamw.org
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: PR 228848: add Linux Oracle JRE/JDK/Server JRE 10 to our ports

2018-06-10 Thread Eitan Adler
On 9 June 2018 at 11:47, Lev Serebryakov  wrote:
> Hello Java,
>
>  I've prepared three ports for Linux Oracle Java 10.
>
>  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228848
>
>  If nobody objects, I'll commit this.

Thank you!



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


Re: Installing javascript code into a port with npm...

2018-06-10 Thread Willem Jan Withagen

On 10/06/2018 19:12, Adam Weinberger wrote:

On Sun, Jun 10, 2018 at 9:45 AM Willem Jan Withagen  wrote:


Hi,

The Ceph ports has since a while started to import all kinds of
javascript code using npm. Which fetches external data and install this
in the Ceph resulting tree.

I have a question with this:

How would that work under pouderiere building, because I was under the
impression that fetching extra data whilest builing a ports is sort of
not done.

Other than that I still have errors in the building code, but I'd like
to know this before I put major effort in getting it to work the way it
now does...

Thanx,
--WjW


poudriere cannot fetch during build. (However, it can if you whitelist
it in ALLOW_NETWORKING_PACKAGES in poudriere.conf.)

The only thing you can do is fetch those dependencies as part of
do-fetch, or have the user do it after installation (pkg-message
instructions or a script or something).

Please, try *not* to create ports for the dependencies. We absolutely
do not want npm packages in ports unless there's no other option.


'mmm

Sounds like an effort.
But avoiding npm packages is waht I expected, given that none we in the 
tree.


--WjW

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