diff options
Diffstat (limited to 'net-firewall/pglinux/pglinux-2.2.4.ebuild')
-rw-r--r-- | net-firewall/pglinux/pglinux-2.2.4.ebuild | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/net-firewall/pglinux/pglinux-2.2.4.ebuild b/net-firewall/pglinux/pglinux-2.2.4.ebuild deleted file mode 100644 index daf6e73bda03..000000000000 --- a/net-firewall/pglinux/pglinux-2.2.4.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils gnome2-utils linux-info systemd - -MY_P="pgl-${PV}" - -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" - -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-apps/kdesu x11-libs/gksu 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 )" - -REQUIRED_USE="qt4? ( dbus )" - -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_configure() { - econf \ - --localstatedir=/var \ - --docdir=/usr/share/doc/${PF} \ - $(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_unitdir)" -} - -src_install() { - default - keepdir /var/{lib,log,spool}/pgl - rm -rf "${ED%/}"/tmp -} - -pkg_preinst() { - gnome2_icon_savelist -} - -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 -} |