1 |
jsbronder 08/04/17 02:51:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pvfs2-2.7.1.ebuild |
5 |
Log: |
6 |
Bump pvfs2 to 2.7.1. Added threads use flag for the client threaded libraries. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.12 sys-cluster/pvfs2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/pvfs2/ChangeLog?rev=1.12&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/pvfs2/ChangeLog?rev=1.12&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/pvfs2/ChangeLog?r1=1.11&r2=1.12 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/ChangeLog,v |
19 |
retrieving revision 1.11 |
20 |
retrieving revision 1.12 |
21 |
diff -u -r1.11 -r1.12 |
22 |
--- ChangeLog 10 Mar 2008 01:17:07 -0000 1.11 |
23 |
+++ ChangeLog 17 Apr 2008 02:51:23 -0000 1.12 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for sys-cluster/pvfs2 |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/ChangeLog,v 1.11 2008/03/10 01:17:07 jsbronder Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/ChangeLog,v 1.12 2008/04/17 02:51:23 jsbronder Exp $ |
29 |
+ |
30 |
+*pvfs2-2.7.1 (17 Apr 2008) |
31 |
+ |
32 |
+ 17 Apr 2008; Justin Bronder <jsbronder@g.o> |
33 |
+ +files/pvfs2-split-kernapps.patch, +pvfs2-2.7.1.ebuild: |
34 |
+ Bump pvfs2 to 2.7.1. Added threads use flag for the client threaded |
35 |
+ libraries. |
36 |
|
37 |
*pvfs2-2.7.0-r2 (10 Mar 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-cluster/pvfs2/pvfs2-2.7.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/pvfs2/pvfs2-2.7.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/pvfs2/pvfs2-2.7.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pvfs2-2.7.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/pvfs2-2.7.1.ebuild,v 1.1 2008/04/17 02:51:23 jsbronder Exp $ |
52 |
|
53 |
inherit linux-mod autotools toolchain-funcs |
54 |
|
55 |
MY_PN="${PN%[0-9]*}" |
56 |
MY_P="${MY_PN}-${PV}" |
57 |
S="${WORKDIR}/${MY_P}" |
58 |
|
59 |
DESCRIPTION="Parallel Virtual File System version 2" |
60 |
HOMEPAGE="http://www.pvfs.org/" |
61 |
SRC_URI="ftp://ftp.parl.clemson.edu/pub/pvfs2/${MY_P}.tar.gz" |
62 |
IUSE="gtk server static doc ssl examples apidocs threads" |
63 |
RDEPEND="gtk? ( >=x11-libs/gtk+-2 ) |
64 |
ssl? ( dev-libs/openssl ) |
65 |
doc? ( dev-tex/latex2html ) |
66 |
apidocs? ( app-doc/doxygen ) |
67 |
sys-libs/db" |
68 |
DEPEND="${RDEPEND} |
69 |
virtual/linux-sources" |
70 |
SLOT="0" |
71 |
LICENSE="GPL-2" |
72 |
KEYWORDS="~amd64 ~ppc ~x86 ~ppc64" |
73 |
|
74 |
pkg_setup() { |
75 |
linux-mod_pkg_setup |
76 |
|
77 |
if kernel_is 2 4; then |
78 |
BUILD_TARGETS="just_kmod24" |
79 |
ECONF_PARAMS="--with-kernel24=${KV_DIR}" |
80 |
MODULE_NAMES="pvfs2(fs::src/kernel/linux-2.4)" |
81 |
else |
82 |
BUILD_TARGETS="just_kmod" |
83 |
ECONF_PARAMS="--with-kernel=${KV_DIR} --enable-verbose-build" |
84 |
MODULE_NAMES="pvfs2(fs::src/kernel/linux-2.6)" |
85 |
fi |
86 |
|
87 |
ECONF_PARAMS="${ECONF_PARAMS} |
88 |
--enable-mmap-racache |
89 |
--sysconfdir=/etc/pvfs2 |
90 |
--enable-shared |
91 |
--enable-static |
92 |
$(use_enable static static-server) |
93 |
$(use_enable gtk karma) |
94 |
$(use_enable server) |
95 |
$(use_enable threads threaded-kmod-helper) |
96 |
$(use_with ssl openssl /usr/$(get_libdir))" |
97 |
} |
98 |
|
99 |
src_unpack() { |
100 |
unpack ${A} |
101 |
cd "${S}" |
102 |
|
103 |
# Upstream doesn't seem to want to apply this which makes |
104 |
# sense as it probably only matters to us. Simple patch |
105 |
# to split the installation of the module (which we use |
106 |
# the eclass for) and the installation of the kernapps. |
107 |
epatch "${FILESDIR}"/${PN}-split-kernapps.patch |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
linux-mod_src_compile || die |
112 |
emake kernapps || die |
113 |
emake all || die |
114 |
if use doc; then |
115 |
emake docs || die |
116 |
if use apidocs; then |
117 |
cd "${S}"/doc |
118 |
doxygen doxygen/pvfs2-doxygen.conf || die |
119 |
fi |
120 |
fi |
121 |
} |
122 |
|
123 |
src_install() { |
124 |
linux-mod_src_install || die |
125 |
emake DESTDIR="${D}" kernapps_install || die |
126 |
emake DESTDIR="${D}" install || die |
127 |
|
128 |
if use server; then |
129 |
newinitd "${FILESDIR}"/pvfs2-server-init.d-2.7.0 pvfs2-server |
130 |
newconfd "${FILESDIR}"/pvfs2-server-conf.d-2.7.0 pvfs2-server |
131 |
fi |
132 |
|
133 |
newinitd "${FILESDIR}"/pvfs2-client-init.d-2.7.0 pvfs2-client |
134 |
newconfd "${FILESDIR}"/pvfs2-client-conf.d-2.7.0 pvfs2-client |
135 |
|
136 |
dodoc AUTHORS CREDITS ChangeLog INSTALL README |
137 |
|
138 |
# this is LARGE (~5mb) |
139 |
if use doc; then |
140 |
dodoc doc/multi-fs-doc.txt doc/add-server-req \ |
141 |
doc/add-client-syscall doc/coding/valgrind \ |
142 |
doc/coding/backtrace_analysis.txt |
143 |
insinto /usr/share/doc/${PF} |
144 |
doins doc/*.pdf doc/coding/developer-guidelines.pdf \ |
145 |
doc/design/*.pdf doc/random/SystemInterfaceTesting.pdf |
146 |
if use apidocs; then |
147 |
dohtml -A map -A md5 doc/doxygen/html/* |
148 |
fi |
149 |
fi |
150 |
if use examples; then |
151 |
docinto examples/heartbeat |
152 |
dodoc examples/heartbeat/* |
153 |
docinto examples |
154 |
dodoc examples/fs.conf |
155 |
fi |
156 |
} |
157 |
|
158 |
pkg_preinst() { |
159 |
linux-mod_pkg_preinst |
160 |
} |
161 |
|
162 |
pkg_postinst() { |
163 |
linux-mod_pkg_postinst |
164 |
local f="$(source "${ROOT}"etc/conf.d/pvfs2-server; echo ${PVFS2_FS_CONF})" |
165 |
elog "1.) Pvfs2 uses a unified configuration file as of 2.7.0. If you" |
166 |
elog " have configuration files from an earlier version, use the provided:" |
167 |
elog " ${ROOT}usr/bin/pvfs2-config-convert" |
168 |
elog "to automatically update to the newer configuration scheme." |
169 |
elog "2.) Use emerge --config pvfs2 to create new configuration files." |
170 |
elog "3.) If the storage space has not been previously created, either set" |
171 |
elog " PVFS2_AUTO_MKFS=1 in ${ROOT}etc/conf.d/pvfs2-server or run:" |
172 |
elog " ${ROOT}usr/sbin/pvfs2-server --mkfs ${f}" |
173 |
} |
174 |
|
175 |
pkg_config() { |
176 |
local s |
177 |
local f="$(source "${ROOT}"etc/conf.d/pvfs2-server; echo ${PVFS2_FS_CONF})" |
178 |
if [[ -f "${f}" ]]; then |
179 |
ewarn "Previous install detected." |
180 |
ewarn "We're about to wipe out ${f} and replace it with" |
181 |
ewarn "the file generated by running pvfs2-genconfig. If this is what" |
182 |
ewarn "you want to do, hit any key to continue. Otherwise hit ctrl+C" |
183 |
ewarn "to abort." |
184 |
read s |
185 |
fi |
186 |
einfo "Creating new unified configuration file" |
187 |
ewarn "WARNING: pvfs2 is picky about hostnames. Make sure you use the" |
188 |
ewarn "correct shortname for all nodes and have name resolution for these" |
189 |
ewarn "shortnames correctly configured on all nodes." |
190 |
[ ! -d "${ROOT}$(dirname "${f}")" ] && mkdir -p "${ROOT}$(dirname "${f}")" |
191 |
"${ROOT}"usr/bin/pvfs2-genconfig "${f}" |
192 |
} |
193 |
|
194 |
|
195 |
|
196 |
-- |
197 |
gentoo-commits@l.g.o mailing list |