Bug#990183: libopenscap8: libopenscap.so.8 is missing from libopenscap8 and is expected by scap-workbench

2021-08-06 Thread Hideki Yamane
Hi,

 I've restructured openscap pacakge to fix Bug#990183 and make it
 better, upload to https://salsa.debian.org/henrich/openscap

 I'll upload it to experimental with delay-10, if you want to cancel
 it, don't hestitate.


-- 
Regards,

 Hideki Yamane henrich @ debian.org/iijmio-mail.jp



Bug#990183: libopenscap8: libopenscap.so.8 is missing from libopenscap8 and is expected by scap-workbench

2021-07-04 Thread Sebastian Ramacher
Hi

On 2021-07-04 04:04:13 +0900, Hideki Yamane wrote:
> On Sat, 3 Jul 2021 21:36:53 +0900
> Hideki Yamane  wrote:
> >  Mostly done, still have an error with autopkgtest for python3-openscap
> 
>  Updated. Passed all salsa-ci test as below, and eliminate most of
>  lintian warning/info.
>  https://salsa.debian.org/henrich/openscap/-/pipelines/265972
> 
> 
> diff -Nru openscap-1.3.4/debian/changelog openscap-1.3.4/debian/changelog
> --- openscap-1.3.4/debian/changelog   2021-02-02 00:22:30.0 +0900
> +++ openscap-1.3.4/debian/changelog   2021-06-30 16:33:53.0 +0900
> @@ -1,3 +1,37 @@
> +openscap (1.3.4-1.1) UNRELEASED; urgency=medium
> +
> +  * Non-maintainer upload.
> +
> +  * Package structure changes
> +- Apply soname change (libopenscap8 -> 25)
> +- Split libopenscap25 to openscap-scanner, openscap-utils and
> +  openscap-common
> +- Drop -dbg package and unnecessary lintian-overrides
> +  * debian/control
> +- Specify https for upstream URL
> +- Use debhelper-compat (= 13) to not forget to install necessary files
> +  with dh_missing
> +- Add missing dependencies: libacl1-dev, libblkid-dev, libglib2.0-dev,
> +  libyaml-dev, librpm-dev, libpopt-dev, libprocps-dev, libopendbx1-dev,
> +  libxmlsec1-dev, doxygen, graphviz, asciidoc,
> +  * Drop unnecessary debian/compat
> +  * debian/rules
> +- Enable documentation build
> +- Enable hardening
> +  * Add openscap-common.docs to install HTML docs
> +  * debian/openscap-scanner.install
> +- Install bash-completion
> +  * openscap-utils.install
> +- Install autotailor and scap-as-rpm
> +  * Add debian/openscap-{scanner,utils}.manpages
> +
> +  * Trim trailing whitespace.
> +  * Update watch file format version to 4.
> +  * Set upstream metadata fields: Bug-Database, Bug-Submit.
> +  * Drop unnecessary dependency on dh-autoreconf.
> +
> + -- Hideki Yamane   Wed, 30 Jun 2021 16:33:53 +0900

