summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2007-12-03 00:00:46 +0000
committerSteve Arnold <nerdboy@gentoo.org>2007-12-03 00:00:46 +0000
commitee3c46f8ac47c6f1f8e3e8074f066c39ee32a793 (patch)
tree7191f26d2d8b1aee5706e6df0fcfc6f414b59ecc /sys-cluster
parentpush changes (diff)
downloadhistorical-ee3c46f8ac47c6f1f8e3e8074f066c39ee32a793.tar.gz
historical-ee3c46f8ac47c6f1f8e3e8074f066c39ee32a793.tar.bz2
historical-ee3c46f8ac47c6f1f8e3e8074f066c39ee32a793.zip
Added latest upstream release to address shared library and API issues
Package-Manager: portage-2.1.4_rc1
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/pvfs2/ChangeLog12
-rw-r--r--sys-cluster/pvfs2/Manifest24
-rw-r--r--sys-cluster/pvfs2/files/2.7.0-lib-install.patch21
-rw-r--r--sys-cluster/pvfs2/files/2.7.0-soname.patch60
-rw-r--r--sys-cluster/pvfs2/files/digest-pvfs2-2.7.03
-rw-r--r--sys-cluster/pvfs2/pvfs2-2.7.0.ebuild192
6 files changed, 307 insertions, 5 deletions
diff --git a/sys-cluster/pvfs2/ChangeLog b/sys-cluster/pvfs2/ChangeLog
index 5e2694039924..e4216a54a5e4 100644
--- a/sys-cluster/pvfs2/ChangeLog
+++ b/sys-cluster/pvfs2/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-cluster/pvfs2
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/ChangeLog,v 1.8 2007/10/17 02:40:58 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/ChangeLog,v 1.9 2007/12/03 00:00:45 nerdboy Exp $
+
+*pvfs2-2.7.0 (02 Dec 2007)
+
+ 02 Dec 2007; Steve Arnold <nerdboy@gentoo.org> +pvfs2-2.7.0.ebuild,
+ +files/2.7.0-lib-install.patch, +files/2.7.0-soname.patch:
+ Added latest upstream release to address shared library issues and
+ dependent packages (eg, mpich2, hdf5-parallel, etc). Also enabled
+ the shared version of libpvfs2-threaded. This is definitely the one
+ you want if you need the latest cluster/MPI support (although the
+ threaded lib needs testing).
17 Oct 2007; Steve Arnold <nerdboy@gentoo.org> pvfs2-2.6.3-r1.ebuild,
pvfs2-2.6.3.ebuild, pvfs2-1.5.1.ebuild:
diff --git a/sys-cluster/pvfs2/Manifest b/sys-cluster/pvfs2/Manifest
index eaf277c29939..af184951106b 100644
--- a/sys-cluster/pvfs2/Manifest
+++ b/sys-cluster/pvfs2/Manifest
@@ -22,6 +22,14 @@ AUX 2.6.3-soname.patch 406 RMD160 af22e2cf118d12c89e1dfcd455b9148bffd9221f SHA1
MD5 8b79e85d35ebe03b6f982f3f5947b22f files/2.6.3-soname.patch 406
RMD160 af22e2cf118d12c89e1dfcd455b9148bffd9221f files/2.6.3-soname.patch 406
SHA256 7530c4ad04b7e3248d122f5b3151264690f03aba7a48620617d1cda297affa34 files/2.6.3-soname.patch 406
+AUX 2.7.0-lib-install.patch 701 RMD160 bfe2b7b5b0106310ad3d2211212587f2ec282894 SHA1 f166423709f7c3eaf055f3d0e4e1b53d3eaceb2e SHA256 706c8e270a37064e0b9f393258abab329227d5a363c1383b907196f3e455257c
+MD5 fbab4bd9b0d56afc057701cc28007265 files/2.7.0-lib-install.patch 701
+RMD160 bfe2b7b5b0106310ad3d2211212587f2ec282894 files/2.7.0-lib-install.patch 701
+SHA256 706c8e270a37064e0b9f393258abab329227d5a363c1383b907196f3e455257c files/2.7.0-lib-install.patch 701
+AUX 2.7.0-soname.patch 1920 RMD160 e2019ee00a87a6294530f5e76d216e93cd870d8e SHA1 c8aa8cc016e0219508e405f48e2450b56daa5894 SHA256 73856f4f5338b7b3cc15a26b02ae544c5384cfa5da955f74ea346a88842818fd
+MD5 b9491e8d6d1305a8cf0e216be103247b files/2.7.0-soname.patch 1920
+RMD160 e2019ee00a87a6294530f5e76d216e93cd870d8e files/2.7.0-soname.patch 1920
+SHA256 73856f4f5338b7b3cc15a26b02ae544c5384cfa5da955f74ea346a88842818fd files/2.7.0-soname.patch 1920
AUX pvfs2-1.5.1-destdir.patch 4927 RMD160 58f046ec9e23a10d500cd304ef400f6611e1895c SHA1 b88f931faa0609a31c3665a7337fd8f8ff36a37d SHA256 36d150fa14c53b76933ee5d4121242f206b61e2de76562bfd930088a2d097b6d
MD5 83cc9d6b07895acc7ddf489f2412f0df files/pvfs2-1.5.1-destdir.patch 4927
RMD160 58f046ec9e23a10d500cd304ef400f6611e1895c files/pvfs2-1.5.1-destdir.patch 4927
@@ -43,6 +51,7 @@ MD5 ee79882f099c783c0db5bbff9a9abe1d files/pvfs2-server.rc 2814
RMD160 4027463eca4ddc593519c27e8f4e3b101601e2d9 files/pvfs2-server.rc 2814
SHA256 c9a0bc9d2c49bd1e30712bb6621e4c9a6622206e0d8a4487cc3a5eece0b0171f files/pvfs2-server.rc 2814
DIST pvfs-2.6.3.tar.gz 3971014 RMD160 a2dcfcf60bde46a3f99b1cc490e9148fdbaacda6 SHA1 781d626996477afff8b87bb9204acd72b3a24a98 SHA256 e8468c277b8832ef26308400a41244fad6e98f38ffcfd417b42aae9f796c03f6
+DIST pvfs-2.7.0.tar.gz 2249993 RMD160 bc694aaf83029ea6cde4b2c64225f63203e2b862 SHA1 e5c3de5eec880fbaec7984ad1eee36f60564414e SHA256 5c781ba3943b7fa604617ba08a8da7651ac4b82fdc910b01ae7cfd6f32e87f85
DIST pvfs2-1.5.1.tar.gz 3295116 RMD160 fcb2c61318efa73a55e19a592f1b6c429a34ea4d SHA1 2a80879aa11cec1da9ce8520a28067b42e5f1412 SHA256 7312a753500baff8d6bd9bda2cbba29efed397f868b94859df0ff17fde57d5af
EBUILD pvfs2-1.5.1.ebuild 1468 RMD160 a7de71a915066f145ea65bad2aec48b293d817c5 SHA1 a536ab73b5d3c5cb49e61aa2ea1abbc37ef8a8a8 SHA256 257db85531d0c2b9901bb52a27de40692062f55e2490d726667c185bf1c77da0
MD5 87093290780d96db57e664a3c9d8b9af pvfs2-1.5.1.ebuild 1468
@@ -56,10 +65,14 @@ EBUILD pvfs2-2.6.3.ebuild 3915 RMD160 26cb233eccf04755023fd4d04da3cc7640e1efd0 S
MD5 a7fcbdc94a6e61037e396029e7cbdbf0 pvfs2-2.6.3.ebuild 3915
RMD160 26cb233eccf04755023fd4d04da3cc7640e1efd0 pvfs2-2.6.3.ebuild 3915
SHA256 821b6a2dd2d47937762c5409c55478e80baca6f3f7cc5448193210ea26af0a3b pvfs2-2.6.3.ebuild 3915
-MISC ChangeLog 1920 RMD160 b8b54985998effe34e51e681558fea09fbf076f7 SHA1 0d6c02512b70a493f4711b72870dda03dd529c93 SHA256 1f994c6b2e378953b793d97f90001d8b7df67117ab4977b047ab1b48ec75b000
-MD5 355bdb8891a95376fc5c47afec4b24d2 ChangeLog 1920
-RMD160 b8b54985998effe34e51e681558fea09fbf076f7 ChangeLog 1920
-SHA256 1f994c6b2e378953b793d97f90001d8b7df67117ab4977b047ab1b48ec75b000 ChangeLog 1920
+EBUILD pvfs2-2.7.0.ebuild 6493 RMD160 d813e49756128b16076dc45449e6df1ea7de9ff7 SHA1 ae40e1541065f3a5fdc25b482da631c5190188ae SHA256 6d1fcda5cea60ec6d159901cd3eab008cc14ed5dc7370752e7fe01ecc3a252fd
+MD5 52ce3a28e9f3c0d1622a285efa5f00ee pvfs2-2.7.0.ebuild 6493
+RMD160 d813e49756128b16076dc45449e6df1ea7de9ff7 pvfs2-2.7.0.ebuild 6493
+SHA256 6d1fcda5cea60ec6d159901cd3eab008cc14ed5dc7370752e7fe01ecc3a252fd pvfs2-2.7.0.ebuild 6493
+MISC ChangeLog 2387 RMD160 45f691bc1008e8121d279992f586ef18aada0d53 SHA1 c655976fa206bff705e4f5e761de6f83710f33f5 SHA256 0161caa0caf5a50a16cb237a2419fd99f111197de0134e37b23b7a6d376a3f8e
+MD5 bde1359fce6fd2654344be168131d422 ChangeLog 2387
+RMD160 45f691bc1008e8121d279992f586ef18aada0d53 ChangeLog 2387
+SHA256 0161caa0caf5a50a16cb237a2419fd99f111197de0134e37b23b7a6d376a3f8e ChangeLog 2387
MISC metadata.xml 163 RMD160 ea1530cd45b9e04e8693261b9a94b5988e4b09a1 SHA1 443b7a3d8fb76c8d20647b165032ad358bfa3b6a SHA256 5a03bf3074b07158dffe793af69f7b0cd1e5c785537574713f9a7978032363a3
MD5 6be723a646638c71a36096e65e6ef8f0 metadata.xml 163
RMD160 ea1530cd45b9e04e8693261b9a94b5988e4b09a1 metadata.xml 163
@@ -73,3 +86,6 @@ SHA256 114639d022e3e3d7e0f1af6c94bed1ac5cbab5983d8009ff6fd867cc525af8b4 files/di
MD5 4bc10b25602e73fe3e1d88292dd04036 files/digest-pvfs2-2.6.3-r1 235
RMD160 12e2810c0fbb30c1d9b4c678ec5ce4b2e835bee7 files/digest-pvfs2-2.6.3-r1 235
SHA256 114639d022e3e3d7e0f1af6c94bed1ac5cbab5983d8009ff6fd867cc525af8b4 files/digest-pvfs2-2.6.3-r1 235
+MD5 f39953876e73498a237ed21bf0fdbf84 files/digest-pvfs2-2.7.0 235
+RMD160 8d225a94c96651f8a33131f4e77ebadb3872c858 files/digest-pvfs2-2.7.0 235
+SHA256 17cc84b513ea8febd31d971968468c2c5e33434e18cb484301d15744a6cfb256 files/digest-pvfs2-2.7.0 235
diff --git a/sys-cluster/pvfs2/files/2.7.0-lib-install.patch b/sys-cluster/pvfs2/files/2.7.0-lib-install.patch
new file mode 100644
index 000000000000..34803d0cf262
--- /dev/null
+++ b/sys-cluster/pvfs2/files/2.7.0-lib-install.patch
@@ -0,0 +1,21 @@
+--- Makefile.in.orig 2007-11-30 16:49:56.000000000 -0800
++++ Makefile.in 2007-11-30 16:53:49.000000000 -0800
+@@ -55,6 +55,7 @@
+ prefix = $(DESTDIR)@prefix@
+ datarootdir = $(DESTDIR)@datarootdir@
+ mandir = $(DESTDIR)@mandir@
++libdir = $(DESTDIR)@libdir@
+ exec_prefix = $(DESTDIR)@exec_prefix@
+
+ VPATH = $(srcdir)
+@@ -893,8 +894,8 @@
+ install -m 644 $(srcdir)/include/pvfs2-util.h $(prefix)/include
+ install -m 644 $(srcdir)/include/pvfs2-encode-stubs.h $(prefix)/include
+
+- install -d $(prefix)/lib
+- install -m 755 $(LIBRARIES) $(prefix)/lib
++ install -d $(libdir)
++ install -m 755 $(LIBRARIES) $(libdir)
+
+ ifdef TARGET_OS_DARWIN
+ # TOC needs to be regenerated in libs after they get moved
diff --git a/sys-cluster/pvfs2/files/2.7.0-soname.patch b/sys-cluster/pvfs2/files/2.7.0-soname.patch
new file mode 100644
index 000000000000..8b994182d435
--- /dev/null
+++ b/sys-cluster/pvfs2/files/2.7.0-soname.patch
@@ -0,0 +1,60 @@
+--- Makefile.in.orig 2007-12-02 12:26:02.000000000 -0800
++++ Makefile.in 2007-12-02 12:47:58.000000000 -0800
+@@ -64,6 +64,7 @@
+ # TODO: should probably check for bison and flex in configure
+ BISON = bison
+ FLEX = flex
++LN = ln -s
+ BUILD_BMI_TCP = @BUILD_BMI_TCP@
+ BUILD_GM = @BUILD_GM@
+ BUILD_MX = @BUILD_MX@
+@@ -163,6 +164,8 @@
+ REDHAT_RELEASE = @REDHAT_RELEASE@
+ NPTL_WORKAROUND = @NPTL_WORKAROUND@
+ STRICT_CFLAGS = @STRICT_CFLAGS@
++SO_LIBS = -lcrypt -lssl -lpthread
++SO_VER = 2.0
+ # for Solaris:
+ # LIBS += -lsocket -lnsl
+
+@@ -436,8 +439,10 @@
+ LIBRARIES :=
+ LIBRARIES_THREADED :=
+ ifeq ($(build_shared),yes)
+-LIBRARIES_SHARED = lib/libpvfs2.so
++LIBRARIES_SHARED = lib/libpvfs2.so.$(SO_VER)
+ LIBRARIES += $(LIBRARIES_SHARED)
++LIBRARIES_THREADED_SHARED = lib/libpvfs2-threaded.so.$(SO_VER)
++LIBRARIES_THREADED += $(LIBRARIES_THREADED_SHARED)
+ endif
+ ifeq ($(build_static),yes)
+ LIBRARIES_STATIC = lib/libpvfs2.a
+@@ -628,16 +633,16 @@
+ $(E)ar rcs $@ $(LIBTHREADEDOBJS)
+
+ # rule for building the pvfs2 library
+-lib/libpvfs2.so: $(LIBPICOBJS)
++lib/libpvfs2.so.$(SO_VER): $(LIBPICOBJS)
+ $(Q) " LDSO $@"
+ $(E)$(INSTALL) -d lib
+- $(E)$(LDSHARED) -o $@ $(LIBPICOBJS)
++ $(E)$(LDSHARED) -Wl,-soname,libpvfs2.so.$(SO_VER) -o $@ $(LIBPICOBJS) $(SO_LIBS)
+
+ # rule for building the pvfs2 _multithreaded_ library
+-lib/libpvfs2-threaded.so: $(LIBTHREADEDPICOBJS)
++lib/libpvfs2-threaded.so.$(SO_VER): $(LIBTHREADEDPICOBJS)
+ $(Q) " LDSO $@"
+ $(E)$(INSTALL) -d lib
+- $(E)$(LDSHARED) -o $@ $(LIBTHREADEDPICOBJS)
++ $(E)$(LDSHARED) -Wl,-soname,libpvfs2-threaded.so.$(SO_VER) -o $@ $(LIBTHREADEDPICOBJS) $(SO_LIBS)
+
+ # rule for building the pvfs2 server library
+ lib/libpvfs2-server.a: $(SERVEROBJS)
+@@ -896,6 +901,7 @@
+
+ install -d $(libdir)
+ install -m 755 $(LIBRARIES) $(libdir)
++ install -m 755 $(LIBRARIES_THREADED) $(libdir)
+
+ ifdef TARGET_OS_DARWIN
+ # TOC needs to be regenerated in libs after they get moved
diff --git a/sys-cluster/pvfs2/files/digest-pvfs2-2.7.0 b/sys-cluster/pvfs2/files/digest-pvfs2-2.7.0
new file mode 100644
index 000000000000..8a8cdfa5bf22
--- /dev/null
+++ b/sys-cluster/pvfs2/files/digest-pvfs2-2.7.0
@@ -0,0 +1,3 @@
+MD5 99e7680e82b692f699b5a295b31989c8 pvfs-2.7.0.tar.gz 2249993
+RMD160 bc694aaf83029ea6cde4b2c64225f63203e2b862 pvfs-2.7.0.tar.gz 2249993
+SHA256 5c781ba3943b7fa604617ba08a8da7651ac4b82fdc910b01ae7cfd6f32e87f85 pvfs-2.7.0.tar.gz 2249993
diff --git a/sys-cluster/pvfs2/pvfs2-2.7.0.ebuild b/sys-cluster/pvfs2/pvfs2-2.7.0.ebuild
new file mode 100644
index 000000000000..d969b2e3aa7d
--- /dev/null
+++ b/sys-cluster/pvfs2/pvfs2-2.7.0.ebuild
@@ -0,0 +1,192 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/pvfs2-2.7.0.ebuild,v 1.1 2007/12/03 00:00:45 nerdboy Exp $
+
+inherit linux-mod autotools toolchain-funcs
+
+MY_PN="${PN%[0-9]*}"
+MY_P="${MY_PN}-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Parallel Virtual File System version 2"
+HOMEPAGE="http://www.pvfs.org/"
+SRC_URI="ftp://ftp.parl.clemson.edu/pub/pvfs2/${MY_P}.tar.gz"
+
+RDEPEND="gtk? ( >=x11-libs/gtk+-2 )
+ sys-libs/db
+ dev-libs/openssl
+ apidocs? ( app-doc/doxygen )
+ doc? ( dev-tex/latex2html
+ virtual/tetex )"
+
+DEPEND="${RDEPEND}
+ virtual/linux-sources
+ examples? ( dev-lang/perl )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="apidocs doc examples gtk server static"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if kernel_is 2 4; then
+ BUILD_TARGETS="just_kmod24"
+ ECONF_PARAMS="--with-kernel24=${KV_DIR}"
+ MODULE_NAMES="pvfs2(fs::src/kernel/linux-2.4)"
+ else
+ BUILD_TARGETS="just_kmod"
+ ECONF_PARAMS="--with-kernel=${KV_DIR} --enable-verbose-build"
+ MODULE_NAMES="pvfs2(fs::src/kernel/linux-2.6)"
+ fi
+
+ # Notice I don't include --disable-static because it makes the linker
+ # fail due to a missing library needed by LIBS_THREADED += -lpvfs2-threaded.
+ # However that library is only compiled if static is enabled. Anyway
+ # it is used to build pvfs2-client-core-threaded, which is not installed
+ # by make kmod_install (unstable perhaps?)
+
+ # As of version 2.7.0 both static and shared versions of lpvfs2-threaded
+ # are built and installed (via the soname patch). Feel free to test ...
+ ECONF_PARAMS="${ECONF_PARAMS} $(use_enable !static shared)"
+ ECONF_PARAMS="${ECONF_PARAMS} $(use_enable gtk karma)"
+ ECONF_PARAMS="${ECONF_PARAMS} $(use_enable server)"
+ ECONF_PARAMS="${ECONF_PARAMS} --libdir=/usr/$(get_libdir)"
+ ECONF_PARAMS="${ECONF_PARAMS} --enable-mmap-racache"
+ ECONF_PARAMS="${ECONF_PARAMS} --with-openssl=/usr"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ find "${S}" -name '*\.d' | xargs rm -rf
+
+ AT_M4DIR="maint/config" eautoreconf
+
+ epatch "${FILESDIR}"/2.6.3-as-needed.patch || die "as-needed patch failed"
+ epatch "${FILESDIR}/${PV}"-lib-install.patch || die "install patch failed"
+ epatch "${FILESDIR}/${PV}"-soname.patch || die "soname patch failed"
+
+ # Fix so we can install kernapps separate from kmod_install
+ sed -i '/^kmod_install: kmod/{
+ s/\(kmod_install:.*kernapps\)\(.*\)/\1_install\2\n.PHONY: kernapps_install\nkernapps_install: kernapps/}' Makefile.in
+ sed -i '/^kmod24_install: kmod/{
+ s/\(kmod24_install:.*kernapps\)\(.*\)/\1_install\2\n.PHONY: kernapps_install\nkernapps_install: kernapps/}' Makefile.in
+
+ #This is needed when gcc doesn't support -Wno-pointer-sign. Now it will give us some warnings so it also removes -Werror.
+ #It's unsafe, not recommended
+ if [ "$(gcc-major-version)" -lt "4" ]; then
+ ewarn "It's recommended to use gcc >= 4.0 to avoid the following patch"
+ epatch "${FILESDIR}"/2.6.3-no-pointer-sign.patch
+ fi
+}
+
+src_compile() {
+ # since ${ECONF_PARAMS} is set, linux-mod_src_compile will invoke
+ # its own configure, so running econf just makes it go twice...
+
+ linux-mod_src_compile || die "Unable to linux-mod_src_compile"
+ make kernapps || die "Unable to make kernapps."
+ make all || die "Unable to make all."
+
+ if use doc ; then
+ make docs || die "Unable to make docs."
+ if use apidocs ; then
+ cd "${S}"/doc
+ doxygen doxygen/pvfs2-doxygen.conf || die "doxygen failed"
+ fi
+ fi
+}
+
+src_install() {
+ linux-mod_src_install || die "linux-mod_src_install failed"
+ emake DESTDIR="${D}" kernapps_install || die "kernapps_install failed"
+ emake DESTDIR="${D}" install || die "install failed"
+
+ cd "${D}"usr/$(get_libdir)
+ dosym libpvfs2.so.2.0 /usr/$(get_libdir)/libpvfs2.so.2
+ dosym libpvfs2.so.2 /usr/$(get_libdir)/libpvfs2.so
+ dosym libpvfs2-threaded.so.2.0 /usr/$(get_libdir)/libpvfs2-threaded.so.2
+ dosym libpvfs2-threaded.so.2 /usr/$(get_libdir)/libpvfs2-threaded.so
+ cd "${S}"
+
+ if use server; then
+ newinitd "${FILESDIR}"/pvfs2-server.rc pvfs2-server
+ newconfd "${FILESDIR}"/pvfs2-server.conf pvfs2-server
+ fi
+
+ newinitd "${FILESDIR}"/pvfs2-client-init.d pvfs2-client
+ newconfd "${FILESDIR}"/pvfs2-client.conf pvfs2-client
+
+ # this is LARGE (~5mb)
+ if use doc; then
+ dodoc doc/multi-fs-doc.txt doc/add-server-req \
+ doc/add-client-syscall doc/coding/valgrind \
+ doc/coding/backtrace_analysis.txt
+ insinto /usr/share/doc/"${PF}"/
+ doins doc/*.pdf doc/coding/developer-guidelines.pdf \
+ doc/design/*.pdf doc/random/SystemInterfaceTesting.pdf
+ if use apidocs ; then
+ dohtml -A map -A md5 doc/doxygen/html/*
+ fi
+ fi
+
+ dodoc AUTHORS CREDITS ChangeLog INSTALL README
+ docinto examples
+ dodoc examples/{fs.conf,pvfs2-server.rc}
+ if use examples ; then
+ insinto /usr/share/doc/"${PF}"/examples/heartbeat
+ doins examples/heartbeat/*
+ fi
+}
+
+pkg_config () {
+ elog "Creating new unified configuration file; if you have been"
+ elog "running a previous version, you should run the conversion"
+ elog "script instead. See pvfs2-config-convert --help for more"
+ elog "info."
+ elog
+
+ einfo ">>> Creating new unified config file - you may accept the"
+ einfo ">>> defaults or adjust to suite your desired setup..."
+
+ "${ROOT}"/usr/bin/pvfs2-genconfig "${ROOT}"/etc/pvfs2-fs.conf
+
+ einfo
+ einfo ">>> If this is the first time running the server, you must"
+ einfo ">>> create the storage location first, which is part of the"
+ einfo ">>> config you just specified above. To do this, run the"
+ einfo ">>> following command once as root, then start the server"
+ einfo ">>> using the init script:"
+ einfo " /usr/sbin/pvfs2-server /etc/pvfs2-fs.conf -f"
+ einfo
+}
+
+pkg_preinst() {
+ linux-mod_pkg_preinst
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ ewarn
+ ewarn "You must convert your old config files or create a new one, so"
+ ewarn "either emerge --config =${CATEGORY}/${PF} or run the supplied"
+ ewarn "conversion script to complete the installation."
+ ewarn
+ ewarn "Note that libpvfs2-threaded.so is new and needs testing..."
+ ewarn
+
+ elog "To enable PVFS2 Server on boot you will have to add it to the"
+ elog "default profile, issue the following command as root to do so."
+ elog
+ elog "rc-update add pvfs2-server default"
+}
+
+pkg_postrm() {
+ linux-mod_pkg_postrm
+ elog
+ elog "If you're removing this package completely and the file"
+ elog "/lib/modules/${KV_FULL}/fs/pvfs2.ko is still"
+ elog "there, you'll have to remove it yourself."
+}