net-firewall/pglinux: Drop old Qt4-based

Closes: https://bugs.gentoo.org/645432
Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
Andreas Sturmlechner
2018-04-13 21:46:24 +02:00
parent 0bf9215079
commit 1330c6e86c
2 changed files with 0 additions and 100 deletions

View File

@@ -1,2 +1 @@
DIST pgl-2.3.1.tar.gz 605656 BLAKE2B 1fbce4b3c7d116915b303093ef18f434c8bb9dd23e1065d42dc573face9274c68321477529b536868eca9c03f23f3aad67f371960d7e547ae8c07fdee09f6d10 SHA512 f23d44ad6448814ba0a2c90292ff4a933d31fed942886d63c50bb62fb56e1af70df72e09070ad3cd27c878f322576326040c330fbdbda63128ad304375b02a1e
DIST pglinux-2.3.1_p20171006.zip 340253 BLAKE2B a39ecad1290dd31b126ed58c22f2de1162a4081e07f576509b5d77adffeb4a74b5aeb489f8f63134b0fc37d174e61b6631bdb350c3277729456092ba0ae3c600 SHA512 ea30076d7a21fa71d5e352c479cb1a463c9f244d675f5c7f9d5d25a33b27f4c7f1a39d173f2fd156e3f2cb0652da0a06c078fc38972275073f38d48f207e42f3

View File

@@ -1,99 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_P="pgl-${PV}"
inherit eutils gnome2-utils linux-info systemd
DESCRIPTION="Privacy oriented firewall application"
HOMEPAGE="https://sourceforge.net/projects/peerguardian/"
SRC_URI="mirror://sourceforge/peerguardian/${MY_P}.tar.gz"
LICENSE="GPL-3"
KEYWORDS="amd64 x86"
SLOT="0"
IUSE="cron dbus logrotate networkmanager qt4 zlib"
REQUIRED_USE="qt4? ( dbus )"
COMMON_DEPEND="
net-libs/libnetfilter_queue
net-libs/libnfnetlink
dbus? ( sys-apps/dbus )
zlib? ( sys-libs/zlib )
qt4? ( sys-auth/polkit-qt[qt4]
dev-qt/qtcore:4
dev-qt/qtdbus:4
dev-qt/qtgui:4
|| ( kde-plasma/kde-cli-tools[kdesu] x11-misc/ktsuss )
)
"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
sys-devel/libtool:2
"
RDEPEND="${COMMON_DEPEND}
net-firewall/iptables
sys-apps/sysvinit
cron? ( virtual/cron )
logrotate? ( app-admin/logrotate )
networkmanager? ( net-misc/networkmanager:= )
"
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"
S="${WORKDIR}/${MY_P}"
src_prepare() {
default
sed -i -e 's:/sbin/runscript:/sbin/openrc-run:' pglcmd/init/pgl.gentoo.in || die
}
src_configure() {
econf \
--localstatedir=/var \
$(use_enable logrotate) \
$(use_enable cron) \
$(use_enable networkmanager) \
$(use_enable zlib) \
$(use_enable dbus) \
--disable-lowmem \
--with-iconsdir=/usr/share/icons/hicolor/128x128/apps \
--with-gentoo-init \
$(use_with qt4) \
--with-systemd="$(systemd_get_systemunitdir)"
}
src_install() {
default
keepdir /var/{lib,log,spool}/pgl
rm -rf "${ED%/}"/tmp || die
prune_libtool_files --modules
}
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.))"
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}