Re: force github file extension for fetch? (tar.bz2 instead of tar.gz)

2019-06-03 Thread Gary Aitken

On 6/3/19 3:33 PM, Michael Gmelin wrote:

On Mon, 3 Jun 2019 12:46:32 -0600
Gary Aitken  wrote:

On 6/3/19 11:19 AM, Michael Gmelin wrote:

On 3. Jun 2019, at 19:03, Gary Aitken 
wrote:



Is it possible to force fetching of .tar.bz2 instead of .tar.gz if
both are available?  Or how does one get around the problem?

11.2-RELEASE-p4
relevant Makefile details:

PORTNAME=   wxwidgets
DISTVERSIONPREFIX=  v
DISTVERSION=3.1.2
USE_GITHUB= yes
GH_ACCOUNT= wxWidgets
GH_PROJECT= wxWidgets


See 5.4.5 in the porters handbook (EXTRACT_SUFX)


Thanks; unfortunately it doesn't seem to work
If I set
EXTRACT_SUFX=   .tar.bz2
it still fetches .tar.gz
If I set
DISTFILES=  wxWidgets-wxWidgets-v3.1.2_GH0.tar.bz2
it also still fetches .tar.gz

If I manually fetch the file and set the above variables (separate
attempts), make makesum will compute the checksum for both files (if
both are present), but a make extract uses the .gz, not the .bz2
If I get rid of (rename) the .gz, it ignores the .bz2 and tries to
fetch the .gz.

Does EXTRACT_SUFX conflict with USE_GITHUB?


Github support is using _GITHUB_EXTRACT_SUFX (see bsd.sites.mk line
450):

   _GITHUB_REV=0
   _GITHUB_EXTRACT_SUFX=   .tar.gz

So this can't be overridden on purpose.


ah, thanks


Are you sure you need a new wxWidgets port though? Won't
x11-toolkits/wxgtk31 be sufficient (see also:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-wx.html
)


thank you, I missed that, did not think to look in handbook and didn't
recognize wxgtk as an alias for wxwidget.  I think that should work.

Gary
___
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 236751 security/base-audit committer needed

2019-06-03 Thread Miroslav Lachman

Kurt Jaeger wrote on 2019/06/03 22:00:

Hi!


There is a new version of security/base-audit waiting for commit almost 2
months.
Could somebody commit it, please?

PR 236751


Done.


Thank you for all your work on ports!

Miroslav Lachman

___
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: force github file extension for fetch? (tar.bz2 instead of tar.gz)

2019-06-03 Thread Michael Gmelin



On Mon, 3 Jun 2019 12:46:32 -0600
Gary Aitken  wrote:

> On 6/3/19 11:19 AM, Michael Gmelin wrote:
> > 
> >   
> >> On 3. Jun 2019, at 19:03, Gary Aitken 
> >> wrote:
> >>
> >> In attempting to build a new port (prusa3d slicer) I need another
> >> new port (wxWidgets).  The original distfile fetch of wxWidgets
> >> was a .tar.gz. The configure phase had an error; a search for the
> >> source of the error turned up a bug (old) which claimed the error
> >> was solved by fetching the distfile as a .tar.bz2.
> >> .tar.bz2 is the github *nix distfile for the port.
> >>
> >> Is it possible to force fetching of .tar.bz2 instead of .tar.gz if
> >> both are available?  Or how does one get around the problem?
> >>
> >> 11.2-RELEASE-p4
> >> relevant Makefile details:
> >>
> >> PORTNAME=   wxwidgets
> >> DISTVERSIONPREFIX=  v
> >> DISTVERSION=3.1.2
> >> USE_GITHUB= yes
> >> GH_ACCOUNT= wxWidgets
> >> GH_PROJECT= wxWidgets
> >>  
> > 
> > See 5.4.5 in the porters handbook (EXTRACT_SUFX)
> > 
> > https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html
> >   
> 
> Thanks; unfortunately it doesn't seem to work
> If I set
>EXTRACT_SUFX=   .tar.bz2
> it still fetches .tar.gz
> If I set
>DISTFILES=  wxWidgets-wxWidgets-v3.1.2_GH0.tar.bz2
> it also still fetches .tar.gz
> 
> If I manually fetch the file and set the above variables (separate
> attempts), make makesum will compute the checksum for both files (if
> both are present), but a make extract uses the .gz, not the .bz2
> If I get rid of (rename) the .gz, it ignores the .bz2 and tries to
> fetch the .gz.
> 
> Does EXTRACT_SUFX conflict with USE_GITHUB?
> 

