Re: Finding files for d/clean when using sbuild

2020-11-09 Thread Paul Wise
On Mon, Nov 9, 2020 at 8:49 PM Robin Gustafsson wrote:

> What's the recommended way to find such left-over files after an sbuild build?

You could hack something up by running git init+add+commit+status+diff
at the appropriate times in debian/rules. You would need to remove
that debugging before uploading the source package though.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



Re: Finding files for d/clean when using sbuild

2020-11-09 Thread Baptiste Beauplat

Hi Robin,

On 11/9/20 9:48 PM, Robin Gustafsson wrote:

More than once now, I've made the mistake of missing certain files
that ought to be added to debian/clean. I typically use sbuild when
building packages, so these extra files get thrown out after the build
anyways, so they're not obvious to me.

What's the recommended way to find such left-over files after an sbuild build?

I imagine a diff between the original source tree and whatever's left
after a build and a subsequent clean could accomplish it. The external
command functionality in sbuild could perhaps be used for this. I
thought I'd ask for existing solutions before I put something together
for myself, though.


I have found myself in the same situation, without finding any 
satisfying solution.


Up until now, I was using two workarounds:

- Using `pbuilder --twice` just to test that. But that's far from ideal 
since I have I want to stick to sbuild.
- Using the `--purge never` option of sbuild that allow to keep the 
schroot used for building. I can then re-enter the schroot and try to 
build it a second time from there. Too much manual work.


I tried to give it a more serious thought and I came up with the 
alternative of using the commands hooks as recommended in #424846[1].


I came up with the following:

$ cat ~/.sbuildrc
$external_commands = {
"starting-build-commands" => [
'find %SBUILD_PKGBUILD_DIR | sort | while read file; do echo -n 
"$(stat -c "%n %F %s" "${file}") "; if [ -f ${file} ]; then md5sum 
"${file}" | cut -d " " -f 1; else echo; fi; done > /tmp/file-list.pre-build'

],
"chroot-cleanup-commands" => [
'cd %SBUILD_PKGBUILD_DIR && ./debian/rules clean',
'find %SBUILD_PKGBUILD_DIR | sort | while read file; do echo -n 
"$(stat -c "%n %F %s" "${file}") "; if [ -f ${file} ]; then md5sum 
"${file}" | cut -d " " -f 1; else echo; fi; done > 
/tmp/file-list.post-build',

'diff /tmp/file-list.pre-build /tmp/file-list.post-build'
]
};

Disclaimer: This is a quick, ugly hack that has not been tested 
extensively. I'm certain that given some uncommon case (starting with 
space in path?) that will break. (And the size doesn't appear to work 
either)


That being said, it seems to do the trick and catch differences 
before/after a build + cleanup.


[1]: https://bugs.debian.org/424846
--
Baptiste Beauplat - lyknode



OpenPGP_signature
Description: OpenPGP digital signature


Finding files for d/clean when using sbuild

2020-11-09 Thread Robin Gustafsson
Hi mentors,

More than once now, I've made the mistake of missing certain files
that ought to be added to debian/clean. I typically use sbuild when
building packages, so these extra files get thrown out after the build
anyways, so they're not obvious to me.

What's the recommended way to find such left-over files after an sbuild build?

I imagine a diff between the original source tree and whatever's left
after a build and a subsequent clean could accomplish it. The external
command functionality in sbuild could perhaps be used for this. I
thought I'd ask for existing solutions before I put something together
for myself, though.

Regards,
Robin



Bug#974079: RFS: starfighter/2.3.3-1 [ITA] -- 2D scrolling shooter game

2020-11-09 Thread Francisco M Neto
Package: sponsorship-requests
Severity: normal

Dear mentors,

I am looking for a sponsor for my package "starfighter":

 * Package name: starfighter
   Version : 2.3.3-1
   Upstream Author : [fill in name and email of upstream]
 * URL : http://pr-starfighter.github.io/
 * License : GPL-3+ or CC-BY-SA-3.0, CC-BY-3.0, GPL-2+, GPL-2+
or CC-BY-SA-3.0, CC-BY-SA-3.0, public-domain
 * Vcs : [fill in URL of packaging vcs]
   Section : games

