Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-cddl: ChangeLog freebsd-cddl-9.2.ebuild
Date: Sat, 09 Nov 2013 09:16:20
Message-Id: 20131109091614.CBFD02004B@flycatcher.gentoo.org
1 aballier 13/11/09 09:16:14
2
3 Modified: ChangeLog
4 Added: freebsd-cddl-9.2.ebuild
5 Log:
6 bump to 9.2
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.40 sys-freebsd/freebsd-cddl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog?rev=1.40&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog?rev=1.40&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog?r1=1.39&r2=1.40
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v
20 retrieving revision 1.39
21 retrieving revision 1.40
22 diff -u -r1.39 -r1.40
23 --- ChangeLog 26 Aug 2013 20:41:53 -0000 1.39
24 +++ ChangeLog 9 Nov 2013 09:16:14 -0000 1.40
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-freebsd/freebsd-cddl
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.39 2013/08/26 20:41:53 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.40 2013/11/09 09:16:14 aballier Exp $
30 +
31 +*freebsd-cddl-9.2 (09 Nov 2013)
32 +
33 + 09 Nov 2013; Alexis Ballier <aballier@g.o> +freebsd-cddl-9.2.ebuild:
34 + bump to 9.2
35
36 *freebsd-cddl-9.2_rc3 (26 Aug 2013)
37
38
39
40
41 1.1 sys-freebsd/freebsd-cddl/freebsd-cddl-9.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: freebsd-cddl-9.2.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.2.ebuild,v 1.1 2013/11/09 09:16:14 aballier Exp $
51
52 EAPI=4
53
54 inherit bsdmk freebsd toolchain-funcs multilib
55
56 DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software"
57 SLOT="0"
58
59 IUSE="build"
60 LICENSE="CDDL GPL-2"
61
62 if [[ ${PV} != *9999* ]]; then
63 KEYWORDS="~amd64-fbsd ~x86-fbsd"
64 SRC_URI="mirror://gentoo/${P}.tar.bz2
65 mirror://gentoo/${CONTRIB}.tar.bz2
66 mirror://gentoo/${UBIN}.tar.bz2
67 mirror://gentoo/${LIB}.tar.bz2
68 mirror://gentoo/${SBIN}.tar.bz2
69 mirror://gentoo/${SYS}.tar.bz2
70 build? ( mirror://gentoo/${INCLUDE}.tar.bz2 )"
71 fi
72
73 # sys is required.
74
75 RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
76 =sys-freebsd/freebsd-libexec-${RV}*
77 build? ( sys-apps/baselayout )"
78
79 DEPEND="${RDEPEND}
80 =sys-freebsd/freebsd-mk-defs-${RV}*
81 !build? ( =sys-freebsd/freebsd-sources-${RV}* )"
82
83 S="${WORKDIR}/cddl"
84
85 PATCHES=(
86 "${FILESDIR}/${PN}-9.2-libpaths.patch"
87 "${FILESDIR}/${PN}-9.2-underlink.patch"
88 )
89
90 src_unpack() {
91 freebsd_src_unpack
92 # Link in include headers.
93 ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.."
94 }
95
96 src_install() {
97 # Install libraries proper place
98 local mylibdir=$(get_libdir)
99 mkinstall SHLIBDIR="/usr/${mylibdir}" LIBDIR="/usr/${mylibdir}" || die
100
101 gen_usr_ldscript -a avl nvpair umem uutil zfs zpool zfs_core
102
103 # Install zfs volinit script.
104 newinitd "${FILESDIR}"/zvol.initd-9.0 zvol
105
106 # Install zfs script
107 newinitd "${FILESDIR}"/zfs.initd zfs
108
109 keepdir /etc/zfs
110 }