summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2015-10-17 16:00:03 +0200
committerChristian Ruppert <idl0r@gentoo.org>2015-10-17 16:00:15 +0200
commitcf14d4fa6a5efa87bc06c0bf453fafa0f97a2c2d (patch)
tree2d6d99a3e4fefb21b7196f8355d0d0f96e086fc7 /sys-apps/grepcidr
parentMerge remote-tracking branch 'github/pr/238' (diff)
downloadgentoo-cf14d4fa6a5efa87bc06c0bf453fafa0f97a2c2d.tar.gz
gentoo-cf14d4fa6a5efa87bc06c0bf453fafa0f97a2c2d.tar.bz2
gentoo-cf14d4fa6a5efa87bc06c0bf453fafa0f97a2c2d.zip
sys-apps/grepcidr: Initial import
Package-Manager: portage-2.2.23
Diffstat (limited to 'sys-apps/grepcidr')
-rw-r--r--sys-apps/grepcidr/Manifest1
-rw-r--r--sys-apps/grepcidr/grepcidr-2.0.ebuild29
-rw-r--r--sys-apps/grepcidr/metadata.xml8
3 files changed, 38 insertions, 0 deletions
diff --git a/sys-apps/grepcidr/Manifest b/sys-apps/grepcidr/Manifest
new file mode 100644
index 000000000000..35625c60b21f
--- /dev/null
+++ b/sys-apps/grepcidr/Manifest
@@ -0,0 +1 @@
+DIST grepcidr-2.0.tar.gz 16557 SHA256 61886a377dabf98797145c31f6ba95e6837b6786e70c932324b7d6176d50f7fb SHA512 c592c7a96e5e711cb5ee10ea1f63907411f69c0014c0bdc845f4b026766b6466db624063af1411b994b53aa7e694fe99ecb1120c11543c5ea1b11afc9558f7aa WHIRLPOOL b35386ec975a682a55b8d258a102680512018da449a123fa6f73f77337ce9946b4dd95ef2491fb36eaf92532350ee35bea346e8542fc9fd8197e2dd28648efc8
diff --git a/sys-apps/grepcidr/grepcidr-2.0.ebuild b/sys-apps/grepcidr/grepcidr-2.0.ebuild
new file mode 100644
index 000000000000..0119a384b2bc
--- /dev/null
+++ b/sys-apps/grepcidr/grepcidr-2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Filter IPv4 and IPv6 addresses matching CIDR patterns"
+HOMEPAGE="http://www.pc-tools.net/unix/grepcidr/"
+SRC_URI="http://www.pc-tools.net/files/unix/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EROOT}/usr" install
+
+ dodoc README ChangeLog
+}
diff --git a/sys-apps/grepcidr/metadata.xml b/sys-apps/grepcidr/metadata.xml
new file mode 100644
index 000000000000..b71a8a2e034d
--- /dev/null
+++ b/sys-apps/grepcidr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>idl0r@gentoo.org</email>
+ <name>Christian Ruppert</name>
+ </maintainer>
+</pkgmetadata>