diff options
author | Javier Villavicencio <the_paya@gentoo.org> | 2012-03-10 21:52:30 +0000 |
---|---|---|
committer | Javier Villavicencio <the_paya@gentoo.org> | 2012-03-10 21:52:30 +0000 |
commit | dc86d9859a2d8eae9deed49747f9a0d7a5ba162d (patch) | |
tree | 82d391c80ff22b425f837d207fb19e35afa45a8e /net-firewall | |
parent | You must not use genkernel-3.4.25 with an OpenRC version that fails to remoun... (diff) | |
download | historical-dc86d9859a2d8eae9deed49747f9a0d7a5ba162d.tar.gz historical-dc86d9859a2d8eae9deed49747f9a0d7a5ba162d.tar.bz2 historical-dc86d9859a2d8eae9deed49747f9a0d7a5ba162d.zip |
Update patches for FreeBSD 9, add ALTQ useflag.
Package-Manager: portage-2.2.0_alpha90/cvs/FreeBSD i386
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/metadata.xml | 6 | ||||
-rw-r--r-- | net-firewall/pftop/pftop-0.7-r1.ebuild | 50 |
4 files changed, 68 insertions, 5 deletions
diff --git a/net-firewall/pftop/ChangeLog b/net-firewall/pftop/ChangeLog index 7d8d52cefdfa..52c035f315c0 100644 --- a/net-firewall/pftop/ChangeLog +++ b/net-firewall/pftop/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-firewall/pftop -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/pftop/ChangeLog,v 1.6 2010/04/21 05:30:24 the_paya Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/pftop/ChangeLog,v 1.7 2012/03/10 21:52:30 the_paya Exp $ + +*pftop-0.7-r1 (10 Mar 2012) + + 10 Mar 2012; Javier Villavicencio <the_paya@gentoo.org> +pftop-0.7-r1.ebuild, + metadata.xml: + Update patches from FreeBSD ports to compile on FreeBSD 9, add useflag for + ALTQ support. 21 Apr 2010; Javier Villavicencio <the_paya@gentoo.org> pftop-0.7.ebuild: Don't install precompressed manpages. diff --git a/net-firewall/pftop/Manifest b/net-firewall/pftop/Manifest index 82e7cc11fafa..4a8a0d3fbde5 100644 --- a/net-firewall/pftop/Manifest +++ b/net-firewall/pftop/Manifest @@ -1,7 +1,9 @@ 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 1371 RMD160 efdde77491bbe23abe3df0c38b1fec9b38c44d06 SHA1 32ebe25b0098056f6bfb7c08ee4918d350766de5 SHA256 d5a89d16c93956c789169b0ccd61cf39704a053bde11d5ece884a5d096aa2dc8 EBUILD pftop-0.7.ebuild 1375 RMD160 8dd5eba1a0a59699324cd8f64508a4fd72f39e40 SHA1 34136587780662321cadeaa4ee15e08fea3120a4 SHA256 02b326cfe257ef7bbccccb4d18c99bed9734f9d3e848e2712f66a03adb78d02b -MISC ChangeLog 1361 RMD160 4f4afd25e289c42f37056f50d4feffcecf60cd0c SHA1 daaa1adc9f049712b3b610bad805ee036478b8c2 SHA256 31f2c227a68c3373a4f38f43480a9a9953613402ea8426ff39c3a7ac93a98ccb -MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 +MISC ChangeLog 1580 RMD160 b245a9e2623a356f6cb12f97b170dbec4e379588 SHA1 a19bf5fa6660182f5fcdf77ce16d890dc7e82142 SHA256 4182b5b0f4fe61fccbf1b7f6e320b7337f45a43731351224e816d4f733378680 +MISC metadata.xml 325 RMD160 76e429d13a5e57e4c5fb336430e9fdd59f0faba5 SHA1 1f149417f2ca6dd97fdd9e15f8b933e71d7d5909 SHA256 b4b26af6b1d0a5ca6f9001899beb0f48375458bcebd898f9ab7a34502c2b0dcf diff --git a/net-firewall/pftop/metadata.xml b/net-firewall/pftop/metadata.xml index ecedda4aa2cc..f9e6a66d5ca2 100644 --- a/net-firewall/pftop/metadata.xml +++ b/net-firewall/pftop/metadata.xml @@ -1,5 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>bsd</herd> + <herd>bsd</herd> + <maintainer><email>the_paya@gentoo.org</email></maintainer> + <use> + <flag name="altq">Enable altq(4) support — alternate queuing of network packets.</flag> + </use> </pkgmetadata> diff --git a/net-firewall/pftop/pftop-0.7-r1.ebuild b/net-firewall/pftop/pftop-0.7-r1.ebuild new file mode 100644 index 000000000000..8ad9264c4609 --- /dev/null +++ b/net-firewall/pftop/pftop-0.7-r1.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-r1.ebuild,v 1.1 2012/03/10 21:52:30 the_paya Exp $ + +PATCH_PV=2 +EAPI=4 + +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 +} |