Re: Tool to check for non-default options for installed ports

2020-01-04 Thread Tatsuki Makino
I forgot some tr before grep. orz
___
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: Tool to check for non-default options for installed ports

2020-01-04 Thread Tatsuki Makino
1.
pkg query %Ov=%Ok ports-mgmt/pkg | sed -e 's/on=/+/; s/off=/-/'
Options for installed packages.

2.
make -C /usr/ports/ports-mgmt/pkg\
  ALL_OPTIONS=\$\{OPTIONS_DEFINE:O:u\} pretty-print-config |
  grep '^[-+]'
Options after pressing OK in dialog4ports. Sorted for comparison.

3.
make -C /usr/ports/ports-mgmt/pkg\
  OPTIONS_FILE=/dev/null\
  ALL_OPTIONS=\$\{OPTIONS_DEFINE:O:u\} pretty-print-config |
  grep '^[-+]'
Options before pressing OK in dialog4ports. Sorted for comparison.

4.1
OPTIONS_NAME='ports-mgmt_pkg'
make -C /usr/ports/ports-mgmt/pkg\
  OPTIONS_SET= OPTIONS_UNSET=\
  "${OPTIONS_NAME}_SET=" "${OPTIONS_NAME}_UNSET="\
  OPTIONS_SET_FORCE= OPTIONS_UNSET_FORCE=\
  "${OPTIONS_NAME}_SET_FORCE=" "${OPTIONS_NAME}_UNSET_FORCE="\
  WITH= WITHOUT= OPTIONS_FILE=/dev/null\
  ALL_OPTIONS=\$\{OPTIONS_DEFINE:O:u\} pretty-print-config |
  tr ' ' '\n' | grep '^[-+]'
Pure options not including those defined in make.conf.

4.2
make -C /usr/ports/ports-mgmt/pkg\
  __MAKE_CONF=/dev/null OPTIONS_FILE=/dev/null\
  ALL_OPTIONS=\$\{OPTIONS_DEFINE:O:u\} pretty-print-config |
  tr ' ' '\n' | grep '^[-+]'
Simpler than 4.1 by not including make.conf.

It would be better to compare these. (I read poudriere a little :) )
Would someone make a tool? :)

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"


Tool to check for non-default options for installed ports

2020-01-04 Thread Kevin Oberman
I should just write this as it looks very straight-forward but I'm lazy and
hate reinventing wheels.

On my development system I build from ports. An on-going issue is that
ports frequently change options from non-default to default and I never see
the change. The result is that every now and then a port won't build due to
a change or a port runs with reduced capabilities or performance when a new
option becomes the standard.

Looking at the DEFAULT_OPTIONS in the port Makefile and comparing them with
saved config is trivial and I suspect a tool for this has probably been
written several times.

Thanks!
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
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: cad/gerbv can be helped

2020-01-04 Thread Ash Gokhale
This is the possible culprit from their  git per Tim's  analysis, I'm
unable to check a specimen of the distfile with the incorrect signature  as
it is unavailable and the original was not built from the
gerbv-2-7-RELEASE tag.
https://github.com/agokhale/gerbv-git/commit/f9df7f32d7ee60988b5608ae7f0faee60e906591
commit f9df7f32d7ee60988b5608ae7f0faee60e906591
Author: Sergey Alyoshin 
Date:   Mon Dec 17 21:02:01 2018 +0300
Update README-cvs.txt to README-git.txt

I'm not sure what there is to do here except accept the changes or let this
port go.
I've canned a version of the port that works for me(tm), and gone over the
recent commit history for obviously
untoward behaviour.
https://github.com/agokhale/freebsd-ports-cad-gerbv

I've also created a readonly copy of the whole distro to browse it as the
source git is a bit unfriendly.
https://github.com/agokhale/gerbv-git

On Sun, Dec 29, 2019 at 6:24 AM Li-Wen Hsu  wrote:
>
> On Sat, Dec 28, 2019 at 6:13 AM Tim Rice  wrote:
> > How about checking the git log and doing a git diff.
> > git clone git://git.geda-project.org/gerbv.git
> >
> > Looks like README-cvs.txt was pulled and README-git.txt added.
>
> That should also work. Ash, Could you also check these?
>
> Thanks,
> Li-Wen
___
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"