It builds those binary packages:

  starfighter-data - 2D scrolling shooter game -- data files
  starfighter - 2D scrolling shooter game

To access further information about this package, please visit the
following URL:

  https://mentors.debian.net/package/starfighter/

Alternatively, one can download the package with dget using this command:

  dget -x
https://mentors.debian.net/debian/pool/main/s/starfighter/starfighter_2.3.3-1.dsc

It is also available on Salsa:

  https://salsa.debian.org/fmneto-guest/starfighter

Changes since the last upload:

 starfighter (2.3.3-1) unstable; urgency=medium
 .
   * New maintainer; thanks Guus Sliepen for all your work!
   * Added new maintainer to debian/control. Closes: #963930)
   * New upstream version.
   * Package orphaned: setting Maintainer to Debian QA Group.
   * debian/clean: created file.
   * debian/control:
 - Bumped Standards version to 4.5.0
 - Changed debhelper to debhelper compat and bumped version to 13.
 - Removed debian/compat file.
 - Updated Homepage field.
   * debian/copyright: updated copyright fields.
   * debian/patches:
 - Codebase has been rewritten, removing all patches.
   * debian/rules:
 - Added autoreconf with override and removed --parallel.
 - Added DEB_BUILD_MAINT_OPTIONS with hardening=+all
   * debian/starfighter.overrides:
 - Added override for hardening-no-bindnow false positive.
 - Added override for maintainer-manual-page (man page submitted).
   * debian/upstream/metadata: created file.
   * debian/watch: updated to track correct URI.
   * debian/*.install: reconstructed both install files to account for
 rewritten source code.
   * Upstream no longer provides a signing key; removed present
signing-key.asc
 file.

Regards,
-- 
[]'s,

Francisco M Neto 
www.fmneto.com

3E58 1655 9A3D 5D78 9F90
CFF1 D30B 1694 D692 FBF0


0xD30B1694D692FBF0.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Bug#974071: RFS: dhex/0.69-2 [ITA] [RC] -- ncurses based hex editor with diff mode

2020-11-09 Thread Fabio A. De Muzio Tobich
Package: sponsorship-requests
Severity: important

Dear mentors,

I am looking for a sponsor for my package "dhex":

 * Package name: dhex
   Version : 0.69-2
   Upstream Author : Thomas Dettbarn 
 * URL : https://www.dettus.net/dhex/
 * License : GPL-2+
 * Vcs : https://salsa.debian.org/debian/dhex
   Section : editors

It builds those binary packages:

  dhex - ncurses based hex editor with diff mode

To access further information about this package, please visit the following 
URL:

  https://mentors.debian.net/package/dhex/

Alternatively, one can download the package with dget using this command:

  dget -x https://mentors.debian.net/debian/pool/main/d/dhex/dhex_0.69-2.dsc

Changes since the last upload:

 dhex (0.69-2) unstable; urgency=medium
 .
   * New maintainer. (Closes: #973686)
   * Using new DH level format. Consequently:
   - debian/compat: removed.
   - debian/control: changed from 'debhelper' to 'debhelper-compat' in
 Build-Depends field and bumped level to 13.
   * debian/control:
   - Added Rules-Requires-Root: no.
   - Added Vcs-* fields in source stanza.
   - Bumped Standards-Version to 4.5.0.
   - Changed Homepage field to use a secure URI.
   * debian/copyright:
   - Added myself and Axel Beckert to packaging block.
   - Added Upstream-Contact field.
   - Updated years in packaging block.
   - Using a secure URI in Format and Source fields.
   * debian/patches/:
   - 010_fix-typos.patch: added to fix several typos and spelling errors.
   - 020_hardening-fix.patch: added to be possible to implement hardening.
   - cpu-load: removed, does not work with 0.69 and causes buggy behavior.
 (Closes: #940536, LP: #1814478)
   - fix-typos: removed, was replaced by 010_fix-typos.patch.
   - harden: removed, it doesn't work in 0.69.
   - series: updated to reflect the changes.
   * debian/rules:
   - Removed unnecessary DEB_LDFLAGS_MAINT_APPEND flags.
   - Removed unnecessary DEB_CFLAGS_MAINT_APPEND flags.
   * debian/salsa-ci.yml: added to provide CI tests for Salsa.
   * debian/tests/:
   - control: created to perform a trivial CI test.
   - files/sample.txt: added to be used on tests.
   * debian/upstream/metadata: created.
   * debian/watch:
   - Bumped to version 4.
   - Updated to use a secure URI with HTTPS protocol.

Regards,

-- 
⢀⣴⠾⠻⢶⣦⠀ Fabio A. De Muzio Tobich
⣾⠁⢰⠒⠀⣿⡁ 9730 4066 E5AE FAC2 2683
⢿⡄⠘⠷⠚⠋⠀ D03D 4FB3 B4D3 7EF6 3B2E
⠈⠳⣄  GPG:rsa4096/7EF63B2E


signature.asc
Description: PGP signature


Bug#974067: RFS: binutils-m68hc1x/1:2.35.1-2 -- binary utilities that support Motorola's 68HC11/12 targets

2020-11-09 Thread Vincent Smeets
Package: sponsorship-requests
Severity: normal

Dear mentors,

I am looking for a sponsor for my package "binutils-m68hc1x":

 * Package name: binutils-m68hc1x
   Version : 1:2.35.1-2
   Upstream Author :  For reporting bugs.
 * URL : https://www.gnu.org/software/binutils/
 * License : GPL-2+
 * Vcs : https://salsa.debian.org/VSmeets/binutils-m68hc1x
   Section : devel

It builds those binary packages:

  binutils-m68hc1x - binary utilities that support Motorola's 68HC11/12
targets

To access further information about this package, please visit the
following URL:

  https://mentors.debian.net/package/binutils-m68hc1x/

Alternatively, one can download the package with dget using this
command:

  dget -x 
https://mentors.debian.net/debian/pool/main/b/binutils-m68hc1x/binutils-m68hc1x_2.35.1-2.dsc

Changes since the last upload:

 binutils-m68hc1x (1:2.35.1-2) unstable; urgency=medium
 .
   * control: Corrected the Maintainer mail address
   * README.Debian: Rephrased the README
   * control: Added the fields Vcs-*

Regards,
--
  Vincent Smeets



Bug#974028: RFS: amavisd-milter/1.7.1-2 -- amavisd-new interface for milter-capable MTAs

2020-11-09 Thread Harald Jenny
Package: sponsorship-requests
Severity: normal

Dear mentors,

I am looking for a sponsor for my package "amavisd-milter":

 * Package name: amavisd-milter
   Version : 1.7.1-2
   Upstream Author : Petr Rehor 
 * URL : https://github.com/prehor/amavisd-milter
 * License : ISC, BSD-3-clause, BSD-like
 * Vcs :
 * https://salsa.debian.org/haraldj-guest/amavisd-milter
   Section : mail

It builds those binary packages:

  amavisd-milter - amavisd-new interface for milter-capable MTAs

To access further information about this package, please visit the
following URL:

  https://mentors.debian.net/package/amavisd-milter/

Alternatively, one can download the package with dget using this
command:

  dget -x
https://mentors.debian.net/debian/pool/main/a/amavisd-milter/amavisd-milter_1.7.1-2.dsc

Changes since the last upload:

 amavisd-milter (1.7.1-2) unstable; urgency=low
 .
   * debian/control:
 - Lower debhelper-compat dependency to 12 to ease backporting
   (thanks to
   Marcel Evenson).
 - Add a pre-dependency on init-system-helpers for usage of
   --skip-systemd-native invoke-rc.d flag, found by lintian (and
again
   thanks to Marcel Evenson).
 - Create patch to fix two typos in documentation found by lintian.

The following lintian remarks are open:

W: amavisd-milter: missing-systemd-service-for-init.d-script amavisd-milter
Comment: The upstream maintainer does not provide an service file and
the Debian maintainer does not run systemd so there is currently nobody
who could check that a service file is working.

X: amavisd-milter source: debian-rules-uses-as-needed-linker-flag line 6
Comment: As the last Debian release is very old the package should be
backportable without much hassle.

X: amavisd-milter source: debian-watch-does-not-check-gpg-signature
Comment: Upstream does not provide signed releases.

P: amavisd-milter source: debug-symbol-migration-possibly-complete 
--dbgsym-migration='amavisd-milter-dbg (<< 1.6.1-1~)' (line 20)
Comment As the last Debian release is very old this is still needed.

P: amavisd-milter source: package-uses-old-debhelper-compat-version 12
Comment: As the last Debian release is very old the package should be
backportable without much hassle.

If you intend to sponsor this package please keep in mind that I want to
do backports to at least buster (and if possible stretch) so I may
approach you for the backport(s) too.

Regards,
--
  Harald Jenny



Bug#974031: RFS: rednotebook/2.20+ds-1.1~bpo10+1 -- Modern desktop diary and personal journaling tool

2020-11-09 Thread Philip Wyett
Package: sponsorship-requests
Severity: normal

Dear mentors,

I am looking for a sponsor for my package "rednotebook":

 * Package name: rednotebook
   Version : 2.20+ds-1.1~bpo10+1
   Upstream Author : Jendrik Seipp 
 * URL : https://rednotebook.app
 * License : LGPL-3+, GPL-3+, PSF-2, GPL-2+, CC0-1.0
 * Vcs : https://github.com/jendrikseipp/rednotebook
   Section : text

It builds those binary packages:

  rednotebook - Modern desktop diary and personal journaling tool

To access further information about this package, please visit the
following URL:

  https://mentors.debian.net/package/rednotebook/

Alternatively, one can download the package with dget using this
command:

  dget -x 
https://mentors.debian.net/debian/pool/main/r/rednotebook/rednotebook_2.20+ds-1.1~bpo10+1.dsc

Changes since the last upload:

 rednotebook (2.20+ds-1.1~bpo10+1) buster-backports; urgency=medium
 .
   * Rebuild for buster-backports.

Regards

Phil

-- 
*** Playing the game for the games own sake. ***

WWW: https://kathenas.org

Twitter: @kathenasorg

IRC: kathenas

GPG: 724AA9B52F024C8B


signature.asc
Description: This is a digitally signed message part


Bug#974018: marked as done (RFS: fonts-arapey/0+git20200408-1 [ITP] -- contemporary modern typeface)

2020-11-09 Thread Debian Bug Tracking System
Your message dated Mon, 9 Nov 2020 10:55:15 +0100
with message-id <20201109095515.ga9...@angband.pl>
and subject line Re: Bug#974018: RFS: fonts-arapey/0+git20200408-1 [ITP] -- 
contemporary modern typeface
has caused the Debian Bug report #974018,
regarding RFS: fonts-arapey/0+git20200408-1 [ITP] -- contemporary modern 
typeface
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


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

Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my package "fonts-arapey":

 * Package name: fonts-arapey
   Version : 0+git20200408-1
   Upstream Author : Eduardo Rodríguez Tunni 
 * URL : https://github.com/etunni/arapey
 * License : OFL-1.1
 * Vcs : https://salsa.debian.org/fonts-team/fonts-arapey
   Section : fonts

It builds those binary packages:

  fonts-arapey - contemporary modern typeface

To access further information about this package, please visit the 
following URL:


  https://mentors.debian.net/package/fonts-arapey/

Alternatively, one can download the package with dget using this 
command:


  dget -x 
https://mentors.debian.net/debian/pool/main/f/fonts-arapey/fonts-arapey_0+git20200408-1.dsc


Changes for the initial release:

 fonts-arapey (0+git20200408-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #956208)

Regards,
--
  Gürkan Myczko
--- End Message ---
--- Begin Message ---
On Mon, Nov 09, 2020 at 08:31:32AM +0100, Gürkan Myczko wrote:
>  * Package name: fonts-arapey
>Version : 0+git20200408-1

>  fonts-arapey (0+git20200408-1) unstable; urgency=medium
>  .
>* Initial release. (Closes: #956208)

Looks good, in NEW.

There's one issue: the watch file tries to look for tags, of which there are
none.  I'd prefer to add that only once upstream starts tagging releases --
but it's not like there's a big difference between no watch and 404.  And
it's a cosmetic issue anyway, at most for git and -2.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Imagine there are bandits in your house, your kid is bleeding out,
⢿⡄⠘⠷⠚⠋⠀ the house is on fire, and seven giant trumpets are playing in the
⠈⠳⣄ sky.  Your cat demands food.  The priority should be obvious...--- End Message ---