Ubuntu Pastebin

Paste from ahasenack at Mon, 18 Dec 2017 13:39:47 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
autoreconf:
  dh10:
     dh_autoreconf_clean  called just before dh_clean
     dh_autoreconf_clean called just before dh_autoreconf
     rm -f debian/*.debhelper.log called after dh_auto_configure
     rm -f debian/*.debhelper.log  called before debian/rules override_dh_install

manpage treatment:
  when recoding to utf-8, the .new manpage has its perms changed to 0755 instead of 0644:
  dh9:
    man --recode UTF-8 ./zstd\.1 > zstd\.1\.new
    chmod 644 zstd.1.new
    mv -f zstd.1.new zstd.1
  dh10:
    man --recode UTF-8 ./zstd\.1 > zstd\.1\.new
    chmod 0755 -- zstd.1.new
    chown 0:0 -- zstd.1.new
    mv -f zstd.1.new zstd.1
   
  later on, manpage perms are switched back to 0644. dh9 includes a few more manpage directories than dh10:
  dh9:
    find debian/libzstd-dev/usr/share/man debian/libzstd-dev/usr/man/ debian/libzstd-dev/usr/X11*/man/ -type f  -print0 2>/dev/null | xargs -0r chmod 0644
  dh10:
    find debian/libzstd-dev/usr/share/man -type f  -print0 2>/dev/null | xargs -0r chmod 0644
  
Assorted chmod/chown commands include a -- separator in dh10:
  dh9:
    chmod 0644 debian/libzstd1/DEBIAN/shlibs
    chown 0:0 debian/libzstd1/DEBIAN/shlibs
  dh10:
    chmod 0644 -- debian/libzstd1/DEBIAN/shlibs
    chown 0:0 -- debian/libzstd1/DEBIAN/shlibs
Download as text