Bug#939313: buster-pu: package swi-prolog/8.0.2+dfsg-3

2019-10-12 Thread Julien Cristau
Control: tag -1 confirmed

On Tue, Sep 03, 2019 at 01:51:42PM +0500, Lev Lamberov wrote:
> SWI-Prolog upsteam migrated to HTTPS (from HTTP). Unfortunately,
> because of that package installation of SWI-Prolog packages doesn't
> work now (please, see #939257). I've prepared a backport of an
> upstream patch to fix this problem. Changes are tiny and harmless.
> I've built the package for buster with the patch and tested it.
> Please, find the debdiff between 8.0.2+dfsg-3 (currently in buster)
> and 8.0.2+dfsg-3+deb10u1 attached.
> 
> The changelog is
> 
> swi-prolog (8.0.2+dfsg-3+deb10u1) stable; urgency=medium
> 
>   * Add patch to fix pack-server (Closes: #939257)
> 
>  -- Lev Lamberov   Tue, 03 Sep 2019 00:15:43 +0500
> 
The changelog entry could do with more detail on the issue and the fix.
And, use "buster" rather than "stable" as the target distribution.

With that in mind, go ahead.

Cheers,
Julien



Processed: Re: Bug#939313: buster-pu: package swi-prolog/8.0.2+dfsg-3

2019-10-12 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 confirmed
Bug #939313 [release.debian.org] buster-pu: package swi-prolog/8.0.2+dfsg-3
Added tag(s) confirmed.

-- 
939313: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939313
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#939313: buster-pu: package swi-prolog/8.0.2+dfsg-3

2019-09-03 Thread Lev Lamberov
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: pu

Hi release team,

SWI-Prolog upsteam migrated to HTTPS (from HTTP). Unfortunately,
because of that package installation of SWI-Prolog packages doesn't
work now (please, see #939257). I've prepared a backport of an
upstream patch to fix this problem. Changes are tiny and harmless.
I've built the package for buster with the patch and tested it.
Please, find the debdiff between 8.0.2+dfsg-3 (currently in buster)
and 8.0.2+dfsg-3+deb10u1 attached.

The changelog is

swi-prolog (8.0.2+dfsg-3+deb10u1) stable; urgency=medium

  * Add patch to fix pack-server (Closes: #939257)

 -- Lev Lamberov   Tue, 03 Sep 2019 00:15:43 +0500

Also, I've created a branch for buster (branch name is buster) in
swi-prolog Salsa repository, and since I use gbp to work on the
package I've changed d/gbp.conf from debian-branch = master to
debian-branch = buster.

Please, take a look at the proposed changes.

With regards,
Lev Lamberov

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), 
LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru swi-prolog-8.0.2+dfsg/debian/changelog 
swi-prolog-8.0.2+dfsg/debian/changelog
--- swi-prolog-8.0.2+dfsg/debian/changelog  2019-03-12 14:52:05.0 
+0500
+++ swi-prolog-8.0.2+dfsg/debian/changelog  2019-09-03 00:15:43.0 
+0500
@@ -1,3 +1,9 @@
+swi-prolog (8.0.2+dfsg-3+deb10u1) stable; urgency=medium
+
+  * Add patch to fix pack-server (Closes: #939257)
+
+ -- Lev Lamberov   Tue, 03 Sep 2019 00:15:43 +0500
+
 swi-prolog (8.0.2+dfsg-3) unstable; urgency=medium
 
   * Add better handling of symlink creation (by means of CMake).
diff -Nru swi-prolog-8.0.2+dfsg/debian/gbp.conf 
swi-prolog-8.0.2+dfsg/debian/gbp.conf
--- swi-prolog-8.0.2+dfsg/debian/gbp.conf   2019-03-12 14:52:05.0 
+0500
+++ swi-prolog-8.0.2+dfsg/debian/gbp.conf   2019-09-03 00:15:43.0 
+0500
@@ -4,7 +4,7 @@
 # the default branch for upstream sources:
 upstream-branch = upstream
 # the default branch for the debian patch:
-debian-branch = master
+debian-branch = buster
 # the default tag formats used:
 upstream-tag = upstream/%(version)s
 debian-tag = debian/%(version)s
diff -Nru swi-prolog-8.0.2+dfsg/debian/patches/series 
swi-prolog-8.0.2+dfsg/debian/patches/series
--- swi-prolog-8.0.2+dfsg/debian/patches/series 2019-03-12 14:52:05.0 
+0500
+++ swi-prolog-8.0.2+dfsg/debian/patches/series 2019-09-03 00:15:43.0 
+0500
@@ -2,3 +2,4 @@
 use-local-jquery.diff
 no_extra_documentation.diff
 jpl-install.diff
+use_https_for_pack-server.diff
diff -Nru swi-prolog-8.0.2+dfsg/debian/patches/use_https_for_pack-server.diff 
swi-prolog-8.0.2+dfsg/debian/patches/use_https_for_pack-server.diff
--- swi-prolog-8.0.2+dfsg/debian/patches/use_https_for_pack-server.diff 
1970-01-01 05:00:00.0 +0500
+++ swi-prolog-8.0.2+dfsg/debian/patches/use_https_for_pack-server.diff 
2019-09-03 00:15:43.0 +0500
@@ -0,0 +1,20 @@
+From 2f36f408be0abc1f6d4915534334fece26af5450 Mon Sep 17 00:00:00 2001
+From: Jan Wielemaker 
+Date: Fri, 14 Jun 2019 09:48:16 +0200
+Subject: [PATCH] FIXED: Use https to contact the pack server.
+
+---
+ library/prolog_pack.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/library/prolog_pack.pl
 b/library/prolog_pack.pl
+@@ -90,7 +90,7 @@ makes installed packages available as li
+  *  CONSTANTS   *
+  ***/
+ 
+-:- setting(server, atom, 'http://www.swi-prolog.org/pack/',
++:- setting(server, atom, 'https://www.swi-prolog.org/pack/',
+'Server to exchange pack information').
+ 
+