summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-26 20:44:05 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-08-26 20:44:05 +0000
commit1da91a0aebdd67964d36f2a21d7775c6830b229f (patch)
tree80875e319b2b16cfc8f81311fd8c8d81c58698cc /sys-freebsd
parentbump to rc3 (diff)
downloadgentoo-2-1da91a0aebdd67964d36f2a21d7775c6830b229f.tar.gz
gentoo-2-1da91a0aebdd67964d36f2a21d7775c6830b229f.tar.bz2
gentoo-2-1da91a0aebdd67964d36f2a21d7775c6830b229f.zip
bump to rc3
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-pf/ChangeLog7
-rw-r--r--sys-freebsd/freebsd-pf/freebsd-pf-9.2_rc3.ebuild69
2 files changed, 75 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-pf/ChangeLog b/sys-freebsd/freebsd-pf/ChangeLog
index 7db043ea8167..2791e4927962 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/ChangeLog,v 1.47 2013/08/22 15:45:48 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/ChangeLog,v 1.48 2013/08/26 20:44:05 aballier Exp $
+
+*freebsd-pf-9.2_rc3 (26 Aug 2013)
+
+ 26 Aug 2013; Alexis Ballier <aballier@gentoo.org> +freebsd-pf-9.2_rc3.ebuild:
+ bump to rc3
*freebsd-pf-9.2_rc2 (22 Aug 2013)
diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-9.2_rc3.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-9.2_rc3.ebuild
new file mode 100644
index 000000000000..94e41b4cfdea
--- /dev/null
+++ b/sys-freebsd/freebsd-pf/freebsd-pf-9.2_rc3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/freebsd-pf-9.2_rc3.ebuild,v 1.1 2013/08/26 20:44:05 aballier Exp $
+
+inherit bsdmk freebsd user
+
+DESCRIPTION="FreeBSD's base system libraries"
+SLOT="0"
+
+IUSE=""
+
+# Crypto is needed to have an internal OpenSSL header
+if [[ ${PV} != *9999* ]]; then
+ KEYWORDS="~amd64-fbsd ~x86-fbsd"
+ SRC_URI="mirror://gentoo/${USBIN}.tar.bz2
+ mirror://gentoo/${SBIN}.tar.bz2
+ mirror://gentoo/${CONTRIB}.tar.bz2
+ mirror://gentoo/${ETC}.tar.bz2"
+fi
+
+RDEPEND="net-libs/libpcap"
+DEPEND="${RDEPEND}
+ dev-libs/libevent
+ =sys-freebsd/freebsd-mk-defs-${RV}*
+ =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}-9.0-pcap_pollution.patch"
+ # Use system's libevent
+ epatch "${FILESDIR}/${PN}-9.0-libevent.patch"
+ epatch "${FILESDIR}/${PN}-9.0-pflogd.patch"
+ epatch "${FILESDIR}/${PN}-9.0-bpf.patch"
+ epatch "${FILESDIR}/${PN}-9.0-getline.patch"
+ # Link in kernel sources
+ ln -s "/usr/src/sys" "${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
+ # pf.initd provided by openrc, but no pf.confd
+ newconfd "${FILESDIR}/pf.confd" pf
+}