[ANNOUNCEMENT] Updated: Perl distributions

2020-05-10 Thread Achim Gratz


The following Perl distributions have been updated to their latest
version on CPAN:


x86/x86_64
--
perl-XML-LibXML-2.0205-1
perl-YAML-LibYAML-0.82-1


noarch
--
perl-Alien-Build-2.22-1
perl-CGI-4.47-1
perl-IPC-Run-20200505.0-1
perl-JSON-MaybeXS-1.004001-1
perl-Mojolicious-8.42-1
perl-Path-Tiny-0.114-1


-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] Updated: fetchmail-6.4.5-1

2020-05-10 Thread Achim Gratz


The current upstream release of fetchmail is now available on Cygwin as
the fetchmail-6.4.5-1 package.

The upstream release changelog is here:
https://sourceforge.net/projects/fetchmail/files/branch_6.4/

This release has been compiled with support for NTLM, GSSAPI and
Kerberos5 authentication.  Also, since this release now requires and
uses OpenSSL v1.1.1, TLSv1.3 is now available.


-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Cygwin convert environment paths

2020-05-10 Thread Steven Penny via Cygwin
I see here:



That Cygwin does convert some environment variables, from Windows format to
Unix format. For example HOME and TMP. But for me at least, are some important
omissions.

I use APPDATA and PROGRAMFILES a good amount, and those arent converted. To make
it worse, HOMEDRIVE and SYSTEMDRIVE arent converted either, meaning you cant
manually construct the path starting with a variable. This causes some
problems. Take this example:

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


[ANNOUNCEMENT] Updated: openldap-2.4.50

2020-05-10 Thread Achim Gratz


The openldap package in Cygwin has been updated to the latest upstream
version 2.4.50.

https://www.openldap.org/software/release/changes.html


Notes
=

I don't use the server components of openldap myself and know next to
nothing about these, so use them with due care.

The tests work again in this release and complete without failures on
x86 / 32bit for the bdb and hdb database backends.  The mdb backend
still fails on both architectures because the initial test database is
not recognized as valid.  On x86_64 / 64bit the concurrency tests hang
so the testsuite doesn't finish, however the previously occuring crashes
of slapd have not been observed this time.


-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cygwin convert environment paths

2020-05-10 Thread Achim Gratz
Steven Penny via Cygwin writes:
> I use APPDATA and PROGRAMFILES a good amount, and those arent converted. To 
> make
> it worse, HOMEDRIVE and SYSTEMDRIVE arent converted either, meaning you cant
> manually construct the path starting with a variable.

That's what cygpath is there for, among other things.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cygwin convert environment paths

2020-05-10 Thread Steven Penny via Cygwin
> That's what cygpath is there for, among other things.

You expect people to use cygpath... from within PHP?
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cygwin convert environment paths

2020-05-10 Thread Marco Atzeri via Cygwin

Am 10.05.2020 um 17:48 schrieb Steven Penny via Cygwin:

That's what cygpath is there for, among other things.


You expect people to use cygpath... from within PHP?


we expect they can use cygpath to set a cygwin equivalent
variable in their own scripts or boot shell scripts

$ CYG_HOMEDRIVE=$(cygpath ${HOMEDRIVE})
$ echo $CYG_HOMEDRIVE
/cygdrive/c
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cygwin convert environment paths

2020-05-10 Thread Doug Henderson via Cygwin
On Sun, 10 May 2020 at 06:46, Steven Penny via Cygwin <> wrote:

> 
> That Cygwin does convert some environment variables, from Windows format to
> Unix format. For example HOME and TMP. But for me at least, are some
> important
> omissions.
>

>

In general, converting environment variable owned by Windows to cygwin
format is a very bad idea. These are the variables that are present in
cmd.exe in a vanilla Windows install. The only exception is the PATH
variable.

Personally, I always set CYGWIN_NOWINPATH=1 in the system environment
variables to avoid accidentally calling a windows program while in cygwin.
Every time I want to call a windows program from cygwin, I explicitly use
its full path. Or I have create and use a shell alias that contains that
full path.

