1 |
the_paya 09/01/27 12:50:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pftop-0.7.ebuild |
5 |
Log: |
6 |
New version. |
7 |
(Portage version: 2.2_rc23/cvs/FreeBSD i386) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 net-firewall/pftop/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/pftop/ChangeLog?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/pftop/ChangeLog?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/pftop/ChangeLog?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/pftop/ChangeLog,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- ChangeLog 22 Oct 2006 21:17:41 -0000 1.3 |
23 |
+++ ChangeLog 27 Jan 2009 12:50:32 -0000 1.4 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for net-firewall/pftop |
26 |
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/pftop/ChangeLog,v 1.3 2006/10/22 21:17:41 the_paya Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/pftop/ChangeLog,v 1.4 2009/01/27 12:50:32 the_paya Exp $ |
30 |
+ |
31 |
+*pftop-0.7 (27 Jan 2009) |
32 |
+ |
33 |
+ 27 Jan 2009; Javier Villavicencio <the_paya@g.o> |
34 |
+ +files/pftop-0.7-dead.patch, +files/pftop-0.7-pcap.patch, |
35 |
+ +files/pftop-0.7-pr123670.patch, +files/pftop-0.7-queue.patch.bz2, |
36 |
+ +files/pftop-0.7-strnvis_fix.patch, +pftop-0.7.ebuild: |
37 |
+ New version. |
38 |
|
39 |
22 Oct 2006; Javier Villavicencio <the_paya@g.o> pftop-0.5.ebuild: |
40 |
Add support for FreeBSD 6.2. |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-firewall/pftop/pftop-0.7.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/pftop/pftop-0.7.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/pftop/pftop-0.7.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: pftop-0.7.ebuild |
50 |
=================================================================== |
51 |
# Copyright 2006-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-firewall/pftop/pftop-0.7.ebuild,v 1.1 2009/01/27 12:50:32 the_paya Exp $ |
54 |
|
55 |
inherit bsdmk flag-o-matic |
56 |
DESCRIPTION="Pftop: curses-based utility for real-time display of active states and rule statistics for pf" |
57 |
|
58 |
HOMEPAGE="http://www.eee.metu.edu.tr/~canacar/pftop/" |
59 |
|
60 |
SRC_URI="http://www.eee.metu.edu.tr/~canacar/${P}.tar.gz" |
61 |
|
62 |
LICENSE="BSD" |
63 |
SLOT="0" |
64 |
KEYWORDS="~x86-fbsd" |
65 |
IUSE="" |
66 |
|
67 |
RDEPEND="sys-libs/ncurses" |
68 |
|
69 |
src_unpack() { |
70 |
unpack ${A} |
71 |
cd "${S}" |
72 |
epatch "${FILESDIR}/${PN}-0.7-pcap.patch" |
73 |
epatch "${FILESDIR}/${PN}-0.7-dead.patch" |
74 |
epatch "${FILESDIR}/${PN}-0.7-pr123670.patch" |
75 |
epatch "${FILESDIR}/${PN}-0.7-queue.patch.bz2" |
76 |
epatch "${FILESDIR}/${PN}-0.7-strnvis_fix.patch" |
77 |
} |
78 |
|
79 |
src_compile() { |
80 |
# OS_LEVEL variable refers to the version of pf shipped with OpenBSD. |
81 |
# On FreeBSD we have to know it. |
82 |
local OSLEVEL |
83 |
|
84 |
case ${CHOST} in |
85 |
*-openbsd*) |
86 |
local obsdver=${CHOST/*-openbsd/} |
87 |
OSLEVEL=${obsdver//.} |
88 |
;; |
89 |
*-freebsd5.[34]) OSLEVEL=35 ;; |
90 |
*-freebsd6.[012]) OSLEVEL=37 ;; |
91 |
*-freebsd*) OSLEVEL=41 ;; |
92 |
*) |
93 |
die "Your OS/Version is not supported (${CHOST}), please report." |
94 |
;; |
95 |
esac |
96 |
append-flags "-DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DOS_LEVEL=${OSLEVEL}" |
97 |
mkmake LOCALBASE="/usr" CFLAGS="${CFLAGS}" || die "pmake failed" |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
mkinstall DESTDIR="${D}" LOCALBASE="/usr" MANDIR="/usr/share/man/man" install || die |
102 |
} |