summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/iplist')
-rw-r--r--net-misc/iplist/.svn/entries201
-rw-r--r--net-misc/iplist/.svn/text-base/ChangeLog.svn-base31
-rw-r--r--net-misc/iplist/.svn/text-base/Manifest.svn-base7
-rw-r--r--net-misc/iplist/.svn/text-base/iplist-0.25-r1.ebuild.svn-base46
-rw-r--r--net-misc/iplist/.svn/text-base/iplist-9999.ebuild.svn-base40
-rw-r--r--net-misc/iplist/.svn/text-base/metadata.xml.svn-base6
-rw-r--r--net-misc/iplist/ChangeLog31
-rw-r--r--net-misc/iplist/Manifest10
-rw-r--r--net-misc/iplist/files/.svn/entries96
-rw-r--r--net-misc/iplist/files/.svn/text-base/iplist-0.25-init.patch.svn-base19
-rw-r--r--net-misc/iplist/files/.svn/text-base/iplist-makefile.patch.svn-base31
-rw-r--r--net-misc/iplist/files/iplist-0.25-init.patch19
-rw-r--r--net-misc/iplist/files/iplist-0.28-Makefile.diff35
-rw-r--r--net-misc/iplist/files/iplist-makefile.patch31
-rw-r--r--net-misc/iplist/iplist-0.25-r1.ebuild46
-rw-r--r--net-misc/iplist/iplist-0.28.ebuild50
-rw-r--r--net-misc/iplist/iplist-9999.ebuild40
-rw-r--r--net-misc/iplist/metadata.xml6
18 files changed, 745 insertions, 0 deletions
diff --git a/net-misc/iplist/.svn/entries b/net-misc/iplist/.svn/entries
new file mode 100644
index 0000000..2d85b78
--- /dev/null
+++ b/net-misc/iplist/.svn/entries
@@ -0,0 +1,201 @@
+10
+
+dir
+10853
+svn://overlays.gentoo.org/proj/sunrise/reviewed/net-misc/iplist
+svn://overlays.gentoo.org/proj/sunrise
+
+
+
+2010-04-19T07:25:49.886006Z
+10471
+jlec
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+12608f7e-a915-0410-b2f3-ce240db1b126
+
+metadata.xml
+file
+
+
+
+
+2010-06-17T13:09:11.000000Z
+0a0f36e2ffacdb9fc83d7df5cbb2bae5
+2010-04-19T07:25:49.886006Z
+10471
+jlec
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+229
+
+files
+dir
+
+Manifest
+file
+
+
+
+
+2010-06-17T13:09:11.000000Z
+306fafdc7c812dbe8322e9046a28ff83
+2010-04-19T07:25:49.886006Z
+10471
+jlec
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1362
+
+ChangeLog
+file
+
+
+
+
+2010-06-17T13:09:11.000000Z
+4ead510988fd3d1bf8bbc35b1a8951f9
+2009-04-07T17:12:53.320963Z
+8211
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1231
+
+iplist-9999.ebuild
+file
+
+
+
+
+2010-06-17T13:09:11.000000Z
+8929015389ce865f5b5cf8663837d39f
+2010-02-11T00:09:31.262559Z
+10117
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1072
+
+iplist-0.25-r1.ebuild
+file
+
+
+
+
+2010-06-17T13:09:11.000000Z
+441d2bf5c13a7cc6943e3c7ce4c122cb
+2010-02-11T00:09:31.262559Z
+10117
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1119
+
diff --git a/net-misc/iplist/.svn/text-base/ChangeLog.svn-base b/net-misc/iplist/.svn/text-base/ChangeLog.svn-base
new file mode 100644
index 0000000..7a32b62
--- /dev/null
+++ b/net-misc/iplist/.svn/text-base/ChangeLog.svn-base
@@ -0,0 +1,31 @@
+# ChangeLog for net-misc/iplist
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 31 Mar 2009; Mauricio Moraes (tkmorris) <morris@brgentoo.org>
+ iplist-9999.ebuild:
+ Fixed patch dir for iplist-9999
+
+ 21 Mar 2009; Mauricio Moraes (tkmorris) <morris@brgentoo.org>
+ iplist-0.25-r1.ebuild, iplist-9999.ebuild:
+ dropped eutils inherit and dodir, thanks to idl0r for review :)
+
+ 21 Mar 2009; Mauricio Moraes (tkmorris) <morris@brgentoo.org>
+ -iplist-0.25.ebuild, +iplist-0.25-r1.ebuild,
+ +files/iplist-0.25-init.patch, iplist-9999.ebuild,
+ -files/iplist-9999-makefile.patch, +files/iplist-makefile.patch:
+ pre-stripping corrected, java dependency added, iplist-9999 repo moved to
+ git, iplist-0.25-r1 minor fixes in gentoo init script. thanks to idl0r for
+ review
+
+ 21 Mar 2009; Christian Ruppert <idl0r@gentoo.org> iplist-0.25.ebuild:
+ whitespace
+
+ 21 Mar 2009; Mauricio Moraes (tkmorris) <morris@brgentoo.org>
+ +iplist-0.25.ebuild:
+ Version bump for iplist, thanks to Ken69267
+
+ 25 Jan 2009; MaurĂ­cio Moraes (morris) <morris@brgentoo.org>
+ +iplist-9999.ebuild, +files/iplist-9999-makefile.patch, +metadata.xml:
+ New Ebuild for bug 256001, thanks to Christian, Jeremy and Tommy
+
diff --git a/net-misc/iplist/.svn/text-base/Manifest.svn-base b/net-misc/iplist/.svn/text-base/Manifest.svn-base
new file mode 100644
index 0000000..51282f1
--- /dev/null
+++ b/net-misc/iplist/.svn/text-base/Manifest.svn-base
@@ -0,0 +1,7 @@
+AUX iplist-0.25-init.patch 350 RMD160 84afbfda8aa2ddbd6794920e4414357d7b634de6 SHA1 f383c8f7d09ac6678e445aa39c8f867ed41a38eb SHA256 3f188402932dbcf842f495fa390671b486527cdf39c9ea4176623ba2b14a2758
+AUX iplist-makefile.patch 1063 RMD160 2a8887f10efb277b7a5b958c99b6ea42109fcaff SHA1 c15f4523bb0a4ac5f8800dffb294a7da8a614855 SHA256 c8b993fbf0407ed84474bd56e03542f22a7b2d8f37ecc37eae50e765d9f22ed5
+DIST iplist-0.25.tar.gz 399945 RMD160 974e52f16450fb81abe1bb39fb378f1b919ea993 SHA1 24db7e00a447ab90057bd6aba71a7a1b65166bd0 SHA256 a791df17104c821dc434c79d4d2abe36a4e60bb58f6781a16ab4118855c88cfc
+EBUILD iplist-0.25-r1.ebuild 1119 RMD160 bc30d8be94bf2ae87be4b741cb3bdfb999bfaba2 SHA1 6caaa14eef7c66e0b7328c7929a0b3a9559b8b42 SHA256 dd6f8d0902383b868a11b55659bf2806de06ebe173f81787add261057eb4bb1a
+EBUILD iplist-9999.ebuild 1072 RMD160 441f9377c96f572158b71b90f305b44c4e3de3e6 SHA1 c652a441637e74ef0aec17f97754a2ad8a458d44 SHA256 22a5e87b95856466b24bd304816b8657a47632383eda702307c37e8183f73557
+MISC ChangeLog 1231 RMD160 813cfc5c7b62ea716e7cb9e946325f8a9c125e7e SHA1 7371f0652ed1f7be651634c82898f7de68a15509 SHA256 1b307bee91f12789076575c7771b13e569feb9f2eb2ab50f9d47f8cd02a36b85
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/net-misc/iplist/.svn/text-base/iplist-0.25-r1.ebuild.svn-base b/net-misc/iplist/.svn/text-base/iplist-0.25-r1.ebuild.svn-base
new file mode 100644
index 0000000..dbdd81c
--- /dev/null
+++ b/net-misc/iplist/.svn/text-base/iplist-0.25-r1.ebuild.svn-base
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils linux-info
+
+DESCRIPTION="Blocks connections from/to hosts listed in files using iptables."
+HOMEPAGE="http://iplist.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="java"
+
+DEPEND="net-firewall/iptables
+ net-libs/libnetfilter_queue
+ net-libs/libnfnetlink
+ sys-libs/zlib"
+RDEPEND="java? ( >=virtual/jre-1.5 )
+ ${DEPEND}"
+CONFIG_CHECK="NETFILTER_XT_MATCH_IPRANGE"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-makefile.patch
+ epatch "${FILESDIR}"/${P}-init.patch
+}
+
+src_install() {
+ if use java ; then
+ insinto "/usr/share/${PN}"
+ doins ipblockUI.jar || die "gui install failed"
+ fi
+ emake DESTDIR="${D}" install || die "install failed!"
+ doman {${PN},ipblock}.8 || die "doman failed!"
+ exeinto /etc/cron.daily
+ newexe debian/ipblock.cron.daily ipblock || die "cron failed"
+}
+
+pkg_postinst() {
+ einfo "a cron file was set in /etc/cron.daily"
+ einfo "and it will update your lists once a day"
+}
diff --git a/net-misc/iplist/.svn/text-base/iplist-9999.ebuild.svn-base b/net-misc/iplist/.svn/text-base/iplist-9999.ebuild.svn-base
new file mode 100644
index 0000000..dc1f4ba
--- /dev/null
+++ b/net-misc/iplist/.svn/text-base/iplist-9999.ebuild.svn-base
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit git linux-info
+
+EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}"
+EGIT_PROJECT="${PN}"
+EGIT_PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
+
+DESCRIPTION="Blocks connections from/to hosts listed in files using iptables."
+HOMEPAGE="http://iplist.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="java"
+DEPEND="net-firewall/iptables
+ net-libs/libnetfilter_queue
+ net-libs/libnfnetlink
+ sys-libs/zlib"
+RDEPEND="java? ( >=virtual/jre-1.5 )
+ ${DEPEND}"
+CONFIG_CHECK="NETFILTER_XT_MATCH_IPRANGE"
+
+src_install() {
+ if use java ; then
+ insinto "/usr/share/${PN}"
+ doins ipblockUI.jar || die "gui install failed"
+ fi
+ emake DESTDIR="${D}" install || die "install failed!"
+ doman {${PN},ipblock}.8 || die "doman failed!"
+ exeinto /etc/cron.daily
+ newexe debian/ipblock.cron.daily ipblock || die "cron failed"
+}
+
+pkg_postinst() {
+ einfo "a cron file was set in /etc/cron.daily"
+ einfo "and it will update your lists once a day"
+}
diff --git a/net-misc/iplist/.svn/text-base/metadata.xml.svn-base b/net-misc/iplist/.svn/text-base/metadata.xml.svn-base
new file mode 100644
index 0000000..e6233b5
--- /dev/null
+++ b/net-misc/iplist/.svn/text-base/metadata.xml.svn-base
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/net-misc/iplist/ChangeLog b/net-misc/iplist/ChangeLog
new file mode 100644
index 0000000..7a32b62
--- /dev/null
+++ b/net-misc/iplist/ChangeLog
@@ -0,0 +1,31 @@
+# ChangeLog for net-misc/iplist
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 31 Mar 2009; Mauricio Moraes (tkmorris) <morris@brgentoo.org>
+ iplist-9999.ebuild:
+ Fixed patch dir for iplist-9999
+
+ 21 Mar 2009; Mauricio Moraes (tkmorris) <morris@brgentoo.org>
+ iplist-0.25-r1.ebuild, iplist-9999.ebuild:
+ dropped eutils inherit and dodir, thanks to idl0r for review :)
+
+ 21 Mar 2009; Mauricio Moraes (tkmorris) <morris@brgentoo.org>
+ -iplist-0.25.ebuild, +iplist-0.25-r1.ebuild,
+ +files/iplist-0.25-init.patch, iplist-9999.ebuild,
+ -files/iplist-9999-makefile.patch, +files/iplist-makefile.patch:
+ pre-stripping corrected, java dependency added, iplist-9999 repo moved to
+ git, iplist-0.25-r1 minor fixes in gentoo init script. thanks to idl0r for
+ review
+
+ 21 Mar 2009; Christian Ruppert <idl0r@gentoo.org> iplist-0.25.ebuild:
+ whitespace
+
+ 21 Mar 2009; Mauricio Moraes (tkmorris) <morris@brgentoo.org>
+ +iplist-0.25.ebuild:
+ Version bump for iplist, thanks to Ken69267
+
+ 25 Jan 2009; MaurĂ­cio Moraes (morris) <morris@brgentoo.org>
+ +iplist-9999.ebuild, +files/iplist-9999-makefile.patch, +metadata.xml:
+ New Ebuild for bug 256001, thanks to Christian, Jeremy and Tommy
+
diff --git a/net-misc/iplist/Manifest b/net-misc/iplist/Manifest
new file mode 100644
index 0000000..657bbeb
--- /dev/null
+++ b/net-misc/iplist/Manifest
@@ -0,0 +1,10 @@
+AUX iplist-0.25-init.patch 350 RMD160 84afbfda8aa2ddbd6794920e4414357d7b634de6 SHA1 f383c8f7d09ac6678e445aa39c8f867ed41a38eb SHA256 3f188402932dbcf842f495fa390671b486527cdf39c9ea4176623ba2b14a2758
+AUX iplist-0.28-Makefile.diff 972 RMD160 8e77c43dc822ca90979f946a9331251994c57da4 SHA1 d5cbb838726b49c186b9db47058a8855836bf09b SHA256 aad8e564c6c4f4fd7b15ca75f27f863a145b28705afb2ad632384046fd83f37f
+AUX iplist-makefile.patch 1063 RMD160 2a8887f10efb277b7a5b958c99b6ea42109fcaff SHA1 c15f4523bb0a4ac5f8800dffb294a7da8a614855 SHA256 c8b993fbf0407ed84474bd56e03542f22a7b2d8f37ecc37eae50e765d9f22ed5
+DIST iplist-0.25.tar.gz 399945 RMD160 974e52f16450fb81abe1bb39fb378f1b919ea993 SHA1 24db7e00a447ab90057bd6aba71a7a1b65166bd0 SHA256 a791df17104c821dc434c79d4d2abe36a4e60bb58f6781a16ab4118855c88cfc
+DIST iplist-0.28.tar.gz 403709 RMD160 9a51bec6bfe100a0050697d228823dd1708b8fb7 SHA1 094e4233e5d5d1d4452baa07e92ce1a420358d1d SHA256 c31519ed4ec5965a0bbf0643e07f6175913e3157dc2f7fdb8cb60746291de034
+EBUILD iplist-0.25-r1.ebuild 1119 RMD160 bc30d8be94bf2ae87be4b741cb3bdfb999bfaba2 SHA1 6caaa14eef7c66e0b7328c7929a0b3a9559b8b42 SHA256 dd6f8d0902383b868a11b55659bf2806de06ebe173f81787add261057eb4bb1a
+EBUILD iplist-0.28.ebuild 1176 RMD160 8bdb585c88ae259312eedd763c48ed262cc14433 SHA1 f935570528294115eeaff83c77d02f79a6ee5ece SHA256 7c0b3497955131a4c56c6f9a6c2bb53509ea3fdc0901e9b47e75b296fa70e941
+EBUILD iplist-9999.ebuild 1072 RMD160 441f9377c96f572158b71b90f305b44c4e3de3e6 SHA1 c652a441637e74ef0aec17f97754a2ad8a458d44 SHA256 22a5e87b95856466b24bd304816b8657a47632383eda702307c37e8183f73557
+MISC ChangeLog 1231 RMD160 813cfc5c7b62ea716e7cb9e946325f8a9c125e7e SHA1 7371f0652ed1f7be651634c82898f7de68a15509 SHA256 1b307bee91f12789076575c7771b13e569feb9f2eb2ab50f9d47f8cd02a36b85
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/net-misc/iplist/files/.svn/entries b/net-misc/iplist/files/.svn/entries
new file mode 100644
index 0000000..abb8225
--- /dev/null
+++ b/net-misc/iplist/files/.svn/entries
@@ -0,0 +1,96 @@
+10
+
+dir
+10853
+svn://overlays.gentoo.org/proj/sunrise/reviewed/net-misc/iplist/files
+svn://overlays.gentoo.org/proj/sunrise
+
+
+
+2009-04-07T17:12:53.320963Z
+8211
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+12608f7e-a915-0410-b2f3-ce240db1b126
+
+iplist-0.25-init.patch
+file
+
+
+
+
+2010-06-17T13:09:11.000000Z
+32840fabfe07a162fe8178a398542269
+2009-04-07T17:12:53.320963Z
+8211
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+350
+
+iplist-makefile.patch
+file
+
+
+
+
+2010-06-17T13:09:11.000000Z
+e2e22a8eb41eb2fbc25011d38030ec22
+2009-04-07T17:12:53.320963Z
+8211
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1063
+
diff --git a/net-misc/iplist/files/.svn/text-base/iplist-0.25-init.patch.svn-base b/net-misc/iplist/files/.svn/text-base/iplist-0.25-init.patch.svn-base
new file mode 100644
index 0000000..bdfd1a6
--- /dev/null
+++ b/net-misc/iplist/files/.svn/text-base/iplist-0.25-init.patch.svn-base
@@ -0,0 +1,19 @@
+--- gentoo/ipblock 2009-01-21 22:26:17.000000000 -0200
++++ gentoo/ipblock.new 2009-03-21 04:01:16.400356378 -0300
+@@ -19,7 +19,7 @@
+ checkconfig || return 1
+ ebegin "Starting ipblock"
+
+- ipblock -s &
++ ipblock -s
+ eend ${?}
+ }
+
+@@ -27,6 +27,6 @@
+ checkconfig || return 1
+ ebegin "Stopping ipblock"
+
+- ipblock -d &
++ ipblock -d
+ eend ${?}
+ }
diff --git a/net-misc/iplist/files/.svn/text-base/iplist-makefile.patch.svn-base b/net-misc/iplist/files/.svn/text-base/iplist-makefile.patch.svn-base
new file mode 100644
index 0000000..2dd73c7
--- /dev/null
+++ b/net-misc/iplist/files/.svn/text-base/iplist-makefile.patch.svn-base
@@ -0,0 +1,31 @@
+--- Makefile 2009-01-22 12:25:45.132342418 -0200
++++ Makefile.new 2009-01-24 23:04:52.386342346 -0200
+@@ -22,7 +22,7 @@
+ FLAGS= -Wall -Wextra -std=c++98 -D_REENTRANT
+ #CPPFLAGS = ${FLAGS} -g -DDEBUG
+ #CPPFLAGS = ${FLAGS} -g -pg -DDEBUG
+-CPPFLAGS = -O2 ${FLAGS} -DNDEBUG
++CPPFLAGS ?= -O2 ${FLAGS} -DNDEBUG
+
+ HEADERDIR = include
+ SRCDIR = src
+@@ -53,9 +53,16 @@
+ log.o: log.h nfq.h range.h iplist.h
+
+ install:
+- install -p -m 755 $(FILENAME) $(DESTDIR)/usr/sbin/
+- install -p -m 755 ipblock $(DESTDIR)/usr/sbin/
+- install -p -m 644 ipblockUI.jar $(DESTDIR)/usr/share/java/
++ install -d $(DESTDIR)/usr/sbin/
++ install -p -c -m 755 $(FILENAME) $(DESTDIR)/usr/sbin/
++ install -d $(DESTDIR)/usr/sbin/
++ install -p -c -m 755 ipblock $(DESTDIR)/usr/sbin/
++ install -d $(DESTDIR)/etc/init.d/
++ install -p -c -m 755 gentoo/ipblock $(DESTDIR)/etc/init.d/
++ install -d $(DESTDIR)/etc/
++ install -p -c -m 644 ipblock.conf $(DESTDIR)/etc/
++ install -d $(DESTDIR)/etc/
++ install -p -c -m 644 ipblock.lists $(DESTDIR)/etc/
+
+ deb:
+ dpkg-buildpackage -rfakeroot -tc -D -us -uc
diff --git a/net-misc/iplist/files/iplist-0.25-init.patch b/net-misc/iplist/files/iplist-0.25-init.patch
new file mode 100644
index 0000000..bdfd1a6
--- /dev/null
+++ b/net-misc/iplist/files/iplist-0.25-init.patch
@@ -0,0 +1,19 @@
+--- gentoo/ipblock 2009-01-21 22:26:17.000000000 -0200
++++ gentoo/ipblock.new 2009-03-21 04:01:16.400356378 -0300
+@@ -19,7 +19,7 @@
+ checkconfig || return 1
+ ebegin "Starting ipblock"
+
+- ipblock -s &
++ ipblock -s
+ eend ${?}
+ }
+
+@@ -27,6 +27,6 @@
+ checkconfig || return 1
+ ebegin "Stopping ipblock"
+
+- ipblock -d &
++ ipblock -d
+ eend ${?}
+ }
diff --git a/net-misc/iplist/files/iplist-0.28-Makefile.diff b/net-misc/iplist/files/iplist-0.28-Makefile.diff
new file mode 100644
index 0000000..9b9af4a
--- /dev/null
+++ b/net-misc/iplist/files/iplist-0.28-Makefile.diff
@@ -0,0 +1,35 @@
+--- Makefile 2010-03-03 13:41:28.000000000 -0500
++++ /root/Makefile 2010-07-02 14:06:02.000000000 -0400
+@@ -18,11 +18,11 @@
+ # 02110-1301, USA
+ #
+
+-CPP = g++
+-FLAGS= -Wall -Wextra -std=c++98 -D_REENTRANT
++CPP = ${CXX}
++#FLAGS= -Wall -Wextra -std=c++98 -D_REENTRANT
+ #CPPFLAGS = ${FLAGS} -g -DDEBUG
+ #CPPFLAGS = ${FLAGS} -g -pg -DDEBUG
+-CPPFLAGS = -O2 ${FLAGS} -DNDEBUG
++CPPFLAGS = ${CXXFLAGS}
+
+ HEADERDIR = include
+ SRCDIR = src
+@@ -39,8 +39,7 @@
+ all: $(FILENAME)
+
+ $(FILENAME): $(OBJECTS)
+- $(CPP) $(CPPFLAGS) $(INCLUDE) $(LIBS) ${OBJECTS} -o $(FILENAME)
+- strip $@
++ $(CPP) $(LDFLAGS) $(INCLUDE) $(LIBS) ${OBJECTS} -o $(FILENAME)
+
+ %.o: %.cc
+ $(CPP) $(CPPFLAGS) $(INCLUDE) -c $<
+@@ -55,7 +54,6 @@
+ install:
+ install -D -p -m 755 $(FILENAME) $(DESTDIR)/usr/sbin/${FILENAME}
+ install -D -p -m 755 ipblock $(DESTDIR)/usr/sbin/ipblock
+- install -D -p -m 644 ipblockUI.jar $(DESTDIR)/usr/share/java/ipblockUI.jar
+
+ deb:
+ dpkg-buildpackage -rfakeroot -tc -D -us -uc
diff --git a/net-misc/iplist/files/iplist-makefile.patch b/net-misc/iplist/files/iplist-makefile.patch
new file mode 100644
index 0000000..2dd73c7
--- /dev/null
+++ b/net-misc/iplist/files/iplist-makefile.patch
@@ -0,0 +1,31 @@
+--- Makefile 2009-01-22 12:25:45.132342418 -0200
++++ Makefile.new 2009-01-24 23:04:52.386342346 -0200
+@@ -22,7 +22,7 @@
+ FLAGS= -Wall -Wextra -std=c++98 -D_REENTRANT
+ #CPPFLAGS = ${FLAGS} -g -DDEBUG
+ #CPPFLAGS = ${FLAGS} -g -pg -DDEBUG
+-CPPFLAGS = -O2 ${FLAGS} -DNDEBUG
++CPPFLAGS ?= -O2 ${FLAGS} -DNDEBUG
+
+ HEADERDIR = include
+ SRCDIR = src
+@@ -53,9 +53,16 @@
+ log.o: log.h nfq.h range.h iplist.h
+
+ install:
+- install -p -m 755 $(FILENAME) $(DESTDIR)/usr/sbin/
+- install -p -m 755 ipblock $(DESTDIR)/usr/sbin/
+- install -p -m 644 ipblockUI.jar $(DESTDIR)/usr/share/java/
++ install -d $(DESTDIR)/usr/sbin/
++ install -p -c -m 755 $(FILENAME) $(DESTDIR)/usr/sbin/
++ install -d $(DESTDIR)/usr/sbin/
++ install -p -c -m 755 ipblock $(DESTDIR)/usr/sbin/
++ install -d $(DESTDIR)/etc/init.d/
++ install -p -c -m 755 gentoo/ipblock $(DESTDIR)/etc/init.d/
++ install -d $(DESTDIR)/etc/
++ install -p -c -m 644 ipblock.conf $(DESTDIR)/etc/
++ install -d $(DESTDIR)/etc/
++ install -p -c -m 644 ipblock.lists $(DESTDIR)/etc/
+
+ deb:
+ dpkg-buildpackage -rfakeroot -tc -D -us -uc
diff --git a/net-misc/iplist/iplist-0.25-r1.ebuild b/net-misc/iplist/iplist-0.25-r1.ebuild
new file mode 100644
index 0000000..dbdd81c
--- /dev/null
+++ b/net-misc/iplist/iplist-0.25-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils linux-info
+
+DESCRIPTION="Blocks connections from/to hosts listed in files using iptables."
+HOMEPAGE="http://iplist.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="java"
+
+DEPEND="net-firewall/iptables
+ net-libs/libnetfilter_queue
+ net-libs/libnfnetlink
+ sys-libs/zlib"
+RDEPEND="java? ( >=virtual/jre-1.5 )
+ ${DEPEND}"
+CONFIG_CHECK="NETFILTER_XT_MATCH_IPRANGE"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-makefile.patch
+ epatch "${FILESDIR}"/${P}-init.patch
+}
+
+src_install() {
+ if use java ; then
+ insinto "/usr/share/${PN}"
+ doins ipblockUI.jar || die "gui install failed"
+ fi
+ emake DESTDIR="${D}" install || die "install failed!"
+ doman {${PN},ipblock}.8 || die "doman failed!"
+ exeinto /etc/cron.daily
+ newexe debian/ipblock.cron.daily ipblock || die "cron failed"
+}
+
+pkg_postinst() {
+ einfo "a cron file was set in /etc/cron.daily"
+ einfo "and it will update your lists once a day"
+}
diff --git a/net-misc/iplist/iplist-0.28.ebuild b/net-misc/iplist/iplist-0.28.ebuild
new file mode 100644
index 0000000..98e7a90
--- /dev/null
+++ b/net-misc/iplist/iplist-0.28.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils java-pkg-opt-2 linux-info
+
+DESCRIPTION="Blocks connections from/to hosts listed in files using iptables."
+HOMEPAGE="http://iplist.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="java"
+
+DEPEND="dev-libs/libpcre
+ net-firewall/iptables
+ net-libs/libnetfilter_queue
+ net-libs/libnfnetlink
+ sys-libs/zlib"
+RDEPEND="java? ( >=virtual/jre-1.5
+ dev-util/netbeans )
+ ${DEPEND}"
+CONFIG_CHECK="NETFILTER_XT_MATCH_IPRANGE"
+
+src_prepare() {
+ epatch ${FILESDIR}/${P}-Makefile.diff
+}
+
+src_install() {
+ doinitd gentoo/ipblock
+ #if use java ; then
+# insinto "/usr/share/${PN}"
+# doins ipblockUI.jar || die
+# fi
+ dosbin iplist || die
+ dosbin ipblock || die
+ insinto /etc/cron.daily
+ newins debian/ipblock.cron.daily ipblock || die
+ dodoc THANKS changelog || die
+ doman {${PN},ipblock}.8 || die
+}
+
+pkg_postinst() {
+ einfo "A cron file was put in /etc/cron.daily."
+ einfo "If you want it to update your lists daily"
+ einfo "chmod u+x /etc/cron.daily/ipblock.cron.daily."
+}
diff --git a/net-misc/iplist/iplist-9999.ebuild b/net-misc/iplist/iplist-9999.ebuild
new file mode 100644
index 0000000..dc1f4ba
--- /dev/null
+++ b/net-misc/iplist/iplist-9999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit git linux-info
+
+EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}"
+EGIT_PROJECT="${PN}"
+EGIT_PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
+
+DESCRIPTION="Blocks connections from/to hosts listed in files using iptables."
+HOMEPAGE="http://iplist.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="java"
+DEPEND="net-firewall/iptables
+ net-libs/libnetfilter_queue
+ net-libs/libnfnetlink
+ sys-libs/zlib"
+RDEPEND="java? ( >=virtual/jre-1.5 )
+ ${DEPEND}"
+CONFIG_CHECK="NETFILTER_XT_MATCH_IPRANGE"
+
+src_install() {
+ if use java ; then
+ insinto "/usr/share/${PN}"
+ doins ipblockUI.jar || die "gui install failed"
+ fi
+ emake DESTDIR="${D}" install || die "install failed!"
+ doman {${PN},ipblock}.8 || die "doman failed!"
+ exeinto /etc/cron.daily
+ newexe debian/ipblock.cron.daily ipblock || die "cron failed"
+}
+
+pkg_postinst() {
+ einfo "a cron file was set in /etc/cron.daily"
+ einfo "and it will update your lists once a day"
+}
diff --git a/net-misc/iplist/metadata.xml b/net-misc/iplist/metadata.xml
new file mode 100644
index 0000000..e6233b5
--- /dev/null
+++ b/net-misc/iplist/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>