diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-04-02 08:33:36 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-04-02 08:33:36 +0000 |
commit | f669c160b078a9a4203d241a137a74075140a5fb (patch) | |
tree | 1e79c1738105ae15988927bb18b1ee978445dd4b /net-fs | |
parent | repoman fix (diff) | |
download | historical-f669c160b078a9a4203d241a137a74075140a5fb.tar.gz historical-f669c160b078a9a4203d241a137a74075140a5fb.tar.bz2 historical-f669c160b078a9a4203d241a137a74075140a5fb.zip |
revived
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/openafs/files/digest-openafs-1.2.8 | 10 | ||||
-rw-r--r-- | net-fs/openafs/files/digest-openafs-1.3.2-r1 | 10 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.2.8.ebuild | 109 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.3.2-r1.ebuild | 2 |
4 files changed, 130 insertions, 1 deletions
diff --git a/net-fs/openafs/files/digest-openafs-1.2.8 b/net-fs/openafs/files/digest-openafs-1.2.8 new file mode 100644 index 000000000000..ce8e803e8cba --- /dev/null +++ b/net-fs/openafs/files/digest-openafs-1.2.8 @@ -0,0 +1,10 @@ +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 c23e16f3f8957f7cb1986a349040f867 /files/afs.rc.rc6 5427 +MD5 b61c3e7d57df267b0a01cb25953187a5 /files/kaserver-patch.diff 2152 +MD5 f530d08f679bdb22b45dd89926f8748c /openafs-1.2.8.ebuild 2781 +MD5 652f20deb923c225cdb824de1d201019 openafs-1.2.8-src.tar.bz2 10284517 diff --git a/net-fs/openafs/files/digest-openafs-1.3.2-r1 b/net-fs/openafs/files/digest-openafs-1.3.2-r1 new file mode 100644 index 000000000000..bffb49dd8ff3 --- /dev/null +++ b/net-fs/openafs/files/digest-openafs-1.3.2-r1 @@ -0,0 +1,10 @@ +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 c23e16f3f8957f7cb1986a349040f867 /files/afs.rc.rc6 5427 +MD5 b61c3e7d57df267b0a01cb25953187a5 /files/kaserver-patch.diff 2152 +MD5 b602b2f8f03c018fa1a3c1a34855e029 /openafs-1.3.2-r1.ebuild 2526 +MD5 5057634d9f6c44d5ca9a6dd9fdd84184 openafs-1.3.2-src.tar.gz 12578259 diff --git a/net-fs/openafs/openafs-1.2.8.ebuild b/net-fs/openafs/openafs-1.2.8.ebuild new file mode 100644 index 000000000000..570f1d803cbb --- /dev/null +++ b/net-fs/openafs/openafs-1.2.8.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# /home/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.2.5.ebuild,v 1.0 2002/07/10 09:52:39 pm Exp + + +S=${WORKDIR}/${P} +DESCRIPTION="The AFS 3 distributed file system targets the issues critical to +distributed computing environments. AFS performs exceptionally well, +both within small, local work groups of machines and across wide-area +configurations in support of large, collaborative efforts. AFS provides +an architecture geared towards system management, along with the tools +to perform important management tasks. For a user, AFS is a familiar yet +extensive UNIX environment for accessing files easily and quickly." + +SRC_URI="http://openafs.org/dl/openafs/${PV}/${P}-src.tar.bz2" +HOMEPAGE="http://www.openafs.org/" + +SLOT="0" +LICENSE="IPL-1" +KEYWORDS="x86 -ppc -sparc " +SANDBOX_DISABLED="1" + +DEPEND=">=sys-apps/portage-2.0.47-r10 + >=sys-libs/ncurses-5.2 + >=sys-libs/pam-0.75" + +ARCH=i386_linux24 + +src_unpack() { + unpack ${A} + + cd ${S}/src/config + cp Makefile.i386_linux24.in Makefile.i386_linux24.in.old + sed -e "s|/usr/lib/libncurses.so|-lncurses|g" \ + Makefile.i386_linux24.in.old > Makefile.i386_linux24.in + rm Makefile.i386_linux24.in.old +} + +src_compile() { + epatch ${FILESDIR}/openafs-1.2.6.patch + + ./configure \ + --with-afs-sysname=i386_linux24 \ + --enable-transarc-paths || die + cp src/pam/Makefile src/pam/Makefile.old + sed -e "s|-I/usr/include/sys| |g" \ + src/pam/Makefile.old > src/pam/Makefile + rm src/pam/Makefile.old + + 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 () { + echo ">>> UPDATE CellServDB and ThisCell to your needs !!" + echo ">>> FOLLOW THE INSTRUCTIONS IN AFS QUICK BEGINNINGS" + echo ">>> PAGE >45 TO DO INITIAL SERVER SETUP" fi +} diff --git a/net-fs/openafs/openafs-1.3.2-r1.ebuild b/net-fs/openafs/openafs-1.3.2-r1.ebuild index 1090229f450c..8b2248cfe8d0 100644 --- a/net-fs/openafs/openafs-1.3.2-r1.ebuild +++ b/net-fs/openafs/openafs-1.3.2-r1.ebuild @@ -35,7 +35,7 @@ src_unpack() { sed -i "s|/usr/lib/libncurses.so|-lncurses|g" Makefile.in cd ${S} - patch -p1 < ${FILESDIR}/kaserver-patch.diff + epatch ${FILESDIR}/kaserver-patch.diff } src_compile() { |