Github support is using _GITHUB_EXTRACT_SUFX (see bsd.sites.mk line
450):

  _GITHUB_REV=0
  _GITHUB_EXTRACT_SUFX=   .tar.gz

So this can't be overridden on purpose.

Are you sure you need a new wxWidgets port though? Won't
x11-toolkits/wxgtk31 be sufficient (see also:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-wx.html
)

-m

> Thanks,
> Gary
> ___
> 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"



-- 
Michael Gmelin
___
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: .build directory for cmake

2019-06-03 Thread Gary Aitken

On 6/3/19 2:07 PM, Tatsuki Makino wrote:


What if that changes to USES=cmake:insource ?


If I do that I see no different behavior from USES=cmake, at least in terms
of trying to reproduce the original problem (which was resolved by removing
the work/.configure_done* file).
___
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: .build directory for cmake (was: freebsd-ports Digest, Vol 836, Issue 1)

2019-06-03 Thread Tatsuki Makino
Hello.

What if that changes to USES=cmake:insource ?

Regards.
___
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 236751 security/base-audit committer needed

2019-06-03 Thread Kurt Jaeger
Hi!

> There is a new version of security/base-audit waiting for commit almost 2
> months.
> Could somebody commit it, please?
> 
> PR 236751

Done.

-- 
p...@opsec.eu+49 171 3101372One year 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"


PR 236751 security/base-audit committer needed

2019-06-03 Thread Miroslav Lachman
There is a new version of security/base-audit waiting for commit almost 
2 months.

Could somebody commit it, please?

PR 236751

Kind regards
Miroslav Lachman
___
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: force github file extension for fetch? (tar.bz2 instead of tar.gz)

2019-06-03 Thread Gary Aitken

On 6/3/19 11:19 AM, Michael Gmelin wrote:




On 3. Jun 2019, at 19:03, Gary Aitken  wrote:

In attempting to build a new port (prusa3d slicer) I need another new
port (wxWidgets).  The original distfile fetch of wxWidgets was a .tar.gz.
The configure phase had an error; a search for the source of the error
turned up a bug (old) which claimed the error was solved by fetching the
distfile as a .tar.bz2.
.tar.bz2 is the github *nix distfile for the port.

Is it possible to force fetching of .tar.bz2 instead of .tar.gz if both are
available?  Or how does one get around the problem?

11.2-RELEASE-p4
relevant Makefile details:

PORTNAME=   wxwidgets
DISTVERSIONPREFIX=  v
DISTVERSION=3.1.2
USE_GITHUB= yes
GH_ACCOUNT= wxWidgets
GH_PROJECT= wxWidgets



See 5.4.5 in the porters handbook (EXTRACT_SUFX)

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html


Thanks; unfortunately it doesn't seem to work
If I set
  EXTRACT_SUFX=   .tar.bz2
it still fetches .tar.gz
If I set
  DISTFILES=  wxWidgets-wxWidgets-v3.1.2_GH0.tar.bz2
it also still fetches .tar.gz

If I manually fetch the file and set the above variables (separate attempts),
make makesum will compute the checksum for both files (if both are present),
but a make extract uses the .gz, not the .bz2
If I get rid of (rename) the .gz, it ignores the .bz2 and tries to fetch
the .gz.

