diff options
Diffstat (limited to 'sys-freebsd/freebsd-pf/freebsd-pf-7.0_pre200704.ebuild')
-rw-r--r-- | sys-freebsd/freebsd-pf/freebsd-pf-7.0_pre200704.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-7.0_pre200704.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-7.0_pre200704.ebuild new file mode 100644 index 0000000..86ff311 --- /dev/null +++ b/sys-freebsd/freebsd-pf/freebsd-pf-7.0_pre200704.ebuild @@ -0,0 +1,58 @@ +# 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="http://84.33.1.46/~drizzt/stages/${USBIN}.tar.bz2 + http://84.33.1.46/~drizzt/stages/${SBIN}.tar.bz2 + http://84.33.1.46/~drizzt/stages/${CONTRIB}.tar.bz2 + http://84.33.1.46/~drizzt/stages/${LIBEXEC}.tar.bz2 + http://84.33.1.46/~drizzt/stages/${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 +} |