There is no problem with HOME and TMP  (and a few others like TEMP,
BROWSER, EDITOR, INFOPATH, PWD, SHELL), because these are not normally set
in the Windows environment, or during the execution of cmd.exe. (I can't
comment on powershell, as I don't use it.)

I experimented with using cygpath to pre-convert several variables that
have windows paths, or windows path lists in order to interchangeably run
the cygwin version and a windows version of the same application, and to
spawn windows programs from cygwin programs and cygwin programs from
windows programs. I failed to create an environment that worked for both
types of programs at the same time.

What I found to partially work for interchangeability was to wrap the
cygwin program in a bash script to perform environment conversions, This
failed, though, when the cygwin program spawned a windows program which, of
course, expected windows paths and path lists in its environment. I also
tried wrapping the windows programs with similar conversion,

An alternate approach, that worked for my own cygwin code was to create
variables like CYG_HOMEDRIVE, or WIN_HOME. But this introduces a different
set of problems.

I also tried a couple of mingw64 installations: the standard one, and the
one packaged with Git for Windows. Programs from those projects tended to
work in the windows environment, but allowed you to use linux style file
names directly.

I did not try mixing cygwin and mingg64 programs.

My conclusion was that there is no universal way to make unmodified
programs work in the alternate environment.

In the OP's specific case of using HOMEDRIVE, he must accept that this is a
variable "owned" by windows, and thus not found in the linux environment.
Any code that is meant to execute in both cygwin and linux must have code
paths for each. And a cygwin program that wants to use a Windows variable,
must perform its own conversions, either manually or using cygpath. As I
understand it, the cygpath program is a thin wrapper over a library call,
so a CFFI (C Foreign Function Interface) might work.

HTH
Doug

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cygwin convert environment paths

2020-05-10 Thread Achim Gratz
Steven Penny via Cygwin writes:
>> That's what cygpath is there for, among other things.
>
> You expect people to use cygpath... from within PHP?

These are neither POSIX or Cygwin variables, so yes, if you expect to
use them from Cygwin PHP you either need to explicitly deal with the
fact that these are Windows environment variables or convert them
(preferrably not under the same name) to Cygwin environment variables
before starting PHP.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] cygport 0.34.0

2020-05-10 Thread Yaakov Selkowitz
The following packages have been uploaded to the Cygwin distribution
and the Fedora Cygwin COPR:

* cygport-0.34.0-1

cygport is the standard method for building and maintaining packages
for the Cygwin distribution.

Highlights of this release:

* A new BUILD_REQUIRES variable is accepted as a list of package names
to check before trying to build as well as add as dependencies in the
(new) separate -src.hint file.  The DEPEND variable (which is not
compatible therewith) is deprecated.

* New [PKG_]PROVIDES and [PKG_]CONFLICTS variables are accepted and
passed into the respective .hint files.

* kde.org: default SRC_URIs are updated for KDE 19.12 and newer.

* meson: cygmeson now passes the --auto-features=enabled flag.

* ocaml-dune: new cygclass for Dune-based OCaml packages.

* perl: new CPAN_SUBDIR optional variable is accepted.

* python3: new PYTHON3_PKGVERSION definition.

* python-wheel: default PYTHON_WHEEL_VERSIONS is now just 3.7 and 3.8.

For contributors, there have been numerous testsuite improvements, and
the testsuite is now run in CI, courtesy of Jon Turney.  A full
changelog follows.

Achim Gratz (1):
  Switch submodule gnuconfig to HTTPS protocol

Jon Turney (17):
  Document src_unpack_hook and src_patch_hook
  Add src_patch_apply_hook
  Don't allow SRC_URI or PATCH_URI to depend on ARCH
  Raise an error if we package a .stackdump file
  meson: use auto-features option
  Fixup __version_at_least a bit
  Add test which compares hints with expected
  Add provides: and conflicts: hints
  Generate a separate .hint for the source package
  Update tests for build-depends: appearing in source hints
  Updates to tests for package updates
  Add a GitHub action to run tests
  Add some case variants to list of default documentation files installed
  Restore build-depends: trailing space in expected hints, dropped by rebase
  Disable autotools/gtkmm test in CI
  Update upload package check for source hints
  Allow manpage section .3G, used by OpenGL manpages

Yaakov Selkowitz (24):
  check_funcs, pkg_pkg: Replace DEPEND with BUILD_REQUIRES
  Transfer repository to Cygwin project
  Add Cygwin git repositories
  kde.org: update URLs for 19.12 release
  pkg_pkg: inform when packaging as test
  python3-distutils: force hardcoding of python3.y instead of python3
  perl: add CPAN_SUBDIR
  python3: add PYTHON3_PKGVERSION
  Revert "python3-distutils: force hardcoding of python3.y instead of 
python3"
  python3: force hardcoding of python3.y instead of python3
  python-wheel: update for 3.8 and obsoletion of 2.7
  pkg_diff: ignore aminclude_static.am
  pkg_pkg: add cygport to all source package build-depends
  list_deps: use ocamlobjinfo for better OCaml dependency detection
  ocaml-dune: new cygclass
  testsuite: update python/wheel for Python 3.8
  Update gnuconfig
  Update copyrights to 2020
  Update and credit AUTHORS
  CI: update dependencies for python/wheel test
  CI: re-enable autotools/gtkmm test
  testsuite: fix dependencies of python/wheel
  CI: enable ocaml/dune test
  Bump version to 0.34.0

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