Re: How to use base OpenSSL with meson-based ports?

2020-04-01 Thread Koichiro Iwao
In my ports, I patch configure.ac to find OpenSSL not relying on
pkg-config.

https://svnweb.freebsd.org/ports/head/net/xrdp/files/patch-configure.ac?revision=469777&view=markup#l8

See also this. 

http://empt1e.blogspot.com/2011/05/dealing-with-pkg-config-detection-of.html
https://github.com/neutrinolabs/xrdp/pull/514

On Tue, Mar 31, 2020 at 11:24:58AM +0400, Gleb Popov wrote:
> Hello.
> 
> Meson build system uses pkg-config to locate dependencies. However, OpenSSL
> in base does not provide a .pc file (unlike, say, zlib - see
> /usr/libdata/pkgconfig/). I haven't found a way in meson to manually set up
> a dependency in this case.
> 
> I got a suggestion to write my own .pc file and hook it into the build of
> my port, but this looks somewhat hackish for me. Why can't we provide a
> proper .pc file in the base system?
> 
> Thanks in advance.
> ___
> 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"

-- 
meta 
___
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: How to use base OpenSSL with meson-based ports?

2020-04-01 Thread Gleb Popov
On Wed, Apr 1, 2020 at 8:43 AM Koichiro Iwao  wrote:

> In my ports, I patch configure.ac to find OpenSSL not relying on
> pkg-config.
>
>
> https://svnweb.freebsd.org/ports/head/net/xrdp/files/patch-configure.ac?revision=469777&view=markup#l8
>
> See also this.
>
>
> http://empt1e.blogspot.com/2011/05/dealing-with-pkg-config-detection-of.html
> https://github.com/neutrinolabs/xrdp/pull/514
>
>
Yes, I know how to deal with autotools. The problem is meson.

Maybe settings CFLAGS/LDFLAGS would help, indeed.

On Tue, Mar 31, 2020 at 11:24:58AM +0400, Gleb Popov wrote:
> > Hello.
> >
> > Meson build system uses pkg-config to locate dependencies. However,
> OpenSSL
> > in base does not provide a .pc file (unlike, say, zlib - see
> > /usr/libdata/pkgconfig/). I haven't found a way in meson to manually set
> up
> > a dependency in this case.
> >
> > I got a suggestion to write my own .pc file and hook it into the build of
> > my port, but this looks somewhat hackish for me. Why can't we provide a
> > proper .pc file in the base system?
> >
> > Thanks in advance.
> > ___
> > 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"
>
> --
> meta 
>
___
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: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-01 Thread Lorenzo Salvadore via freebsd-ports
‐‐‐ Original Message ‐‐‐
On Wednesday 1 April 2020 02:22, Julian H. Stacey  wrote:

> Hi ports@
> A libcurses version problem:
>
> Running 13.0-CURRENT with
> /usr/src
> cat .svn_revision 359319
> cat .ctm_status src-cur 14430
> /usr/ports
> cat .svn_revision 529842
> cat .ctm_status ports-cur 13423
>
> After
> pkg upgrade
> pkg autoremove
> xterm & firefox failed with
> ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "xterm"
>
> Fixed temporarily with:
> cd /lib ; ln -s libncurses.so.9 libncurses.so.8 ; ldconfig -R

I think the recommended fix is to install misc/compat12x. I was suggested to
do that in another context and it worked for me. I gave the same suggestion
to someone else with the same problem and it also worked.

Cheers,
Lorenzo Salvadore
___
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

2020-04-01 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
+-+
databases/adodb5| 5.20.9  | 5.20.17
+-+


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

Reported by:portscout!
___
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"


Unsubscribe

2020-04-01 Thread Darryl T. Agostinelli
-- 
Darryl T. Agostinelli
https://darrylagostinelli.com
512-585-3246

Join my mailing list for interesting information about programming.


ANNOYING NOTICES: The information in this email may be confidential and/or
privileged. This email is intended to be reviewed by only the individual or
organization named above. If you are not the intended recipient or an
authorized representative of the intended recipient, you are hereby
notified that any review, dissemination or copying of this email and its
attachments, if any, or the information contained herein is prohibited. If
you have received this email in error, please immediately notify the sender
by return email and delete this email from your system. Nothing contained
in this message or in any attachment shall constitute a contract or
electronic signature under the Electronic Signatures in Global and National
Commerce Act, any version of the Uniform Electronic Transactions Act or any
other statute governing electronic transactions.
___
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: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-01 Thread Julian H. Stacey
Hi, Reference:
> From: Lorenzo Salvadore 
> Reply-to: Lorenzo Salvadore 
> Date: Wed, 01 Apr 2020 09:56:27 +

Lorenzo Salvadore wrote:
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Wednesday 1 April 2020 02:22, Julian H. Stacey  wrote:
> 
> > Hi ports@
> > A libcurses version problem:
> >
> > Running 13.0-CURRENT with
> > /usr/src
> > cat .svn_revision 359319
> > cat .ctm_status src-cur 14430
> > /usr/ports
> > cat .svn_revision 529842
> > cat .ctm_status ports-cur 13423
> >
> > After
> > pkg upgrade
> > pkg autoremove
> > xterm & firefox failed with
> > ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "xterm"
> >
> > Fixed temporarily with:
> > cd /lib ; ln -s libncurses.so.9 libncurses.so.8 ; ldconfig -R
> 
> I think the recommended fix is to install misc/compat12x. I was suggested to
> do that in another context and it worked for me. I gave the same suggestion
> to someone else with the same problem and it also worked.
> 
> Cheers,
> Lorenzo Salvadore