Does EXTRACT_SUFX conflict with USE_GITHUB?

Thanks,
Gary
___
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: licensing/restricted question about games/oneko-sakura

2019-06-03 Thread ng0
(Resend because I wasn't subscribed before)

n...@n0.is transcribed 1.2K bytes:
> Hi,
> 
> I have recently picked up oneko-sakura and did some maintenance
> work to make it build at least on NetBSD 8. So far I assumed it
> was public-domain, going by reading the entries in the source
> and the original URLs it points to, as well as Debian's license
> document.
> 
> svn commit 33748 of the Makefile states tt PATCHFILES,
> which is defined as
> PATCHFILES= oneko-1.2.sakura.3.diff.gz
> 
> contains deriviative work. This was 18 years 7 months ago,
> about the same time development stopped (1999 iirc).
> 
> Debian considers the same source (3 patch revisions later, 1.2.sakura.5)
> as: 
> https://metadata.ftp-master.debian.org/changelogs//main/o/oneko/oneko_1.2.sakura.6-11_copyright
> 
> 
> As the pkgsrc-wip maintainer I went by the element of least surprise
> and copied the restrict and NO_CDROM for pkgsrc.
> 
> My questions: why did you come to this conclusion, and
> did someone who contributed to this check later revisions of
> oneko-sakura (I think I based my work on sakura6, the last
> public release)?
> 
> I ask this as both a package maintainer as well as the maintainer of the
> new oneko source as both public domain as well as bsd-2 don't go well
> together with "no cdrom".
> 
> 
> Cheers,
> ng0
___
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"


math/hs-Agda: Need help with defining LICENSE

2019-06-03 Thread Gleb Popov
Hello.

I'm having troubles setting LICENSE properly for math/hs-Agda port. Its
LICENSE file looks like this:
https://hackage.haskell.org/package/Agda-2.6.0.1/src/LICENSE

I've figured out that I surely need LICENSE_COMB= multi, but I'm unsure of
the rest.

I'd be grateful, if someone would write LICENSE block for me.
___
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"


Please close bug 238192

2019-06-03 Thread Ernie Luzar

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238192
___
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: force github file extension for fetch? (tar.bz2 instead of tar.gz)

2019-06-03 Thread Michael Gmelin



> On 3. Jun 2019, at 19:03, Gary Aitken  wrote:
> 
> In attempting to build a new port (prusa3d slicer) I need another new
> port (wxWidgets).  The original distfile fetch of wxWidgets was a .tar.gz.
> The configure phase had an error; a search for the source of the error
> turned up a bug (old) which claimed the error was solved by fetching the
> distfile as a .tar.bz2.
> .tar.bz2 is the github *nix distfile for the port.
> 
> Is it possible to force fetching of .tar.bz2 instead of .tar.gz if both are
> available?  Or how does one get around the problem?
> 
> 11.2-RELEASE-p4
> relevant Makefile details:
> 
> PORTNAME=   wxwidgets
> DISTVERSIONPREFIX=  v
> DISTVERSION=3.1.2
> USE_GITHUB= yes
> GH_ACCOUNT= wxWidgets
> GH_PROJECT= wxWidgets
> 

See 5.4.5 in the porters handbook (EXTRACT_SUFX)

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html

-m


> Thanks,
> 
> Gary
> ___
> 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"


force github file extension for fetch? (tar.bz2 instead of tar.gz)

2019-06-03 Thread Gary Aitken

In attempting to build a new port (prusa3d slicer) I need another new
port (wxWidgets).  The original distfile fetch of wxWidgets was a .tar.gz.
The configure phase had an error; a search for the source of the error
turned up a bug (old) which claimed the error was solved by fetching the
distfile as a .tar.bz2.
.tar.bz2 is the github *nix distfile for the port.

Is it possible to force fetching of .tar.bz2 instead of .tar.gz if both are
available?  Or how does one get around the problem?

11.2-RELEASE-p4
relevant Makefile details:

PORTNAME=   wxwidgets
DISTVERSIONPREFIX=  v
DISTVERSION=3.1.2
USE_GITHUB= yes
GH_ACCOUNT= wxWidgets
GH_PROJECT= wxWidgets

Thanks,

Gary
___
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: .build directory for cmake (was: freebsd-ports Digest, Vol 836, Issue 1)

2019-06-03 Thread Gary Aitken

On 6/3/19 8:18 AM, Adriaan de Groot wrote:

On Monday, 3 June 2019 14:00:01 CEST freebsd-ports-requ...@freebsd.org wrote:

From: Gary Aitken 

I'm trying to port some linux code which uses cmake, and clearly don't
know what I'm doing.

I have
USES=  cmake
set, but a
make build
terminates with:
cd: /usr/ports/cad/prusa-slicer/work/.build: No such file or directory

What am I missing?  I presume the .build directory should be automatically
created by the build process.


Are you sure that the configure step is completing succesfully? You'd have to
take a look in WRKDIR (e.g. try WRKDIR=/tmp/bare make configure ) to see what
it's created exactly and where -- if anywhere -- the build-dir has ended up.

I know I've run into this same problem with cmake-based ports, but I don't
remember what I did to resolve it. Feel free to pop into #kde-freebsd on
Freenode IRC to bounce ideas off the FreeBSD devel/cmake maintainers.


Thank you, that was a big help.
There was a .configure_done.prusa-slicer._usr_local but no .build
subdirectory.  If I remove the .configure_done and do a make configure
it correctly creates the .build subdir and populates it, but due to an
error it doesn't complete and so leaves no .configure_done.

So... I can continue work from here, thanks.
What's not clear is how the .configure_done got written in the first place;
I can't reproduce it.

Thanks,

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


Having trouble with firstboot-growfs

2019-06-03 Thread Andrew Villano
 I've used Firstboot-growfs a few times and it usually goes without a snag.
I touch /firstboot, reboot the box and when it comes back up it resizes the
partition and resizes the filesystem.

I've just spun up a FreeBSD 12 box,
[vagrant@freebsd ~]$ freebsd-version
12.0-RELEASE-p5

I was able to resize the VMDK (by converting it to a VDI.. etc)

3. Name: ada0p3
   Mediasize: 32212254720 (30G)

   type: freebsd-ufs
   index: 3
   end: 65011837
   start: 2097278
Consumers:
1. Name: ada0
   Mediasize: 15728640 (146G)
   Sectorsize: 512
   Mode: r2w2e5

but I can't seem to get past this point. Nothing shows up in
/var/log/messages or in dmesg to indicate that there was a failure.
Strangely enough on reboot, the triggerfile /firstboot is gone as if to
indicate something was done.


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"


Re: freebsd-ports Digest, Vol 836, Issue 1

2019-06-03 Thread Adriaan de Groot
On Monday, 3 June 2019 14:00:01 CEST freebsd-ports-requ...@freebsd.org wrote:
> From: Gary Aitken 
> 
> I'm trying to port some linux code which uses cmake, and clearly don't
> know what I'm doing.
> 
> I have
>USES=  cmake
> set, but a
>make build
> terminates with:
>cd: /usr/ports/cad/prusa-slicer/work/.build: No such file or directory
> 
> What am I missing?  I presume the .build directory should be automatically
> created by the build process.

Are you sure that the configure step is completing succesfully? You'd have to 
take a look in WRKDIR (e.g. try WRKDIR=/tmp/bare make configure ) to see what 
it's created exactly and where -- if anywhere -- the build-dir has ended up.

I know I've run into this same problem with cmake-based ports, but I don't 
remember what I did to resolve it. Feel free to pop into #kde-freebsd on 
Freenode IRC to bounce ideas off the FreeBSD devel/cmake maintainers.

[ade]


signature.asc
Description: This is a digitally signed message part.