Re: How to get pkg to recognize local repository?

2017-07-16 Thread Matthias Apitz
El día lunes, julio 17, 2017 a las 05:10:06a. m. +, Thomas Mueller escribió:

> How do I get pkg to recognize a local repository such as 
> /mnt/usr/packages/All, or does pkg only recognize remote repositories?
> 
> ...

I use:

$ ls -l /usr/local/etc/pkg/repos/*.conf
-rw-r--r--  1 root  wheel  35 12 mar.  11:05 
/usr/local/etc/pkg/repos/FreeBSD.conf
-rw-r--r--  1 root  wheel  96 12 mar.  11:05 
/usr/local/etc/pkg/repos/myrepo.conf
$ cat /usr/local/etc/pkg/repos/FreeBSD.conf

FreeBSD: { enabled: no }

$ cat /usr/local/etc/pkg/repos/myrepo.conf

FreeBSD: {
url: "file:///usr/local/PKGDIR.20170304",
enabled: true,
}

HIH

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
8. Mai 1945: Wer nicht feiert hat den Krieg verloren.
8 de mayo de 1945: Quien no festeja perdió la Guerra.
May 8, 1945: Who does not celebrate lost the War.


signature.asc
Description: PGP signature


Re: How to get pkg to recognize local repository?

2017-07-16 Thread Franco Fichtner

> On 17. Jul 2017, at 7:10 AM, Thomas Mueller  wrote:
> 
> pkg-static: Ignoring bad configuration entry in 
> /usr/local/etc/pkg/repos/mytemprepo.conf: "file:///mnt/usr/packages/All"
> pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static 
> install -f pkg" recommended
> No active remote repositories configured.

You want to point to file:///mnt/usr/packages instead, it should work given
the repository meta files are in there.


Cheers,
Franco
___
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"


How to get pkg to recognize local repository?

2017-07-16 Thread Thomas Mueller
How do I get pkg to recognize a local repository such as /mnt/usr/packages/All, 
or does pkg only recognize remote repositories?

In this case, /mnt was a mount point for another FreeBSD 11.1-PRERELEASE 
installation from the same svn revision.  Second was installed from the first 
using NFS.

Even env PACKAGEPATH=/mnt/usr/packages/All pkg-static install pkg  didn't work.

pkg-static: Ignoring bad configuration entry in 
/usr/local/etc/pkg/repos/mytemprepo.conf: "file:///mnt/usr/packages/All"
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static 
install -f pkg" recommended
No active remote repositories configured.

What is the proper URL or format for a file name/directory?  Is it necessary to 
precede with URL: or what do I have to do to make it look like a repository?  I 
have been unable to get anything to work.

While it would be easier to just build the packages again, I would like to know 
how to install from one computer or installation to another without recompiling.

Tom

___
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: Look for a committer

2017-07-16 Thread Jov
Thanks Kurt!
added olgeni@

I just run poudriere testport for 10.3 i386, py27-bear build fine, and the
devel/erlang is not involved as a dependency.

devel/bear build log:
https://raw.githubusercontent.com/amutu/data/master/py27-bear-2.3.6.log

2017-07-17 1:49 GMT+08:00 Kurt Jaeger :

> Hi!
>
> > I made a new port named /deve/bear, which is a tool that generates a
> > compilation database for clang tooling. It is useful for
> > clang-tidy/clang-check with non-cmake project.
> >
> > PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220475
>
> I build it in poudriere, worked on current, 11.0amd64, but fails to build
> on 10.3 i386,
> because lang/erlang | erlang-19.3.6.1,4 failed in build
>
> Should erlang build on 10.3 i386 ?
>
> The log can be found at
>
> http://people.freebsd.org/~pi/logs/erlang-19.3.6.1,4.log
>
> --
> p...@opsec.eu+49 171 3101372 3 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@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox/GTK3 issue and reinstalling dependent ports

2017-07-16 Thread Grzegorz Junka


On 16/07/2017 13:35, Kurt Jaeger wrote:

Hi!


Hmm, I found this:

pkg clean -a
cleans the cache and

pkg install -R -f firefox

should force a reinstallation of the package and all dependencies.

Well, indeed, as you posted already, it does not 8-(



I didn't try pkg clean -a before pkg install -R -f firefox before but 
just tried it now and indeed - doesn't work.

___
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: Look for a committer

2017-07-16 Thread Kurt Jaeger
Hi!

> I made a new port named /deve/bear, which is a tool that generates a
> compilation database for clang tooling. It is useful for
> clang-tidy/clang-check with non-cmake project.
> 
> PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220475

I build it in poudriere, worked on current, 11.0amd64, but fails to build on 
10.3 i386,
because lang/erlang | erlang-19.3.6.1,4 failed in build

Should erlang build on 10.3 i386 ?

The log can be found at

http://people.freebsd.org/~pi/logs/erlang-19.3.6.1,4.log

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


Anybody knows how to patch tarballs that bazel extracts?

2017-07-16 Thread Yuri
Bazel (devel/bazel) based projects tend to fetch tarballs directly. 
WORKSPACE can be patched to change the fetch URL to one in 
/usr/ports/distfiles. However, what to do when the contents of tarballs 
need to be patched?


It there an easy way to tell bazel to patch tarball contents?


Yuri

___
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: Firefox/GTK3 issue and reinstalling dependent ports

2017-07-16 Thread Kurt Jaeger
Hi!

> Hmm, I found this:
> 
> pkg clean -a
> cleans the cache and
> 
> pkg install -R -f firefox
> 
> should force a reinstallation of the package and all dependencies.

Well, indeed, as you posted already, it does not 8-(

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


Re: Firefox/GTK3 issue and reinstalling dependent ports

2017-07-16 Thread Kurt Jaeger
Hi!

> Will either pkg clean -a or pkg delete -a uninstall any of the installed 
> ports?

Yes. pkg delete -a deinstalls all installed ports. That's the problem
with that approach.

Hmm, I found this:

pkg clean -a
cleans the cache and

pkg install -R -f firefox

should force a reinstallation of the package and all dependencies.

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


Re: Firefox/GTK3 issue and reinstalling dependent ports

2017-07-16 Thread Grzegorz Junka


On 16/07/2017 12:45, Kurt Jaeger wrote:



I am using poudriere and wanted to track down which repository/option is
responsible for this issue. I created a new repository where I compiled
Firefox with all its dependencies with default options. But I don't know
how to reinstall Firefox with all its dependencies?

I tried:

pkg install -r firefox-test -R -f www/firefox
pkg upgrade -r firefox-test -f www/firefox

Both of them reinstall only the Firefox package. There is 241
dependencies when building Firefox with default options so it's kind of
difficult to reinstall all of them manually. How do I force to also
reinstall dependencies?

I know no way to do this which is not 'radical':

pkg clean -a

removes the cache. Then remove all packages (pkg delete -a) and
re-install firefox with

pkg install firefox



Thanks for your prompt response!
Will either pkg clean -a or pkg delete -a uninstall any of the installed 
ports? There is over 1000 of them and I wouldn't like to have to install 
all of them again from scratch.


I don't mind cleaning the cache and the database since the package 
repository is served over nginx from the same desktop.


Grzegorz
___
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: Firefox/GTK3 issue and reinstalling dependent ports

2017-07-16 Thread Kurt Jaeger
Hi!

> This is a re-post from FreeBSD forum
> 
> Firefox on my computer expresses a weird UI issue where many controls 
> are rendered without their borders. For example, radios or checkboxes 
> can be selected but are invisible, since they have no border.

I've seen the behaviour -- thanks for explaining what happens!

> I am using poudriere and wanted to track down which repository/option is 
> responsible for this issue. I created a new repository where I compiled 
> Firefox with all its dependencies with default options. But I don't know 
> how to reinstall Firefox with all its dependencies?
> 
> I tried:
> 
> pkg install -r firefox-test -R -f www/firefox
> pkg upgrade -r firefox-test -f www/firefox
> 
> Both of them reinstall only the Firefox package. There is 241 
> dependencies when building Firefox with default options so it's kind of 
> difficult to reinstall all of them manually. How do I force to also 
> reinstall dependencies?

I know no way to do this which is not 'radical':

pkg clean -a

removes the cache. Then remove all packages (pkg delete -a) and
re-install firefox with

pkg install firefox

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


Firefox/GTK3 issue and reinstalling dependent ports

2017-07-16 Thread Grzegorz Junka

This is a re-post from FreeBSD forum

Firefox on my computer expresses a weird UI issue where many controls 
are rendered without their borders. For example, radios or checkboxes 
can be selected but are invisible, since they have no border. Also 
selecting text doesn't highlight the selected part of the text. I can 
select and copy the selection even if the selection is invisible.


This was also happening with other applications that are using GTK3. 
Since I observed this issue I switched most of them back to GTK2 and the 
issue is gone, however the option to use GTK2 instead of GTK3 is not 
available in all of them, i.e. in gMTP and Firefox among others.


I am using poudriere and wanted to track down which repository/option is 
responsible for this issue. I created a new repository where I compiled 
Firefox with all its dependencies with default options. But I don't know 
how to reinstall Firefox with all its dependencies?


I tried:

pkg install -r firefox-test -R -f www/firefox
pkg upgrade -r firefox-test -f www/firefox

Both of them reinstall only the Firefox package. There is 241 
dependencies when building Firefox with default options so it's kind of 
difficult to reinstall all of them manually. How do I force to also 
reinstall dependencies?


Grzegorz

___
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

2017-07-16 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
+-+
lang/asis   | 2016| 2017
+-+


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"