commit: 247141862ac84cec70375e3e930bb10a92f806b5 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Jun 22 10:07:18 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Jun 22 10:09:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24714186
net-firewall/pglinux: treeclean Closes: https://bugs.gentoo.org/926074 (pkgremoved) Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> net-firewall/pglinux/Manifest | 1 - .../files/pglinux-2.3.1_p20171006-fno-common.patch | 21 ---- net-firewall/pglinux/metadata.xml | 20 ---- .../pglinux/pglinux-2.3.1_p20171006-r2.ebuild | 118 --------------------- profiles/package.mask | 6 -- 5 files changed, 166 deletions(-) diff --git a/net-firewall/pglinux/Manifest b/net-firewall/pglinux/Manifest deleted file mode 100644 index 5f9ce458f222..000000000000 --- a/net-firewall/pglinux/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pglinux-2.3.1_p20171006.zip 340253 BLAKE2B a39ecad1290dd31b126ed58c22f2de1162a4081e07f576509b5d77adffeb4a74b5aeb489f8f63134b0fc37d174e61b6631bdb350c3277729456092ba0ae3c600 SHA512 ea30076d7a21fa71d5e352c479cb1a463c9f244d675f5c7f9d5d25a33b27f4c7f1a39d173f2fd156e3f2cb0652da0a06c078fc38972275073f38d48f207e42f3 diff --git a/net-firewall/pglinux/files/pglinux-2.3.1_p20171006-fno-common.patch b/net-firewall/pglinux/files/pglinux-2.3.1_p20171006-fno-common.patch deleted file mode 100644 index d6c80405e86d..000000000000 --- a/net-firewall/pglinux/files/pglinux-2.3.1_p20171006-fno-common.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/pgld/src/blocklist.h -+++ b/pgld/src/blocklist.h -@@ -74,6 +74,6 @@ - void blocklist_stats(int clearhits); - block_entry_t * blocklist_find(uint32_t ip); - void blocklist_dump(); --blocklist_t blocklist; -+extern blocklist_t blocklist; - - #endif /* INC_BLOCKLIST_H */ ---- a/pgld/src/blocklist.c -+++ b/pgld/src/blocklist.c -@@ -22,6 +22,8 @@ - #include "blocklist.h" - #include "pgld.h" - -+blocklist_t blocklist; -+ - void blocklist_init() { - blocklist.entries = NULL; - blocklist.count = 0; diff --git a/net-firewall/pglinux/metadata.xml b/net-firewall/pglinux/metadata.xml deleted file mode 100644 index 4dada7933959..000000000000 --- a/net-firewall/pglinux/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <changelog>https://sourceforge.net/p/peerguardian/news/</changelog> - <doc lang="en">https://sourceforge.net/projects/peerguardian/support</doc> - <bugs-to>https://sourceforge.net/p/peerguardian/bugs/</bugs-to> - <remote-id type="sourceforge">peerguardian</remote-id> - </upstream> - <use> - <flag name="cron">Install cron script</flag> - </use> - <longdescription lang="en"> - PeerGuardian Linux (pgl) is a privacy oriented firewall application. It blocks - connections to and from hosts specified in huge blocklists (thousands or - millions of IP ranges). pgl is based on the Linux kernel netfilter framework - and iptables. - </longdescription> -</pkgmetadata> diff --git a/net-firewall/pglinux/pglinux-2.3.1_p20171006-r2.ebuild b/net-firewall/pglinux/pglinux-2.3.1_p20171006-r2.ebuild deleted file mode 100644 index 4d46a3319fb3..000000000000 --- a/net-firewall/pglinux/pglinux-2.3.1_p20171006-r2.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -COMMIT=9d91ab6a8e6bc2b41e985aa698eb5c1eb364fea8 -MY_PN="peerguardian" -MY_P="${MY_PN}-${PV}" -inherit autotools qmake-utils linux-info systemd xdg-utils - -DESCRIPTION="Privacy oriented firewall application" -HOMEPAGE="https://sourceforge.net/projects/peerguardian/" -SRC_URI="https://sourceforge.net/code-snapshots/git/p/pe/peerguardian/code.git/peerguardian-code-${COMMIT}.zip -> ${P}.zip" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cron dbus networkmanager qt5 zlib" -REQUIRED_USE="qt5? ( dbus )" - -DEPEND=" - net-libs/libnetfilter_queue - net-libs/libnfnetlink - dbus? ( sys-apps/dbus ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - ) - zlib? ( sys-libs/zlib ) -" -RDEPEND="${DEPEND} - net-firewall/iptables - sys-apps/sysvinit - cron? ( virtual/cron ) - networkmanager? ( net-misc/networkmanager:= ) - qt5? ( || ( - kde-plasma/kdesu-gui - x11-misc/ktsuss - ) ) -" -BDEPEND=" - app-arch/unzip - dev-build/libtool:2 - virtual/pkgconfig -" - -CONFIG_CHECK="~NETFILTER_NETLINK - ~NETFILTER_NETLINK_QUEUE - ~NETFILTER_XTABLES - ~NETFILTER_XT_TARGET_NFQUEUE - ~NETFILTER_XT_MATCH_IPRANGE - ~NETFILTER_XT_MARK - ~NETFILTER_XT_MATCH_MULTIPORT - ~NETFILTER_XT_MATCH_STATE - ~NF_CONNTRACK - ~NF_CONNTRACK_IPV4 - ~NF_DEFRAG_IPV4 - ~IP_NF_FILTER - ~IP_NF_IPTABLES - ~IP_NF_TARGET_REJECT" - -PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) - -S="${WORKDIR}/${MY_PN}-code-${COMMIT}" - -src_prepare() { - default - sed -e 's:/sbin/runscript:/sbin/openrc-run:' \ - -i pglcmd/init/pgl.gentoo.in || die "Failed to convert to openrc-run" - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --disable-lowmem - --with-iconsdir=/usr/share/icons/hicolor/128x128/apps - --with-gentoo-init - --localstatedir=/var - --enable-logrotate - $(use_enable cron) - $(use_enable dbus) - $(use_enable networkmanager) - $(use_with qt5) - LRELEASE=$(qt5_get_bindir)/lrelease - LUPDATE=$(qt5_get_bindir)/lupdate - MOC=$(qt5_get_bindir)/moc - QMAKE=$(qt5_get_bindir)/qmake - RCC=$(qt5_get_bindir)/rcc - UIC=$(qt5_get_bindir)/uic - $(use_enable zlib) - --with-systemd="$(systemd_get_systemunitdir)" - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - keepdir /var/{lib,log,spool}/pgl - rm -rf "${ED}"/tmp || die - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - elog "Optional dependencies:" - elog " app-arch/p7zip (needed for blocklists packed as .7z)" - elog " app-arch/unzip (needed for blocklists packed as .zip)" - elog " virtual/mta (needed to send informational (blocklist updates) and" - elog " warning mails (if pglcmd.wd detects a problem.))" - - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/profiles/package.mask b/profiles/package.mask index 2b61aaa44b35..5337d3570b30 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -214,12 +214,6 @@ games-fps/prboom-plus # Severe memory leak (bug #953874) =app-i18n/ibus-anthy-1.5.17 -# Andreas Sturmlechner <[email protected]> (2025-05-22) -# Even if Qt5 is optional here, it is dead upstream for close to 10 years -# and without Gentoo package maintainer almost as long. Bug #926074. -# Removal on 2025-06-21. -net-firewall/pglinux - # Matt Turner <[email protected]> (2025-05-22) # Old slot depending on libsoup:2.4. All reverse dependencies migrated to a # newer slot supporting libsoup:3.0.
