php 7.1 is way behind

2018-06-27 Thread dd92zi+2d7t34pt5a.sharklasers.com via cygwin
Greetings.  Is anybody maintaining the php 7.1 packages for cygwin anymore? 
It's stuck at php 7.1.16 yet php 7.1 is up to 7.1.19 now.  Surely there are 
vulnerabilities that need to be addressed right?  Any info on this is 
appreciated.






Sent using Sharklasers.com
Block or report abuse: 
https://www.sharklasers.com//abuse/?a=QlhzEgQOY7cMjxm9%2FjAcfRk%3D



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Re: octave says WGL_ARB_multisample is missing

2018-06-27 Thread Tatsuro MATSUOKA
what happens if you install mesa by cygwin setup ?

tatsuro

--- wfmacmd
> Thanks for the suggestions.
> 
> I thought updating the display driver sounded good, since this is a very
> old computer, but when I asked to update the driver it searched for a new
> driver and eventually said my driver is up to date.
> 
> I set LIBGL_ALWAYS_SOFTWARE to 1.  That got rid of the WGL error messages,
> but I still get the other messages:
> Insufficient GL support
> error: unable to plot due to insufficient OpenGL support
> 
> This is harder, because it doesn't tell me _what_ is missing (or
> "insufficient").
> 
> 
> On 26 June 2018 at 16:33, Jon Turney  wrote:
> 
> > On 26/06/2018 20:27, William Mitchell wrote:
> >
> >> When I run octave on a fresh installation of cygwin64 on a Windows 7
> >> machine, I get the error:
> >>
> >> libGL error: required WGL extension WGL_ARB_multisample is missing
> >>
> >
> > This error is coming from the WGL direct renderer built into libGL on
> > Cygwin, and is telling you that this extension not provided by the Windows
> > display driver you are using.  (This is unusual)
> >
> > It's nothing to do with GLEW or any other cygwin libraries.
> >
> > Possible solutions:
> >
> > Install/upgrade the display driver
> >
> > Use software rendering by setting the LIBGL_ALWAYS_SOFTWARE environment
> > variable
> >
> > (See also https://x.cygwin.com/docs/ug/using-glx.html)
> >
> >
> > Insufficient GL support
> >> error: unable to plot due to insufficient OpenGL support
> >>
> >> octave begins running fine.  The error occurs when it encounters a plot
> >> statement.
> >>
> >> I have had this problem with an old installation of cygwin for at least a
> >> year.  I finally decided to wipe out cygwin and try a fresh installation.
> >> This installation contains the "minimal" default packages plus Devel:
> >> gcc-core, gcc-gfortran, gcc-g++, gdb, mingw64-x86_64-gcc-core,
> >> mingw64-x86_64-gfortran, mingw64-x86_64-g++; Graphics: gnuplot,
> >> ImageMagick; Math: bc, grace, octave; Shells: tcsh; X11: everything.
> >>
> >> I notice that libGLEW is included in the packages that it installs, which
> >> is where I would expect to find the WGL extensions.  This contains
> >> /usr/bin/cygGLEW-2-1.dll, but I don't know how to find out what functions
> >> are in a dll to see if it contains WGL_ARB_multisample.
> >>
> >> Any suggestions on what is wrong with this installation are greatly
> >> appreciated.
> >>
> >
> > --
> > Jon Turney
> > Volunteer Cygwin/X X Server maintainer
> >
> 
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> 


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: octave says WGL_ARB_multisample is missing

2018-06-27 Thread William Mitchell
Thanks for the suggestions.

I thought updating the display driver sounded good, since this is a very
old computer, but when I asked to update the driver it searched for a new
driver and eventually said my driver is up to date.

I set LIBGL_ALWAYS_SOFTWARE to 1.  That got rid of the WGL error messages,
but I still get the other messages:
Insufficient GL support
error: unable to plot due to insufficient OpenGL support

This is harder, because it doesn't tell me _what_ is missing (or
"insufficient").


On 26 June 2018 at 16:33, Jon Turney  wrote:

