From patchwork Fri Feb 17 15:55:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6553 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PJGc832b1z3x1h for ; Fri, 17 Feb 2023 15:55:20 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PJGc6117rzwd; Fri, 17 Feb 2023 15:55:18 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PJGc55tcdz2ylM; Fri, 17 Feb 2023 15:55:17 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PJGc43R6Vz2xGx for ; Fri, 17 Feb 2023 15:55:16 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PJGc34ZVWzjs; Fri, 17 Feb 2023 15:55:15 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1676649315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sR0JciSmvBTx/NkmjA6sVa6JB8KBPr7Cmzf76NLkkTE=; b=NVw35b7poV1XPPkTTSiZhtFHUKsByXupkaLZAxZn4U8jIOOjMlwNkNmoy2+E2jbiA9AZKS 69FR+s3vIXhmxyCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1676649315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sR0JciSmvBTx/NkmjA6sVa6JB8KBPr7Cmzf76NLkkTE=; b=qOanyZ6HiAGmzDtPj1/maWrzuK4hH/La3Ebn4GXVaZzZ9Un4df65xF9IQ0uc95sWGJ3qf5 UunlOF/nIeD2L/M1N9anzLnilub+P956fUim0s3W5ajA7eBFx3vz7WtCDTC3o/a6cXWepj r9D8LFGg9pkhzSurHwSAlN/Le3NiesqO+3adrQNCvXjlOMZpVYlYgiqALBaVk2yjHrnRZQ AgKgcfHFsAL9q3QbpbU0vs8sW5SFh30Km5PrXnS+ARHxq47+sowbbi/jXQyFY7pCGOMmhi S42WqtHfrcF9wbBLTHa5da3GOmaaSPQI8lOShQxJ5w/4xVLr4nWRV7JUvRyTzw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 1/3] sssd: Cleanup Makefile Date: Fri, 17 Feb 2023 16:55:07 +0100 Message-Id: <20230217155509.3172-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl --- sssd/sssd.nm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sssd/sssd.nm b/sssd/sssd.nm index 5a8742ea8..d76a0402c 100644 --- a/sssd/sssd.nm +++ b/sssd/sssd.nm @@ -28,8 +28,6 @@ build requires /usr/bin/nsupdate - autoconf - automake c-ares-devel cifs-utils-devel >= 6.6 curl-devel @@ -97,14 +95,6 @@ build end end -quality-agent - whitelist_rpath - %{libdir}/sssd - %{libdir}:%{libdir}/sssd - %{libdir}/sssd:%{libdir} - end -end - packages package %{name} groups += Base @@ -113,8 +103,6 @@ packages %{sysconfdir}/sssd/sssd.conf end - prerequires += systemd-units - script postin systemctl daemon-reload >/dev/null 2>&1 || : end From patchwork Fri Feb 17 15:55:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6554 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PJGc91ngGz3x1t for ; Fri, 17 Feb 2023 15:55:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PJGc62tJZz9NG; Fri, 17 Feb 2023 15:55:18 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PJGc60Ddxz2yty; Fri, 17 Feb 2023 15:55:18 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PJGc44DJ3z2xVx for ; Fri, 17 Feb 2023 15:55:16 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PJGc41nfjzqw; Fri, 17 Feb 2023 15:55:16 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1676649316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V2KndQt5/S0ofSkrh8crH9skdYkikCA9wNA9AzBZMqU=; b=Q9pE7gqcTTmxfGRL/l7DvNXvEdmPGeXxiBoEk3ZGyQBY7DJYHCjdyLn5QdpmlTwviSEhmu qGWY7Z37YMhXZ3Bw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1676649316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V2KndQt5/S0ofSkrh8crH9skdYkikCA9wNA9AzBZMqU=; b=mf0+1MVrb3iw0i+1x+9OCa72HnDN0nhrwiBzAMW1WSzu4FYAc+O02DkAIR1RIT+QqWUlO4 vUBjD6Y7UhVvlBNq3XpwBdNRg3xgFHshYUkv3SQf8G3xyDfy81rwAsWqQnr2aYJA0Nj+J0 DLZ87r5y8XLfFDmbQlKLafwo++/DCTKXaTQMbfOUiT/CyOcmtsZfZQ+Jc2bTBVHYTtK0nD bkpFtKGEP0+G+iWrrpxqB8l9ruwH5OBBC8Pr37qzrDRsgaGUlgK7I3eRBpocIBJ9GBc8f9 BcaiXfmHTvYbI+btfO9Vv4+5yrK3/Y+onjh8hI2HYIpy29zX7OZzznmduuuHGQ== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 2/3] sssd: Do not longer depend on authconfig Date: Fri, 17 Feb 2023 16:55:08 +0100 Message-Id: <20230217155509.3172-2-stefan.schantl@ipfire.org> In-Reply-To: <20230217155509.3172-1-stefan.schantl@ipfire.org> References: <20230217155509.3172-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl --- sssd/sssd.nm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sssd/sssd.nm b/sssd/sssd.nm index d76a0402c..140f5c5d3 100644 --- a/sssd/sssd.nm +++ b/sssd/sssd.nm @@ -143,17 +143,6 @@ packages %{mandir}/man8/pam_sss.8* %{mandir}/man8/sssd_krb5*.8* end - - prerequires += \ - authconfig >= 6.2.5 - - script postin - authconfig --update --enableldap --enablesssd --enablesssdauth - end - - script postun - authconfig --update --disableldap --disablesssd --disablesssdauth - end end package %{name}-tools From patchwork Fri Feb 17 15:55:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6555 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PJGc95YJ4z3x1h for ; Fri, 17 Feb 2023 15:55:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PJGc72bSHz9NL; Fri, 17 Feb 2023 15:55:19 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PJGc71tKqz2ylM; Fri, 17 Feb 2023 15:55:19 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PJGc50Q99z2xVx for ; Fri, 17 Feb 2023 15:55:17 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PJGc44Z1Tzjs; Fri, 17 Feb 2023 15:55:16 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1676649316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZDQcfiSavRo8rzrCI74y4j4HeBuuV93B5PRiKlHE6fM=; b=VxiBqcuidh2FFc+am8GlSqiAP8MH5ci+A00A60X4nZhpVVcsBwSjYN52IV+ZB/kS5/eCAC 6+6+bmlclZ8JWqCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1676649316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZDQcfiSavRo8rzrCI74y4j4HeBuuV93B5PRiKlHE6fM=; b=cIYgJfQeQrV+xoQPJOypSIBUWef4TVxi+7LvSW8fAL6n2VFBHZjNItHRGOjwhn4lefDbMo vALWx14fvTzr5r6ltEVpTjmPZNK/oDPoabnNP/EsX5+T8RFmDS1hi8xz9KmtoPijQK7te/ rLhhFaiqdPEsViQWhunfbRxhnCvJ0N6YK8v0VETYPvvfoQ/PIoHmdRQpOeNOcIK5G9IIqy On8F2T+rN7P3oCppd0Hu7ajpsCVXCb4GwuIz7ddN2vs4qIEJKAlKtcI2G3lpa3Pzo8nrne AGzBTDmpj3yxoOSTLjiOYgsUqRGgJ1lsmhH7yt3MgDKWDN5B+GBy8dx9Wu3Vqw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 3/3] authconfig: Drop package Date: Fri, 17 Feb 2023 16:55:09 +0100 Message-Id: <20230217155509.3172-3-stefan.schantl@ipfire.org> In-Reply-To: <20230217155509.3172-1-stefan.schantl@ipfire.org> References: <20230217155509.3172-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl --- authconfig/authconfig.nm | 93 ---------------------------------------- 1 file changed, 93 deletions(-) delete mode 100644 authconfig/authconfig.nm diff --git a/authconfig/authconfig.nm b/authconfig/authconfig.nm deleted file mode 100644 index 876b9a1bc..000000000 --- a/authconfig/authconfig.nm +++ /dev/null @@ -1,93 +0,0 @@ -############################################################################### -# IPFire.org - An Open Source Firewall Solution # -# Copyright (C) - IPFire Development Team # -############################################################################### - -name = authconfig -version = 6.2.10 -release = 1 - -groups = System/Base -url = https://fedorahosted.org/authconfig -license = GPLv2+ -summary = Command line tool for setting up authentication from network services. - -description - Authconfig is a command line utility which can configure a workstation - to use shadow (more secure) passwords. Authconfig can also configure a - system to be a client for certain networked user information and - authentication schemes. -end - -source_dl = https://fedorahosted.org/releases/a/u/authconfig/ -sources = %{thisapp}.tar.bz2 - -build - requires - intltool - python-devel - end - - # Manually link against libresolv. - export LDFLAGS += -lresolv - - configure_options += \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-static - - # Hack to allow installation of the desktop file - prepare_cmds - ln -s /bin/true /usr/bin/desktop-file-install - end - - install_cmds - # Remove useless symlinks in /usr/bin - rm -rf %{BUILDROOT}/usr/bin - - # Replace absolute symlinks by relative ones - cd %{BUILDROOT}/usr/sbin && ln -sf ../share/authconfig/authconfig.py authconfig - cd %{BUILDROOT}/usr/sbin && ln -sf ../share/authconfig/authconfig-tui.py authconfig-tui - - # Remove symlinks for gtk - rm -rf %{BUILDROOT}/usr/sbin/authconfig-gtk - rm -rf %{BUILDROOT}/usr/sbin/system-config-authentication - - # Remove files for authconfig-gtk and system-config-authentication - rm -rf %{BUILDROOT}/etc/pam.d/authconfig-gtk - rm -rf %{BUILDROOT}/etc/pam.d/system-config-authentication - rm -rf %{BUILDROOT}/etc/security/console.apps/authconfig-gtk - rm -rf %{BUILDROOT}/etc/security/console.apps/system-config-authentication - rm -rf %{BUILDROOT}/usr/share/authconfig/authconfig-gtk.* - rm -rf %{BUILDROOT}/usr/share/man/man8/authconfig-gtk.8 - rm -rf %{BUILDROOT}/usr/share/man/man8/system-config-authentication.8 - - # Remove app icons for authconfig - rm -rf %{BUILDROOT}/usr/share/icons - - # Remove unneded stuff for X11 - rm -rf %{BUILDROOT}/etc/X11 - end -end - -packages - package %{name} - requires - libpwquality - newt-python - end - - configfiles - %{sysconfdir}/sysconfig/authconfig - %{sysconfdir}/pam.d - end - end - - package %{name}-devel - template DEVEL - end - - package %{name}-debuginfo - template DEBUGINFO - end -end