summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-22 15:43:37 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-08-22 15:43:37 +0000
commitfaa0ddd9fe8672765758c7a341b92590c7f8b65f (patch)
tree838991ab0c27fe9452ee56ddb9c36a42c33c0e3e /sys-freebsd/freebsd-cddl
parentbump to rc2 (diff)
downloadgentoo-2-faa0ddd9fe8672765758c7a341b92590c7f8b65f.tar.gz
gentoo-2-faa0ddd9fe8672765758c7a341b92590c7f8b65f.tar.bz2
gentoo-2-faa0ddd9fe8672765758c7a341b92590c7f8b65f.zip
bump to rc2
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sys-freebsd/freebsd-cddl')
-rw-r--r--sys-freebsd/freebsd-cddl/ChangeLog8
-rw-r--r--sys-freebsd/freebsd-cddl/freebsd-cddl-9.2_rc2.ebuild63
2 files changed, 70 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-cddl/ChangeLog b/sys-freebsd/freebsd-cddl/ChangeLog
index 6e948f34222b..ca1ab93f4aa7 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.37 2013/08/19 15:10:41 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.38 2013/08/22 15:43:37 aballier Exp $
+
+*freebsd-cddl-9.2_rc2 (22 Aug 2013)
+
+ 22 Aug 2013; Alexis Ballier <aballier@gentoo.org>
+ +freebsd-cddl-9.2_rc2.ebuild:
+ bump to rc2
19 Aug 2013; Alexis Ballier <aballier@gentoo.org>
files/freebsd-cddl-9.2-underlink.patch:
diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.2_rc2.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.2_rc2.ebuild
new file mode 100644
index 000000000000..e9f0db40dff4
--- /dev/null
+++ b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.2_rc2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2013 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.2_rc2.ebuild,v 1.1 2013/08/22 15:43:37 aballier Exp $
+
+EAPI=4
+
+inherit bsdmk freebsd toolchain-funcs multilib
+
+DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software"
+SLOT="0"
+
+IUSE="build"
+LICENSE="CDDL GPL-2"
+
+if [[ ${PV} != *9999* ]]; then
+ KEYWORDS="~amd64-fbsd ~x86-fbsd"
+ 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/${INCLUDE}.tar.bz2 )"
+fi
+
+# sys is required.
+
+RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
+ =sys-freebsd/freebsd-libexec-${RV}*
+ build? ( sys-apps/baselayout )"
+
+DEPEND="${RDEPEND}
+ =sys-freebsd/freebsd-mk-defs-${RV}*
+ !build? ( =sys-freebsd/freebsd-sources-${RV}* )"
+
+S="${WORKDIR}/cddl"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-9.2-libpaths.patch"
+ "${FILESDIR}/${PN}-9.2-underlink.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 zfs_core
+
+ # Install zfs volinit script.
+ newinitd "${FILESDIR}"/zvol.initd-9.0 zvol
+
+ # Install zfs script
+ newinitd "${FILESDIR}"/zfs.initd zfs
+
+ keepdir /etc/zfs
+}