summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-freebsd/freebsd-pf/ChangeLog9
-rw-r--r--sys-freebsd/freebsd-pf/files/freebsd-pf-6.0-pcap.patch15
-rw-r--r--sys-freebsd/freebsd-pf/freebsd-pf-6.2-r1.ebuild58
-rw-r--r--sys-freebsd/freebsd-pf/freebsd-pf-6.2.ebuild58
-rw-r--r--sys-freebsd/freebsd-pf/freebsd-pf-7.1.ebuild65
5 files changed, 7 insertions, 198 deletions
diff --git a/sys-freebsd/freebsd-pf/ChangeLog b/sys-freebsd/freebsd-pf/ChangeLog
index 819d9588496c..501f581d0693 100644
--- a/sys-freebsd/freebsd-pf/ChangeLog
+++ b/sys-freebsd/freebsd-pf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-freebsd/freebsd-pf
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/ChangeLog,v 1.26 2009/05/22 13:39:43 aballier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/ChangeLog,v 1.27 2010/03/11 11:10:12 aballier Exp $
+
+ 11 Mar 2010; Alexis Ballier <aballier@gentoo.org>
+ -files/freebsd-pf-6.0-pcap.patch, -freebsd-pf-6.2.ebuild,
+ -freebsd-pf-6.2-r1.ebuild, -freebsd-pf-7.1.ebuild:
+ remove old
*freebsd-pf-7.2 (22 May 2009)
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-6.0-pcap.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-6.0-pcap.patch
deleted file mode 100644
index 32f0605de985..000000000000
--- a/sys-freebsd/freebsd-pf/files/freebsd-pf-6.0-pcap.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-This patch includes net/bpf.h so that libpcap will use that instead of its own
-stripped down version, that doesnt't allow for pflogd to work correctly.
-
-Index: fbsd-6/contrib/pf/pflogd/pflogd.c
-===================================================================
---- fbsd-6.orig/contrib/pf/pflogd/pflogd.c
-+++ fbsd-6/contrib/pf/pflogd/pflogd.c
-@@ -37,6 +37,7 @@ __FBSDID("$FreeBSD: src/contrib/pf/pflog
- #include <sys/ioctl.h>
- #include <sys/file.h>
- #include <sys/stat.h>
-+#include <net/bpf.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-6.2-r1.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-6.2-r1.ebuild
deleted file mode 100644
index 8ac04a6f7d2d..000000000000
--- a/sys-freebsd/freebsd-pf/freebsd-pf-6.2-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/freebsd-pf-6.2-r1.ebuild,v 1.1 2007/04/06 14:55:27 uberlord Exp $
-
-inherit bsdmk freebsd
-
-DESCRIPTION="FreeBSD's base system libraries"
-SLOT="0"
-KEYWORDS="~x86-fbsd"
-
-IUSE=""
-
-# Crypto is needed to have an internal OpenSSL header
-SRC_URI="mirror://gentoo/${USBIN}.tar.bz2
- mirror://gentoo/${SBIN}.tar.bz2
- mirror://gentoo/${CONTRIB}.tar.bz2
- mirror://gentoo/${LIBEXEC}.tar.bz2
- mirror://gentoo/${ETC}.tar.bz2"
-
-RDEPEND="net-libs/libpcap"
-DEPEND="${RDEPEND}
- sys-freebsd/freebsd-mk-defs
- =sys-freebsd/freebsd-sources-${RV}*"
-
-S="${WORKDIR}"
-
-SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd libexec/ftp-proxy"
-
-PATCHES="${FILESDIR}/${PN}-6.0-pcap.patch"
-
-pkg_setup() {
- enewgroup authpf 63
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= "
-}
-
-src_compile() {
- for dir in ${SUBDIRS}; do
- einfo "Starting make in ${dir}"
- cd "${S}/${dir}"
- mkmake || die "Make ${dir} failed"
- done
-}
-
-src_install() {
- for dir in ${SUBDIRS}; do
- einfo "Starting install in ${dir}"
- cd "${S}/${dir}"
- mkinstall || die "Install ${dir} failed"
- done
-
- cd "${WORKDIR}"/etc
- insinto /etc
- doins pf.os
- newdoc pf.conf pf.conf.example
-
- newinitd "${FILESDIR}/pf.initd" pf
- newconfd "${FILESDIR}/pf.confd" pf
-}
diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-6.2.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-6.2.ebuild
deleted file mode 100644
index 5dfb5964b6bc..000000000000
--- a/sys-freebsd/freebsd-pf/freebsd-pf-6.2.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/freebsd-pf-6.2.ebuild,v 1.3 2007/02/08 00:19:22 the_paya Exp $
-
-inherit bsdmk freebsd
-
-DESCRIPTION="FreeBSD's base system libraries"
-SLOT="0"
-KEYWORDS="~x86-fbsd"
-
-IUSE=""
-
-# Crypto is needed to have an internal OpenSSL header
-SRC_URI="mirror://gentoo/${USBIN}.tar.bz2
- mirror://gentoo/${SBIN}.tar.bz2
- mirror://gentoo/${CONTRIB}.tar.bz2
- mirror://gentoo/${LIBEXEC}.tar.bz2
- mirror://gentoo/${ETC}.tar.bz2"
-
-RDEPEND="net-libs/libpcap"
-DEPEND="${RDEPEND}
- sys-freebsd/freebsd-mk-defs
- =sys-freebsd/freebsd-sources-${RV}*"
-
-S="${WORKDIR}"
-
-SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd libexec/ftp-proxy"
-
-PATCHES="${FILESDIR}/${PN}-6.0-pcap.patch"
-
-pkg_setup() {
- enewgroup authpf 63
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= "
-}
-
-src_compile() {
- for dir in ${SUBDIRS}; do
- einfo "Starting make in ${dir}"
- cd "${S}/${dir}"
- mkmake || die "Make ${dir} failed"
- done
-}
-
-src_install() {
- for dir in ${SUBDIRS}; do
- einfo "Starting install in ${dir}"
- cd "${S}/${dir}"
- mkinstall || die "Install ${dir} failed"
- done
-
- cd "${WORKDIR}"/etc
- insinto /etc
- doins pf.os
- newdoc pf.conf pf.conf.example
-
- newinitd "${FILESDIR}/pf.initd" pf
- newconfd "${FILESDIR}/pf.confd" pf
-}
diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-7.1.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-7.1.ebuild
deleted file mode 100644
index 92d219f97d2f..000000000000
--- a/sys-freebsd/freebsd-pf/freebsd-pf-7.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/freebsd-pf-7.1.ebuild,v 1.1 2009/01/22 21:03:51 the_paya Exp $
-
-inherit bsdmk freebsd
-
-DESCRIPTION="FreeBSD's base system libraries"
-SLOT="0"
-KEYWORDS="~x86-fbsd"
-
-IUSE=""
-
-# Crypto is needed to have an internal OpenSSL header
-SRC_URI="mirror://gentoo/${USBIN}.tar.bz2
- mirror://gentoo/${SBIN}.tar.bz2
- mirror://gentoo/${CONTRIB}.tar.bz2
- mirror://gentoo/${ETC}.tar.bz2"
-
-RDEPEND="net-libs/libpcap"
-DEPEND="${RDEPEND}
- dev-libs/libevent
- sys-freebsd/freebsd-mk-defs
- =sys-freebsd/freebsd-sources-${RV}*"
-
-S="${WORKDIR}"
-
-SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd usr.sbin/ftp-proxy/ftp-proxy"
-
-pkg_setup() {
- enewgroup authpf 63
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= "
-}
-
-src_unpack() {
- freebsd_src_unpack
- # pcap-int.h redefines snprintf as pcap_snprintf
- epatch "${FILESDIR}/${PN}-7.0-pcap_pollution.patch"
- # Use system's libevent
- epatch "${FILESDIR}/${PN}-7.0-libevent.patch"
- # Link in kernel sources
- ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
-}
-
-src_compile() {
- for dir in ${SUBDIRS}; do
- einfo "Starting make in ${dir}"
- cd "${S}/${dir}"
- mkmake || die "Make ${dir} failed"
- done
-}
-
-src_install() {
- for dir in ${SUBDIRS}; do
- einfo "Starting install in ${dir}"
- cd "${S}/${dir}"
- mkinstall || die "Install ${dir} failed"
- done
-
- cd "${WORKDIR}"/etc
- insinto /etc
- doins pf.os
- newdoc pf.conf pf.conf.example
- # pf.initd provided by openrc, but no pf.confd
- newconfd "${FILESDIR}/pf.confd" pf
-}