From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Zx8Tm0BGRz33fH for ; Mon, 12 May 2025 19:16:12 +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 (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Zx8Th3xf8z2xXH for ; Mon, 12 May 2025 19:16:08 +0000 (UTC) Received: from resqmta-h2p-567062.sys.comcast.net (resqmta-h2p-567062.sys.comcast.net [IPv6:2001:558:fd02:2446::a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4Zx8TX5Mfnz2Nw for ; Mon, 12 May 2025 19:16:00 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=comcastmailservice.net header.s=20211018a header.b=nd5PzqZc; spf=none (mail01.ipfire.org: domain of stephen@firemypi.org has no SPF policy when checking 2001:558:fd02:2446::a) smtp.mailfrom=stephen@firemypi.org; dmarc=none ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1747077363; a=rsa-sha256; cv=none; b=EO8FoFnKa++7pE7F1889HpqB5momobwF72OVuHb+URiwF4chaIVZBgaAIIyquoW6TKAd7y S1x+vBSYz08V7Y9ypi9e/HkOO0si+Sl98pxYlC8idZKJmDJdBYfL2IJfmiPN3OII2qmH4E CbjZY/Uq4T99jU561fzPZohRGIwQetzUt9QPiEkX4ygILP1JhytpZDO5bIsyIiJaYwUKJs mXCLyYEtLOikP/21vPnGHuHSlG56M+jnpvuHo4DlU0w0dS+yfpgUQenqr+4xHJgpjRfQbD DIac0gMTBDH5iQsW/+rp+p9cOvAsjzspVdw0h2w2M5/fSR58uf3KHGva5SYu3A== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=comcastmailservice.net header.s=20211018a header.b=nd5PzqZc; spf=none (mail01.ipfire.org: domain of stephen@firemypi.org has no SPF policy when checking 2001:558:fd02:2446::a) smtp.mailfrom=stephen@firemypi.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1747077363; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=o1laOI/EI01YEkhbYAbC0PB7sz1ehqoQaUtxkm6w18M=; b=xJYb3WoGdhpbYSEhr+5zDZOafhO6y+hpPjV7yGmRx9jjhpQjByYHqxOuDjaCFcVdca/DLr QAFtoiP5yZ7W9OtlTkHsCImviwCb6iSobrf9lfndX7r4hXAhHxhrlkDSSCZYLbVIFhY9qm J3CKMHPzXCAljdczInnFde9QsBAff91wi4CM+GNTTQHjl6ple2hXFC5fCeOBCrRsKLq5UN fwoPDPjayRkrkwirBDG+U+KtrCSdZ8kRiQuNZKfDn6WMgKOkeditbJgUo0iDxctxSm0qfp mIsCtZQZJ7SyR2S/7g29PVmi6bW11U4jqxE9Qko3z0fHW+w1dBJYFSARDqp9Fw== Received: from resomta-h2p-554996.sys.comcast.net ([96.102.179.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-h2p-567062.sys.comcast.net with ESMTPS id EUDZuab8MtckPEYcvu6qmi; Mon, 12 May 2025 19:15:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20211018a; t=1747077351; bh=o1laOI/EI01YEkhbYAbC0PB7sz1ehqoQaUtxkm6w18M=; h=Received:Received:Message-ID:Date:MIME-Version:To:From:Subject: Content-Type:Xfinity-Spam-Result; b=nd5PzqZcjFrAsQ8xe1l3RjL+arPgLH0l8yffWom3oXNdO47SyVuUoSWPLCq+5g2Ue vAAlPbAZL9dzoUQOjd9eluLkredZD+FQlSoC+cnKZmnQD0hsZ9hz2vOfaMhxiDCG1L Al7T7m4vq5fjvjt0zVnDda/rFckTwP9/fLJeedlAGUf18zaDJfcyqbYgHgp/DGc5ib dkLhA4z1D7mITh6SEpMC/fjyKF1DWjvoKVQ6slQub2ozwLFST9mS1OMAUOBq0rDryB IL7tfAvqyeHWk1pSbpbiRKredxHqKwXkZiJEfJIdPHwBQhyWnM6LrC1kFZnlT0XAoo it23UhBSicENQ== Received: from [192.168.3.30] ([75.70.122.243]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-h2p-554996.sys.comcast.net with ESMTPSA id EYcruuvdFOEnWEYcsu8t6U; Mon, 12 May 2025 19:15:48 +0000 Message-ID: <598570bc-905b-4937-9d71-75b1fb55a006@firemypi.org> Date: Mon, 12 May 2025 13:15:27 -0600 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: development@lists.ipfire.org From: stephen@firemypi.org Subject: Suppress display of dependencies on pakfire.cgi main page Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfIUr/ZqSzyKuqMURVQliK+5TGz+Gl8bE4BLzfDo2ImRryJlj1839XpBPiY1kcpRPb6t6PVh8skE5WTUH/kXNur6Ca4JCe2LINITNmxVIKz2O+o0ldkzM jIg/zl4pa+eiQRqdWmYAieNJPrBBwptkNpbGvwY60NyCBTVC3QD2lQnQNC/uD424Kd3fBg7V14Q262NuAU9QeUu6LLMXPI9iZ7I= X-Spamd-Result: default: False [1.77 / 11.00]; HFILTER_HELO_5(3.00)[resqmta-h2p-567062.sys.comcast.net]; NEURAL_HAM(-1.00)[-1.000]; IP_REPUTATION_HAM(-0.22)[asn: 7922(-0.21), country: US(-0.01), ip: 2001:558:fd02:2446::(0.00)]; BAD_REP_POLICIES(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; BAYES_SPAM(0.00)[34.57%]; R_DKIM_ALLOW(0.00)[comcastmailservice.net:s=20211018a]; DMARC_NA(0.00)[firemypi.org]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[comcastmailservice.net:+]; RCVD_IN_DNSWL_NONE(0.00)[96.102.179.208:received]; TO_DN_NONE(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[75.70.122.243:received]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_REPUTATION(0.00)[0]; FROM_NO_DN(0.00)[]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US]; R_SPF_NA(0.00)[no SPF record] X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Action: no action X-Rspamd-Queue-Id: 4Zx8TX5Mfnz2Nw Hello, One of the changes that I want to make to pakfire.cgi is to remove the dependencies from the 'install' and 'remove' , I can suppress the libs, perls and python3's pretty easily which removes 69 rows, but, aside from downloading all of the metafiles, there isn't enough information on the system to suppress all of the dependencies. Would it be possible to add the list of dependencies for a package to packages_list.db so that we would have:     package name;package version;addon version;list of dependencies; This change shouldn't affect pakfire since pakfire uses @templine = split(/\;/,$line); and this would just create a $templine[3] which pakfire wouldn't use. I couldn't find where packages_list.db is being created in ipfire-2.x so I'm guessing it's somewhere in the mirror system. If that information were available, all dependencies could be removed from the 'install' , the dependencies for installed packages are available in /opt/pakfire/db/installed so this is doable. However, there are some cases of a top level package having another top level package as a dependency that would affect both 'install' and 'remove'.   Here are the ones that I found: freeradius:DEPS       = libtalloc samba libvirt:DEPS       = ebtables libpciaccess ovmf qemu mpc:DEPS       = mpd libmpdclient mympd:DEPS       = mpd libmpdclient rsnapshot:DEPS       = rsync vdradmin:DEPS       = perl-gettext vdr vdr_epgsearch In these cases, it's easy enough to keep those packages on the lists, but some of these raised question to me as to whether they are *really* dependencies.  I don't use any of these packages but did some research and here are my thoughts. freeradius:DEPS       = libtalloc samba Can samba be removed as a dependency of freeradius?  While samba is commonly used with freeradius as a connector to active directory, freeradius by itself is a standalone product. libvirt:DEPS       = ebtables libpciaccess ovmf qemu Can qemu be removed as a dependency of libvirt?  libvirt provides an interface to qemu and other virtualization systems, but doesn't specifically depend on any of them. mpc:DEPS       = mpd libmpdclient mympd:DEPS       = mpd libmpdclient Can mpd be removed as a dependency of mpc and mympd?  mpc and mympd are both frontends to mpd.   You could install one or the other or maybe both and although it wouldn't make sense to install them if you didn't have mpd.  I looked on another distro and didn't find mympd, but did find for mpc that mpd is under "Suggests:" not "Depends:" so my though would be to remove the mpd dependency for these and leave it up to the user to install mpd and then pick the frontend rather than picking the frontend and having that install mpd. rsnapshot:DEPS       = rsync On the other distro that I looked at rsync does show under "Depends:" for rsnapshot so this would need to be handled as a one off. vdradmin:DEPS       = perl-gettext vdr vdr_epgsearch vdradmin is a frontend for vdr.  "VDR-Admin is a daemon that communicates with VDR and shows informations in a Internet browser which opens the adress of the VDR computer with port 8001." Similarly to mpc and mympd, can we remove this as a dependency for vdr and let the sysadmin install it separately if desired? So to summarize: Remove samba as a dependency of freeradius. Remove qemu as a dependency of libvirt but keep libvirt in the list as a top level package even though the name does start with 'lib'. Remove mpd as a dependency of mpc and mympd. Code an exception to always display rsync as a top level package. Remove vdr as a dependency of vdradmin. It probably would be a good idea if the actual package maintainers for these add-ons weigh in on this.  :) Regards, Stephen