Doing a transition now and adding new binary packages is already
stretching the rules a lot. So please keep all the other changes to a
minimum. Especially changing debhelper compat level is undesirable
during the freeze (see
https://release.debian.org/bullseye/freeze_policy.html)

More comments below.

> +
>  openscap (1.3.4-1) unstable; urgency=medium
>  
>* New upstream version 1.3.4
> diff -Nru openscap-1.3.4/debian/compat openscap-1.3.4/debian/compat
> --- openscap-1.3.4/debian/compat  2021-02-02 00:22:30.0 +0900
> +++ openscap-1.3.4/debian/compat  1970-01-01 09:00:00.0 +0900
> @@ -1 +0,0 @@
> -11
> diff -Nru openscap-1.3.4/debian/control openscap-1.3.4/debian/control
> --- openscap-1.3.4/debian/control 2021-02-02 00:22:30.0 +0900
> +++ openscap-1.3.4/debian/control 2021-06-30 16:33:53.0 +0900
> @@ -2,7 +2,7 @@
>  Priority: optional
>  Maintainer: Pierre Chifflier 
>  Uploaders: Philippe Thierry 
> -Build-Depends: debhelper (>= 13),
> +Build-Depends: debhelper-compat (= 13),
>  cmake,
>  libpcre3-dev,
>  libxml2-dev,
> @@ -18,19 +18,30 @@
>  libattr1-dev,
>  libldap2-dev,
>  libbz2-dev,
> +libacl1-dev,
> +libblkid-dev,
> +libglib2.0-dev,
> +libyaml-dev,
> +librpm-dev,
> +libpopt-dev,
> +libprocps-dev,
> +libopendbx1-dev,
> +libxmlsec1-dev,
> +doxygen, graphviz,
> +asciidoc,
>  pkg-config,
>  dh-python,
>  chrpath,
>  libdbus-1-dev
> +Section: admin
>  X-Python3-Version: >= 3.9
>  Standards-Version: 4.5.1
> -Section: libs
> -Homepage: http://www.open-scap.org/
> +Homepage: https://www.open-scap.org/
>  
>  Package: libopenscap-dev
>  Section: libdevel
>  Architecture: linux-any
> -Depends: libopenscap8 (= ${binary:Version}), ${misc:Depends}, 
> ${python3:Depends}, libjs-jquery
> +Depends: libopenscap25 (= ${binary:Version}), ${misc:Depends}, 
> ${python3:Depends}, libjs-jquery
>  Description: Set of libraries enabling integration of the SCAP line of 
> standards
>   OpenSCAP is a set of open source libraries providing an easier path
>   for integration of the SCAP line of standards. SCAP is a line of
> @@ -48,13 +59,13 @@
>   .
>   This package contains the development files for OpenSCAP.
>  
> -Package: libopenscap8
> +Package: libopenscap25
>  Section: libs
>  Architecture: linux-any
> -Conflicts: libopenscap0, libopenscap1, libopenscap3
> -Replaces: libopenscap0, libopenscap1, libopenscap3
> +Conflicts: libopenscap0, libopenscap1, libopenscap3, libopenscap8,
> +Replaces: libopenscap0, libopenscap1, libopenscap3, libopenscap8,
>  Pre-Depends: ${misc:Pre-Depends}
> -Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
> +Depends: ${shlibs:Depends}, ${misc:Depends},
>  Description: Set of libraries enabling integration of the SCAP line of 
> standards
>   OpenSCAP is a set of open source libraries providing an easier path
>   for integration of the SCAP line of standards. SCAP is a line of
> @@ -69,11 +80,13 @@
>* Common Vulnerability Scoring System (CVSS

Bug#990183: libopenscap8: libopenscap.so.8 is missing from libopenscap8 and is expected by scap-workbench

2021-07-03 Thread Hideki Yamane
On Sat, 3 Jul 2021 21:36:53 +0900
Hideki Yamane  wrote:
>  Mostly done, still have an error with autopkgtest for python3-openscap

 Updated. Passed all salsa-ci test as below, and eliminate most of
 lintian warning/info.
 https://salsa.debian.org/henrich/openscap/-/pipelines/265972


diff -Nru openscap-1.3.4/debian/changelog openscap-1.3.4/debian/changelog
--- openscap-1.3.4/debian/changelog 2021-02-02 00:22:30.0 +0900
+++ openscap-1.3.4/debian/changelog 2021-06-30 16:33:53.0 +0900
@@ -1,3 +1,37 @@
+openscap (1.3.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+
+  * Package structure changes
+- Apply soname change (libopenscap8 -> 25)
+- Split libopenscap25 to openscap-scanner, openscap-utils and
+  openscap-common
+- Drop -dbg package and unnecessary lintian-overrides
+  * debian/control
+- Specify https for upstream URL
+- Use debhelper-compat (= 13) to not forget to install necessary files
+  with dh_missing
+- Add missing dependencies: libacl1-dev, libblkid-dev, libglib2.0-dev,
+  libyaml-dev, librpm-dev, libpopt-dev, libprocps-dev, libopendbx1-dev,
+  libxmlsec1-dev, doxygen, graphviz, asciidoc,
+  * Drop unnecessary debian/compat
+  * debian/rules
+- Enable documentation build
+- Enable hardening
+  * Add openscap-common.docs to install HTML docs
+  * debian/openscap-scanner.install
+- Install bash-completion
+  * openscap-utils.install
+- Install autotailor and scap-as-rpm
+  * Add debian/openscap-{scanner,utils}.manpages
+
+  * Trim trailing whitespace.
+  * Update watch file format version to 4.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit.
+  * Drop unnecessary dependency on dh-autoreconf.
+
+ -- Hideki Yamane   Wed, 30 Jun 2021 16:33:53 +0900
+
 openscap (1.3.4-1) unstable; urgency=medium
 
   * New upstream version 1.3.4
diff -Nru openscap-1.3.4/debian/compat openscap-1.3.4/debian/compat
--- openscap-1.3.4/debian/compat2021-02-02 00:22:30.0 +0900
+++ openscap-1.3.4/debian/compat1970-01-01 09:00:00.0 +0900
@@ -1 +0,0 @@
-11
diff -Nru openscap-1.3.4/debian/control openscap-1.3.4/debian/control
--- openscap-1.3.4/debian/control   2021-02-02 00:22:30.0 +0900
+++ openscap-1.3.4/debian/control   2021-06-30 16:33:53.0 +0900
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Pierre Chifflier 
 Uploaders: Philippe Thierry 
-Build-Depends: debhelper (>= 13),
+Build-Depends: debhelper-compat (= 13),
 cmake,
 libpcre3-dev,
 libxml2-dev,
@@ -18,19 +18,30 @@
 libattr1-dev,
 libldap2-dev,
 libbz2-dev,
+libacl1-dev,
+libblkid-dev,
+libglib2.0-dev,
+libyaml-dev,
+librpm-dev,
+libpopt-dev,
+libprocps-dev,
+libopendbx1-dev,
+libxmlsec1-dev,
+doxygen, graphviz,
+asciidoc,
 pkg-config,
 dh-python,
 chrpath,
 libdbus-1-dev
+Section: admin
 X-Python3-Version: >= 3.9
 Standards-Version: 4.5.1
-Section: libs
-Homepage: http://www.open-scap.org/
+Homepage: https://www.open-scap.org/
 
 Package: libopenscap-dev
 Section: libdevel
 Architecture: linux-any
-Depends: libopenscap8 (= ${binary:Version}), ${misc:Depends}, 
${python3:Depends}, libjs-jquery
+Depends: libopenscap25 (= ${binary:Version}), ${misc:Depends}, 
${python3:Depends}, libjs-jquery
 Description: Set of libraries enabling integration of the SCAP line of 
standards
  OpenSCAP is a set of open source libraries providing an easier path
  for integration of the SCAP line of standards. SCAP is a line of
@@ -48,13 +59,13 @@
  .
  This package contains the development files for OpenSCAP.
 
-Package: libopenscap8
+Package: libopenscap25
 Section: libs
 Architecture: linux-any
-Conflicts: libopenscap0, libopenscap1, libopenscap3
-Replaces: libopenscap0, libopenscap1, libopenscap3
+Conflicts: libopenscap0, libopenscap1, libopenscap3, libopenscap8,
+Replaces: libopenscap0, libopenscap1, libopenscap3, libopenscap8,
 Pre-Depends: ${misc:Pre-Depends}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
 Description: Set of libraries enabling integration of the SCAP line of 
standards
  OpenSCAP is a set of open source libraries providing an easier path
  for integration of the SCAP line of standards. SCAP is a line of
@@ -69,11 +80,13 @@
   * Common Vulnerability Scoring System (CVSS)
   * Extensible Configuration Checklist Description Format (XCCDF)
   * Open Vulnerability and Assessment Language (OVAL)
+ .
+ This package contains libraries for OpenSCAP.
 
 Package: python3-openscap
 Section: python
 Architecture: linux-any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, libopenscap8 
(= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, libopenscap25 
(= ${binary:Version})
 X-Python3-Version: ${python3:Versions}
 Provides: ${python3:Provides}
 Description: Set of libraries enabling integration of the SCAP line of 
st

Bug#990183: libopenscap8: libopenscap.so.8 is missing from libopenscap8 and is expected by scap-workbench

2021-07-03 Thread Hideki Yamane
On Fri, 2 Jul 2021 00:43:02 +0200
Sebastian Ramacher  wrote:
> Yes, but note that this needs to happen soon as it has to pass NEW.

 Mostly done, still have an error with autopkgtest for python3-openscap
 https://salsa.debian.org/henrich/openscap/-/pipelines/265919
 (It doesn't have git repo, so I pushed it under my user at salsa).

 It includes fixes a *lot* (sorry at this freeze time, but...), if it should
 be shrunk, we can rebase it.

diff -Nru openscap-1.3.4/debian/changelog openscap-1.3.4/debian/changelog
--- openscap-1.3.4/debian/changelog 2021-02-02 00:22:30.0 +0900
+++ openscap-1.3.4/debian/changelog 2021-06-30 16:33:53.0 +0900
@@ -1,3 +1,37 @@
+openscap (1.3.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+
+  * Package structure changes
+- Apply soname change (libopenscap8 -> 25)
+- Split libopenscap25 to openscap-scanner, openscap-utils and
+  openscap-common
+- Drop -dbg package and unnecessary lintian-overrides
+  * debian/control
+- Specify https for upstream URL
+- Use debhelper-compat (= 13) to not forget to install necessary files
+  with dh_missing
+- Add missing dependencies: libacl1-dev, libblkid-dev, libglib2.0-dev,
+  libyaml-dev, librpm-dev, libpopt-dev, libprocps-dev, libopendbx1-dev,
+  libxmlsec1-dev, doxygen, graphviz, asciidoc,
+  * Drop unnecessary debian/compat
+  * debian/rules
+- Enable documantation build
+- Enable hardening
+  * Add openscap-common.docs to install HTML docs
+  * debian/openscap-scanner.install
+- Install bash-completion
+  * openscap-utils.install
+- Install autotailor and scap-as-rpm
+  * Add debian/openscap-{scanner,utils}.manpages
+
+  * Trim trailing whitespace.
+  * Update watch file format version to 4.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit.
+  * Drop unnecessary dependency on dh-autoreconf.
+
+ -- Hideki Yamane   Wed, 30 Jun 2021 16:33:53 +0900
+
 openscap (1.3.4-1) unstable; urgency=medium
 
   * New upstream version 1.3.4
diff -Nru openscap-1.3.4/debian/compat openscap-1.3.4/debian/compat
--- openscap-1.3.4/debian/compat2021-02-02 00:22:30.0 +0900
+++ openscap-1.3.4/debian/compat1970-01-01 09:00:00.0 +0900
@@ -1 +0,0 @@
-11
diff -Nru openscap-1.3.4/debian/control openscap-1.3.4/debian/control
--- openscap-1.3.4/debian/control   2021-02-02 00:22:30.0 +0900
+++ openscap-1.3.4/debian/control   2021-06-30 16:33:53.0 +0900
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Pierre Chifflier 
 Uploaders: Philippe Thierry 
-Build-Depends: debhelper (>= 13),
+Build-Depends: debhelper-compat (= 13),
 cmake,
 libpcre3-dev,
 libxml2-dev,
@@ -18,19 +18,30 @@
 libattr1-dev,
 libldap2-dev,
 libbz2-dev,
+libacl1-dev,
+libblkid-dev,
+libglib2.0-dev,
+libyaml-dev,
+librpm-dev,
+libpopt-dev,
+libprocps-dev,
+libopendbx1-dev,
+libxmlsec1-dev,
+doxygen, graphviz,
+asciidoc,
 pkg-config,
 dh-python,
 chrpath,
 libdbus-1-dev
+Section: admin
 X-Python3-Version: >= 3.9
 Standards-Version: 4.5.1
-Section: libs
-Homepage: http://www.open-scap.org/
+Homepage: https://www.open-scap.org/
 
 Package: libopenscap-dev
 Section: libdevel
 Architecture: linux-any
-Depends: libopenscap8 (= ${binary:Version}), ${misc:Depends}, 
${python3:Depends}, libjs-jquery
+Depends: libopenscap25 (= ${binary:Version}), ${misc:Depends}, 
${python3:Depends}, libjs-jquery
 Description: Set of libraries enabling integration of the SCAP line of 
standards
  OpenSCAP is a set of open source libraries providing an easier path
  for integration of the SCAP line of standards. SCAP is a line of
@@ -48,13 +59,13 @@
  .
  This package contains the development files for OpenSCAP.
 
-Package: libopenscap8
+Package: libopenscap25
 Section: libs
 Architecture: linux-any
-Conflicts: libopenscap0, libopenscap1, libopenscap3
-Replaces: libopenscap0, libopenscap1, libopenscap3
+Conflicts: libopenscap0, libopenscap1, libopenscap3, libopenscap8,
+Replaces: libopenscap0, libopenscap1, libopenscap3, libopenscap8,
 Pre-Depends: ${misc:Pre-Depends}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
 Description: Set of libraries enabling integration of the SCAP line of 
standards
  OpenSCAP is a set of open source libraries providing an easier path
  for integration of the SCAP line of standards. SCAP is a line of
@@ -69,11 +80,13 @@
   * Common Vulnerability Scoring System (CVSS)
   * Extensible Configuration Checklist Description Format (XCCDF)
   * Open Vulnerability and Assessment Language (OVAL)
+ .
+ This package contains libraries for OpenSCAP.
 
 Package: python3-openscap
 Section: python
 Architecture: linux-any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, libopenscap8 
(= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, libopenscap25 
(= ${binar

Bug#990183: libopenscap8: libopenscap.so.8 is missing from libopenscap8 and is expected by scap-workbench

2021-07-02 Thread Hideki Yamane
On Fri, 2 Jul 2021 00:43:02 +0200
Sebastian Ramacher  wrote:
> Yes, but note that this needs to happen soon as it has to pass NEW.

 Thanks, I'll try it.

-- 
Hideki Yamane 



Bug#990183: libopenscap8: libopenscap.so.8 is missing from libopenscap8 and is expected by scap-workbench

2021-07-01 Thread Sebastian Ramacher
Hi

On 2021-06-30 17:40:42 +0900, Hideki Yamane wrote:
> Hi,
> 
> On Tue, 22 Jun 2021 11:23:51 +0200 Sebastian Ramacher  
> wrote:
> > 1.3.4-1 would have needed to rename the package to libopenscap25 and
> > start a library transition. The library package also contains a bunch of
> > binaries and other files that do not look like the should be part of a
> > library package. In any case, raising the severity to serious is the
> > current packaging of the library is broken.
> 
>  Can we have a chance to put splitted packages (openscap-scanner as tools
>  binary as other distros do and openscap-common for /usr/share files) for
>  bullseye release? If so, I'll try to do so.

Yes, but note that this needs to happen soon as it has to pass NEW.

Cheers
-- 
Sebastian Ramacher


signature.asc
Description: PGP signature


Bug#990183: libopenscap8: libopenscap.so.8 is missing from libopenscap8 and is expected by scap-workbench

2021-06-30 Thread Hideki Yamane
Hi,

On Tue, 22 Jun 2021 11:23:51 +0200 Sebastian Ramacher  
wrote:
> 1.3.4-1 would have needed to rename the package to libopenscap25 and
> start a library transition. The library package also contains a bunch of
> binaries and other files that do not look like the should be part of a
> library package. In any case, raising the severity to serious is the
> current packaging of the library is broken.

 Can we have a chance to put splitted packages (openscap-scanner as tools
 binary as other distros do and openscap-common for /usr/share files) for
 bullseye release? If so, I'll try to do so.


-- 
Regards,

 Hideki Yamane henrich @ debian.org/iijmio-mail.jp



Processed: Re: Bug#990183: libopenscap8: libopenscap.so.8 is missing from libopenscap8 and is expected by scap-workbench

2021-06-22 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 serious
Bug #990183 [libopenscap8] libopenscap8: libopenscap.so.8 is missing from 
libopenscap8 and is expected by scap-workbench
Severity set to 'serious' from 'important'

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