Bug#958528: Vcs-Browser and Vcs-Git URLs do not work

2020-04-23 Thread Matthew Kraai

Package: unar
Version: 1.10.1-2

The Vcs-Browser and Vcs-Git URLs in debian/control do not work.  This 
was originally reported to me by Paul Taykalo, an upstream developer.




Bug#947608: markdown: please make the output reproducible

2019-12-28 Thread Matthew Kraai
Hi,

On Sat, Dec 28, 2019 at 08:25:12PM +, Chris Lamb wrote:
> > Oops, it looks like it was already fixed by your change for #845055.
> 
> Ah, so this just requires being uploaded to unstable?

I think it was already fixed in unstable for #845055.  It was not
fixed in experimental, which this bug addresses.

-- 
Matt



Bug#947608: markdown: please make the output reproducible

2019-12-28 Thread Matthew Kraai
On Sat, Dec 28, 2019 at 05:42:52PM +, Chris Lamb wrote:
> > > Whilst working on the Reproducible Builds effort [0] we noticed that
> > > markdown generates output that is not reproducible.
> […]
> > Would you like me to upload this to unstable as well as experimental?
> 
> Very much so, thank you.

Oops, it looks like it was already fixed by your change for #845055.

-- 
Matt



Bug#947608: markdown: please make the output reproducible

2019-12-28 Thread Matthew Kraai
Hi,

On Sat, Dec 28, 2019 at 02:27:34PM +, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0] we noticed that
> markdown generates output that is not reproducible.
> 
> Specifically it encodes some email addresses using random HTML
> entities in an attempt to thwart spammers. A patch is attached that
> seeds the random number generation with a deterministic value based on
> SOURCE_DATE_EPOCH [1].
> 
>   [0] https://reproducible-builds.org/
>   [1] https://reproducible-builds.org/specs/source-date-epoch/

Would you like me to upload this to unstable as well as experimental?

-- 
Matt



Bug#929412: Support mhtml / mht

2019-05-23 Thread Matthew Kraai
forwarded 929412 https://macpaw.com/support/contact
thanks

Hi,

I've forwarded this request to the MacPaw Support Center.

