diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2003-08-06 22:59:01 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2003-08-06 22:59:01 +0000 |
commit | 011a4ba3a72bd35050cf6d09b1c963d4164eb460 (patch) | |
tree | 67bce8d1729247765fd78af29a2702642c3478df /net-fs | |
parent | fixes #26041 (diff) | |
download | gentoo-2-011a4ba3a72bd35050cf6d09b1c963d4164eb460.tar.gz gentoo-2-011a4ba3a72bd35050cf6d09b1c963d4164eb460.tar.bz2 gentoo-2-011a4ba3a72bd35050cf6d09b1c963d4164eb460.zip |
fixes #26041
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/openafs/ChangeLog | 7 | ||||
-rw-r--r-- | net-fs/openafs/Manifest | 6 | ||||
-rw-r--r-- | net-fs/openafs/files/digest-openafs-1.2.10 | 1 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.2.10.ebuild | 110 |
4 files changed, 120 insertions, 4 deletions
diff --git a/net-fs/openafs/ChangeLog b/net-fs/openafs/ChangeLog index 5c6d6df96843..51ddb3351527 100644 --- a/net-fs/openafs/ChangeLog +++ b/net-fs/openafs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-fs/openafs # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.22 2003/08/02 20:48:48 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.23 2003/08/06 22:58:54 rphillips Exp $ + +*openafs-1.2.10 (06 Aug 2003) + + 06 Aug 2003; Ryan Phillips <rphillips@gentoo.org> openafs-1.2.10.ebuild : + Added Steven Jenkins' update. Fixes #26041 and a provisional fix for #15581 *openafs-1.2.9 (02 Aug 2003) diff --git a/net-fs/openafs/Manifest b/net-fs/openafs/Manifest index 84f088721890..70ee15d61e52 100644 --- a/net-fs/openafs/Manifest +++ b/net-fs/openafs/Manifest @@ -1,6 +1,7 @@ -MD5 9a9e3b1b8c3905e870b008bdeae8e7cc ChangeLog 3866 +MD5 bc23f5a5444aeeb896513921fe27a8c0 ChangeLog 3868 MD5 c2267460c9a47d41a4b10951f865ec46 openafs-1.2.8.ebuild 2839 -MD5 d00b1018457009226361b2acd97cd80e openafs-1.2.10.ebuild 2225 +MD5 fc157cca7c9cc15787b7fe4d40dcc2a7 openafs-1.2.9.ebuild 2351 +MD5 54a363bb14b3e2dea5879742d28f1fac openafs-1.2.10.ebuild 2216 MD5 4584cc6910401787e1ebd81cfa06f060 files/CellServDB 41 MD5 c620f50b47424c46f59dc847eb8c0dd3 files/README 8735 MD5 1903c6a5e0aeedf794939945536341cd files/ThisCell 7 @@ -8,7 +9,6 @@ MD5 1552314a3b8ba152cee79611e73181f1 files/afs.rc 5393 MD5 c23e16f3f8957f7cb1986a349040f867 files/afs.rc.rc6 5427 MD5 b61c3e7d57df267b0a01cb25953187a5 files/kaserver-patch.diff 2152 MD5 0cc0097b5cfc3cb04bd313c127155e52 files/digest-openafs-1.2.8 643 -MD5 875ff7b0ab12189a6f0c91e520f78d7a files/test.me 670 MD5 fbff454fda7201d68f5acc8f0d3814b3 files/openafs-1.2.5-sunrpc-overflow.patch 1867 MD5 19d17f83fbb3cc6c491476dba77eaad7 files/openafs-1.2.6.patch 822 MD5 f09996902e20888d8bc0d09cc2fa726a files/openafs-1.2.8.patch 1943 diff --git a/net-fs/openafs/files/digest-openafs-1.2.10 b/net-fs/openafs/files/digest-openafs-1.2.10 new file mode 100644 index 000000000000..d83943975b9e --- /dev/null +++ b/net-fs/openafs/files/digest-openafs-1.2.10 @@ -0,0 +1 @@ +MD5 7c94e5d024d16c581a363de52ed21f95 openafs-1.2.10-src.tar.bz2 10343261 diff --git a/net-fs/openafs/openafs-1.2.10.ebuild b/net-fs/openafs/openafs-1.2.10.ebuild new file mode 100644 index 000000000000..8c6e2d5d54cc --- /dev/null +++ b/net-fs/openafs/openafs-1.2.10.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.2.10.ebuild,v 1.1 2003/08/06 22:58:54 rphillips Exp $ + +inherit check-kernel + +S=${WORKDIR}/${P} +DESCRIPTION="The AFS 3 scalable distributed file system" +HOMEPAGE="http://www.openafs.org/" +SRC_URI="http://openafs.org/dl/openafs/${PV}/${P}-src.tar.bz2" + +SLOT="0" +LICENSE="IPL-1" +KEYWORDS="-* ~x86" + +SANDBOX_DISABLED="1" + +DEPEND="virtual/linux-sources + >=sys-apps/portage-2.0.47-r10 + >=sys-libs/ncurses-5.2 + >=sys-libs/pam-0.75 + >=sys-apps/gawk-3.1.1" + +ARCH=i386_linux24 + + +pkg_setup() { + + if is_2_5_kernel || is_2_6_kernel + then + die "OpenAFS does not yet support 2.5 and 2.6 kernels" + fi +} + + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/openafs-1.2.6.patch +} + +src_compile() { + + econf \ + --with-afs-sysname=i386_linux24 \ + --enable-transarc-paths || die + + make || die +} + +src_install () { + make dest || die + + # Client + + cd ${S}/${ARCH}/dest/root.client/usr/vice + + insinto /etc/afs/modload + doins etc/modload/* + insinto /etc/afs/C + doins etc/C/* + + insinto /etc/afs + doins ${FILESDIR}/{ThisCell,CellServDB} + doins etc/afs.conf + + mount -t afs | awk '{ exit $3 == "/afs" }' && keepdir /afs + + exeinto /etc/init.d + newexe ${FILESDIR}/afs.rc.rc6 afs + + dosbin etc/afsd + + # Client Bin + cd ${S}/${ARCH}/dest + exeinto /usr/afsws/bin + doexe bin/* + + exeinto /etc/afs/afsws + doexe etc/* + + cp -a include lib ${D}/usr/afsws + dosym /usr/afsws/lib/afs/libtermlib.a /usr/afsws/lib/afs/libnull.a + + # Server + cd ${S}/${ARCH}/dest/root.server/usr/afs + exeinto /usr/afs/bin + doexe bin/* + + dodir /usr/vice + dosym /etc/afs /usr/vice/etc + dosym /etc/afs/afsws /usr/afsws/etc + + dodoc ${FILESDIR}/README + + dodir /etc/env.d + echo 'CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws"' \ + >> ${D}/etc/env.d/01${PN} + echo 'PATH=/usr/afsws/bin:/etc/afs/afsws' \ + >> ${D}/etc/env.d/01${PN} + echo 'ROOTPATH=/usr/afsws/bin:/etc/afs/afsws:/usr/afs/bin' \ + >> ${D}/etc/env.d/01${PN} +} + +pkg_postinst () { + einfo "UPDATE CellServDB and ThisCell to your needs !!" + einfo "FOLLOW THE INSTRUCTIONS IN AFS QUICK BEGINNINGS" + einfo "PAGE >45 TO DO INITIAL SERVER SETUP" +} |