> On 26/06/2018 20:27, William Mitchell wrote:
>
>> When I run octave on a fresh installation of cygwin64 on a Windows 7
>> machine, I get the error:
>>
>> libGL error: required WGL extension WGL_ARB_multisample is missing
>>
>
> This error is coming from the WGL direct renderer built into libGL on
> Cygwin, and is telling you that this extension not provided by the Windows
> display driver you are using.  (This is unusual)
>
> It's nothing to do with GLEW or any other cygwin libraries.
>
> Possible solutions:
>
> Install/upgrade the display driver
>
> Use software rendering by setting the LIBGL_ALWAYS_SOFTWARE environment
> variable
>
> (See also https://x.cygwin.com/docs/ug/using-glx.html)
>
>
> Insufficient GL support
>> error: unable to plot due to insufficient OpenGL support
>>
>> octave begins running fine.  The error occurs when it encounters a plot
>> statement.
>>
>> I have had this problem with an old installation of cygwin for at least a
>> year.  I finally decided to wipe out cygwin and try a fresh installation.
>> This installation contains the "minimal" default packages plus Devel:
>> gcc-core, gcc-gfortran, gcc-g++, gdb, mingw64-x86_64-gcc-core,
>> mingw64-x86_64-gfortran, mingw64-x86_64-g++; Graphics: gnuplot,
>> ImageMagick; Math: bc, grace, octave; Shells: tcsh; X11: everything.
>>
>> I notice that libGLEW is included in the packages that it installs, which
>> is where I would expect to find the WGL extensions.  This contains
>> /usr/bin/cygGLEW-2-1.dll, but I don't know how to find out what functions
>> are in a dll to see if it contains WGL_ARB_multisample.
>>
>> Any suggestions on what is wrong with this installation are greatly
>> appreciated.
>>
>
> --
> Jon Turney
> Volunteer Cygwin/X X Server maintainer
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Automatically populate resolv.conf when new DNS is acquired

2018-06-27 Thread Brian Inglis
On 2018-06-27 03:31, john doe wrote:
> Good morning  Brian, bottom posting.
> By Windows Admin you mean "Windows Admin Center"?

Line wrapped - Windows Admin Tools - on W10 - or search for event (log) viewer

> I'm using Cygwin on a laptop (win 7 pro) and sadly, if I'm not mistaking,
> "Windows Admin" is not available on non-server platform.

May be Administrative Tools on W7

> If I can't find a way to determine when my DNS changes I can clearly emulate
> an hourly cron job by using "task scheduler".

If you're using DHCP it could potentially change when your lease expires,
sometimes a couple of days, (depends on your router settings or ISP: my external
IP changes every few months, internal and DNS never) or if on WiFi, when you
connect to a new AP.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Managed Service Providers (MSPs) and Managed Security Service Providers (MSSPs)?

2018-06-27 Thread anna . ross
Hi,



I just wanted to check if you would be interested in a list of Managed
Service Providers (MSPs) and Managed Security Service Providers (MSSPs)?



• Managed Service Providers (MSP’s) – 25,000 unique companies

• Managed Security Service Providers (MSSP’s) – 7,520 unique
companies





IT Decision Makers – 6million

Business Decision Makers – 10 million





Kindly review and let me know if I can share more information on this.



I look forward to hearing from you.



Regards,

Anna

MSP List Specialist



For Opt-Out reply with “Not Interested”.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: perror() changes the orientation of stderr to byte-oriented mode if stderr is not oriented yet.

2018-06-27 Thread Takashi Yano
On Wed, 27 Jun 2018 20:01:16 +0900
Takashi Yano wrote:
> Simple test case (chkperror.c) attached checks this behavior.

The test case seems to be garbled, so I re-submit it compressed by gzip.

-- 
Takashi Yano 


chkperror.c.gz
Description: Binary data

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple

perror() changes the orientation of stderr to byte-oriented mode if stderr is not oriented yet.

2018-06-27 Thread Takashi Yano
POSIX states:
The perror() function shall not change the orientation of the standard
error stream.

However, cygwin perror() function changes the orientation of stderr to
byte-oriented mode if stderr is not oriented yet.

Simple test case (chkperror.c) attached checks this behavior.

Expected result:
0
äöü: Invalid argument
0
äöü
1
äöü: Invalid argument

However, cygwin result:
0
äöü: Invalid argument
-1
▒▒▒
-1
äöü: Invalid argument

I have made a patch to solve this problem, attached. However, I am not
sure that calling _write_r() here is correct manner. I will appreciate
if anyone familiar with libc code comment or make suggestions.

-- 
Takashi Yano 


0001-Fix-a-bug-of-perror-which-changes-the-orientation-of.patch
Description: Binary data
#include 
#include 
#include 
#include 

int main()
{
	setlocale(LC_CTYPE, "de_DE.UTF-8");
	errno = EINVAL;
	printf("%d\n", fwide(stderr, 0));
	perror("äöü");
	printf("%d\n", fwide(stderr, 0));
	fwprintf(stderr, L"äöü\n");
	printf("%d\n", fwide(stderr, 0));
	perror("äöü");
	return 0;
}


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple

Re: Autamatically populate resolv.conf when new DNS is acquired

2018-06-27 Thread john doe

On 6/27/2018 9:45 AM, Andrey Repin wrote:

Greetings, john doe!


In gnupg2 the use of dirmngr utility is required to interact with a
keyserver.



Dirmngr requires that '/etc/resolv.conf' be populated with my name servers.


Looks like an upstream bug. /etc/resolv.conf is not a required file for DNS
resolution.



Yes, I have also contacted the dirmngr developer regarding that issue.
But I have to find a work around in the meantime! :)

