Re: Using MacPorts "Offline"

2018-02-04 Thread Ryan Schmidt
On Feb 4, 2018, at 16:05, Rainer Müller wrote: >> nickel% ls -ltrd /opt/local/var/macports/portdirs/ports/*dex*17* >> drwxr-xr-x 4 500 505 128 Jan 30 >> 15:17 /opt/local/var/macports/portdirs/ports/PortIndex_darwin_17_i386/ > > This looks like the directory belongs to a user id that has no >

Re: Using MacPorts "Offline"

2018-02-04 Thread Rainer Müller
On 2018-01-30 21:28, Jepeway, Chris wrote: > And, of course, "port selfupdate" wants to phone home to > rsync.macports.org , which my "banned from > the internet" MacBook can't do. Unfortunately, there is no alternative to this. The best option is to use 'sudo port sync'

Re: Using MacPorts "Offline"

2018-01-30 Thread Joshua Root
Jepeway, Chris wrote: > Ah, perfect, thanks (& to Ryan). > > This now works: > > nickel% sudo port version > [long delay while bsdtar runs] > Version: 2.4.2 > > This, however, is a bust: > > nickel% sudo port echo gawk\* > Warning: Can't open index file for source: > file:///Users/chrjep2/shar

Re: Re: Using MacPorts "Offline"

2018-01-30 Thread Jepeway, Chris
Ah, perfect, thanks (& to Ryan). This now works: nickel% sudo port version [long delay while bsdtar runs] Version: 2.4.2 This, however, is a bust: nickel% sudo port echo gawk\* Warning: Can't open index file for source: file:///Users/chrjep2/share/macports/ports.tar Error: /opt/local/bin/port:

Re: Using MacPorts "Offline"

2018-01-30 Thread Rainer Müller
On 2018-01-30 01:15, Jepeway, Chris wrote: > This is the last line of sources.conf: > > file:///Users/chrjep2/share/macports/ports.tar [default] [nosync] The correct syntax would be to put the flags into the same brackets: file:///Users/chrjep2/share/macports/ports.tar [default,nosync]

Re: Using MacPorts "Offline"

2018-01-30 Thread Ryan Schmidt
On Jan 29, 2018, at 18:15, Jepeway, Chris wrote: > I'm looking to use & build ports offline, without any direct internet access. > > Is this possible? > > I've got a recent install of MacPorts via the v2.4.2 disk image. > > I've got a copy of ports.tar. > > I've got an rsync'ed set of distfil