Re: porting project with large files (git-lfs) from github

2018-07-27 Thread Robert

Thanks, which file hosting is most preferred for large freebsd ports?


On 07/27/18 06:22, Mathieu Arnold wrote:

On Thu, Jul 26, 2018 at 08:42:59AM -0700, Robert wrote:

Hi, you can find it here:
https://github.com/rayrapetyan/daal/tree/FreeBSD_support
All files in e.g. 
https://github.com/rayrapetyan/daal/tree/FreeBSD_support/externals/mklfpk/lnx/lib/intel64
are "large files" they are fetching normally when doing git pull, but when
downloading from "codeload" (this is what FreeBSD does) - they contain just
text hashes...

Well, yeah, like I said, this repository is using git-lfs, which is not
part of the Git distribution, but an extension. Doing a clone works for
you because you have it installed, but it does not work for me because I
do not, It ends up saying:

$ git clone https://github.com/rayrapetyan/daal.git
Cloning into 'daal'...
remote: Counting objects: 35068, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 35068 (delta 3), reused 7 (delta 2), pack-reused 35044
Receiving objects: 100% (35068/35068), 583.32 MiB | 2.71 MiB/s, done.
Resolving deltas: 100% (27544/27544), done.
git-lfs filter-process: git-lfs: not found
fatal: The remote end hung up unexpectedly
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'


It seems the servers running codeload.g.o do not have git-lfs installed,
so when they run git-archive(1) you end up with the pointers to the
large files.

You will have to run git-archive yourself on a machine where git-lfs is
installed.  Something along the lines of:

git archive --format tar.gz --prefix daal- -o daal-.tar.gz 


And then host that file somewhere, and use it for your port.


On 07/26/18 01:10, Mathieu Arnold wrote:

On Wed, Jul 25, 2018 at 11:04:41PM -0700, Robert wrote:

Hi, I'm porting something hosted on github using GH_... options in Makefile.

FreeBSD tries to fetch a tar.gz archive from https://codeload.github.com and
within such archive there are "large files" which contain something like:

version https://git-lfs.github.com/spec/v1
oid sha256:e8f293258e38e9689cb87ffbb91c3de2c339a6c074c77115ca86d50b5a48bc64
size 20413048

instead of a real data, so build fails.

What's the best way to resolve this issue?

Mmmm, I never tried a repository using git-lfs, I am not surprised
git-archive(1) does not work with it though.  What is the project so I
can have a look?


___
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"



___
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: PHP composer for upgrading net-mgmt/librenms

2018-07-27 Thread Dan Langille
If you want what I have so far, you are welcome to it. This builds, but does 
not run, because of missing vendor files.

https://gist.github.com/dlangille/ae3eddf4a76bb9e6189ef8a2773cdf65 


Happy with help more.

BTW, I heard rumors that 1.42 is not far away, but I reckon that will be easier 
to port.

Thank you.

--
Dan Langille - BSDCan / PGCon
d...@langille.org


> On Jul 27, 2018, at 10:53 AM, Muhammad Moinur Rahman  wrote:
> 
> Hi Dan,
> I have already started upgrading my outdated ports. Hopefully will start on 
> librenms tonight lets see what can be done.
> 
> Kind regards,
> bofh
> 
> On Fri, Jul 27, 2018 at 8:37 PM Dan Langille  > wrote:
> Hello,
> 
> I tried to create a patch for net-mgmt/librenms earlier this week.
> 
> I got caught up on composer.
> 
> The latest version of net-mgmt/librenms no longer ships with a vendor 
> directory which means we have to somehow include all the dependencies 
> directly.
> 
> I stopped there.
> 
> Has anyone already done such composer magic for other PHP packages?
> 
> Thank you.
> 
> --
> Dan Langille - BSDCan / PGCon
> d...@langille.org 
> 
> 



signature.asc
Description: Message signed with OpenPGP


PHP composer for upgrading net-mgmt/librenms