--
John Doe

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Automatically populate resolv.conf when new DNS is acquired

2018-06-27 Thread john doe

Good morning  Brian, bottom posting.

On 6/26/2018 4:18 PM, Brian Inglis wrote:

On 2018-06-26 04:33, john doe wrote:

In gnupg2 the use of dirmngr utility is required to interact with a keyserver.
Dirmngr requires that '/etc/resolv.conf' be populated with my name servers.
That means that everytime the dns changes (new network ...) I need to manually
edit that file.
How can I let Cygwin update that file whenever the DNS is changed?


Attached an awk script to generate resolv.conf from Windows ipconfig /all
output, run from .cygwin_profile (sourced under Cygwin from login .bash_profile)
using the stanza below: it only replaces an existing writable /etc/resolv.conf
when the content changes - touch, chown, chmod /etc/resolv.conf to enable.

# update /etc/resolv.conf if changed
c=/etc/resolv.conf
test -w $c  && \
i=$(/usr/bin/which -- ipconfig) && \
r=$(/usr/bin/which -- resolv.awk)   && \
t=$(/bin/mktemp -t -- resolv.conf.$$.)  && \
if $i /all | $r  >  $t; then
 /usr/bin/cmp -s -- $t $c   || \
 /bin/cp -fv -- $t $c
 /bin/rm -f -- $t
fi

unset c i r t

This could be used in a bash script run from a Windows scheduled task when a
relevant DHCP event occurs: you can find DHCP events by checking Windows Admin
Tools/Event Viewer/Window Logs/System/Filter Current Log/Event
Sources/Dhcp-Client,DHCPv6-Client, or a similar PowerShell script.



Thanks for the awk script and the explanation on how to use it! :)

By Windows Admin you mean "Windows Admin Center"?
I'm using Cygwin on a laptop (win 7 pro) and sadly, if I'm not 
mistaking, "Windows Admin" is not available on non-server platform.


If I can't find a way to determine when my DNS changes I can clearly 
emulate an hourly cron job by using "task scheduler".


Many thanks for the task scheduler hint and for your help.

--
John Doe

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Autamatically populate resolv.conf when new DNS is acquired

2018-06-27 Thread Andrey Repin
Greetings, john doe!

> In gnupg2 the use of dirmngr utility is required to interact with a
> keyserver.

> Dirmngr requires that '/etc/resolv.conf' be populated with my name servers.

Looks like an upstream bug. /etc/resolv.conf is not a required file for DNS
resolution.

> That means that everytime the dns changes (new network ...) I need to 
> manually edit that file.

> How can I let Cygwin update that file whenever the DNS is changed?



-- 
With best regards,
Andrey Repin
Wednesday, June 27, 2018 10:44:06

Sorry for my terrible english...


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple