summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Villavicencio <the_paya@gentoo.org>2012-07-22 00:01:31 +0000
committerJavier Villavicencio <the_paya@gentoo.org>2012-07-22 00:01:31 +0000
commitdc7895b691d6ffd116844551f56bb79e9bbca575 (patch)
tree57314278d747ceea1d9a0f60891e12181089e4d2 /net-firewall/pftop
parentRemove older version (diff)
downloadhistorical-dc7895b691d6ffd116844551f56bb79e9bbca575.tar.gz
historical-dc7895b691d6ffd116844551f56bb79e9bbca575.tar.bz2
historical-dc7895b691d6ffd116844551f56bb79e9bbca575.zip
Fix for bug #426662.
Package-Manager: portage-2.2.0_alpha120/cvs/FreeBSD i386
Diffstat (limited to 'net-firewall/pftop')
-rw-r--r--net-firewall/pftop/ChangeLog7
-rw-r--r--net-firewall/pftop/Manifest40
-rw-r--r--net-firewall/pftop/pftop-0.7-r2.ebuild50
3 files changed, 67 insertions, 30 deletions
diff --git a/net-firewall/pftop/ChangeLog b/net-firewall/pftop/ChangeLog
index f7e8f35c26d9..540cb0047d22 100644
--- a/net-firewall/pftop/ChangeLog
+++ b/net-firewall/pftop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-firewall/pftop
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/pftop/ChangeLog,v 1.8 2012/04/13 19:37:32 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/pftop/ChangeLog,v 1.9 2012/07/22 00:01:31 the_paya Exp $
+
+*pftop-0.7-r2 (21 Jul 2012)
+
+ 21 Jul 2012; Javier Villavicencio <the_paya@gentoo.org> +pftop-0.7-r2.ebuild:
+ Fix for bug #426662, thanks adeel_n@yahoo.com
13 Apr 2012; Ulrich Müller <ulm@gentoo.org> pftop-0.7-r1.ebuild:
Move EAPI assignment to top of ebuild, bug 411875.
diff --git a/net-firewall/pftop/Manifest b/net-firewall/pftop/Manifest
index 4add1b692ee5..ca4acfdedcbf 100644
--- a/net-firewall/pftop/Manifest
+++ b/net-firewall/pftop/Manifest
@@ -1,29 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-DIST pftop-0.5.tar.gz 24855 RMD160 f52b482534d210770a616a5dee2eb8910751e0ed SHA1 a735c05414d78a7155e99233529f6deb7e3035c4 SHA256 e5d0fd0d84285a52fd0d1944908d4c3e4f545ec0f0e11e9f9c29ce1536a9d0b7
-DIST pftop-0.7-patches-1.tar.bz2 5403 RMD160 4854735922fd93be5dd5f1b61fcea173d095e462 SHA1 9ba9b116997e6daf2d9f769c83717bf5477c6246 SHA256 35564dbfc45859fee9d59b90cda510ca642e4a17ef2fdd5a771937a5fcbb96dc
-DIST pftop-0.7-patches-2.tar.bz2 10225 RMD160 80f86760f98c48a3a7c70db1aa424f1a5ac49923 SHA1 5241572216410532a2fab02fa4b871095f2ef80e SHA256 2bda1d635d30f4bf0b5e1080aca079345e6b2ce01421bf62f60e8a363e0331a2
-DIST pftop-0.7.tar.gz 59765 RMD160 0e0c09e5feeb07deba8b540233dcb946ba0b4508 SHA1 651afa532cfc8cf59c3598704deb9bf3788ac9e9 SHA256 afde859fab77597e4aae1ef6b87f1bb26a5ad8cb2b1d7316a12e5098153492af
-EBUILD pftop-0.5.ebuild 1122 RMD160 e65df345e3b366134c701eb38548a671dab59999 SHA1 2ea1b5e623e151db98c84b90397a525619f35250 SHA256 f24a702bda201eaca9e908d189d19555389e4c1fc8e2c9c17a5255cae9136d6a
-EBUILD pftop-0.7-r1.ebuild 1366 RMD160 eb3487ccef764198ff492dfc5dcd10b6867d086f SHA1 ba1e93d3cc7719bf8394dd65392ec84884f594d9 SHA256 4d6a31d19142714e25f6b45ee0b1a03ac87e2f25501cb9f8eb18551c766ae3ce
-EBUILD pftop-0.7.ebuild 1375 RMD160 8dd5eba1a0a59699324cd8f64508a4fd72f39e40 SHA1 34136587780662321cadeaa4ee15e08fea3120a4 SHA256 02b326cfe257ef7bbccccb4d18c99bed9734f9d3e848e2712f66a03adb78d02b
-MISC ChangeLog 1697 RMD160 e6cb1b87d7e53ef9b05c402a883da7c85372f881 SHA1 350e3d3ad1e26fd79deaf375aed4056aff34bb99 SHA256 d2fcbba2f8c3fcf3f13eedfd157d8e744a2ea084a32150461af2e9aaedbabea4
-MISC metadata.xml 325 RMD160 76e429d13a5e57e4c5fb336430e9fdd59f0faba5 SHA1 1f149417f2ca6dd97fdd9e15f8b933e71d7d5909 SHA256 b4b26af6b1d0a5ca6f9001899beb0f48375458bcebd898f9ab7a34502c2b0dcf
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQIcBAEBAgAGBQJPiIFOAAoJEDxpGckxwJCBNZIQAL4xtaz+V69jGKRq7WvImI+V
-UEqOSX+sJZJoSE7BIgzjcbsG1WTYGLUeEMQK93PvWlP4etFzRvlUpzY5zEpNsnFU
-VOIaXKLoCLFqqrxVCGhSKx1hllgRu0kfPJFvVIfT9tzYHFaiR5NJkH7CdjlJaXAn
-L8W4C4XIFJH5KuQjWNriB/o5WSpoqdJI0zx2LZHQ+BycUszrfT/cB6tLN36f6sCR
-+90b2z9ukcC0OzttNMIBGdqy01hi5yQLxTC2Y5+hNn/UsDy2jQHF9F5tQCkFmdI2
-piI3+OHqyDE5VQxMxhAoBgPuq7pnUccqWoOSDG6z35dxJkbmatjJSuatUdeOO9Ql
-ROrxCRkVCeHCLadiGK/qwFttOH3j/B37cK0rBhAdrI5DBi5GUdnfUD4vaM5VijJk
-hPy+qVwJGYZ3XEvqdmAldOeUPI171o835kPF406a6bmNqu7uZa6FoCbaqeW4+VuX
-2IIUKTFlYgR+PKhyXrQ+opVjZGRHdAYe73WkuorXxFihmnnnK+wZsfEroj8DRkMX
-MAjZl4Fxc3vXrjvyjm0iB8nghZ6guO6ib+iRoJc/O9h2OKeTRHjcRIsYaGwRL+ww
-7cMhaJyjzg4/fKDOnshz3q9cnHDtUd/osNa+IPJkX8D+FaI0SkgxN1yjP8/EN1Bu
-eeU6zx/O5AHNHb2CIgR6
-=r+jM
------END PGP SIGNATURE-----
+DIST pftop-0.5.tar.gz 24855 SHA256 e5d0fd0d84285a52fd0d1944908d4c3e4f545ec0f0e11e9f9c29ce1536a9d0b7
+DIST pftop-0.7-patches-1.tar.bz2 5403 SHA256 35564dbfc45859fee9d59b90cda510ca642e4a17ef2fdd5a771937a5fcbb96dc SHA512 80ad35cd59d4e4ecc76d72e0973a13af9efcbbbf3a50f1fc8c3756c05ff04fc5db302dfddc0e2ac1a2d5abf8201e1cc3f0246a2df46e053ad2d6b3489ad118b8 WHIRLPOOL 621af8f990617b6af0eea4b3b939857e510d2b755e02718862cc48a15d04b570a523091f0311ac167b795116cbaa9bce6c16a3d3294035f3204c4b060e02e09b
+DIST pftop-0.7-patches-2.tar.bz2 10225 SHA256 2bda1d635d30f4bf0b5e1080aca079345e6b2ce01421bf62f60e8a363e0331a2 SHA512 57444d849e21848febe2189413ea01baa9855e05e7cfb491522da8da49ca2b49cc2fc08e3121ef1e34c9f63efbd2c20bd05ab2658514e08e5966bf0d9c3d3ed5 WHIRLPOOL ba39d17605a1d15bb8763f04787399e9456f46fd06d75f7753ab764a6183b3fbb3509d7584e85040cefa352059945b8416b0ef9d50be2e9d02eea15d5f519005
+DIST pftop-0.7-patches-3.tar.bz2 10611 SHA256 56826b18fb4b6559dd3ddec1d53ab7d84988dcb10f5b1abc6539f2f7ffb1ae22 SHA512 7c8f438e8fc1c507313cf9fe69da2b27bdc57e4cf27b8b0d6153fb0c269d417a59ff93cd74987809b131ae2d148b659ca00d93da1346a515b11c1d8bbfc67f1f WHIRLPOOL c4c5f833daa9aef066351dd924e581dfd595d8ee0b987ee5dd5693480eca540ebbb4c603a1ceb4fc87678473ea4790e026b0ad86775187581aa6e285c19fbc4f
+DIST pftop-0.7.tar.gz 59765 SHA256 afde859fab77597e4aae1ef6b87f1bb26a5ad8cb2b1d7316a12e5098153492af SHA512 e9be01704adc112bd1f5dc011f7900754d600df6be50e28ee4a937faabe00b627ed4d1565e92560d750e70f5117533c494565f616f3562eae61301642d438713 WHIRLPOOL af50aa66c7eecfa7bdd390f86e0953baac4ccd45652c6fadfbe952b201190fe402b667fb5c262449e503c3aac88916f23e6e2bc219803b5ea823670df85097dc
+EBUILD pftop-0.5.ebuild 1122 SHA256 f24a702bda201eaca9e908d189d19555389e4c1fc8e2c9c17a5255cae9136d6a SHA512 17fffafc00c94601884ad84f93fe174302d187767a0b6683c43bf122df5d214a52f39ec76cea9777235c8bb83e0e7238de1bf28c762b7ce2d5db1a0af22f54ff WHIRLPOOL c3c36c7ca4162e089234267317d7ac2291a12e8fc9284aa8c6b31d2868ab3b98fcc878efe5abfabdcfff8843a8ccf28c7d58dc959aa9b0ab2db6e7b28ad2bd3c
+EBUILD pftop-0.7-r1.ebuild 1366 SHA256 4d6a31d19142714e25f6b45ee0b1a03ac87e2f25501cb9f8eb18551c766ae3ce SHA512 c0baeeb6de309371df6051caaff3eda5a976b8d29904c5dded47f3276ca0edfc67775b92b7496defa08fc854aee73ee8a2286e4784990f2dd9a46be189026199 WHIRLPOOL f0afe45dee9c04b262e965e52f8c7b7224f2b90e9465816b8e49e593f66f5b1bf6d28e64b8e79c2d70a80792cf70d0be26e4097b0258807f0341549885be3555
+EBUILD pftop-0.7-r2.ebuild 1371 SHA256 7fbc83b80fc5860e4f702f6cd949a8542e69761546d0a30ccc7f7d81ddd5fd33 SHA512 7eb65b87ee73ebe7fd53ebef98b5eb1804f3c512962fcaeb5266d61b58b1b6f361c0aa79358a17e6cb96f039f077a4cdd7afc0c25f34308d178ba3022e1481fd WHIRLPOOL 40794e370fe078ad207cfe3d77a58286cbf1f2343d52ed8a2e6f9c9d4f784649f244b18e6df055cf928bf9562a6d0f731856642491faabccb4587f061766e510
+EBUILD pftop-0.7.ebuild 1375 SHA256 02b326cfe257ef7bbccccb4d18c99bed9734f9d3e848e2712f66a03adb78d02b SHA512 9cdc12539354ea83d828bdf0031f5b7f93e1715d286979e6a35c19d26ffc4690b0be54226c485e880d4daa5639888da470923811443b89435d432cfeaa94c3e9 WHIRLPOOL 595c19d3c4e0e6b2d9276c3f82c7f4526f9194a665054ef61e239c4717cd40a10ddf9cf6cc89033dffe264083962cc832316136325f6337dde891d57225b1808
+MISC ChangeLog 1860 SHA256 90e3de6e4dbf857addfcc829163925f0c81e3d879d59ec1db70b83a8060ea46e SHA512 b1abed19437dfc43baa5f72693c57edc8938e577f7e30b021eb63cb44d238105e123d5ef7d2206070eccd1605580017b0425ee5fa90d5c70a5ce3c5ef9496682 WHIRLPOOL 24c5d87363367538516f69878b7a5b2aac7ff5912fac9033cfe6954f514ca4601302b9ec852ccdf02d7d589ddc47b7e27c6eb2909a5a19c48b3f8f6112fb4212
+MISC metadata.xml 325 SHA256 b4b26af6b1d0a5ca6f9001899beb0f48375458bcebd898f9ab7a34502c2b0dcf SHA512 ed285111821212419d7a32349548f3cef4835a8bbaf46e44b758a2825edbd624f9b7def21eed30166e684b64604b5c8543ed71bff274226bb1cfff3b185767f2 WHIRLPOOL 1b7be4a4f57432d12cb8f8bd3e3af05739da81212461ecc616fec0fe86efe69e158014e47fe04b24d1b881bcdef873dd722e12d86c99bbdaaa20d7572bdd5d12
diff --git a/net-firewall/pftop/pftop-0.7-r2.ebuild b/net-firewall/pftop/pftop-0.7-r2.ebuild
new file mode 100644
index 000000000000..a979d6eb2211
--- /dev/null
+++ b/net-firewall/pftop/pftop-0.7-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/pftop/pftop-0.7-r2.ebuild,v 1.1 2012/07/22 00:01:31 the_paya Exp $
+
+EAPI=4
+PATCH_PV=3
+
+inherit bsdmk flag-o-matic eutils
+
+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
+ mirror://gentoo/${P}-patches-${PATCH_PV}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86-fbsd"
+IUSE="altq"
+
+RDEPEND="sys-libs/ncurses"
+
+src_prepare() {
+ epatch "${WORKDIR}"/patches/*
+}
+
+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//.}
+ ;;
+ *-freebsd[78]*) OSLEVEL=41 ;;
+ *-freebsd9*) OSLEVEL=45 ;;
+ *)
+ die "Your OS/Version is not supported (${CHOST}), please report."
+ ;;
+ esac
+ append-flags "-DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DOS_LEVEL=${OSLEVEL}"
+ use altq && append-flags "-DHAVE_ALTQ"
+ mkmake LOCALBASE="/usr" CFLAGS="${CFLAGS}" || die "pmake failed"
+}
+
+src_install() {
+ mkinstall DESTDIR="${D}" LOCALBASE="/usr" MANDIR="/usr/share/man/man" \
+ NO_MANCOMPRESS= install || die
+}