From 8bb62c71338af0aac62612d1f8b5840791d6393d Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez <ruben@trisquel.info> Date: Sat, 13 Apr 2019 21:27:38 -0400 Subject: [PATCH] Added dependencies for debhelper backport --- helpers/make-debhelper | 1 + helpers/make-dh-autoreconf | 32 ++++++++++++++++++++++++++++ helpers/make-dh-strip-nondeterminism | 30 ++++++++++++++++++++++++++ helpers/make-libarchive-cpio-perl | 29 +++++++++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 helpers/make-dh-autoreconf create mode 100644 helpers/make-dh-strip-nondeterminism create mode 100644 helpers/make-libarchive-cpio-perl diff --git a/helpers/make-debhelper b/helpers/make-debhelper index 31eadf6a..4cd87969 100644 --- a/helpers/make-debhelper +++ b/helpers/make-debhelper @@ -21,6 +21,7 @@ VERSION=1 EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu bionic main' REPOKEY=7638D0442B90D010 BACKPORTS=true +DEPENDS=dh-autoreconf,dh-strip-nondeterminism . ./config diff --git a/helpers/make-dh-autoreconf b/helpers/make-dh-autoreconf new file mode 100644 index 00000000..78f7fe5b --- /dev/null +++ b/helpers/make-dh-autoreconf @@ -0,0 +1,32 @@ +#!/bin/sh +# +# Copyright (C) 2019 Ruben Rodriguez <ruben@trisquel.info> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# + +VERSION=1 +EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu bionic main' +REPOKEY=7638D0442B90D010 +BACKPORTS=true + +. ./config + +sed '/debhelper/s/(>= 11)//' -i debian/control +echo 10 > debian/compat + +changelog "Backported from bionic" + +compile diff --git a/helpers/make-dh-strip-nondeterminism b/helpers/make-dh-strip-nondeterminism new file mode 100644 index 00000000..74640ffe --- /dev/null +++ b/helpers/make-dh-strip-nondeterminism @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Copyright (C) 2019 Ruben Rodriguez <ruben@trisquel.info> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# + +VERSION=1 +EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu bionic main' +REPOKEY=7638D0442B90D010 +BACKPORTS=true +DEPENDS=libarchive-cpio-perl + +. ./config + +changelog "Backported from bionic" + +compile diff --git a/helpers/make-libarchive-cpio-perl b/helpers/make-libarchive-cpio-perl new file mode 100644 index 00000000..d94e2957 --- /dev/null +++ b/helpers/make-libarchive-cpio-perl @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2019 Ruben Rodriguez <ruben@trisquel.info> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# + +VERSION=1 +EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu bionic main' +REPOKEY=7638D0442B90D010 +BACKPORTS=true + +. ./config + +changelog "Backported from bionic" + +compile -- GitLab