summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-01-13 03:07:38 +0000
committerAron Griffis <agriffis@gentoo.org>2004-01-13 03:07:38 +0000
commite2e3333f4c73f74a389c1047fd65499ecae6c3f9 (patch)
tree31bb1f2a44e51535a82e685891517a058c0410f3 /net-fs
parenttidy (diff)
downloadhistorical-e2e3333f4c73f74a389c1047fd65499ecae6c3f9.tar.gz
historical-e2e3333f4c73f74a389c1047fd65499ecae6c3f9.tar.bz2
historical-e2e3333f4c73f74a389c1047fd65499ecae6c3f9.zip
ls
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/openafs/ChangeLog10
-rw-r--r--net-fs/openafs/Manifest12
-rw-r--r--net-fs/openafs/files/digest-openafs-1.2.10-r21
-rw-r--r--net-fs/openafs/openafs-1.2.10-r2.ebuild129
4 files changed, 145 insertions, 7 deletions
diff --git a/net-fs/openafs/ChangeLog b/net-fs/openafs/ChangeLog
index c6135c4e18ff..1b60bf427706 100644
--- a/net-fs/openafs/ChangeLog
+++ b/net-fs/openafs/ChangeLog
@@ -1,6 +1,12 @@
# 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.33 2004/01/05 06:45:57 zhen Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.34 2004/01/13 03:07:35 agriffis Exp $
+
+*openafs-1.2.10-r2 (12 Jan 2004)
+
+ 12 Jan 2004; Aron Griffis <agriffis@gentoo.org> openafs-1.2.10-r2.ebuild:
+ Enable multi-arch support for bug 10952. Thanks to Steven Jenkins for doing
+ the initial investigation on this.
05 Jan 2004; zhen <zhen@gentoo.org> metadata.xml:
adding to net-fs herd
diff --git a/net-fs/openafs/Manifest b/net-fs/openafs/Manifest
index d76bf7dd4243..d7568e11e2aa 100644
--- a/net-fs/openafs/Manifest
+++ b/net-fs/openafs/Manifest
@@ -1,13 +1,15 @@
+MD5 4db4c89398784ab3ac5f62b15bc18561 ChangeLog 5494
MD5 cd27be8a0ad61a4008a7ca13a261a845 openafs-1.2.10.ebuild 2247
-MD5 379632d936e9dc5d0332c865d4919b22 ChangeLog 5264
MD5 1d3c436cc14252035bf2d97228cd3f58 metadata.xml 224
MD5 496031fdde3cbb725b1d32213cd2586e openafs-1.2.10-r1.ebuild 2437
+MD5 1c54039820c7202002361e7bc4313de4 openafs-1.2.10-r2.ebuild 3387
MD5 4584cc6910401787e1ebd81cfa06f060 files/CellServDB 41
-MD5 e8488032f070544719cba9c7dbaf8108 files/digest-openafs-1.2.10-r1 73
MD5 c620f50b47424c46f59dc847eb8c0dd3 files/README 8735
MD5 1903c6a5e0aeedf794939945536341cd files/ThisCell 7
-MD5 19d17f83fbb3cc6c491476dba77eaad7 files/openafs-1.2.6.patch 822
-MD5 45e1a76f88876cef88c25ec042a236ed files/openafs-pinstall-execve.patch 1764
-MD5 e8488032f070544719cba9c7dbaf8108 files/digest-openafs-1.2.10 73
MD5 c23e16f3f8957f7cb1986a349040f867 files/afs.rc.rc6 5427
+MD5 e8488032f070544719cba9c7dbaf8108 files/digest-openafs-1.2.10-r2 73
+MD5 e8488032f070544719cba9c7dbaf8108 files/digest-openafs-1.2.10 73
+MD5 e8488032f070544719cba9c7dbaf8108 files/digest-openafs-1.2.10-r1 73
+MD5 45e1a76f88876cef88c25ec042a236ed files/openafs-pinstall-execve.patch 1764
+MD5 19d17f83fbb3cc6c491476dba77eaad7 files/openafs-1.2.6.patch 822
MD5 36dc33d8c6e647e8aacf8e69849a28a3 files/openafs-pinstall-execve-1.2.10.patch 1242
diff --git a/net-fs/openafs/files/digest-openafs-1.2.10-r2 b/net-fs/openafs/files/digest-openafs-1.2.10-r2
new file mode 100644
index 000000000000..d83943975b9e
--- /dev/null
+++ b/net-fs/openafs/files/digest-openafs-1.2.10-r2
@@ -0,0 +1 @@
+MD5 7c94e5d024d16c581a363de52ed21f95 openafs-1.2.10-src.tar.bz2 10343261
diff --git a/net-fs/openafs/openafs-1.2.10-r2.ebuild b/net-fs/openafs/openafs-1.2.10-r2.ebuild
new file mode 100644
index 000000000000..7e0867b64e27
--- /dev/null
+++ b/net-fs/openafs/openafs-1.2.10-r2.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2004 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-r2.ebuild,v 1.1 2004/01/13 03:07:35 agriffis Exp $
+
+inherit check-kernel fixheadtails flag-o-matic
+
+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 ~alpha ~ia64"
+
+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"
+
+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}
+ ht_fix_file "acinclude.m4"
+ ht_fix_file "config.guess"
+ ht_fix_file "src/afsd/afs.rc.linux"
+ ht_fix_file "aclocal.m4"
+ ht_fix_file "configure"
+ ht_fix_file "configure-libafs"
+ epatch ${FILESDIR}/openafs-pinstall-execve-1.2.10.patch
+}
+
+src_compile() {
+ # The CC/MT_CC setting is required for link on alpha, and
+ # recommended for link on x86 and other arches (even those that
+ # don't technically require it).
+ # http://marc.theaimsgroup.com/?l=gentoo-dev&m=107112691504786&w=2
+ #
+ # It's possible that CFLAGS could be added to MT_CC as well, but
+ # I'm not experimenting here, just making it work on multiple
+ # arches... (12 Jan 2004 agriffis)
+ econf --enable-transarc-paths || die econf
+ make CC="${CC} -fPIC" MT_CC="${CC} -fPIC" || die make
+}
+
+src_install () {
+ local sys_name=$(sed -n 's/^SYS_NAME=//p' Makefile) || die sys_name
+
+ make dest || die dest
+
+ # Client
+ cd ${S}/${sys_name}/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
+
+ # Can't make this in src_install with keepdir because there might
+ # be mounted afs filesystems at the time that this package is
+ # installed/updated. Can't test with mount because this might not
+ # be the host where the package will be installed. The best way
+ # to do this is put it in pkg_* functions. (12 Jan 2004 agriffis)
+ #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}/${sys_name}/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}/${sys_name}/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 () {
+ # See note in src_install regarding this
+ mkdir /afs 2>/dev/null
+
+ einfo
+ einfo "UPDATE CellServDB and ThisCell to your needs !!"
+ einfo "FOLLOW THE INSTRUCTIONS IN AFS QUICK BEGINNINGS"
+ einfo "PAGE >45 TO DO INITIAL SERVER SETUP"
+ einfo
+}
+
+pkg_preun () {
+ # See note in src_install regarding this
+ rmdir /afs 2>/dev/null
+}