diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-04-14 09:39:48 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-04-14 09:39:48 +0000 |
commit | f4b02606a3bdfcc86ef5eb08388b8c3c70e4d6ed (patch) | |
tree | 96c90569ebc3617224ebde18596c8cdaf695393a /net-fs | |
parent | new package (diff) | |
download | gentoo-2-f4b02606a3bdfcc86ef5eb08388b8c3c70e4d6ed.tar.gz gentoo-2-f4b02606a3bdfcc86ef5eb08388b8c3c70e4d6ed.tar.bz2 gentoo-2-f4b02606a3bdfcc86ef5eb08388b8c3c70e4d6ed.zip |
new package
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/coda-server/ChangeLog | 15 | ||||
-rw-r--r-- | net-fs/coda-server/Manifest | 7 | ||||
-rw-r--r-- | net-fs/coda-server/coda-server-5.3.19.ebuild | 66 | ||||
-rw-r--r-- | net-fs/coda-server/files/coda-server-5.3.19-gentoo.patch | 20 | ||||
-rw-r--r-- | net-fs/coda-server/files/digest-coda-server-5.3.19 | 1 |
5 files changed, 105 insertions, 4 deletions
diff --git a/net-fs/coda-server/ChangeLog b/net-fs/coda-server/ChangeLog new file mode 100644 index 000000000000..fde4c2ae1c89 --- /dev/null +++ b/net-fs/coda-server/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for net-fs/coda-server +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/coda-server/ChangeLog,v 1.1 2003/04/14 09:39:45 seemant Exp $ + +*coda-server-5.3.19 (14 Apr 2003) + + 14 Apr 2003; Seemant Kulleen <seemant@gentoo.org> + coda-server-5.3.19.ebuild ChangeLog files/coda-server-5.3.19-gentoo.patch + files/digest-coda-server-5.3.19 : + + New package. This is the coda-client ebuild with a two line change: the + coda client's initscript patch is not applied, and the einstall installs + coda-server instead of coda-client. This ebuild was requested by: Joe + <ptlame@core.com> in bug #13696, but I don't want to support it, so it's + looking for a maintainer. diff --git a/net-fs/coda-server/Manifest b/net-fs/coda-server/Manifest index fe4f25db75a3..969857280b7d 100644 --- a/net-fs/coda-server/Manifest +++ b/net-fs/coda-server/Manifest @@ -1,5 +1,4 @@ -MD5 9044bb3cb4f3e986d64affc18e16f027 ChangeLog 1904 -MD5 4b8d8671bbc2807ae508283a87287fbc coda-server-5.3.19.ebuild 1827 -MD5 f82985c6f7aeb1f277c3188f0b2ec358 files/coda-server-5.3.19-gentoo.patch 2608 -MD5 296b4e177ceef43d26796422bbe2ec15 files/coda-server-5.3.19-gentoo2.patch 732 +MD5 f48209c9a6eafa597687867df3d64849 ChangeLog 745 +MD5 0e126467b77a7ae8fe966ef0ed2ef7a7 coda-server-5.3.19.ebuild 1826 +MD5 296b4e177ceef43d26796422bbe2ec15 files/coda-server-5.3.19-gentoo.patch 732 MD5 c64c09508bed2660cfd97ac95fe466e2 files/digest-coda-server-5.3.19 64 diff --git a/net-fs/coda-server/coda-server-5.3.19.ebuild b/net-fs/coda-server/coda-server-5.3.19.ebuild new file mode 100644 index 000000000000..c5a2766681f6 --- /dev/null +++ b/net-fs/coda-server/coda-server-5.3.19.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/coda-server/coda-server-5.3.19.ebuild,v 1.1 2003/04/14 09:39:45 seemant Exp $ + +IUSE="" +MY_P=${P/-server/} + +S=${WORKDIR}/${MY_P} +DESCRIPTION="Coda is an advanced networked filesystem developed at Carnegie Mellon Univ." +HOMEPAGE="http://www.coda.cs.cmu.edu" +SRC_URI="ftp://ftp.coda.cs.cmu.edu/pub/coda/src/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +# partly based on the deps suggested by Mandrake's RPM, and/or on my current versions +# Also, definely needs coda.h from linux-headers. +DEPEND=">=sys-apps/portage-2.0.47-r10 + >=sys-libs/lwp-1.9 + >=net-libs/rpc2-1.13 + >=sys-libs/rvm-1.6 + >=sys-libs/db-3 + >=sys-libs/ncurses-4 + >=sys-libs/readline-3 + >=sys-kernel/linux-headers-2.4" + +src_unpack() { + + unpack ${A} + + cd ${S} + # So that the venus initscript is Gentoo-compliant + epatch ${FILESDIR}/${PF}-gentoo.patch + +} + +src_compile() { +# Uncomment for db4 compatibility +# OCFLAGS="${CFLAGS}" +# CFLAGS="${CFLAGS} -lpthread" + + econf || die "configure failed" + +# Uncomment for db4 compatibility +# mv Makeconf.setup Makeconf.setup.orig +# sed -e "s:-lpthread::;s:-ldb:-ldb -lpthread:" \ +# Makeconf.setup.orig > Makeconf.setup +# CFLAGS="${OCFLAGS}" + + MAKEOPTS="-j1" emake || die "emake failed" +} + +src_install () { + #these crazy makefiles dont seem to use DESTDIR, but they do use these... + # (except infodir, but no harm in leaving it there) + # see Makeconf.setup in the package + # + #Also note that for Coda, need to do "make client-install" for client, or + # "make server-install" for server. + #...you can find out about this from ./configs/Makerules + einstall \ + oldincludedir=${D}/usr/include server-install || die + + dodoc README* ChangeLog CREDITS LICENSE +} diff --git a/net-fs/coda-server/files/coda-server-5.3.19-gentoo.patch b/net-fs/coda-server/files/coda-server-5.3.19-gentoo.patch new file mode 100644 index 000000000000..2170ce2c8f10 --- /dev/null +++ b/net-fs/coda-server/files/coda-server-5.3.19-gentoo.patch @@ -0,0 +1,20 @@ +--- coda-5.3.19/coda-src/venus/fso_cachefile.cc 2001-05-17 16:26:53.000000000 -0500 ++++ coda-5.3.19/coda-src/venus/fso_cachefile.cc.new 2002-10-23 16:12:33.000000000 -0500 +@@ -132,7 +132,7 @@ + /* Must be called from within a transaction! Assume caller has done + RVMLIB_REC_OBJECT() */ + +-void CacheFile::Create(int newlength = 0) ++void CacheFile::Create(int newlength) + { + LOG(10, ("CacheFile::Create: %s, %d\n", name, newlength)); + +@@ -183,7 +183,7 @@ + return 0; + } + +-int CacheFile::Copy(char *destname, ino_t *ino, int recovering = 0) ++int CacheFile::Copy(char *destname, ino_t *ino, int recovering) + { + LOG(10, ("CacheFile::Copy: from %s, %d, %d/%d, to %s\n", + name, inode, validdata, length, destname)); diff --git a/net-fs/coda-server/files/digest-coda-server-5.3.19 b/net-fs/coda-server/files/digest-coda-server-5.3.19 new file mode 100644 index 000000000000..2a13740fd69c --- /dev/null +++ b/net-fs/coda-server/files/digest-coda-server-5.3.19 @@ -0,0 +1 @@ +MD5 d3e90136f1f560b3ab7bd5550f12574e coda-5.3.19.tar.gz 1342652 |