summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-05-03 00:45:24 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-05-03 00:45:24 +0000
commitb4984a3c592c93cb4dd01465c736538f85f73b6d (patch)
treef17df2df8803dbdcd692452569fc3a10b55ab2ce /net-firewall/pglinux
parentEnable locale env var passing by default #367017 by Michael. (diff)
downloadgentoo-2-b4984a3c592c93cb4dd01465c736538f85f73b6d.tar.gz
gentoo-2-b4984a3c592c93cb4dd01465c736538f85f73b6d.tar.bz2
gentoo-2-b4984a3c592c93cb4dd01465c736538f85f73b6d.zip
initial commit wrt #93982
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'net-firewall/pglinux')
-rw-r--r--net-firewall/pglinux/ChangeLog10
-rw-r--r--net-firewall/pglinux/Manifest4
-rw-r--r--net-firewall/pglinux/metadata.xml23
-rw-r--r--net-firewall/pglinux/pglinux-2.1.3_p20120503.ebuild61
4 files changed, 98 insertions, 0 deletions
diff --git a/net-firewall/pglinux/ChangeLog b/net-firewall/pglinux/ChangeLog
new file mode 100644
index 000000000000..f21608454a0f
--- /dev/null
+++ b/net-firewall/pglinux/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-firewall/pglinux
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/pglinux/ChangeLog,v 1.1 2012/05/03 00:45:24 hasufell Exp $
+
+*pglinux-2.1.3_p20120503 (03 May 2012)
+
+ 03 May 2012; Julian Ospald <hasufell@gentoo.org>
+ +pglinux-2.1.3_p20120503.ebuild, +metadata.xml:
+ initial commit wrt #93982
+
diff --git a/net-firewall/pglinux/Manifest b/net-firewall/pglinux/Manifest
new file mode 100644
index 000000000000..ae29a60434df
--- /dev/null
+++ b/net-firewall/pglinux/Manifest
@@ -0,0 +1,4 @@
+DIST pglinux-2.1.3_p20120503.tar.xz 436224 RMD160 c0928bc5f5258d8d3479eb034db3535e201da149 SHA1 e8f6f485b5eaa00846043d0117a30e9b656df392 SHA256 e0e1577c2725e2898b794bced22f972fdd5e81cfafe1d366298e4c46a483bfc9
+EBUILD pglinux-2.1.3_p20120503.ebuild 1388 RMD160 208096381c76dede0264fbbdb250d64d44cec45f SHA1 0034bde97e4cc9b6aa090948f1933559eacb5dc5 SHA256 00e848478018cce0e2615c54155aecc8f0a3abf76ba8db3dc8af1efa158b9735
+MISC ChangeLog 291 RMD160 555407da1dcaf486433b017523accc90a47e8957 SHA1 a0894f3ab13d046e7d5580ce7f066d0c89617a5b SHA256 e08871a912190587b08494384392dcc8a909f81d5272c077d3f30e0e53ae93a1
+MISC metadata.xml 915 RMD160 4a07fe3d6570c2fc6c4e87b3c5eaf831c1793494 SHA1 d00dfaad1ad3a5909b62cb0ef8081dee418c3369 SHA256 0ef1b7936761cd46bb7ee814cf32008f027e70dde530864381406ab53622c038
diff --git a/net-firewall/pglinux/metadata.xml b/net-firewall/pglinux/metadata.xml
new file mode 100644
index 000000000000..a401247990f2
--- /dev/null
+++ b/net-firewall/pglinux/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+ <upstream>
+ <changelog>https://sourceforge.net/news/?group_id=131687</changelog>
+ <doc lang="en">https://sourceforge.net/projects/peerguardian/support</doc>
+ <bugs-to>https://sourceforge.net/tracker/?group_id=131687</bugs-to>
+ </upstream>
+ <use>
+ <flag name="cron">Install cron script</flag>
+ <flag name="logrotate">Install logrotate.d file</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.1.3_p20120503.ebuild b/net-firewall/pglinux/pglinux-2.1.3_p20120503.ebuild
new file mode 100644
index 000000000000..a850a3bf9716
--- /dev/null
+++ b/net-firewall/pglinux/pglinux-2.1.3_p20120503.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/pglinux/pglinux-2.1.3_p20120503.ebuild,v 1.1 2012/05/03 00:45:24 hasufell Exp $
+
+EAPI=4
+
+inherit linux-info
+
+DESCRIPTION="Privacy oriented firewall application"
+HOMEPAGE="https://sourceforge.net/projects/peerguardian/"
+SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
+
+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
+ x11-libs/qt-core:4
+ x11-libs/qt-dbus:4
+ x11-libs/qt-gui:4 )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig
+ sys-devel/libtool:2"
+RDEPEND="${COMMON_DEPEND}
+ net-firewall/iptables
+ 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"
+
+src_configure() {
+ econf \
+ $(use_enable cron) \
+ $(use_enable dbus) \
+ $(use_enable logrotate) \
+ $(use_enable networkmanager) \
+ $(use_enable zlib) \
+ $(use_with qt4)
+}