diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2003-10-20 05:32:24 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2003-10-20 05:32:24 +0000 |
commit | c06b149e520c06c1177c06670a8b220fee4c6d00 (patch) | |
tree | 518cacf38075813013d21b9ba5cdc45157c6b91c /net-fs | |
parent | added pinstall patch. Fixes #26287 (diff) | |
download | gentoo-2-c06b149e520c06c1177c06670a8b220fee4c6d00.tar.gz gentoo-2-c06b149e520c06c1177c06670a8b220fee4c6d00.tar.bz2 gentoo-2-c06b149e520c06c1177c06670a8b220fee4c6d00.zip |
added pinstall patch. Fixes #26287
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/openafs/ChangeLog | 12 | ||||
-rw-r--r-- | net-fs/openafs/Manifest | 12 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.2.10-r1.ebuild | 110 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.2.10.ebuild | 4 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.2.8.ebuild | 4 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.2.9.ebuild | 4 |
6 files changed, 132 insertions, 14 deletions
diff --git a/net-fs/openafs/ChangeLog b/net-fs/openafs/ChangeLog index a7a541572728..64cda2e426cb 100644 --- a/net-fs/openafs/ChangeLog +++ b/net-fs/openafs/ChangeLog @@ -1,11 +1,19 @@ # 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.24 2003/10/20 05:11:33 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.25 2003/10/20 05:32:21 rphillips Exp $ 19 Oct 2003; Ryan Phillips <rphillips@gentoo.org> files/afs.rc.rc6: Added Steven Jenkins' init.d script patch -*openafs-1.2.10 (06 Aug 2003) +*openafs-1.2.10 (19 aug 2003) + + 19 Aug 2003; Ryan Phillips <rphillips@gentoo.org> openafs-1.2.10-r1.ebuild : + Removed afs.rc, kaserver-patch.diff, openafs-1.2.5-sunrpc-overflow.patch, + openafs-1.2.8-errno.patch since they are not used anymore. + + Added Steven Jenkins' pinsta--execve-adhere patch. Fixes #26287 + +*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 diff --git a/net-fs/openafs/Manifest b/net-fs/openafs/Manifest index af8cc9a13a59..86acc060cb24 100644 --- a/net-fs/openafs/Manifest +++ b/net-fs/openafs/Manifest @@ -1,15 +1,15 @@ -MD5 2dbb3e02ccb5a7f7eec01cb124a7f375 openafs-1.2.9.ebuild 2360 -MD5 7b7eb305926b844082ed2db1aff38a45 openafs-1.2.10.ebuild 2223 -MD5 c13fd022f0b1e23460459ed1d4964289 openafs-1.2.8.ebuild 2845 -MD5 a0c886662e968dfae1d994f1d947f74f ChangeLog 4300 +MD5 0a6817d66b3ad357eba7dfb30bb5ac87 openafs-1.2.9.ebuild 2361 +MD5 d6aa5428eadf8c736819519e6eca46d7 openafs-1.2.10.ebuild 2224 +MD5 c5c7c4ba74005ffac25870771e6011ee openafs-1.2.8.ebuild 2847 +MD5 844dc00077aeb290c6c02ec43d74f109 ChangeLog 4300 MD5 059733ad92a101895ce18a1120b6eb55 metadata.xml 225 -MD5 7b7eb305926b844082ed2db1aff38a45 openafs-1.2.10-r1.ebuild 2223 +MD5 f9bfa6d1701b2f48dcf4abba83cc7817 openafs-1.2.10-r1.ebuild 2227 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 f2d94fc8e0b1e2831f635b6a1f68cbb6 files/openafs-pinstall-execve.patch 1680 +MD5 45e1a76f88876cef88c25ec042a236ed files/openafs-pinstall-execve.patch 1764 MD5 e8488032f070544719cba9c7dbaf8108 files/digest-openafs-1.2.10 73 MD5 0cc0097b5cfc3cb04bd313c127155e52 files/digest-openafs-1.2.8 643 MD5 a6957d849a3d1a5b766e885105c3d7f4 files/digest-openafs-1.2.9 72 diff --git a/net-fs/openafs/openafs-1.2.10-r1.ebuild b/net-fs/openafs/openafs-1.2.10-r1.ebuild new file mode 100644 index 000000000000..ff340934fc7a --- /dev/null +++ b/net-fs/openafs/openafs-1.2.10-r1.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-r1.ebuild,v 1.1 2003/10/20 05:32:21 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-pinstall-execve.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" +} diff --git a/net-fs/openafs/openafs-1.2.10.ebuild b/net-fs/openafs/openafs-1.2.10.ebuild index 4170171e94af..6fe3f2b5792a 100644 --- a/net-fs/openafs/openafs-1.2.10.ebuild +++ b/net-fs/openafs/openafs-1.2.10.ebuild @@ -1,6 +1,6 @@ # 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.2 2003/09/07 00:11:41 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.2.10.ebuild,v 1.3 2003/10/20 05:32:21 rphillips Exp $ inherit check-kernel @@ -37,7 +37,7 @@ src_unpack() { unpack ${A} cd ${S} - epatch ${FILESDIR}/openafs-1.2.6.patch + epatch ${FILESDIR}/openafs-pinstall-execve.patch } src_compile() { diff --git a/net-fs/openafs/openafs-1.2.8.ebuild b/net-fs/openafs/openafs-1.2.8.ebuild index dc3c7165da9c..f4d4e7f0240b 100644 --- a/net-fs/openafs/openafs-1.2.8.ebuild +++ b/net-fs/openafs/openafs-1.2.8.ebuild @@ -1,6 +1,6 @@ # 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.8.ebuild,v 1.9 2003/09/11 01:40:30 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.2.8.ebuild,v 1.10 2003/10/20 05:32:21 rphillips Exp $ S=${WORKDIR}/${P} @@ -34,10 +34,10 @@ src_unpack() { sed -e "s|/usr/lib/libncurses.so|-lncurses|g" \ Makefile.i386_linux24.in.old > Makefile.i386_linux24.in rm Makefile.i386_linux24.in.old + epatch ${FILESDIR}/openafs-pinstall-execve.patch } src_compile() { - epatch ${FILESDIR}/openafs-1.2.6.patch epatch ${FILESDIR}/openafs-1.2.8.patch ./configure \ diff --git a/net-fs/openafs/openafs-1.2.9.ebuild b/net-fs/openafs/openafs-1.2.9.ebuild index e6940be9b0b3..02a38263724f 100644 --- a/net-fs/openafs/openafs-1.2.9.ebuild +++ b/net-fs/openafs/openafs-1.2.9.ebuild @@ -1,6 +1,6 @@ # 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.4 2003/09/07 00:11:41 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.2.9.ebuild,v 1.5 2003/10/20 05:32:21 rphillips Exp $ inherit check-kernel @@ -41,7 +41,7 @@ src_unpack() { sed -i "s|/usr/lib/libncurses.so|-lncurses|g" Makefile.i386_linux24.in cd ${S} - epatch ${FILESDIR}/openafs-1.2.6.patch + epatch ${FILESDIR}/openafs-pinstall-execve.patch } src_compile() { |