Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 51256 Details for
Bug 82075
Updated net-fs/openafs ebuild for 2.6 kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
openafs-1.3.77.ebuild
openafs-1.3.77.ebuild (text/plain), 3.55 KB, created by
Anthony Gorecki
on 2005-02-14 23:01:16 UTC
(
hide
)
Description:
openafs-1.3.77.ebuild
Filename:
MIME Type:
Creator:
Anthony Gorecki
Created:
2005-02-14 23:01:16 UTC
Size:
3.55 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit flag-o-matic eutils gcc > >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" > >LICENSE="IPL-1" >SLOT="0" >KEYWORDS="~x86 ~ppc" >IUSE="pam debug" > >RDEPEND="virtual/linux-sources > >=sys-libs/ncurses-5.2 > virtual/krb5 > pam? ( >=sys-libs/pam-0.75 )" > >DEPEND="${RDEPEND} > >=sys-apps/portage-2.0.47-r10" > >pkg_setup() { > ewarn "This is an untested ebuild building an unstable version of OpenAFS!" > ebeep 2 >} > >src_compile() { > # This is the only fix possible for runtime text relocations > # in pam_afs.krb.so.1 until the OpenAFS build system is changed > # to allow all code used to build the shared libraries to be > # rebuilt -fPIC before linking to form the library. > append-flags -fPIC > > # 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) > SHLIB_CFLAGS="-fPIC" econf \ > --prefix=/usr/afsws/ \ > --enable-transarc-paths \ > --enable-namei-fileserver \ > --enable-largefile-fileserver \ > $(use_enable pam) \ > $(use_enable debug) || die econf > > env -u ARCH make CC="$(gcc-getCC)" MT_CC="$(gcc-getCC)" || die make >} > >src_install() { > # local sys_name=$(sed -n 's/^SYS_NAME=//p' Makefile) || die sys_name > local sys_name=$(sed -n 's/s%@AFS_SYSNAME@%\(.*\)%g/\1/p' config.status) || die sys_name > > env -u ARCH 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 > > newinitd ${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 libtermlib.a /usr/afsws/lib/afs/libnull.a > > if use pam; then > dosym pam_afs.krb.so.1 /lib/security/pam_afs.so > fi > > # 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 > > doenvd ${FILESDIR}/01openafs ># echo 'CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload"' \ ># >> ${WORKDIR}/01${PN} ># echo 'PATH=/usr/afsws/bin:/etc/afs/afsws' \ ># >> ${WORKDIR}/01${PN} ># echo 'ROOTPATH=/usr/afsws/bin:/etc/afs/afsws:/usr/afs/bin' \ ># >> ${WORKDIR}/01${PN} ># doenvd ${WORKDIR}/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 "These are in /etc/afs." > einfo "FOLLOW THE INSTRUCTIONS IN AFS QUICK BEGINNINGS" > einfo "PAGE >45 TO DO INITIAL SERVER SETUP" > einfo >} > >pkg_prerm() { > # See note in src_install regarding this > rmdir /afs 2>/dev/null >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 82075
: 51256 |
52791
|
55560
|
55561
|
57711
|
60772
|
63438