Re: Ports via svn, make fetchindex and make compatibility with NetBSD

2013-12-05 Thread Thomas Mueller
> > So could I run "make fetchindex" from NetBSD even if I don't attempt to 
> > actually build ports from NetBSD?

> > I would have to point the MAKECONF to FreeBSD's /etc/make.conf rather than 
> > use NetBSD's /etc/mk.conf which is specific to NetBSD.

> > Or is it safe to skip "make fetchindex" entirely?

> It is safe :)

> regards,
> Bapt

Now I can feel more comfortable, I trust your insider knowledge.

I still would have to make fetchlist from FreeBSD, then fetch from NetBSD, then 
boot back to FreeBSD to compile/build.

Sort of cloak-and-dagger.

Better would be if I could get Hiro H50191 USB wireless adapter to work with 
driver rsu, could even try ndis as fallback and to see if that works.

I haven't yet tried with my new TP-Link wireless router that replaced a failing 
Netgear router.

Tom
___
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: Ports via svn, make fetchindex and make compatibility with NetBSD

2013-12-04 Thread RW
On Tue, 03 Dec 2013 13:27:57 +
Matthew Seaman wrote:

> If you do need a copy of the index, then you have two choices
> 
>* build your own.  'make index' will thrash your machine for
> upwards of twenty minutes, 


That's pessimistic, on my low-end i5 with low-performance disks,
it takes between 2.25 and 3.5 minutes (depending on how many files are
already cached) with no noticeable impact on performance.

___
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: Ports via svn, make fetchindex and make compatibility with NetBSD

2013-12-04 Thread Baptiste Daroussin
On Tue, Dec 03, 2013 at 04:41:17AM -0800, Thomas Mueller wrote:

> Is it necessary to make fetchindex after downloading or updating the ports 
> tree using svn?
> 
> I have new installations of head and 10-stable where I so far can't connect 
> to the Internet, though I can from Linux and NetBSD-current amd64.
> 
> So I use subversion, built on NetBSD from pkgsrc, to checkout and update 
> ports tree as well as system source tree.
> 
> But I believe I can't run "make fetchindex" without Internet connection.
> 
> Now I read that FreeBSD make has switched to bmake in the 10-stable and head 
> branches.
> 
> So could I run "make fetchindex" from NetBSD even if I don't attempt to 
> actually build ports from NetBSD?
> 
> I would have to point the MAKECONF to FreeBSD's /etc/make.conf rather than 
> use NetBSD's /etc/mk.conf which is specific to NetBSD.
> 
> Or is it safe to skip "make fetchindex" entirely?

It is safe :)

regards,
Bapt


pgpCNLtcUvqFA.pgp
Description: PGP signature


Re: Ports via svn, make fetchindex and make compatibility with NetBSD

2013-12-04 Thread Thomas Mueller
> Building ports on NetBSD is a whole other kettle of fish.  It's not
> going to work without a lot of effort to add compatibility changes.
> (Getting the ports working on DFly which is much more closely related to
> FBSD has been a fairly recent achievement, and that took quite a lot of
> local patches.)

>   Cheers,

>   Matthew

I noticed on the DFly site that Dfly was switching from NetBSD pkgsrc to 
dports, which is a port of FreeBSD ports.

I guess they like FreeBSD ports better than NetBSD pkgsrc.

NetBSD pkgsrc has been ported to many other OSes including some non-Unixoid,
but I don't really want to use pkgsrc for Linux.

DFly is rather incompatible with my system; I tried their live USB including 
the latest release 3.6.0 amd64 and i386.

So is OpenBSD.

Tom
___
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: Ports via svn, make fetchindex and make compatibility with NetBSD

2013-12-03 Thread Matthew Seaman
On 12/03/13 12:41, Thomas Mueller wrote:
> Is it necessary to make fetchindex after downloading or updating the ports 
> tree using svn?
> 
> I have new installations of head and 10-stable where I so far can't connect 
> to the Internet, though I can from Linux and NetBSD-current amd64.
> 
> So I use subversion, built on NetBSD from pkgsrc, to checkout and update 
> ports tree as well as system source tree.
> 
> But I believe I can't run "make fetchindex" without Internet connection.
> 
> Now I read that FreeBSD make has switched to bmake in the 10-stable and head 
> branches.
> 
> So could I run "make fetchindex" from NetBSD even if I don't attempt to 
> actually build ports from NetBSD?
> 
> I would have to point the MAKECONF to FreeBSD's /etc/make.conf rather than 
> use NetBSD's /etc/mk.conf which is specific to NetBSD.
> 
> Or is it safe to skip "make fetchindex" entirely?

For most purposes you don't really need a copy of the INDEX.  Some
software -- including portmaster(8), portupgrade(8) -- uses the INDEX
for various purposes, but even then I'm not sure if the presence of the
INDEX is mandatory for those.

If you do need a copy of the index, then you have two choices

   * build your own.  'make index' will thrash your machine for upwards
of twenty minutes, but doesn't require any sort of network access.
(There's also ports-mgmt/p5-FreeBSD-Portindex, but I'm biased because I
wrote it...)

   * Pull down the index from ne of the FreeBSD mirror sites.  'make
fetchindex' is just a wrapper around the command:

  fetch -o INDEX-10.bz2 http://www.FreeBSD.org/ports/INDEX-10.bz2

(or INDEX-11.bz2 for HEAD).  You can use fetch(1), wget(1), curl(1) or
many other applications capable of pulling down a file from a webserver.
 Any Unixoid OS will have the capability to do this.

Building ports on NetBSD is a whole other kettle of fish.  It's not
going to work without a lot of effort to add compatibility changes.
(Getting the ports working on DFly which is much more closely related to
FBSD has been a fairly recent achievement, and that took quite a lot of
local patches.)

Cheers,

Matthew







signature.asc
Description: OpenPGP digital signature


Re: Ports via svn, make fetchindex and make compatibility with NetBSD

2013-12-03 Thread RW
On Tue, 3 Dec 2013 04:41:17 -0800 (PST)
Thomas Mueller wrote:

> Is it necessary to make fetchindex after downloading or updating the
> ports tree using svn?

Not absolutely, it's needed for portupgrade, port searches, and a number
of utilities use it for speeding various things up.

> I have new installations of head and 10-stable where I so far can't
> connect to the Internet, though I can from Linux and NetBSD-current
> amd64.
> 
> So I use subversion, built on NetBSD from pkgsrc, to checkout and
> update ports tree as well as system source tree.
> 
> But I believe I can't run "make fetchindex" without Internet
> connection.
> 

You can run "make index" instead, it takes about 3 minutes on my
desktop.
___
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"