On Thu, May 23, 2019 at 09:37:11AM +0800, 積丹尼 Dan Jacobson wrote:
> Package: unar
> X-Debbugs-Cc: Dag Ågren 
> Version: 1.10.1-2+b4
> Severity: wishlist
> File: /usr/bin/unar
> 
> Would be great to support unarchiving mhtml files.
> 
> (I currently use
> 
> test $# -eq 1 ||{ echo $0: One arg please. 1>&2; exit 42;}
> perl -pwle 's/\r$//;' $@| # Workaround for 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869217
> /usr/bin/munpack -t 2>&1|
> perl -nle '
> # Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=222582
> use strict;
> use warnings FATAL => q(all);
> print STDERR;
> if (m@^(part\d+) \((?:text|image)/(\w+)\)$@) {
> my $f = $1 . "." . ( $2 eq "plain" ? "txt" : $2 );
> if ( -f $f ) { print STDERR "$f exists already, skipping"; next }
> else { die $! unless rename $1, $f }
> print "$1->$f";
> }
> 
> but I didn't try https://www.volkerschatz.com/unix/uware/unmht.html .)

-- 
Matt



Bug#915319: Missing definition for struct timespec

2019-03-31 Thread Matthew Kraai
Hi,

I think the build is unable to verify that samba provides
smbc_set_context and smbc_option_set because it can't find the
definition for `struct timespec`.  Here is an excerpt from
CMakeError.log:

```
Determining if the smbc_set_context exist failed with the following output:
Change Dir: 
/build/kde-runtime-7OuCXd/kde-runtime-17.08.3/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_3c66e/fast"
make[3]: Entering directory 
'/build/kde-runtime-7OuCXd/kde-runtime-17.08.3/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_3c66e.dir/build.make 
CMakeFiles/cmTC_3c66e.dir/build
make[4]: Entering directory 
'/build/kde-runtime-7OuCXd/kde-runtime-17.08.3/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3c66e.dir/CheckSymbolExists.c.o
/usr/bin/cc  -I/usr/include/samba-4.0  -g -O2 
-fdebug-prefix-map=/build/kde-runtime-7OuCXd/kde-runtime-17.08.3=. 
-fstack-protector-strong -Wformat -We
rror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align 
-Werror-imp
licit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith 
-Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common-o C
MakeFiles/cmTC_3c66e.dir/CheckSymbolExists.c.o   -c 
/build/kde-runtime-7OuCXd/kde-runtime-17.08.3/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbol
Exists.c
In file included from 
/build/kde-runtime-7OuCXd/kde-runtime-17.08.3/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:
/usr/include/samba-4.0/libsmbclient.h:168:18: error: field ‘btime_ts’ has 
incomplete type
  struct timespec btime_ts;
  ^~~~
/usr/include/samba-4.0/libsmbclient.h:172:18: error: field ‘mtime_ts’ has 
incomplete type
  struct timespec mtime_ts;
  ^~~~
/usr/include/samba-4.0/libsmbclient.h:176:18: error: field ‘atime_ts’ has 
incomplete type
  struct timespec atime_ts;
  ^~~~
/usr/include/samba-4.0/libsmbclient.h:180:18: error: field ‘ctime_ts’ has 
incomplete type
  struct timespec ctime_ts;
  ^~~~
/usr/include/samba-4.0/libsmbclient.h:1117:38: warning: ‘struct timeval’ 
declared inside parameter list will not be visible outside of this definition
 or declaration
   struct timeval *tbuf);
  ^~~
/usr/include/samba-4.0/libsmbclient.h:1936:41: warning: ‘struct timeval’ 
declared inside parameter list will not be visible outside of this definition
 or declaration
 int smbc_utimes(const char *url, struct timeval *tbuf);
 ^~~
make[4]: *** [CMakeFiles/cmTC_3c66e.dir/build.make:66: 
CMakeFiles/cmTC_3c66e.dir/CheckSymbolExists.c.o] Error 1
make[4]: Leaving directory 
'/build/kde-runtime-7OuCXd/kde-runtime-17.08.3/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_3c66e/fast] Error 2
make[3]: Leaving directory 
'/build/kde-runtime-7OuCXd/kde-runtime-17.08.3/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'

File 
/build/kde-runtime-7OuCXd/kde-runtime-17.08.3/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include 

int main(int argc, char** argv)
{
  (void)argv;
#ifndef smbc_set_context
  return ((int*)(_set_context))[argc];
#else
  (void)argc;
  return 0;
#endif
}
```

I don't know how to fix this, though.

-- 
Matt



Bug#609488: Patch to complete .dsc files

2019-03-12 Thread Matthew Kraai
Hi,

The following patch adds partial Bash completion support for sbuild.
In particular, it only tries to complete directories and .dsc files,
not non-.dsc files.  It doesn't add support for sbuilds options.

-- 
Matt

diff -Nru sbuild-0.78.1/debian/changelog sbuild/debian/changelog
--- sbuild-0.78.1/debian/changelog  2019-02-08 22:25:07.0 -0800
+++ sbuild/debian/changelog 2019-03-12 08:03:54.412840498 -0700
@@ -1,3 +1,9 @@
+sbuild (0.78.1-2) UNRELEASED; urgency=medium
+
+  * Add debian/sbuild.bash-completion.
+
+ -- Matthew Kraai   Tue, 12 Mar 2019 08:03:54 -0700
+
 sbuild (0.78.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru sbuild-0.78.1/debian/control sbuild/debian/control
--- sbuild-0.78.1/debian/control2019-02-08 21:56:03.0 -0800
+++ sbuild/debian/control   2019-03-12 08:15:58.351116299 -0700
@@ -7,7 +7,8 @@
Francesco Paolo Lovergine ,
Wookey ,
Michael Stapelberg 
-Build-Depends: debhelper (>= 11)
+Build-Depends: bash-completion,
+   debhelper (>= 11)
 Build-Depends-Indep: groff-base,
  libdpkg-perl (>= 1.18.14),
  libexception-class-perl,
diff -Nru sbuild-0.78.1/debian/rules sbuild/debian/rules
--- sbuild-0.78.1/debian/rules  2019-02-08 22:00:16.0 -0800
+++ sbuild/debian/rules 2019-03-12 09:09:23.675215879 -0700
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-   dh $@
+   dh $@ --with=bash-completion
 
 override_dh_installinit:
dh_installinit --no-start --no-restart-on-upgrade
diff -Nru sbuild-0.78.1/debian/sbuild.bash-completion 
sbuild/debian/sbuild.bash-completion
--- sbuild-0.78.1/debian/sbuild.bash-completion 1969-12-31 16:00:00.0 
-0800
+++ sbuild/debian/sbuild.bash-completion2019-03-12 08:02:57.371979219 
-0700
@@ -0,0 +1,11 @@
+# Debian sbuild completion -*- shell-script -*-
+
+_sbuild() {
+local cur prev words cword
+_init_completion || return
+
+_filedir dsc
+} &&
+complete -F _sbuild sbuild
+
+# ex: filetype=sh



Bug#923610: mount: umount Bash tab completion does not escape spaces in mount points

2019-03-02 Thread Matthew Kraai
Package: mount
Version: 2.33.1-0.1
Severity: minor

Dear Maintainer,

umount's Bash tab completion doesn't escape spaces in mount points, so
I have to manually escape them.

For example, if the mount point is
`/media/kraai/Seagate Backup Plus Drive` and I type `umount /media`
and then press tab, it is expanded to

```
umount /media/kraai/Seagate Backup Plus Drive
```

I would like it to be expanded to

```
umount /media/kraai/Seagate\ Backup\ Plus\ Drive
```

This is how the tab completion for `cd` escapes the spaces.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mount depends on:
ii  libblkid1  2.33.1-0.1
ii  libc6  2.28-8
ii  libmount1  2.33.1-0.1
ii  libselinux12.8-1+b1
ii  libsmartcols1  2.33.1-0.1
ii  util-linux 2.33.1-0.1

mount recommends no packages.

Versions of packages mount suggests:
pn  nfs-common  

-- no debconf information



Bug#907009: Not fixed in upstream 0.30.x branch

2019-03-01 Thread Matthew Kraai
Hi,

This does not appear to be fixed in upstream's 0.30.x branch.  I
applied a patch of the differences between 0.30.2 and revision 2045 of
the 0.30.x branch and the same failures still occurred.

-- 
Matt



Bug#700576: cowsay: Please add a kangaroo cow

2019-02-04 Thread Matthew Kraai
Hi Paul,

On Sun, Feb 03, 2019 at 09:59:40AM -0800, Paul Hardy wrote:
> This patch changes the version of the kangaroo cow salsa merge from an
> NMU, "-5.1", to a QA upload, "-6" (because the package is orphaned)
> and makes the kangaroo cow license "GPL-2+".

Thanks for the patch and the tarball.  I uploaded yesterday but I
forgot to pass "-s" to sbuild so the upload was rejected.  I've just
tried again.  Hopefully it will work this time.

-- 
Matt