Re: Why does /etc/setup/installed.db list tar.bz2 even if tar.xz

2018-02-03 Thread Steven Penny

On Sat, 12 Oct 2013 23:48:00,  wrote:

The installed.db seems to always list packages as being tar.bz2 even
when they are tar.xz.

Is there any reason for this? Or is it a bug?


http://cygwin.com/ml/cygwin/2013-10/msg00170.html

This is an old thread, but it appears this issue was never answered and
persists. For example, /etc/setup/installed.db has entries like this:

   gawk gawk-4.2.0-1.tar.bz2 0
   which which-2.20-2.tar.bz2 0

but not all the files are actually bz2:

- http://cygwin.mirror.constant.com/x86_64/release/gawk
- http://cygwin.mirror.constant.com/x86_64/release/which


--
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



[ANNOUNCEMENT] Updated: mkvtoolnix-20.0.0-1

2018-02-03 Thread David Stacey

The following packages have been updated in the Cygwin distribution:

* mkvtoolnix-20.0.0-1
* mkvtoolnix-gui-20.0.0-1

MKVToolNix is a set of tools to create, alter and inspect Matroska
files (*.mkv, *.mka).

This is an update to the latest upstream release.

Dave.

--
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



Updated: mkvtoolnix-20.0.0-1

2018-02-03 Thread David Stacey

The following packages have been updated in the Cygwin distribution:

* mkvtoolnix-20.0.0-1
* mkvtoolnix-gui-20.0.0-1

MKVToolNix is a set of tools to create, alter and inspect Matroska
files (*.mkv, *.mka).

This is an update to the latest upstream release.

Dave.



Re: setup 2.886 release candidate - please test

2018-02-03 Thread Jon Turney

On 02/02/2018 19:38, Achim Gratz wrote:

Jon Turney writes:

Do you have an idea yet why the last package gets orphaned (or did, if


'Yet'?  This is the first time I've heard of this!


Right you are.  I thought I had mentioned it already, but forgot since I
can't post from work.


Is this regression?


Yes.


it's already fixed)?  I will need to remove my workaround of placing an
empty dummy at the end to try.


I guess you are saying that the last package listed in setup.ini
appears as orphaned, when you have a re-written setup.ini which only
contains one version per package?


I've tested that again today.  The last package gets orphaned if there
is only a current section.  I believe that the last section is also not
processed, so in the standard Cygwin installation you'd not be able to
see the previous version of _update-info-dir.


Which I can easily believe happens, due to the rather weird way that
the data from a parser reduction is transferred into the package
database.


Can you test the attached patch, please?

From 467a8839a34b6bc7e88ad181bb5c4b089f297d47 Mon Sep 17 00:00:00 2001
From: Jon Turney 
Date: Fri, 2 Feb 2018 19:41:58 +
Subject: [PATCH setup] Make sure we process the last version description in
 setup.ini

---
 IniDBBuilderPackage.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/IniDBBuilderPackage.cc b/IniDBBuilderPackage.cc
index 4169634..8fa6ad9 100644
--- a/IniDBBuilderPackage.cc
+++ b/IniDBBuilderPackage.cc
@@ -36,6 +36,7 @@ currentSpec (0), _feedback (aFeedback){}
 
 IniDBBuilderPackage::~IniDBBuilderPackage()
 {
+  process();
 }
 
 void
-- 
2.16.1



Re: Cygwin Setup Version

2018-02-03 Thread Jon Turney

On 02/02/2018 14:01, Juergen Ernst Guenther wrote:

Hello,

sorry for bothering you.


Firstly, do not send me personal email.

Please read http://cygwin.com/problems.html#personal-email, particularly 
the section starting "Shouldn't I just send email to straight to a 
Cygwin developer or package maintainer?"




- Is there a simple way from command line
   to get the version number od setup_x86.exe,
   like -V or -version?
   In setup.log there is a version number, but
   I want to avoid the GUI.


No.

A patch to add such an option would be useful.


- The setup version shown in
   https://sourceware.org/git/gitweb.cgi?p=cygwin-setup.git;a=summary
   seems to be a bit newer than of the ones to be downloaded at
   https://cygwin.com/


These are release candidate versions.


- Is there a way to find out the setup versions on https://cygwin.com/
   before downloading them?


You can search the cygwin-announce mailing list archive for the most 
recent setup announcement?


--
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: Searching full, portable Cygwin package for windows and NOT just the installer

2018-02-03 Thread David Allsopp
Ben via cygwin wrote:
> When I go to web page
> 
> http://cygwin.com/
> 
> then I can download CygWin from there (currently the file "setup-
> x86_64.exe").
> 
> Unfortunately this file is just an installer which retrieves in turn
> several other files from Internet and remote servers.
> 
> Since I have no overview what is downloaded from which server I distrust
> such installers in general.

I assume that each month you review the Microsoft Security Advisories, visit 
and digest the page for each individual update and then download and apply the 
.msu patches by hand, rather than trusting the highly fishy "Check for updates" 
feature of Windows Update?

You do have an overview: you get to pick the mirror, and the URL it will 
download files from is declared there. For example, my closest mirror is 
http://mirrorservice.org/sites/sourceware.org/pub/cygwin/ which you can browse 
online.

> I prefer full packages which contains everything needed and can be
> inspected in advance (e.g. by virus scanners) before actual installation.

The Cygwin installer downloads and saves the files - even a dumb 
filesystem-only virus scanner gets a chance to inspect the files. 

> 99,9% of all software is offered in such a way.

That number is plucked out of your mind, and simply isn't true, even on Windows 
(there's the Microsoft Store and even third party packagers such as 
https://chocolatey.org/). Microsoft's own products on Windows are now 
distributed this way too (e.g. the Visual Studio Installer and the Office 365 
installer).

> Why use Cygwin such a fishy distribution way?

Well, it's not fishy.

Cygwin is not an application, as another answer to your previous question 
pointed out, Cygwin is a library providing a Posix layer for applications on 
Windows. The setup program is an application for installing that library and 
then adding packages of programs which use it from a curated collection, but 
you can point the installer to your own collection if you wish.

> Is there really no full package to download?

The setup program includes a "Download" option which allows you to save the 
entire package repository locally, which you can use in future. Some of the 
mirrors (including the one I referenced above) also support rsync, which allows 
you to download the package repository and the installer from the website 
without running any Cygwin software initially.

Packages are updated quite frequently, and the entire repository is 10s of 
gigabytes - it would be impractical to offer a single file for download being 
updated so frequently.


David 


--
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