From 75af712238c3cb79abbad2f1857c879941712111 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Tue, 11 Sep 2012 17:01:18 +0000 Subject: bump to 9.1_rc1 from bsd overlay by Yuta SATOH, bug #426838 (Portage version: 2.2.0_alpha125/cvs/Linux x86_64) --- sys-freebsd/freebsd-cddl/ChangeLog | 8 ++- .../freebsd-cddl/freebsd-cddl-9.1_rc1.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 sys-freebsd/freebsd-cddl/freebsd-cddl-9.1_rc1.ebuild (limited to 'sys-freebsd/freebsd-cddl') diff --git a/sys-freebsd/freebsd-cddl/ChangeLog b/sys-freebsd/freebsd-cddl/ChangeLog index 6bd0f9053b13..26aebbfee1ec 100644 --- a/sys-freebsd/freebsd-cddl/ChangeLog +++ b/sys-freebsd/freebsd-cddl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-cddl # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.25 2012/08/20 06:18:40 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.26 2012/09/11 17:01:18 aballier Exp $ + +*freebsd-cddl-9.1_rc1 (11 Sep 2012) + + 11 Sep 2012; Alexis Ballier + +freebsd-cddl-9.1_rc1.ebuild: + bump to 9.1_rc1 from bsd overlay by Yuta SATOH, bug #426838 20 Aug 2012; Naohiro Aota freebsd-cddl-7.2.ebuild, freebsd-cddl-8.0.ebuild, freebsd-cddl-8.2.ebuild, freebsd-cddl-9.0.ebuild: diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.1_rc1.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.1_rc1.ebuild new file mode 100644 index 000000000000..c82ff59d8ae7 --- /dev/null +++ b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.1_rc1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.1_rc1.ebuild,v 1.1 2012/09/11 17:01:18 aballier Exp $ + +EAPI=4 + +inherit bsdmk freebsd toolchain-funcs multilib + +DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software" +SLOT="0" +KEYWORDS="~amd64-fbsd ~x86-fbsd" + +IUSE="build" +LICENSE="CDDL GPL-2" + +SRC_URI="mirror://gentoo/${P}.tar.bz2 + mirror://gentoo/${CONTRIB}.tar.bz2 + mirror://gentoo/${UBIN}.tar.bz2 + mirror://gentoo/${LIB}.tar.bz2 + mirror://gentoo/${SBIN}.tar.bz2 + mirror://gentoo/${SYS}.tar.bz2 + build? ( mirror://gentoo/${SYS}.tar.bz2 + mirror://gentoo/${INCLUDE}.tar.bz2 )" + +# sys is required. + +RDEPEND="=sys-freebsd/freebsd-lib-${RV}* + =sys-freebsd/freebsd-libexec-${RV}* + build? ( sys-apps/baselayout ) + dev-libs/libelf" + +DEPEND="${RDEPEND} + =sys-freebsd/freebsd-mk-defs-${RV}* + !build? ( =sys-freebsd/freebsd-sources-${RV}* )" + +S="${WORKDIR}/cddl" + +PATCHES=( "${FILESDIR}/${PN}-9.0-bsdxml.patch" + "${FILESDIR}/${PN}-9.0-underlink.patch" + "${FILESDIR}/${PN}-9.0-libpaths.patch" ) + +src_unpack() { + freebsd_src_unpack + # Link in include headers. + ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.." +} + +src_install() { + # Install libraries proper place + local mylibdir=$(get_libdir) + mkinstall SHLIBDIR="/usr/${mylibdir}" LIBDIR="/usr/${mylibdir}" || die + + gen_usr_ldscript -a avl nvpair umem uutil zfs zpool + + # Install zfs volinit script. + newinitd "${FILESDIR}"/zvol.initd-9.0 zvol + + # Install zfs script + newinitd "${FILESDIR}"/zfs.initd zfs + + keepdir /etc/zfs +} -- cgit v1.2.3-65-gdbad