From 1b4e784a0ba636646def1db5ca012fd54ee7a81c Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 6 Jun 2017 20:06:04 -0700 Subject: Fix debuild warnings/errors - Update .gitignore, do not place .gitignore into directories installed in bulk - Remove executable permissions and shebangs from the scripts that are supposed to be invoked only via ct-ng frontent; prepend them with $(bash). Despite what showSamples.sh said, it already has some bashisms. - Remove --with autotools-dev and override dh_update_autotools_config to avoid having config.{sub,guess} clobbered with older versions - Install bash completion where Debian (now) expects it - Update man page to use .\" as the comment delimiter, instead of undefined macro (."); also, minor text edits. - Install kconfig.mk without execute permission. - Remove shell wrappers from 170-localedef-fix-trampoline.patch, we do not use that for applying patches - Revoke execute permissions on 210-expat.sh - Get flags from dpkg-buildflags if available Signed-off-by: Alexey Neyman --- .../ports-2.12.1/170-localedef-fix-trampoline.patch | 16 ---------------- .../glibc/ports-2.13/170-localedef-fix-trampoline.patch | 16 ---------------- .../ports-2.14.1/170-localedef-fix-trampoline.patch | 16 ---------------- .../glibc/ports-2.14/170-localedef-fix-trampoline.patch | 16 ---------------- .../glibc/ports-2.15/170-localedef-fix-trampoline.patch | 16 ---------------- .../ports-2.16.0/170-localedef-fix-trampoline.patch | 16 ---------------- 6 files changed, 96 deletions(-) (limited to 'patches/glibc') diff --git a/patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch b/patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch index 0e058441..fb0881d2 100644 --- a/patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch +++ b/patches/glibc/ports-2.12.1/170-localedef-fix-trampoline.patch @@ -1,5 +1,3 @@ -#! /bin/sh -e - # DP: Description: Fix localedef segfault when run under exec-shield, # PaX or similar. (#231438, #198099) # DP: Dpatch Author: James Troup @@ -7,20 +5,6 @@ # DP: Upstream status: Unknown # DP: Status Details: Unknown # DP: Date: 2004-03-16 - -if [ $# -ne 2 ]; then - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -fi -case "$1" in - -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;; - -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;; - *) - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -esac -exit 0 - diff -durN glibc-2.12.1.orig/locale/programs/3level.h glibc-2.12.1/locale/programs/3level.h --- glibc-2.12.1.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200 +++ glibc-2.12.1/locale/programs/3level.h 2009-11-13 00:49:56.000000000 +0100 diff --git a/patches/glibc/ports-2.13/170-localedef-fix-trampoline.patch b/patches/glibc/ports-2.13/170-localedef-fix-trampoline.patch index 4784a07b..3cc65597 100644 --- a/patches/glibc/ports-2.13/170-localedef-fix-trampoline.patch +++ b/patches/glibc/ports-2.13/170-localedef-fix-trampoline.patch @@ -1,5 +1,3 @@ -#! /bin/sh -e - # DP: Description: Fix localedef segfault when run under exec-shield, # PaX or similar. (#231438, #198099) # DP: Dpatch Author: James Troup @@ -7,20 +5,6 @@ # DP: Upstream status: Unknown # DP: Status Details: Unknown # DP: Date: 2004-03-16 - -if [ $# -ne 2 ]; then - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -fi -case "$1" in - -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;; - -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;; - *) - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -esac -exit 0 - diff -durN glibc-2.13.orig/locale/programs/3level.h glibc-2.13/locale/programs/3level.h --- glibc-2.13.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200 +++ glibc-2.13/locale/programs/3level.h 2009-11-13 00:49:56.000000000 +0100 diff --git a/patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch b/patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch index 4784a07b..3cc65597 100644 --- a/patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch +++ b/patches/glibc/ports-2.14.1/170-localedef-fix-trampoline.patch @@ -1,5 +1,3 @@ -#! /bin/sh -e - # DP: Description: Fix localedef segfault when run under exec-shield, # PaX or similar. (#231438, #198099) # DP: Dpatch Author: James Troup @@ -7,20 +5,6 @@ # DP: Upstream status: Unknown # DP: Status Details: Unknown # DP: Date: 2004-03-16 - -if [ $# -ne 2 ]; then - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -fi -case "$1" in - -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;; - -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;; - *) - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -esac -exit 0 - diff -durN glibc-2.13.orig/locale/programs/3level.h glibc-2.13/locale/programs/3level.h --- glibc-2.13.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200 +++ glibc-2.13/locale/programs/3level.h 2009-11-13 00:49:56.000000000 +0100 diff --git a/patches/glibc/ports-2.14/170-localedef-fix-trampoline.patch b/patches/glibc/ports-2.14/170-localedef-fix-trampoline.patch index 4784a07b..3cc65597 100644 --- a/patches/glibc/ports-2.14/170-localedef-fix-trampoline.patch +++ b/patches/glibc/ports-2.14/170-localedef-fix-trampoline.patch @@ -1,5 +1,3 @@ -#! /bin/sh -e - # DP: Description: Fix localedef segfault when run under exec-shield, # PaX or similar. (#231438, #198099) # DP: Dpatch Author: James Troup @@ -7,20 +5,6 @@ # DP: Upstream status: Unknown # DP: Status Details: Unknown # DP: Date: 2004-03-16 - -if [ $# -ne 2 ]; then - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -fi -case "$1" in - -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;; - -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;; - *) - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -esac -exit 0 - diff -durN glibc-2.13.orig/locale/programs/3level.h glibc-2.13/locale/programs/3level.h --- glibc-2.13.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200 +++ glibc-2.13/locale/programs/3level.h 2009-11-13 00:49:56.000000000 +0100 diff --git a/patches/glibc/ports-2.15/170-localedef-fix-trampoline.patch b/patches/glibc/ports-2.15/170-localedef-fix-trampoline.patch index 4784a07b..3cc65597 100644 --- a/patches/glibc/ports-2.15/170-localedef-fix-trampoline.patch +++ b/patches/glibc/ports-2.15/170-localedef-fix-trampoline.patch @@ -1,5 +1,3 @@ -#! /bin/sh -e - # DP: Description: Fix localedef segfault when run under exec-shield, # PaX or similar. (#231438, #198099) # DP: Dpatch Author: James Troup @@ -7,20 +5,6 @@ # DP: Upstream status: Unknown # DP: Status Details: Unknown # DP: Date: 2004-03-16 - -if [ $# -ne 2 ]; then - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -fi -case "$1" in - -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;; - -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;; - *) - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -esac -exit 0 - diff -durN glibc-2.13.orig/locale/programs/3level.h glibc-2.13/locale/programs/3level.h --- glibc-2.13.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200 +++ glibc-2.13/locale/programs/3level.h 2009-11-13 00:49:56.000000000 +0100 diff --git a/patches/glibc/ports-2.16.0/170-localedef-fix-trampoline.patch b/patches/glibc/ports-2.16.0/170-localedef-fix-trampoline.patch index 4784a07b..3cc65597 100644 --- a/patches/glibc/ports-2.16.0/170-localedef-fix-trampoline.patch +++ b/patches/glibc/ports-2.16.0/170-localedef-fix-trampoline.patch @@ -1,5 +1,3 @@ -#! /bin/sh -e - # DP: Description: Fix localedef segfault when run under exec-shield, # PaX or similar. (#231438, #198099) # DP: Dpatch Author: James Troup @@ -7,20 +5,6 @@ # DP: Upstream status: Unknown # DP: Status Details: Unknown # DP: Date: 2004-03-16 - -if [ $# -ne 2 ]; then - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -fi -case "$1" in - -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;; - -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;; - *) - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -esac -exit 0 - diff -durN glibc-2.13.orig/locale/programs/3level.h glibc-2.13/locale/programs/3level.h --- glibc-2.13.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200 +++ glibc-2.13/locale/programs/3level.h 2009-11-13 00:49:56.000000000 +0100 -- cgit v1.2.3