2018-07-27 Thread Dan Langille
Hello,

I tried to create a patch for net-mgmt/librenms earlier this week.

I got caught up on composer.

The latest version of net-mgmt/librenms no longer ships with a vendor directory 
which means we have to somehow include all the dependencies directly.

I stopped there.

Has anyone already done such composer magic for other PHP packages?

Thank you.

--
Dan Langille - BSDCan / PGCon
d...@langille.org




signature.asc
Description: Message signed with OpenPGP


Re: porting project with large files (git-lfs) from github

2018-07-27 Thread Mathieu Arnold
On Thu, Jul 26, 2018 at 08:42:59AM -0700, Robert wrote:
> Hi, you can find it here:
> https://github.com/rayrapetyan/daal/tree/FreeBSD_support
> All files in e.g. 
> https://github.com/rayrapetyan/daal/tree/FreeBSD_support/externals/mklfpk/lnx/lib/intel64
> are "large files" they are fetching normally when doing git pull, but when
> downloading from "codeload" (this is what FreeBSD does) - they contain just
> text hashes...

Well, yeah, like I said, this repository is using git-lfs, which is not
part of the Git distribution, but an extension. Doing a clone works for
you because you have it installed, but it does not work for me because I
do not, It ends up saying:

$ git clone https://github.com/rayrapetyan/daal.git
Cloning into 'daal'...
remote: Counting objects: 35068, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 35068 (delta 3), reused 7 (delta 2), pack-reused 35044
Receiving objects: 100% (35068/35068), 583.32 MiB | 2.71 MiB/s, done.
Resolving deltas: 100% (27544/27544), done.
git-lfs filter-process: git-lfs: not found
fatal: The remote end hung up unexpectedly
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'


It seems the servers running codeload.g.o do not have git-lfs installed,
so when they run git-archive(1) you end up with the pointers to the
large files.

You will have to run git-archive yourself on a machine where git-lfs is
installed.  Something along the lines of:

git archive --format tar.gz --prefix daal- -o daal-.tar.gz 

And then host that file somewhere, and use it for your port.

> On 07/26/18 01:10, Mathieu Arnold wrote:
> > On Wed, Jul 25, 2018 at 11:04:41PM -0700, Robert wrote:
> > > Hi, I'm porting something hosted on github using GH_... options in 
> > > Makefile.
> > > 
> > > FreeBSD tries to fetch a tar.gz archive from https://codeload.github.com 
> > > and
> > > within such archive there are "large files" which contain something like:
> > > 
> > > version https://git-lfs.github.com/spec/v1
> > > oid 
> > > sha256:e8f293258e38e9689cb87ffbb91c3de2c339a6c074c77115ca86d50b5a48bc64
> > > size 20413048
> > > 
> > > instead of a real data, so build fails.
> > > 
> > > What's the best way to resolve this issue?
> > Mmmm, I never tried a repository using git-lfs, I am not surprised
> > git-archive(1) does not work with it though.  What is the project so I
> > can have a look?
> > 
> 
> ___
> 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"
> 

-- 
Mathieu Arnold


signature.asc
Description: PGP signature


Re: security/softhsm2: Bug 227004

2018-07-27 Thread Kurt Jaeger
Hi!

> Grateful if https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227004
> could be committed.

Thanks for the pointer, done.

Don't hesitate to point to commit-ready PRs -- the queue is long enough
that many PRs are basically buried 8-(

-- 
p...@opsec.eu+49 171 31013722 years to go !
___
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"


FreeBSD ports you maintain which are out of date

2018-07-27 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
databases/mysql-connector-odbc  | 5.3.4   | 8.0.12
+-+
devel/distcc| 3.1 | v3.3.2
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

Thanks.
___
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"


security/softhsm2: Bug 227004

2018-07-27 Thread Roman Serbski
Hello,

Grateful if https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227004
could be committed.

Thanks.
___
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"