summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2011-11-26 17:11:01 +0000
committerMike Gilbert <floppym@gentoo.org>2011-11-26 17:11:01 +0000
commit5096cc0d7e71c22562b822ad017753acb3afbc65 (patch)
treebc5c4fca3d2d4f6bc2cff907cd36f1537177f445 /net-firewall/dshieldpy/dshieldpy-3.2-r1.ebuild
parentversion bump (diff)
downloadhistorical-5096cc0d7e71c22562b822ad017753acb3afbc65.tar.gz
historical-5096cc0d7e71c22562b822ad017753acb3afbc65.tar.bz2
historical-5096cc0d7e71c22562b822ad017753acb3afbc65.zip
Python-related improvements by Ian Delaney. Bug 315095.
Package-Manager: portage-2.2.0_alpha78/cvs/Linux x86_64
Diffstat (limited to 'net-firewall/dshieldpy/dshieldpy-3.2-r1.ebuild')
-rw-r--r--net-firewall/dshieldpy/dshieldpy-3.2-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/net-firewall/dshieldpy/dshieldpy-3.2-r1.ebuild b/net-firewall/dshieldpy/dshieldpy-3.2-r1.ebuild
new file mode 100644
index 000000000000..ab1f99cbe22a
--- /dev/null
+++ b/net-firewall/dshieldpy/dshieldpy-3.2-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/dshieldpy/dshieldpy-3.2-r1.ebuild,v 1.1 2011/11/26 17:11:01 floppym Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2"
+inherit python
+
+DESCRIPTION="Python script to submit firewall logs to dshield.org"
+HOMEPAGE="http://dshieldpy.sourceforge.net/"
+SRC_URI="mirror://sourceforge/dshieldpy/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+DEPEND=""
+RDEPEND=""
+S=${WORKDIR}/DShield.py
+
+src_install() {
+ dodoc CHANGELOG README*
+ dobin dshield.py
+
+ insinto /etc
+ doins dshieldpy.conf
+ python_convert_shebangs 2 "${ED}"usr/bin/dshield.py
+}