diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-14 17:08:23 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-14 17:08:23 +0000 |
commit | f12de03ab205f21ec0852f64e9d1f937bd80df36 (patch) | |
tree | 4890c199d04a4b22a1e986eda3feb25fc3f0cfeb /net-firewall | |
parent | Moved games_pkg_setup to the beginning of pkg_setup. (diff) | |
download | gentoo-2-f12de03ab205f21ec0852f64e9d1f937bd80df36.tar.gz gentoo-2-f12de03ab205f21ec0852f64e9d1f937bd80df36.tar.bz2 gentoo-2-f12de03ab205f21ec0852f64e9d1f937bd80df36.zip |
Add pftop ebuild based on the one contributed by Javier Villavicencio in bug #110722.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/pftop/ChangeLog | 11 | ||||
-rw-r--r-- | net-firewall/pftop/Manifest | 6 | ||||
-rw-r--r-- | net-firewall/pftop/files/digest-pftop-0.5 | 3 | ||||
-rw-r--r-- | net-firewall/pftop/metadata.xml | 5 | ||||
-rw-r--r-- | net-firewall/pftop/pftop-0.5.ebuild | 41 |
5 files changed, 66 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..d12b32fa7cdf --- /dev/null +++ b/net-firewall/pftop/Manifest @@ -0,0 +1,6 @@ +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 2fca08b22686cb07d1f98f47c5414275 pftop-0.5.ebuild 761 +RMD160 a1cf412c71188ea3ad55ac7fbc6da625ae06bb94 pftop-0.5.ebuild 761 +SHA256 f020a08014bf4ddae2148fd0510cbcc95d5ff7e9fecd754a3c476014ba7bc94e pftop-0.5.ebuild 761 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 +} |