summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-14 17:08:23 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-14 17:08:23 +0000
commitb03f58e7fc9f0342ab4f91834b02060c5dc5d573 (patch)
treeb195c25c8defb1c0608b2adc9669e36420f07790 /net-firewall
parentMoved games_pkg_setup to the beginning of pkg_setup. (diff)
downloadhistorical-b03f58e7fc9f0342ab4f91834b02060c5dc5d573.tar.gz
historical-b03f58e7fc9f0342ab4f91834b02060c5dc5d573.tar.bz2
historical-b03f58e7fc9f0342ab4f91834b02060c5dc5d573.zip
Add pftop ebuild based on the one contributed by Javier Villavicencio in bug #110722.
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/pftop/ChangeLog11
-rw-r--r--net-firewall/pftop/Manifest22
-rw-r--r--net-firewall/pftop/files/digest-pftop-0.53
-rw-r--r--net-firewall/pftop/metadata.xml5
-rw-r--r--net-firewall/pftop/pftop-0.5.ebuild41
5 files changed, 82 insertions, 0 deletions
diff --git a/net-firewall/pftop/ChangeLog b/net-firewall/pftop/ChangeLog
new file mode 100644
index 000000000000..b8917498b5a2
--- /dev/null
+++ b/net-firewall/pftop/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-firewall/pftop
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/pftop/ChangeLog,v 1.1 2006/04/14 17:08:23 flameeyes Exp $
+
+*pftop-0.5 (14 Apr 2006)
+
+ 14 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ +pftop-0.5.ebuild:
+ Add pftop ebuild based on the one contributed by Javier Villavicencio in bug
+ #110722.
+
diff --git a/net-firewall/pftop/Manifest b/net-firewall/pftop/Manifest
new file mode 100644
index 000000000000..13ee6f42d9ba
--- /dev/null
+++ b/net-firewall/pftop/Manifest
@@ -0,0 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 6d13ec2afdf3a35dbe8060cde3691d1f ChangeLog 418
+RMD160 bd61162400d98414343e070e1be130b9bfb0a0fa ChangeLog 418
+SHA256 cac4c2d8ae92061fc8625949b727cbfa2d1b504897efc671d45a197042215d7c ChangeLog 418
+MD5 e0ae707cb14e1ee5a6868fac3d047ed5 files/digest-pftop-0.5 226
+RMD160 42b47b3d6798c9c90f1f5d98d8a23528483ffaab files/digest-pftop-0.5 226
+SHA256 92d7a1f535074c062e8797101a4cbb4dbba0f077bddd95cd3dd37d39591770c5 files/digest-pftop-0.5 226
+MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156
+RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156
+SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 metadata.xml 156
+MD5 b59d96ec15c06197f93f48b1f496783d pftop-0.5.ebuild 1120
+RMD160 cd7b4b14c0c8d2f89875a679d8f8f474c43198fe pftop-0.5.ebuild 1120
+SHA256 1f64651399fa39bdd919ddbfd76e6ae4affd4e326281c1c3b2df36620e1dbfbe pftop-0.5.ebuild 1120
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFEP9ctAiZjviIA2XgRAlxvAKDL76oy7Ns4zj3sVQdYR8EXIkol5gCdFWLz
+xWbybGdUGT+OtrDKfc3z9ao=
+=wjeS
+-----END PGP SIGNATURE-----
diff --git a/net-firewall/pftop/files/digest-pftop-0.5 b/net-firewall/pftop/files/digest-pftop-0.5
new file mode 100644
index 000000000000..48934c776649
--- /dev/null
+++ b/net-firewall/pftop/files/digest-pftop-0.5
@@ -0,0 +1,3 @@
+MD5 d4bdb5dfa7722f76ed3027c1d0be1653 pftop-0.5.tar.gz 24855
+RMD160 f52b482534d210770a616a5dee2eb8910751e0ed pftop-0.5.tar.gz 24855
+SHA256 e5d0fd0d84285a52fd0d1944908d4c3e4f545ec0f0e11e9f9c29ce1536a9d0b7 pftop-0.5.tar.gz 24855
diff --git a/net-firewall/pftop/metadata.xml b/net-firewall/pftop/metadata.xml
new file mode 100644
index 000000000000..ecedda4aa2cc
--- /dev/null
+++ b/net-firewall/pftop/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>bsd</herd>
+</pkgmetadata>
diff --git a/net-firewall/pftop/pftop-0.5.ebuild b/net-firewall/pftop/pftop-0.5.ebuild
new file mode 100644
index 000000000000..588f3a91dae8
--- /dev/null
+++ b/net-firewall/pftop/pftop-0.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2006-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/pftop/pftop-0.5.ebuild,v 1.1 2006/04/14 17:08:23 flameeyes Exp $
+
+inherit bsdmk
+DESCRIPTION="Pftop: curses-based utility for real-time display of active states and rule statistics for pf"
+
+HOMEPAGE="http://www.eee.metu.edu.tr/~canacar/pftop/"
+
+SRC_URI="http://www.eee.metu.edu.tr/~canacar/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86-fbsd"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses"
+
+src_compile() {
+ # OS_LEVEL variable refers to the version of pf shipped with OpenBSD.
+ # On FreeBSD we have to know it.
+ local OSLEVEL
+
+ case ${CHOST} in
+ *-openbsd*)
+ local obsdver=${CHOST/*-openbsd/}
+ OSLEVEL=${obsdver//.}
+ ;;
+ *-freebsd5.[34]) OSLEVEL=35 ;;
+ *-freebsd6.0) OSLEVEL=37 ;;
+ *)
+ die "Your OS/Version is not supported (${CHOST}), please report."
+ ;;
+ esac
+
+ mkmake LOCALBASE="/usr" CFLAGS="${CFLAGS} -DOS_LEVEL=${OSLEVEL}" || die "pmake failed"
+}
+
+src_install() {
+ mkinstall DESTDIR=${D} LOCALBASE="/usr" MANDIR="/usr/share/man/man" install || die
+}