From f0c7717cd6d147a038666a214d8abd7a5ed71e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= Date: Mon, 7 Jul 2025 23:07:34 -0600 Subject: [PATCH] mate-user-admin: manually add cracklib-runtime as a dependency. --- ...0-add-cracklib-runtime-as-dependency.patch | 14 +++++++++ helpers/make-mate-user-admin | 29 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 helpers/DATA/mate-user-admin/patch_changes/000-add-cracklib-runtime-as-dependency.patch create mode 100644 helpers/make-mate-user-admin diff --git a/helpers/DATA/mate-user-admin/patch_changes/000-add-cracklib-runtime-as-dependency.patch b/helpers/DATA/mate-user-admin/patch_changes/000-add-cracklib-runtime-as-dependency.patch new file mode 100644 index 0000000..d8b2a83 --- /dev/null +++ b/helpers/DATA/mate-user-admin/patch_changes/000-add-cracklib-runtime-as-dependency.patch @@ -0,0 +1,14 @@ +# Fixes https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/216 + +diff --git a/debian/control b/debian/control +index 3297b1c..37ff49a 100644 +--- a/debian/control ++++ b/debian/control +@@ -28,6 +28,7 @@ Depends: ${shlibs:Depends}, + accountsservice, + group-service, + mate-desktop-common, ++ cracklib-runtime, + Description: MATE User Manager + User and group management utility suitable for lightweight desktop + environments such as MATE or Xfce. diff --git a/helpers/make-mate-user-admin b/helpers/make-mate-user-admin new file mode 100644 index 0000000..64b5847 --- /dev/null +++ b/helpers/make-mate-user-admin @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2025 Luis Guzmán +# +# 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 + +. ./config + +# Add cracklib-runtime dependency to debian/control +apply_patch_changes + +changelog "Added cracklib-runtime dependency." + +package