summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2008-04-17 03:00:04 +0000
committerJustin Bronder <jsbronder@gentoo.org>2008-04-17 03:00:04 +0000
commita9f699addb07d925be545cc4368b22cd7d1c5415 (patch)
tree87b1e8eb15b7e2c15685f810d9b7d6395ffc29f2 /sys-cluster
parentupdate selinux masking for baselayout 2. (diff)
downloadhistorical-a9f699addb07d925be545cc4368b22cd7d1c5415.tar.gz
historical-a9f699addb07d925be545cc4368b22cd7d1c5415.tar.bz2
historical-a9f699addb07d925be545cc4368b22cd7d1c5415.zip
Cleanout old pvfs2 versions.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/pvfs2/ChangeLog13
-rw-r--r--sys-cluster/pvfs2/Manifest24
-rw-r--r--sys-cluster/pvfs2/files/2.6.3-as-needed.patch20
-rw-r--r--sys-cluster/pvfs2/files/2.6.3-kmem-and-dtor-fix.patch265
-rw-r--r--sys-cluster/pvfs2/files/2.6.3-link-librt-properly.patch12
-rw-r--r--sys-cluster/pvfs2/files/2.6.3-no-pointer-sign.patch15
-rw-r--r--sys-cluster/pvfs2/files/2.6.3-register_sysctl_table.patch11
-rw-r--r--sys-cluster/pvfs2/files/2.6.3-soname.patch11
-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/pvfs2-1.5.1-destdir.patch128
-rw-r--r--sys-cluster/pvfs2/pvfs2-1.5.1.ebuild53
-rw-r--r--sys-cluster/pvfs2/pvfs2-2.6.3-r1.ebuild116
-rw-r--r--sys-cluster/pvfs2/pvfs2-2.6.3.ebuild113
-rw-r--r--sys-cluster/pvfs2/pvfs2-2.7.0-r1.ebuild164
-rw-r--r--sys-cluster/pvfs2/pvfs2-2.7.0.ebuild192
16 files changed, 16 insertions, 1202 deletions
diff --git a/sys-cluster/pvfs2/ChangeLog b/sys-cluster/pvfs2/ChangeLog
index d69afa989311..63b1833a502b 100644
--- a/sys-cluster/pvfs2/ChangeLog
+++ b/sys-cluster/pvfs2/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for sys-cluster/pvfs2
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/ChangeLog,v 1.12 2008/04/17 02:51:23 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvfs2/ChangeLog,v 1.13 2008/04/17 03:00:03 jsbronder Exp $
+
+ 17 Apr 2008; Justin Bronder <jsbronder@gentoo.org>
+ -files/2.6.3-no-pointer-sign.patch,
+ -files/2.6.3-register_sysctl_table.patch, -files/2.6.3-soname.patch,
+ -files/2.7.0-lib-install.patch, -files/2.6.3-as-needed.patch,
+ -files/2.6.3-kmem-and-dtor-fix.patch,
+ -files/2.6.3-link-librt-properly.patch, -files/2.7.0-soname.patch,
+ -files/pvfs2-1.5.1-destdir.patch, -pvfs2-1.5.1.ebuild,
+ -pvfs2-2.6.3.ebuild, -pvfs2-2.6.3-r1.ebuild, -pvfs2-2.7.0.ebuild,
+ -pvfs2-2.7.0-r1.ebuild:
+ Cleanout old versions.
*pvfs2-2.7.1 (17 Apr 2008)
diff --git a/sys-cluster/pvfs2/Manifest b/sys-cluster/pvfs2/Manifest
index ac3889de7b29..b8ee59de16fc 100644
--- a/sys-cluster/pvfs2/Manifest
+++ b/sys-cluster/pvfs2/Manifest
@@ -1,21 +1,12 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 2.6.3-as-needed.patch 698 RMD160 c1afc1d2c3904c0c929fad8b0572a8f4b0a47752 SHA1 28aaf542a43edb13e15f8436cb60ea9394b48838 SHA256 71dcd841f0351e296cbceadfe4408e6187fb02a406c3ef4cb2dbcf4005c5d058
-AUX 2.6.3-kmem-and-dtor-fix.patch 8060 RMD160 7699e13fd5e4f769e01389ac9d540a9ce92c8342 SHA1 2af9c5789242e2d382a70f55a25762632b5c4f0a SHA256 0bf0f313044d07106ae2f431f0dbfaea543ff45caf25145a844ebbac3e048ef6
-AUX 2.6.3-link-librt-properly.patch 423 RMD160 603b286432b9f8dce5eb318070272e71b2fabd46 SHA1 587dac0a83f8bcbdc24397c753ff50965327f620 SHA256 ea26472dcbb1507cefd657e5d393d295bd9b2fc162d28487d2648670fe29eb24
-AUX 2.6.3-no-pointer-sign.patch 621 RMD160 ea21accad4f71d7cd64b582e0de71a252bf69d7d SHA1 3483c675ed807275aaf6f0d9978557732f5a0283 SHA256 6c93a5467dfb40fae22beaf43a03b222ed3a98327af7ca0265045a77bbad06d8
-AUX 2.6.3-register_sysctl_table.patch 368 RMD160 6c50500757240820eaa405312da6fea9d1d32dcc SHA1 d285ac5d240dad52fcaadaf6b302925507a21061 SHA256 f714a8483592dc8d2c317c790fc7ee7bc6dd2ce7f919463e9d621e992bd896c9
-AUX 2.6.3-soname.patch 406 RMD160 af22e2cf118d12c89e1dfcd455b9148bffd9221f SHA1 d742180e3edf3b433bc0f1e5f3c8e516d0a6a76a SHA256 7530c4ad04b7e3248d122f5b3151264690f03aba7a48620617d1cda297affa34
AUX 2.7.0-configure-static-server.patch 469 RMD160 eab66ff3316c7114ad07d304ddefb38d5e00a395 SHA1 87ab288311cef2aa3b59a8052b9c496bdf3d6808 SHA256 e70694d82c711e901b8a9763db9d116ea9ef935678a645c93aaf5f4c41e7d210
AUX 2.7.0-ctl_unnumbered.patch 6746 RMD160 f8041f1c971ce118a385925e52051064a6a80277 SHA1 4f29e9e6f40d533c3cc8ef0b806d7c8b6227d1de SHA256 5420e60d15f64172d47e908ae873da148ccacf69ab6d81f0c15d28bcd0af8eff
AUX 2.7.0-gentoo-makefile.patch 7176 RMD160 8946851367c19d08c72a3fcb69e659bf4961ddef SHA1 42db7f04eadc8faee632889ef0a6ecf2d8f81095 SHA256 ddbfbc80f95f93477027459faf4633033e48a98f270b263419d63765f4c682c9
AUX 2.7.0-kernel-rt.patch 2871 RMD160 0f8cd7ef899f69d056dde46c730dfee64b9e03dc SHA1 ee00fa223e0bbf4bd10024271665a2a84e273b8c SHA256 e4848f3c8d6b2179895114c4d9cb2f89f9712a7ac73c3658cdfda77f9e9e1df2
AUX 2.7.0-kmem_cache.patch 3811 RMD160 648b7a17078ef7928ca9e73d46954554deba5bc2 SHA1 a8a69b1ca273bbd21a1a079d93a8e086775bbe09 SHA256 e6ae6b0466f831b090ba05e848c7964fb2485ad1bb629c356fc15fd73f1068b7
-AUX 2.7.0-lib-install.patch 701 RMD160 bfe2b7b5b0106310ad3d2211212587f2ec282894 SHA1 f166423709f7c3eaf055f3d0e4e1b53d3eaceb2e SHA256 706c8e270a37064e0b9f393258abab329227d5a363c1383b907196f3e455257c
-AUX 2.7.0-soname.patch 1920 RMD160 e2019ee00a87a6294530f5e76d216e93cd870d8e SHA1 c8aa8cc016e0219508e405f48e2450b56daa5894 SHA256 73856f4f5338b7b3cc15a26b02ae544c5384cfa5da955f74ea346a88842818fd
AUX 2.7.0-verbose-checking.patch 572 RMD160 50d692e671d26960e5d3f703a72a858803994376 SHA1 59f5656b4c8482d5c5b222337c376c7f8df00664 SHA256 7e40429b49e375b6b625f69053705b9bb5e40fe0a4c3e229819cbd2c3826e599
-AUX pvfs2-1.5.1-destdir.patch 4927 RMD160 58f046ec9e23a10d500cd304ef400f6611e1895c SHA1 b88f931faa0609a31c3665a7337fd8f8ff36a37d SHA256 36d150fa14c53b76933ee5d4121242f206b61e2de76562bfd930088a2d097b6d
AUX pvfs2-client-conf.d-2.7.0 640 RMD160 467e6c3bf46caa2e4f5331632a92c607830fa14c SHA1 dcbe86d8bb7cb236cac27fef5a79d561f59ab55c SHA256 8806ce51ede53dcce5b54a1f056dc4d4091097ba413d09a828595c075961256c
AUX pvfs2-client-init.d 1698 RMD160 ce6644995a1159b161fd06b88b48e175f33cd2c5 SHA1 57795ad8996c66a8196d07dc3537a101bc517f60 SHA256 5f30f14198b3e0ff62f66f2bd0c6d7d85662cf3b286627629b84d51876a9ca46
AUX pvfs2-client-init.d-2.7.0 1999 RMD160 afa86aba6649ad31a42eee5f7a13e0e8b320bcc2 SHA1 c6a89c8717696a3d5008c9cab65b925ed83f4d6b SHA256 70dfe3e3def22919cdeb025e0f4daaa8e3ec7b06d35bc74cc6b27fbeddc5ed51
@@ -25,23 +16,16 @@ AUX pvfs2-server-init.d-2.7.0 1665 RMD160 1659d01727ded4d46b27d42731fcd8961a4e77
AUX pvfs2-server.conf 988 RMD160 34c3413aed1e488c803928d9c2f94e9f5daa6450 SHA1 2637011019ecc1274cc3f039eb4870b74e118aaa SHA256 d20259d26773fdbcebc815eb47cc21ce01b5c6b6036bc843b7e9718cccb0eaed
AUX pvfs2-server.rc 2814 RMD160 4027463eca4ddc593519c27e8f4e3b101601e2d9 SHA1 87f7dc30eb6c262acaa4a247df11674dacec76bc SHA256 c9a0bc9d2c49bd1e30712bb6621e4c9a6622206e0d8a4487cc3a5eece0b0171f
AUX pvfs2-split-kernapps.patch 628 RMD160 b7a9a6cb0f227ba9f9105f8fdd23f76eed9760c5 SHA1 c405197e3f08e8ee1ad4ff1e0bd2e418f087ea3b SHA256 314a3da9e4afbc53af500291823492d1084a1b0a15dda52a3329835bcd66e7fa
-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 pvfs-2.7.1.tar.gz 4466847 RMD160 483a956391af89bba38363bf64705f249ab040eb SHA1 2ce63310588945866c7c3ef3b040f64d87dc75e5 SHA256 3bcd34e839b5ba5d0645804721a4beb7f472363b95e9193094c205dfb6fcce7f
-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
-EBUILD pvfs2-2.6.3-r1.ebuild 4005 RMD160 3e45a20b3d0aabc2df1bb3a3b99a37cae57397aa SHA1 073f0da03cd690132f25615dcdefa04e181cb97a SHA256 df6d2c30336519fd8cf748b0f0325607222236ab6c05fcd24224f1cfdaab7f62
-EBUILD pvfs2-2.6.3.ebuild 3915 RMD160 26cb233eccf04755023fd4d04da3cc7640e1efd0 SHA1 903bc83e4034775e6d4431a7c35a063bb81ae3f4 SHA256 821b6a2dd2d47937762c5409c55478e80baca6f3f7cc5448193210ea26af0a3b
-EBUILD pvfs2-2.7.0-r1.ebuild 5302 RMD160 ff1585e3cafbd072fdfd18ef4942c2a2dd574847 SHA1 4df15b8f29abb2a4673fd076cf3672c2ce625bd3 SHA256 81d109034be63ac7cee7fbd53e6044f961a3c08c89ece45ee6734221b7a4d98c
EBUILD pvfs2-2.7.0-r2.ebuild 5464 RMD160 18897f0867de912227729c3ccefb30933efead83 SHA1 072304cf8769075b0b29e6dd12b1da4bc9fd3324 SHA256 fb8b14c193169587703aad7b5ee334de8fdfeef4e089c6bf02f90add99c9236f
-EBUILD pvfs2-2.7.0.ebuild 6494 RMD160 08741f5f38e94dd0458022cec524044c8f9b55c1 SHA1 9a8bf1eea55ae5b0be6e2a317cbca5ab75b749c8 SHA256 444c130adb3c920c950dd83f970b89fc1c1fb327818ccc3e40d96f92bc799ecf
EBUILD pvfs2-2.7.1.ebuild 4426 RMD160 833584ed1d6c3672d85549cdc1409c0771cb4c5d SHA1 28ca8dd28c105b371a3675fbc2611292a6fac18b SHA256 62fabcb39d850834211531c8c29443b2be6fe10a2dc157e9ac6dee2b1ba29315
-MISC ChangeLog 3510 RMD160 bc61a732eefbb613ffefcb0e23c4bd003e46f5c0 SHA1 faaaf93877c17c0080aa57082084570a41d4032f SHA256 2c8c63024b178107fa6e334dcfeec17e3427749ae7054acbdf85725ac8e68484
+MISC ChangeLog 4022 RMD160 447923cf2769fb7e7dfdf98c9bc75b295d8229a6 SHA1 c0b1b2ff7ac0b677b5e5f8655a85394e45d5862d SHA256 19616dadfe0c390cf40c7a8fc0576d82a67cfd3f9c148b0c6985f62c993f5f4b
MISC metadata.xml 163 RMD160 ea1530cd45b9e04e8693261b9a94b5988e4b09a1 SHA1 443b7a3d8fb76c8d20647b165032ad358bfa3b6a SHA256 5a03bf3074b07158dffe793af69f7b0cd1e5c785537574713f9a7978032363a3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFIBro+4MrvBE1wQ8kRAvvgAJ4xFjruPdq8McTj2B2fHLFnFCg/WACglEVQ
-xAJM91o9Ub53RlbpQ55UPss=
-=OGjK
+iD8DBQFIBrxA4MrvBE1wQ8kRAj1gAJ92KUf/ak4FtknZs18XYy0cTB0P0ACcCmJS
+6OQKDf1C77OBoQ0InQ7o0R8=
+=HEb9
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/pvfs2/files/2.6.3-as-needed.patch b/sys-cluster/pvfs2/files/2.6.3-as-needed.patch
deleted file mode 100644
index 01cff1e2ef76..000000000000
--- a/sys-cluster/pvfs2/files/2.6.3-as-needed.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- maint/config/openssl.m4~ 2007-04-16 04:17:53.000000000 +0200
-+++ maint/config/openssl.m4 2007-04-16 04:17:53.000000000 +0200
-@@ -12,7 +12,7 @@
- LDFLAGS="$LDFLAGS -L${opensslpath}/lib64 -L${opensslpath}/lib"
- SERVER_LDFLAGS="$SERVER_LDFLAGS -L${opensslpath}/lib64 -L${opensslpath}/lib"
- fi
-- LIBS="$LIBS -lcrypt -lssl"
-+ LIBS="$LIBS -lcrypt -lcrypto -lssl"
-
- AC_COMPILE_IFELSE(
- [#include "openssl/bio.h"],
-@@ -36,7 +36,7 @@
- [
- AC_MSG_CHECKING([for openssl library])
- TMPLIBS=${LIBS}
-- LIBS="$LIBS -lcrypt -lssl"
-+ LIBS="$LIBS -lcrypt -lcrypto -lssl"
-
- AC_COMPILE_IFELSE(
- [#include "openssl/bio.h"],
diff --git a/sys-cluster/pvfs2/files/2.6.3-kmem-and-dtor-fix.patch b/sys-cluster/pvfs2/files/2.6.3-kmem-and-dtor-fix.patch
deleted file mode 100644
index 9ad531578767..000000000000
--- a/sys-cluster/pvfs2/files/2.6.3-kmem-and-dtor-fix.patch
+++ /dev/null
@@ -1,265 +0,0 @@
-diff -u -r pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-cache.c pvfs-2.6.3-new/src/kernel/linux-2.6/pvfs2-cache.c
---- pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-cache.c 2007-10-02 14:54:45.000000000 +0200
-+++ pvfs-2.6.3-new/src/kernel/linux-2.6/pvfs2-cache.c 2007-10-02 14:49:10.000000000 +0200
-@@ -203,14 +203,7 @@
- pvfs2_kmem_cache_t * cachep,
- unsigned long flags)
- {
-- if (flags & SLAB_CTOR_CONSTRUCTOR)
-- {
-- memset(req, 0, sizeof(MAX_ALIGNED_DEV_REQ_DOWNSIZE));
-- }
-- else
-- {
-- gossip_err("WARNING!! devreq_ctor called without ctor flag\n");
-- }
-+ memset(req, 0, sizeof(MAX_ALIGNED_DEV_REQ_DOWNSIZE));
- }
-
- int dev_req_cache_initialize(void)
-@@ -269,45 +262,24 @@
- {
- pvfs2_inode_t *pvfs2_inode = (pvfs2_inode_t *)new_pvfs2_inode;
-
-- if (flags & SLAB_CTOR_CONSTRUCTOR)
-- {
-- memset(pvfs2_inode, 0, sizeof(pvfs2_inode_t));
-- ClearInitFlag(pvfs2_inode);
-+ memset(pvfs2_inode, 0, sizeof(pvfs2_inode_t));
-+ ClearInitFlag(pvfs2_inode);
-
-- pvfs2_inode_initialize(pvfs2_inode);
-+ pvfs2_inode_initialize(pvfs2_inode);
-
- #ifndef PVFS2_LINUX_KERNEL_2_4
-- /*
-- inode_init_once is from 2.6.x's inode.c; it's normally run
-- when an inode is allocated by the system's inode slab
-- allocator. we call it here since we're overloading the
-- system's inode allocation with this routine, thus we have
-- to init vfs inodes manually
-- */
-- inode_init_once(&pvfs2_inode->vfs_inode);
-- pvfs2_inode->vfs_inode.i_version = 1;
-+ /*
-+ inode_init_once is from 2.6.x's inode.c; it's normally run
-+ when an inode is allocated by the system's inode slab
-+ allocator. we call it here since we're overloading the
-+ system's inode allocation with this routine, thus we have
-+ to init vfs inodes manually
-+ */
-+ inode_init_once(&pvfs2_inode->vfs_inode);
-+ pvfs2_inode->vfs_inode.i_version = 1;
- #endif
-- /* Initialize the reader/writer semaphore */
-- init_rwsem(&pvfs2_inode->xattr_sem);
-- }
-- else
-- {
-- gossip_err("WARNING!! inode_ctor called without ctor flag\n");
-- }
--}
--
--static void pvfs2_inode_cache_dtor(
-- void *old_pvfs2_inode,
-- pvfs2_kmem_cache_t * cachep,
-- unsigned long flags)
--{
-- pvfs2_inode_t *pvfs2_inode = (pvfs2_inode_t *)old_pvfs2_inode;
--
-- if (pvfs2_inode && pvfs2_inode->link_target)
-- {
-- kfree(pvfs2_inode->link_target);
-- pvfs2_inode->link_target = NULL;
-- }
-+ /* Initialize the reader/writer semaphore */
-+ init_rwsem(&pvfs2_inode->xattr_sem);
- }
-
- static inline void add_to_pinode_list(pvfs2_inode_t *pvfs2_inode)
-@@ -330,8 +302,7 @@
- {
- pvfs2_inode_cache = kmem_cache_create(
- "pvfs2_inode_cache", sizeof(pvfs2_inode_t), 0,
-- PVFS2_CACHE_CREATE_FLAGS, pvfs2_inode_cache_ctor,
-- pvfs2_inode_cache_dtor);
-+ PVFS2_CACHE_CREATE_FLAGS, pvfs2_inode_cache_ctor, NULL);
-
- if (!pvfs2_inode_cache)
- {
-@@ -403,14 +374,7 @@
- pvfs2_kmem_cache_t * cachep,
- unsigned long flags)
- {
-- if (flags & SLAB_CTOR_CONSTRUCTOR)
-- {
-- memset(req, 0, sizeof(pvfs2_kiocb));
-- }
-- else
-- {
-- gossip_err("WARNING!! kiocb_ctor called without ctor flag\n");
-- }
-+ memset(req, 0, sizeof(pvfs2_kiocb));
- }
-
-
-diff -u -r pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-kernel.h pvfs-2.6.3-new/src/kernel/linux-2.6/pvfs2-kernel.h
---- pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-kernel.h 2007-10-02 14:54:45.000000000 +0200
-+++ pvfs-2.6.3-new/src/kernel/linux-2.6/pvfs2-kernel.h 2007-10-02 14:49:10.000000000 +0200
-@@ -47,6 +47,7 @@
- #include <linux/statfs.h>
- #include <linux/buffer_head.h>
- #include <linux/backing-dev.h>
-+#include <linux/device.h>
- #include <linux/mpage.h>
- #include <linux/namei.h>
- #include <linux/errno.h>
-@@ -363,7 +364,7 @@
- typedef struct
- {
- PVFS_object_ref refn;
-- char *link_target;
-+ char link_target[PVFS_NAME_MAX];
- /*
- * Reading/Writing Extended attributes need to acquire the appropriate
- * reader/writer semaphore on the pvfs2_inode_t structure.
-@@ -571,6 +572,15 @@
-
- #endif
-
-+typedef struct pvfs2_stats {
-+ unsigned long cache_hits;
-+ unsigned long cache_misses;
-+ unsigned long reads;
-+ unsigned long writes;
-+} pvfs2_stats;
-+
-+extern pvfs2_stats g_pvfs2_stats;
-+
- /*
- NOTE: See Documentation/filesystems/porting for information
- on implementing FOO_I and properly accessing fs private data
-@@ -821,8 +831,8 @@
- * defined in devpvfs2-req.c
- ****************************/
-
--int pvfs2_ioctl32_init(void);
--void pvfs2_ioctl32_cleanup(void);
-+int pvfs2_dev_init(void);
-+void pvfs2_dev_cleanup(void);
- int is_daemon_in_service(void);
- int fs_mount_pending(PVFS_fs_id fsid);
-
-@@ -1250,6 +1260,18 @@
- }
- #endif
-
-+#ifndef HAVE_KZALLOC
-+static void *kzalloc(size_t size, gfp_t mask)
-+{
-+ void *ptr;
-+ ptr = kmalloc(size, mask);
-+ if (ptr) {
-+ memset(ptr, 0, size);
-+ }
-+ return ptr;
-+}
-+#endif
-+
- #endif /* PVFS2_LINUX_KERNEL_2_4 */
-
- static inline unsigned int diff(struct timeval *end, struct timeval *begin)
-@@ -1268,11 +1290,10 @@
- void * ptr;
-
- ptr = kmalloc(size, flags);
-- if(!ptr)
-+ if (ptr)
- {
-- return ptr;
-+ memset(ptr, 0, size);
- }
-- memset(ptr, 0, size);
- return ptr;
- }
- #endif
-diff -u -r pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c pvfs-2.6.3-new/src/kernel/linux-2.6/pvfs2-utils.c
---- pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c 2007-10-02 14:54:45.000000000 +0200
-+++ pvfs-2.6.3-new/src/kernel/linux-2.6/pvfs2-utils.c 2007-10-02 15:04:12.000000000 +0200
-@@ -101,18 +101,24 @@
- static void pvfs2_set_inode_flags(struct inode *inode,
- PVFS_sys_attr *attrs)
- {
-- if (attrs->flags & PVFS_IMMUTABLE_FL)
-+ if (attrs->flags & PVFS_IMMUTABLE_FL) {
- inode->i_flags |= S_IMMUTABLE;
-- else
-+ }
-+ else {
- inode->i_flags &= ~S_IMMUTABLE;
-- if (attrs->flags & PVFS_APPEND_FL)
-+ }
-+ if (attrs->flags & PVFS_APPEND_FL) {
- inode->i_flags |= S_APPEND;
-- else
-+ }
-+ else {
- inode->i_flags &= ~S_APPEND;
-- if (attrs->flags & PVFS_NOATIME_FL)
-+ }
-+ if (attrs->flags & PVFS_NOATIME_FL) {
- inode->i_flags |= S_NOATIME;
-- else
-+ }
-+ else {
- inode->i_flags &= ~S_NOATIME;
-+ }
- return;
- }
-
-@@ -288,17 +294,7 @@
- /* copy link target to inode private data */
- if (pvfs2_inode && symname)
- {
-- if (pvfs2_inode->link_target)
-- {
-- kfree(pvfs2_inode->link_target);
-- pvfs2_inode->link_target = NULL;
-- }
-- pvfs2_inode->link_target = kmalloc(
-- (strlen(symname) + 1), PVFS2_GFP_FLAGS);
-- if (pvfs2_inode->link_target)
-- {
-- strcpy(pvfs2_inode->link_target, symname);
-- }
-+ strncpy(pvfs2_inode->link_target, symname, PVFS_NAME_MAX);
- gossip_debug(GOSSIP_UTILS_DEBUG, "Copied attr link target %s\n",
- pvfs2_inode->link_target);
- }
-@@ -1791,7 +1787,8 @@
- {
- void *buf;
-
-- buf = kmalloc(sizeof(pvfs2_opaque_handle_t), PVFS2_BUFMAP_GFP_FLAGS);
-+ buf = kmalloc(sizeof(pvfs2_opaque_handle_t),
-+ PVFS2_BUFMAP_GFP_FLAGS);
- return buf;
- }
-
-@@ -1956,7 +1953,7 @@
- pvfs2_inode->refn.handle = PVFS_HANDLE_NULL;
- pvfs2_inode->refn.fs_id = PVFS_FS_ID_NULL;
- pvfs2_inode->last_failed_block_index_read = 0;
-- pvfs2_inode->link_target = NULL;
-+ memset(pvfs2_inode->link_target, 0, sizeof(pvfs2_inode->link_target));
- pvfs2_inode->error_code = 0;
- SetInitFlag(pvfs2_inode);
- }
-@@ -1964,7 +1961,6 @@
-
- /*
- this is called from super:pvfs2_destroy_inode.
-- pvfs2_inode_cache_dtor frees the link_target if any
- */
- void pvfs2_inode_finalize(pvfs2_inode_t *pvfs2_inode)
- {
diff --git a/sys-cluster/pvfs2/files/2.6.3-link-librt-properly.patch b/sys-cluster/pvfs2/files/2.6.3-link-librt-properly.patch
deleted file mode 100644
index ac85f016924e..000000000000
--- a/sys-cluster/pvfs2/files/2.6.3-link-librt-properly.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN pvfs-2.6.0.orig/maint/config/rt.m4 pvfs-2.6.0/maint/config/rt.m4
---- pvfs-2.6.0.orig/maint/config/rt.m4 2006-12-10 23:16:47.000000000 -0800
-+++ pvfs-2.6.0/maint/config/rt.m4 2006-12-10 23:36:17.000000000 -0800
-@@ -12,7 +12,7 @@
- [lio_listio(LIO_NOWAIT, NULL, 0, NULL);],
- [AC_MSG_RESULT(no)],
- [
-- LDFLAGS="$LDFLAGS -lrt"
-+ LIBS="$LIBS -lrt"
- AC_TRY_LINK(
- [#include <stdlib.h>
- #include <unistd.h>
diff --git a/sys-cluster/pvfs2/files/2.6.3-no-pointer-sign.patch b/sys-cluster/pvfs2/files/2.6.3-no-pointer-sign.patch
deleted file mode 100644
index 39a12fecef0f..000000000000
--- a/sys-cluster/pvfs2/files/2.6.3-no-pointer-sign.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- maint/config/kernel.m4.old 2007-04-30 16:46:16.000000000 +0200
-+++ maint/config/kernel.m4 2007-04-30 16:48:26.000000000 +0200
-@@ -348,11 +348,8 @@
- )
- fi
-
-- dnl we need the compiler to error on warnings about prototypes, but
-- dnl certain Fedora FC5 kernel header files throw extra (spurious)
-- dnl warnings, which -Wno-pointer-sign silences.
-+
- tmp_cflags=$CFLAGS
-- CFLAGS="$CFLAGS -Werror -Wno-pointer-sign"
- dnl if this test passes, there is a struct dentry* argument
- AC_MSG_CHECKING(if statfs callbacks' arguments in kernel has struct dentry argument)
- dnl if this test passes, the kernel has it
diff --git a/sys-cluster/pvfs2/files/2.6.3-register_sysctl_table.patch b/sys-cluster/pvfs2/files/2.6.3-register_sysctl_table.patch
deleted file mode 100644
index 11e8e2f81e21..000000000000
--- a/sys-cluster/pvfs2/files/2.6.3-register_sysctl_table.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/kernel/linux-2.6/pvfs2-proc.c.old 2007-04-30 10:02:55.000000000 +0200
-+++ src/kernel/linux-2.6/pvfs2-proc.c 2007-04-30 10:01:50.000000000 +0200
-@@ -337,7 +337,7 @@
- #ifdef CONFIG_SYSCTL
- if (!fs_table_header)
- {
-- fs_table_header = register_sysctl_table(fs_table, 0);
-+ fs_table_header = register_sysctl_table(fs_table);
- }
- #endif
-
diff --git a/sys-cluster/pvfs2/files/2.6.3-soname.patch b/sys-cluster/pvfs2/files/2.6.3-soname.patch
deleted file mode 100644
index c6bea01ab4e1..000000000000
--- a/sys-cluster/pvfs2/files/2.6.3-soname.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in 2007-04-15 11:11:51.000000000 +0200
-+++ Makefile.in 2007-04-15 11:11:51.000000000 +0200
-@@ -591,7 +591,7 @@
- lib/libpvfs2.so: $(LIBPICOBJS)
- $(Q) " LDSO $@"
- $(E)$(INSTALL) -d lib
-- $(E)$(LDSHARED) -o $@ $(LIBPICOBJS)
-+ $(E)$(LDSHARED) -Wl,-soname,libpvfs2.so -o $@ $(LIBPICOBJS)
-
- # rule for building the pvfs2 _multithreaded_ library
- lib/libpvfs2-threaded.so: $(LIBTHREADEDPICOBJS)
diff --git a/sys-cluster/pvfs2/files/2.7.0-lib-install.patch b/sys-cluster/pvfs2/files/2.7.0-lib-install.patch
deleted file mode 100644
index 34803d0cf262..000000000000
--- a/sys-cluster/pvfs2/files/2.7.0-lib-install.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- 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
deleted file mode 100644
index 8b994182d435..000000000000
--- a/sys-cluster/pvfs2/files/2.7.0-soname.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- 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/pvfs2-1.5.1-destdir.patch b/sys-cluster/pvfs2/files/pvfs2-1.5.1-destdir.patch
deleted file mode 100644
index c50933c13c68..000000000000
--- a/sys-cluster/pvfs2/files/pvfs2-1.5.1-destdir.patch
+++ /dev/null
@@ -1,128 +0,0 @@
---- pvfs2-1.5.1/Makefile.in.orig 2006-07-13 02:04:06.000000000 +1000
-+++ pvfs2-1.5.1/Makefile.in 2006-07-13 02:06:06.000000000 +1000
-@@ -55,6 +55,10 @@
- prefix = @prefix@
- mandir = @mandir@
- exec_prefix = @exec_prefix@
-+sbindir = @sbindir@
-+bindir = @bindir@
-+libdir = @libdir@
-+includedir = @includedir@
-
- VPATH = $(srcdir)
- SHELL = @SHELL@
-@@ -807,48 +811,48 @@
- --quiet examples/fs.conf examples/server.conf
-
- install_doc:
-- install -d $(mandir)/man1
-- install -d $(mandir)/man5
-- install -m 644 $(srcdir)/doc/man/*.1 $(mandir)/man1
-- install -m 644 $(srcdir)/doc/man/*.5 $(mandir)/man5
-+ install -d $(DESTDIR)$(mandir)/man1
-+ install -d $(DESTDIR)$(mandir)/man5
-+ install -m 644 $(srcdir)/doc/man/*.1 $(DESTDIR)$(mandir)/man1
-+ install -m 644 $(srcdir)/doc/man/*.5 $(DESTDIR)$(mandir)/man5
-
- install:: all install_doc
-- install -d $(prefix)/include
-- install -m 644 $(srcdir)/include/pvfs2.h $(prefix)/include
-- install -m 644 $(srcdir)/include/pvfs2-request.h $(prefix)/include
-- install -m 644 $(srcdir)/include/pvfs2-debug.h $(prefix)/include
-- install -m 644 $(srcdir)/include/pvfs2-sysint.h $(prefix)/include
-- install -m 644 $(srcdir)/include/pvfs2-mgmt.h $(prefix)/include
-- install -m 644 $(srcdir)/include/pvfs2-types.h $(prefix)/include
-- install -m 644 $(srcdir)/include/pvfs2-util.h $(prefix)/include
-- install -m 644 $(srcdir)/include/pvfs2-encode-stubs.h $(prefix)/include
-+ install -d $(DESTDIR)$(includedir)
-+ install -m 644 $(srcdir)/include/pvfs2.h $(DESTDIR)$(includedir)
-+ install -m 644 $(srcdir)/include/pvfs2-request.h $(DESTDIR)$(includedir)
-+ install -m 644 $(srcdir)/include/pvfs2-debug.h $(DESTDIR)$(includedir)
-+ install -m 644 $(srcdir)/include/pvfs2-sysint.h $(DESTDIR)$(includedir)
-+ install -m 644 $(srcdir)/include/pvfs2-mgmt.h $(DESTDIR)$(includedir)
-+ install -m 644 $(srcdir)/include/pvfs2-types.h $(DESTDIR)$(includedir)
-+ install -m 644 $(srcdir)/include/pvfs2-util.h $(DESTDIR)$(includedir)
-+ install -m 644 $(srcdir)/include/pvfs2-encode-stubs.h $(DESTDIR)$(includedir)
-
-- install -d $(prefix)/lib
-- install -m 755 $(LIBRARIES) $(prefix)/lib
-+ install -d $(DESTDIR)$(libdir)
-+ install -m 755 $(LIBRARIES) $(DESTDIR)$(libdir)
-
- ifdef TARGET_OS_DARWIN
- # TOC needs to be regenerated in libs after they get moved
- ranlib $(patsubst %,$(prefix)/%,$(LIBRARIES))
- endif
-
-- install -d $(prefix)/bin
-- install -m 755 $(ADMINTOOLS) $(prefix)/bin
-- install -m 755 src/apps/admin/pvfs2-config $(prefix)/bin
-+ install -d $(DESTDIR)$(bindir)
-+ install -m 755 $(ADMINTOOLS) $(DESTDIR)$(bindir)
-+ install -m 755 src/apps/admin/pvfs2-config $(DESTDIR)$(bindir)
- @# if we ever auto-generate genconfig, remove the $(srcdir)
-- install -m 755 $(srcdir)/src/apps/admin/pvfs2-genconfig $(prefix)/bin
-+ install -m 755 $(srcdir)/src/apps/admin/pvfs2-genconfig $(DESTDIR)$(bindir)
- ifdef BUILD_KARMA
-- install -m 755 $(KARMA) $(prefix)/bin
-+ install -m 755 $(KARMA) $(DESTDIR)$(bindir)
- endif
-
-- install -d $(prefix)/sbin
-+ install -d $(DESTDIR)$(sbindir)
-
- ifdef BUILD_SERVER
-- install -m 755 $(ADMINTOOLS_SERVER) $(prefix)/bin
-+ install -m 755 $(ADMINTOOLS_SERVER) $(DESTDIR)$(bindir)
- ifeq ($(NPTL_WORKAROUND),)
-- install -m 755 $(SERVER) $(prefix)/sbin
-+ install -m 755 $(SERVER) $(DESTDIR)$(sbindir)
- else
-- install -m 755 $(srcdir)/$(SERVER_STUB) $(prefix)/sbin/pvfs2-server
-- install -m 755 $(SERVER) $(prefix)/sbin/pvfs2-server.bin
-+ install -m 755 $(srcdir)/$(SERVER_STUB) $(DESTDIR)$(sbindir)/pvfs2-server
-+ install -m 755 $(SERVER) $(DESTDIR)$(sbindir)/pvfs2-server.bin
- endif
- endif
-
-@@ -864,13 +868,13 @@
-
- .PHONY: just_kmod_install
- just_kmod_install: just_kmod
-- install -d $(KMOD_DIR)
-- install -m 755 src/kernel/linux-2.6/pvfs2.ko $(KMOD_DIR)
-+ install -d $(DESTDIR)$(KMOD_DIR)
-+ install -m 755 src/kernel/linux-2.6/pvfs2.ko $(DESTDIR)$(KMOD_DIR)
-
- .PHONY: kmod_install
- kmod_install: kmod kernapps just_kmod_install
-- install -d $(prefix)/sbin
-- install -m 755 $(KERNAPPS) $(prefix)/sbin
-+ install -d $(DESTDIR)$(sbindir)
-+ install -m 755 $(KERNAPPS) $(DESTDIR)$(sbindir)
- endif
-
- ifneq (,$(LINUX24_KERNEL_SRC))
-@@ -885,16 +889,16 @@
-
- .PHONY: just_kmod24_install
- just_kmod24_install: just_kmod24
-- install -d $(KMOD_DIR)
-- install -m 755 src/kernel/linux-2.4/pvfs2.o $(KMOD_DIR)
-+ install -d $(DESTDIR)$(KMOD_DIR)
-+ install -m 755 src/kernel/linux-2.4/pvfs2.o $(DESTDIR)$(KMOD_DIR)
-
- .PHONY: kmod24_install
- kmod24_install: kmod24 kernapps just_kmod24_install
-- install -d $(prefix)/sbin
-- install -m 755 $(KERNAPPS) $(prefix)/sbin
-- install -m 755 src/apps/kernel/linux/mount.pvfs2 $(prefix)/sbin
-+ install -d $(DESTDIR)$(sbindir)
-+ install -m 755 $(KERNAPPS) $(DESTDIR)$(sbindir)
-+ install -m 755 src/apps/kernel/linux/mount.pvfs2 $(DESTDIR)$(sbindir)
- @echo ""
- @echo "For improved linux-2.4 support,"
-- @echo "install $(prefix)/sbin/mount.pvfs2 to /sbin/mount.pvfs2"
-+ @echo "install $(sbindir)/mount.pvfs2 to /sbin/mount.pvfs2"
- @echo ""
- endif
diff --git a/sys-cluster/pvfs2/pvfs2-1.5.1.ebuild b/sys-cluster/pvfs2/pvfs2-1.5.1.ebuild
deleted file mode 100644
index 0ff8e1a81b74..000000000000
--- a/sys-cluster/pvfs2/pvfs2-1.5.1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# 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-1.5.1.ebuild,v 1.3 2007/10/17 02:40:58 nerdboy Exp $
-
-inherit linux-mod
-
-DESCRIPTION="Parallel Virtual File System version 2"
-HOMEPAGE="http://www.pvfs.org/pvfs2/"
-SRC_URI="ftp://ftp.parl.clemson.edu/pub/pvfs2/${P}.tar.gz"
-IUSE="gtk static doc"
-RDEPEND="gtk? ( >=x11-libs/gtk+-2 )
- sys-libs/db"
-DEPEND="${RDEPEND}
- virtual/linux-sources"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~ppc ~x86"
-
-pkg_setup() {
- linux-mod_pkg_setup
-
- if kernel_is 2 4; then
- BUILD_TARGETS="kmod24 all"
- ECONF_PARAMS="--with-kernel24=${KV_DIR}"
- MODULE_NAMES="pvfs2(fs::src/kernel/linux-2.4)"
- else
- BUILD_TARGETS="kmod all"
- ECONF_PARAMS="--with-kernel=${KV_DIR}"
- MODULE_NAMES="pvfs2(fs::src/kernel/linux-2.6)"
- fi
- ECONF_PARAMS="${ECONF_PARAMS} --enable-mmap-racache $(use_enable !static shared) $(use_enable static)"
- ECONF_PARAMS="${ECONF_PARAMS} $(use_enable gtk karma)"
-}
-
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}"/${P}-destdir.patch
-}
-
-src_install() {
- linux-mod_src_install
- emake DESTDIR="${D}" install || die "install failed"
-
- dodoc AUTHORS CREDITS ChangeLog INSTALL README
- docinto examples
- dodoc examples/{fs.conf,pvfs2-server.rc,server.conf-localhost}
- # this is LARGE (~5mb)
- if use doc; then
- docdir="/usr/share/doc/${PF}/"
- cp -pPR "${S}/doc" "${D}${docdir}"
- rm -rf "${D}${docdir}/man"
- fi
-}
diff --git a/sys-cluster/pvfs2/pvfs2-2.6.3-r1.ebuild b/sys-cluster/pvfs2/pvfs2-2.6.3-r1.ebuild
deleted file mode 100644
index 504df0c15bc0..000000000000
--- a/sys-cluster/pvfs2/pvfs2-2.6.3-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# 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.6.3-r1.ebuild,v 1.2 2007/10/17 02:40:58 nerdboy Exp $
-
-inherit linux-mod autotools toolchain-funcs
-
-MY_PN="${PN%[0-9]*}"
-MY_P="${MY_PN}-${PV}"
-DESCRIPTION="Parallel Virtual File System version 2"
-HOMEPAGE="http://www.pvfs.org/pvfs2/"
-SRC_URI="ftp://ftp.parl.clemson.edu/pub/pvfs2/${MY_P}.tar.gz"
-IUSE="gtk server static doc"
-RDEPEND="gtk? ( >=x11-libs/gtk+-2 )
- sys-libs/db"
-DEPEND="${RDEPEND}
- virtual/linux-sources"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86"
-S="${WORKDIR}/${MY_P}"
-
-#Without this, the make kmod_install in src_install() would fail.
-#ARCH=$(tc-arch-kernel)
-
-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?)
- ECONF_PARAMS="${ECONF_PARAMS} --enable-mmap-racache $(use_enable !static shared)"
- ECONF_PARAMS="${ECONF_PARAMS} $(use_enable gtk karma)"
- ECONF_PARAMS="${ECONF_PARAMS} $(use_enable server)"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-1.5.1-destdir.patch
- epatch "${FILESDIR}"/${PV}-link-librt-properly.patch
- epatch "${FILESDIR}"/${PV}-soname.patch
- epatch "${FILESDIR}"/${PV}-as-needed.patch
-
- #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
-
- if kernel_is gt 2 6 20 ; then
- epatch "${FILESDIR}"/${PV}-register_sysctl_table.patch
- fi
-
- if kernel_is ge 2 6 22 ; then
- epatch "${FILESDIR}"/${PV}-kmem-and-dtor-fix.patch
- fi
-
- #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}"/${PV}-no-pointer-sign.patch
- fi
-
- AT_M4DIR="maint/config" eautoreconf
-}
-
-src_compile() {
- econf ${ECONF_PARAMS} || die "Unable to run econf ${ECONF_PARAMS}"
- linux-mod_src_compile || die "Unable to linux-mod_src_compile"
- emake kernapps || die "Unable to make kernapps."
- emake all || die "Unable to make all."
-}
-
-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"
- 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
- dodoc AUTHORS CREDITS ChangeLog INSTALL README
- docinto examples
- dodoc examples/{fs.conf,pvfs2-server.rc,server.conf-localhost}
- # this is LARGE (~5mb)
- if use doc; then
- docdir="/usr/share/doc/${PF}/"
- cp -pPR "${S}"/doc "${D}${docdir}"
- rm -rf "${D}${docdir}"/man
- fi
-}
-
-pkg_preinst() {
- linux-mod_pkg_preinst
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- 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"
-}
diff --git a/sys-cluster/pvfs2/pvfs2-2.6.3.ebuild b/sys-cluster/pvfs2/pvfs2-2.6.3.ebuild
deleted file mode 100644
index c4966c14b09c..000000000000
--- a/sys-cluster/pvfs2/pvfs2-2.6.3.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# 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.6.3.ebuild,v 1.2 2007/10/17 02:40:58 nerdboy Exp $
-
-inherit linux-mod autotools toolchain-funcs
-
-MY_PN="${PN%[0-9]*}"
-MY_P="${MY_PN}-${PV}"
-DESCRIPTION="Parallel Virtual File System version 2"
-HOMEPAGE="http://www.pvfs.org/pvfs2/"
-SRC_URI="ftp://ftp.parl.clemson.edu/pub/pvfs2/${MY_P}.tar.gz"
-IUSE="gtk static doc"
-RDEPEND="gtk? ( >=x11-libs/gtk+-2 )
- sys-libs/db"
-DEPEND="${RDEPEND}
- virtual/linux-sources"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86"
-S="${WORKDIR}/${MY_P}"
-
-#Without this, the make kmod_install in src_install() would fail.
-#ARCH=$(tc-arch-kernel)
-
-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?)
- ECONF_PARAMS="${ECONF_PARAMS} --enable-mmap-racache $(use_enable !static shared)"
- ECONF_PARAMS="${ECONF_PARAMS} $(use_enable gtk karma)"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-1.5.1-destdir.patch
- epatch "${FILESDIR}"/${PV}-link-librt-properly.patch
- epatch "${FILESDIR}"/${PV}-soname.patch
- epatch "${FILESDIR}"/${PV}-as-needed.patch
-
- #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
-
- if kernel_is gt 2 6 20 ; then
- epatch "${FILESDIR}"/${PV}-register_sysctl_table.patch
- fi
-
- if kernel_is ge 2 6 22 ; then
- epatch "${FILESDIR}"/${PV}-kmem-and-dtor-fix.patch
- fi
-
- #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}"/${PV}-no-pointer-sign.patch
- fi
-
- AT_M4DIR="maint/config" eautoreconf
-}
-
-src_compile() {
- econf ${ECONF_PARAMS} || die "Unable to run econf ${ECONF_PARAMS}"
- linux-mod_src_compile || die "Unable to linux-mod_src_compile"
- emake kernapps || die "Unable to make kernapps."
- emake all || die "Unable to make all."
-}
-
-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"
- newinitd "${FILESDIR}"/pvfs2-server.rc pvfs2-server
- newconfd "${FILESDIR}"/pvfs2-server.conf pvfs2-server
- newinitd "${FILESDIR}"/pvfs2-client-init.d pvfs2-client
- newconfd "${FILESDIR}"/pvfs2-client.conf pvfs2-client
- dodoc AUTHORS CREDITS ChangeLog INSTALL README
- docinto examples
- dodoc examples/{fs.conf,pvfs2-server.rc,server.conf-localhost}
- # this is LARGE (~5mb)
- if use doc; then
- docdir="/usr/share/doc/${PF}/"
- cp -pPR "${S}"/doc "${D}${docdir}"
- rm -rf "${D}${docdir}"/man
- fi
-}
-
-pkg_preinst() {
- linux-mod_pkg_preinst
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- 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"
-}
diff --git a/sys-cluster/pvfs2/pvfs2-2.7.0-r1.ebuild b/sys-cluster/pvfs2/pvfs2-2.7.0-r1.ebuild
deleted file mode 100644
index dc29d0182578..000000000000
--- a/sys-cluster/pvfs2/pvfs2-2.7.0-r1.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2008 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-r1.ebuild,v 1.2 2008/03/07 02:03:41 mr_bones_ 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"
-IUSE="gtk server static doc ssl examples apidocs"
-RDEPEND="gtk? ( >=x11-libs/gtk+-2 )
- ssl? ( dev-libs/openssl )
- doc? ( dev-tex/latex2html )
- apidocs? ( app-doc/doxygen )
- sys-libs/db"
-DEPEND="${RDEPEND}
- virtual/linux-sources"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
-
-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
-
- ECONF_PARAMS="${ECONF_PARAMS}
- --enable-mmap-racache
- --sysconfdir=/etc/pvfs2
- $(use_enable !static shared)
- $(use_enable gtk karma)
- $(use_enable server)
- $(use_with ssl openssl /usr/$(get_libdir))"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Upstream packed all of these by mistake.
- # TODO: Shouldn't be needed next release.
- find "${S}" -name '*\.d' | xargs rm -rf
-
- # All of these must be done in order and are required to fix the bug noted
- # at: http://www.beowulf-underground.org/pipermail/pvfs2-developers/2008-January/003790.html
- # TODO: Shouldn't be needed next release.
- epatch "${FILESDIR}"/${PV}-ctl_unnumbered.patch
- epatch "${FILESDIR}"/${PV}-kernel-rt.patch
- epatch "${FILESDIR}"/${PV}-verbose-checking.patch
- epatch "${FILESDIR}"/${PV}-kmem_cache.patch
-
- # Fixes destdir, separates the kernel module from the userland build,
- # forces enabling of the shared threaded library. Fixes so names and
- # makes links. as-needed fixes for the shared libs. All to Makefile.in
- epatch "${FILESDIR}"/2.7.0-gentoo-makefile.patch
-
- # as-needed patchs
- sed -i \
- -e "s:LIBS=\"\$LIBS.*:LIBS=\"\$LIBS -lcrypt -lcrypto -lssl\":g" \
- maint/config/openssl.m4 || die
- sed -i 's:LDFLAGS=.*-lrt.*:LIBS="\$LIBS -lrt":' maint/config/rt.m4 || die
-
- # The following makes some builds die by actually spitting out more errors.
- # See bug #210923. If this breaks other things, it's my fault.
- sed -i 's:-Wno-strict-aliasing=2::' maint/config/kernel.m4 || die
-
- AT_M4DIR="maint/config" eautoreconf || die
-}
-
-src_compile() {
- linux-mod_src_compile || die
- emake kernapps || die
- emake all || die
- if use doc; then
- emake docs || die
- if use apidocs; then
- cd "${S}"/doc
- doxygen doxygen/pvfs2-doxygen.conf || die
- fi
- fi
-}
-
-src_install() {
- linux-mod_src_install || die
- emake DESTDIR="${D}" kernapps_install
- emake DESTDIR="${D}" install
-
- if use server; then
- newinitd "${FILESDIR}"/pvfs2-server-init.d-2.7.0 pvfs2-server
- newconfd "${FILESDIR}"/pvfs2-server-conf.d-2.7.0 pvfs2-server
- fi
-
- newinitd "${FILESDIR}"/pvfs2-client-init.d-2.7.0 pvfs2-client
- newconfd "${FILESDIR}"/pvfs2-client-conf.d-2.7.0 pvfs2-client
-
- dodoc AUTHORS CREDITS ChangeLog INSTALL README
-
- # 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
- if use examples; then
- docinto examples/heartbeat
- dodoc examples/heartbeat/*
- docinto examples
- dodoc examples/fs.conf
- fi
-}
-
-pkg_preinst() {
- linux-mod_pkg_preinst
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- local f="$(source "${ROOT}"etc/conf.d/pvfs2-server; echo ${PVFS2_FS_CONF})"
- elog "1.) Pvfs2 uses a unified configuration file as of 2.7.0. If you"
- elog " have configuration files from an earlier version, use the provided:"
- elog " ${ROOT}usr/bin/pvfs2-config-convert"
- elog "to automatically update to the newer configuration scheme."
- elog "2.) Use emerge --config pvfs2 to create new configuration files."
- elog "3.) If the storage space has not been previously created, either set"
- elog " PVFS2_AUTO_MKFS=1 in ${ROOT}etc/conf.d/pvfs2-server or run:"
- elog " ${ROOT}usr/sbin/pvfs2-server --mkfs ${f}"
-}
-
-pkg_config() {
- local s
- local f="$(source "${ROOT}"etc/conf.d/pvfs2-server; echo ${PVFS2_FS_CONF})"
- if [[ -f "${f}" ]]; then
- ewarn "Previous install detected."
- ewarn "We're about to wipe out ${f} and replace it with"
- ewarn "the file generated by running pvfs2-genconfig. If this is what"
- ewarn "you want to do, hit any key to continue. Otherwise hit ctrl+C"
- ewarn "to abort."
- read s
- fi
- einfo "Creating new unified configuration file"
- ewarn "WARNING: pvfs2 is picky about hostnames. Make sure you use the"
- ewarn "correct shortname for all nodes and have name resolution for these"
- ewarn "shortnames correctly configured on all nodes."
- [ ! -d "${ROOT}$(dirname "${f}")" ] && mkdir -p "${ROOT}$(dirname "${f}")"
- "${ROOT}"usr/bin/pvfs2-genconfig "${f}"
-}
diff --git a/sys-cluster/pvfs2/pvfs2-2.7.0.ebuild b/sys-cluster/pvfs2/pvfs2-2.7.0.ebuild
deleted file mode 100644
index be981364bc45..000000000000
--- a/sys-cluster/pvfs2/pvfs2-2.7.0.ebuild
+++ /dev/null
@@ -1,192 +0,0 @@
-# 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.2 2007/12/03 07:21:55 mr_bones_ 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."
-}