summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-08-02 20:48:49 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-08-02 20:48:49 +0000
commitee52f08b961392e2eb053f6af56340985641ebab (patch)
tree20789d225346d77826db0da4bfad4cc86f33ee12 /net-fs/openafs
parentkernel checking functions, extracted from the nvidia-kernel ebuilds that Azar... (diff)
downloadhistorical-ee52f08b961392e2eb053f6af56340985641ebab.tar.gz
historical-ee52f08b961392e2eb053f6af56340985641ebab.tar.bz2
historical-ee52f08b961392e2eb053f6af56340985641ebab.zip
new version
Diffstat (limited to 'net-fs/openafs')
-rw-r--r--net-fs/openafs/ChangeLog11
-rw-r--r--net-fs/openafs/Manifest18
-rw-r--r--net-fs/openafs/files/digest-openafs-1.2.91
-rw-r--r--net-fs/openafs/openafs-1.2.9.ebuild115
4 files changed, 134 insertions, 11 deletions
diff --git a/net-fs/openafs/ChangeLog b/net-fs/openafs/ChangeLog
index 4bb6b54c80a7..5c6d6df96843 100644
--- a/net-fs/openafs/ChangeLog
+++ b/net-fs/openafs/ChangeLog
@@ -1,6 +1,15 @@
# 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.21 2003/07/30 20:54:12 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.22 2003/08/02 20:48:48 seemant Exp $
+
+*openafs-1.2.9 (02 Aug 2003)
+
+ 02 Aug 2003; Seemant Kulleen <seemant@gentoo.org> openafs-1.2.9.ebuild,
+ openafs-1.3.2-r1.ebuild, openafs-1.3.2.ebuild:
+ new version in the stable 1.2 series. Ebuild by Bernhard Schmidt
+ <berni@birkenwald.de> in bug #21688 opened by: Ian <ian@stacken.kth.se>. This
+ ebuild was extensively tested and cleaned up by: Steven Jenkins
+ <steven.jenkins@ieee.org>
12 Jun 2003; <msterret@gentoo.org> openafs-1.2.8.ebuild,
openafs-1.3.2-r1.ebuild, openafs-1.3.2.ebuild:
diff --git a/net-fs/openafs/Manifest b/net-fs/openafs/Manifest
index 3cbcb5270d17..4c9190c22042 100644
--- a/net-fs/openafs/Manifest
+++ b/net-fs/openafs/Manifest
@@ -1,16 +1,14 @@
+MD5 d6e2d57575d8bd8dec02838a89cdcb53 openafs-1.2.9.ebuild 2349
+MD5 c2267460c9a47d41a4b10951f865ec46 openafs-1.2.8.ebuild 2839
+MD5 18052613868ffa9187eeb85c040cfef4 ChangeLog 3680
MD5 4584cc6910401787e1ebd81cfa06f060 files/CellServDB 41
MD5 c620f50b47424c46f59dc847eb8c0dd3 files/README 8735
+MD5 fbff454fda7201d68f5acc8f0d3814b3 files/openafs-1.2.5-sunrpc-overflow.patch 1867
MD5 1903c6a5e0aeedf794939945536341cd files/ThisCell 7
MD5 1552314a3b8ba152cee79611e73181f1 files/afs.rc 5393
+MD5 19d17f83fbb3cc6c491476dba77eaad7 files/openafs-1.2.6.patch 822
+MD5 0cc0097b5cfc3cb04bd313c127155e52 files/digest-openafs-1.2.8 643
+MD5 a6957d849a3d1a5b766e885105c3d7f4 files/digest-openafs-1.2.9 72
MD5 c23e16f3f8957f7cb1986a349040f867 files/afs.rc.rc6 5427
-MD5 92b93f8a36f491d81b9f448e5f4cdce8 files/digest-openafs-1.3.2-r1 645
-MD5 b61c3e7d57df267b0a01cb25953187a5 files/kaserver-patch.diff 2152
MD5 f09996902e20888d8bc0d09cc2fa726a files/openafs-1.2.8.patch 1943
-MD5 0cc0097b5cfc3cb04bd313c127155e52 files/digest-openafs-1.2.8 643
-MD5 a984cf8d0553f2f9c7e1d9cbd550b804 files/digest-openafs-1.3.2 573
-MD5 fbff454fda7201d68f5acc8f0d3814b3 files/openafs-1.2.5-sunrpc-overflow.patch 1867
-MD5 19d17f83fbb3cc6c491476dba77eaad7 files/openafs-1.2.6.patch 822
-MD5 cd4063696ffb8914a44221ddd9be52be openafs-1.3.2-r1.ebuild 2530
-MD5 c2267460c9a47d41a4b10951f865ec46 openafs-1.2.8.ebuild 2839
-MD5 de6f365383df41d941919ffc0dfcf35e openafs-1.3.2.ebuild 2475
-MD5 361c4583c6db0108c83b296e68316d3c ChangeLog 3287
+MD5 b61c3e7d57df267b0a01cb25953187a5 files/kaserver-patch.diff 2152
diff --git a/net-fs/openafs/files/digest-openafs-1.2.9 b/net-fs/openafs/files/digest-openafs-1.2.9
new file mode 100644
index 000000000000..318656590c37
--- /dev/null
+++ b/net-fs/openafs/files/digest-openafs-1.2.9
@@ -0,0 +1 @@
+MD5 aa3b91c01d69ad15cd5652e2d249e4b4 openafs-1.2.9-src.tar.bz2 10302608
diff --git a/net-fs/openafs/openafs-1.2.9.ebuild b/net-fs/openafs/openafs-1.2.9.ebuild
new file mode 100644
index 000000000000..c24f8ab9da4f
--- /dev/null
+++ b/net-fs/openafs/openafs-1.2.9.ebuild
@@ -0,0 +1,115 @@
+# 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.9.ebuild,v 1.1 2003/08/02 20:48:48 seemant Exp $
+
+inherit check-kernel
+
+S=${WORKDIR}/${P}
+DESCRIPTION="The AFS 3 distributed file system targets the issues critical to
+distributed computing environments."
+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/sed-4
+ >=sys-apps/portage-2.0.47-r10
+ >=sys-libs/ncurses-5.2
+ >=sys-libs/pam-0.75"
+
+ARCH=i386_linux24
+
+
+pkg_setup() {
+
+ if is_2_5_kernel || is_2_6_kernel
+ then
+ die "This only works with 2.4 kernels"
+ fi
+}
+
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}/src/config
+ sed -i "s|/usr/lib/libncurses.so|-lncurses|g" Makefile.i386_linux24.in
+
+ cd ${S}
+ epatch ${FILESDIR}/openafs-1.2.6.patch
+}
+
+src_compile() {
+
+ econf \
+ --with-afs-sysname=i386_linux24 \
+ --enable-transarc-paths || die
+
+ sed -i "s|-I/usr/include/sys| |g" src/pam/Makefile
+
+ make || die
+ make dest || die
+}
+
+src_install () {
+ # 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
+
+ dodir /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"
+}