Thanks Lorenzo that worked, confirmed by 
cd /lib ; mv libncurses.so.8 libncurses.so.8.jhs
cd /usr/ports/misc/compat12x ; make install ; reboot

To identify package name for others:
make package
produces
/usr/ports/packages/All/compat12x-amd64-12.1.1201000.20200220.txz
however no
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-current/All
& I dont see  
"man pkg-info" 
has an option to list what's available on repository
(Eventualy I found
http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/
with
compat12x-amd64-12.1.1201000.20200220.txz
pkg install compat12x-amd64-12.1.1201000.20200220
The most recent versions of packages are already installed
Which confirms the pkg name.)

Suggestion: to man pkg-info we should add to SEE ALSO http://pkg.freebsd.org

Cheers
--
Julian Stacey, Consultant Systems Engineer, BSD Linux http://berklix.com/jhs/
UK stole 750,000 votes from EU Brits:  http://stolenvotes.uk
http://petition.parliament.uk/petitions/300059 http://berklix.uk/brexit/#russia
http://berklix.eu/corona/#brexit  Delay Brexit 31 Dec 2020 better fight Corona.
___
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: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-01 Thread Lorenzo Salvadore via freebsd-ports
‐‐‐ Original Message ‐‐‐
On Wednesday 1 April 2020 16:34, Julian H. Stacey  wrote:

> Hi, Reference:
>
> > From: Lorenzo Salvadore phascolarc...@protonmail.ch
> > Reply-to: Lorenzo Salvadore phascolarc...@protonmail.ch
> > Date: Wed, 01 Apr 2020 09:56:27 +
>
> Lorenzo Salvadore wrote:
>
> > ‐‐‐ Original Message ‐‐‐
> > On Wednesday 1 April 2020 02:22, Julian H. Stacey j...@berklix.com wrote:
> >
> > > Hi ports@
> > > A libcurses version problem:
> > > Running 13.0-CURRENT with
> > > /usr/src
> > > cat .svn_revision 359319
> > > cat .ctm_status src-cur 14430
> > > /usr/ports
> > > cat .svn_revision 529842
> > > cat .ctm_status ports-cur 13423
> > > After
> > > pkg upgrade
> > > pkg autoremove
> > > xterm & firefox failed with
> > > ld-elf.so.1: Shared object "libncurses.so.8" not found, required by 
> > > "xterm"
> > > Fixed temporarily with:
> > > cd /lib ; ln -s libncurses.so.9 libncurses.so.8 ; ldconfig -R
> >
> > I think the recommended fix is to install misc/compat12x. I was suggested to
> > do that in another context and it worked for me. I gave the same suggestion
> > to someone else with the same problem and it also worked.
> > Cheers,
> > Lorenzo Salvadore
>
> Thanks Lorenzo that worked, confirmed by
> cd /lib ; mv libncurses.so.8 libncurses.so.8.jhs
> cd /usr/ports/misc/compat12x ; make install ; reboot
>
> To identify package name for others:
> make package
> produces
> /usr/ports/packages/All/compat12x-amd64-12.1.1201000.20200220.txz
> however no
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-current/All
> & I dont see
> "man pkg-info"
> has an option to list what's available on repository
> (Eventualy I found
> http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/
> with
> compat12x-amd64-12.1.1201000.20200220.txz
> pkg install compat12x-amd64-12.1.1201000.20200220
> The most recent versions of packages are already installed
> Which confirms the pkg name.)

Please note however that in most cases you should not need compat12x.
What is normally needed is to rebuild all the ports that depend on ncurses
on your system. When this is not possible, for example because instead of using
ports you use an out of date package repository that you cannot update or
because you install a port that needs "hand made" packages (such as
i386-wine or i386-wine-devel), then you need compat12x.

It seems xterm and firefox are up to date in the official repository:
http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/ . I do not know how the
ports are built, it might be that they use some "hand made" packages.

Lorenzo Salvadore
___
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: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-01 Thread Dimitry Andric

On 2020-04-01 02:22, Julian H. Stacey wrote:

Hi ports@
A libcurses version problem:

Running 13.0-CURRENT with
/usr/src
  cat .svn_revision 359319
  cat .ctm_status src-cur 14430
/usr/ports
  cat .svn_revision 529842
  cat .ctm_status ports-cur 13423

After
  pkg upgrade
  pkg autoremove
xterm & firefox failed with
  ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "xterm"

...

Next to look at /usr/src/
ObsoleteFiles.inc
# 20200220: Upgrade of ncurses, shlib bumped to version 9
OLD_LIBS+=lib/libncurses.so.8


Yeah, this ncurses bump was handled pretty badly, as it breaks almost 
all installed ports (and a bunch of base programs too, if you are 
unlucky). Isn't there any compat package for it yet?


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