summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-05-12 00:55:22 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-05-12 00:55:22 +0000
commitccb7bdf25a5b1a9399b82da55778f4cc7722022e (patch)
treec641ec60e12a35e71c7b632ee48b50c075a67105 /net-fs/coda
parentAdded s390 keywords (diff)
downloadhistorical-ccb7bdf25a5b1a9399b82da55778f4cc7722022e.tar.gz
historical-ccb7bdf25a5b1a9399b82da55778f4cc7722022e.tar.bz2
historical-ccb7bdf25a5b1a9399b82da55778f4cc7722022e.zip
version bump Thanks to Sebastian Droege <sebastian.droege@gmx.de> in bug#50632. Changed maintainers to include net-fs. Work still required to automate install"
Diffstat (limited to 'net-fs/coda')
-rw-r--r--net-fs/coda/ChangeLog11
-rw-r--r--net-fs/coda/Manifest15
-rw-r--r--net-fs/coda/coda-6.0.3.ebuild4
-rw-r--r--net-fs/coda/coda-6.0.6.ebuild121
-rw-r--r--net-fs/coda/files/coda-6.0.6-gcc3.4.patch46
-rw-r--r--net-fs/coda/files/digest-coda-6.0.61
-rw-r--r--net-fs/coda/metadata.xml10
7 files changed, 195 insertions, 13 deletions
diff --git a/net-fs/coda/ChangeLog b/net-fs/coda/ChangeLog
index 667514cdec9a..39e1d4d05bcc 100644
--- a/net-fs/coda/ChangeLog
+++ b/net-fs/coda/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-fs/coda
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/ChangeLog,v 1.2 2004/04/27 21:46:47 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/ChangeLog,v 1.3 2004/05/12 00:55:22 dragonheart Exp $
+
+ 12 May 2004; Daniel Black <dragonheart@gentoo.org> metadata.xml,
+ coda-6.0.3.ebuild, +coda-6.0.6.ebuild, files/coda-6.0.6-gcc3.4.patch:
+ version bump Thanks to Sebastian Droege <sebastian.droege@gmx.de> in bug
+ #50632. Changed maintainers to include net-fs. Work still required to install
+ in a FHS compliant manner
+
+ 07 May 2004; Daniel Black <dragonheart@gentoo.org> coda-6.0.3.ebuild:
+ x86 Keyword added
27 Apr 2004; Aron Griffis <agriffis@gentoo.org> coda-6.0.3.ebuild:
Add inherit eutils
diff --git a/net-fs/coda/Manifest b/net-fs/coda/Manifest
index fb3377329ab0..3b3100b44386 100644
--- a/net-fs/coda/Manifest
+++ b/net-fs/coda/Manifest
@@ -1,9 +1,12 @@
-MD5 6857c70cbe59b607ae28f492659c5857 coda-6.0.3.ebuild 2979
-MD5 49e881e0eadfae1a5910ebce38f0d7f3 metadata.xml 323
-MD5 591c63fcd1b13dff66f73840cc5480b5 ChangeLog 707
+MD5 3c9bc215d0dadef4b4bdc61f7bcfe068 coda-6.0.3.ebuild 2981
+MD5 1b45d9e2da0f37197bb054ea7da892ce metadata.xml 360
+MD5 eb991f3ca281c9459740f61961b9ebb4 ChangeLog 1126
+MD5 caa10dd4dc83e6a69cb6306f9080c046 coda-6.0.6.ebuild 2998
+MD5 e103b976e9b09cb658d03ce1993f92af files/venus 687
+MD5 926376b472899dbc3a76c84d5430828c files/codasrv 818
MD5 00c7dfde539f8ded92b70b2abbd76dec files/coda-update 1149
MD5 14dfa50bf0c64963a355096542e14f43 files/auth2 972
-MD5 d21e4e5142a0266459b5ad8b39e3e707 files/coda-6.0.3-iowr.patch 607
-MD5 926376b472899dbc3a76c84d5430828c files/codasrv 818
MD5 d08316a08429d573d30dbc9924707206 files/digest-coda-6.0.3 63
-MD5 e103b976e9b09cb658d03ce1993f92af files/venus 687
+MD5 d21e4e5142a0266459b5ad8b39e3e707 files/coda-6.0.3-iowr.patch 607
+MD5 eb72604e9995f1f6c1fbcb84edfee3fb files/digest-coda-6.0.6 63
+MD5 464a8cd91e3af12266c0570034388221 files/coda-6.0.6-gcc3.4.patch 1984
diff --git a/net-fs/coda/coda-6.0.3.ebuild b/net-fs/coda/coda-6.0.3.ebuild
index d56d8da07a18..bde3f434affc 100644
--- a/net-fs/coda/coda-6.0.3.ebuild
+++ b/net-fs/coda/coda-6.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/coda-6.0.3.ebuild,v 1.2 2004/04/27 21:46:47 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/coda-6.0.3.ebuild,v 1.3 2004/05/12 00:55:22 dragonheart Exp $
inherit eutils
@@ -12,7 +12,7 @@ SRC_URI="ftp://ftp.coda.cs.cmu.edu/pub/coda/src/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86"
+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.
diff --git a/net-fs/coda/coda-6.0.6.ebuild b/net-fs/coda/coda-6.0.6.ebuild
new file mode 100644
index 000000000000..7470b0ab797b
--- /dev/null
+++ b/net-fs/coda/coda-6.0.6.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/coda-6.0.6.ebuild,v 1.1 2004/05/12 00:55:22 dragonheart Exp $
+
+inherit eutils
+
+IUSE="kerberos"
+
+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/${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-libs/lwp-1.11
+ >=net-libs/rpc2-1.22
+ >=sys-libs/rvm-1.9
+ >=sys-libs/db-3
+ >=sys-libs/ncurses-4
+ >=sys-libs/readline-3
+ >=sys-kernel/linux-headers-2.4
+ >=dev-lang/perl-5.8
+ kerberos? ( virtual/krb5 )
+ sys-apps/gawk
+ sys-devel/bison
+ sys-apps/grep"
+
+# >=sys-apps/sed-4
+# net-fs/coda-kernel
+
+
+RDEPEND=">=sys-libs/lwp-1.10
+ >=net-libs/rpc2-1.20
+ >=sys-libs/rvm-1.8
+ >=sys-libs/db-3
+ >=sys-libs/ncurses-4
+ >=sys-libs/readline-3
+ kerberos? ( virtual/krb5 )"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/coda-6.0.6-gcc3.4.patch
+}
+
+
+src_compile() {
+ local myflags=""
+
+ use kerberos && myflags="${myflags} --with-crypto"
+
+ econf ${myflags} || die "configure failed"
+ emake -j1 || 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, we need to do "make client-install" for
+ # the client, and "make server-install" for the server.
+ #...you can find out about this from ./configs/Makerules
+ emake \
+ CINIT-SCRIPTS="" \
+ prefix=${D}/usr \
+ sysconfdir=${D}/etc/coda \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ oldincludedir=${D}/usr/include client-install || die
+
+ emake \
+ SINIT-SCRIPTS="" \
+ prefix=${D}/usr \
+ sysconfdir=${D}/etc/coda \
+ mandir=${D}/usr/share/man \
+ oldincludedir=${D}/usr/include server-install || die
+ infodir=${D}/usr/share/info \
+
+ dodoc README* ChangeLog CREDITS LICENSE
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/venus
+ doexe ${FILESDIR}/coda-update
+ doexe ${FILESDIR}/codasrv
+ doexe ${FILESDIR}/auth2
+
+ # We may use a conf.d/coda file at some point ?
+# insinto /etc/conf.d
+# newins ${FILESDIR}/coda.conf.d coda
+
+ # I am not sure why coda misplaces this file...
+ mv -f ${D}/etc/server.conf.ex ${D}/etc/coda/server.conf.ex
+
+ sed -i -e "s,^#vicedir=/.*,vicedir=/var/lib/vice," \
+ ${D}/etc/coda/server.conf.ex
+
+ sed -i -e "s,^#mountpoint=/.*,mountpoint=/mnt/coda," \
+ ${D}/etc/coda/venus.conf.ex
+
+ dodir /var/lib/vice
+ dodir /mnt/coda
+ dodir /usr/coda
+ dodir /usr/coda/spool
+
+ diropts -m0700
+ dodir /usr/coda/etc
+ dodir /usr/coda/venus.cache
+}
+
+pkg_postinst () {
+ einfo
+ einfo "To enable the coda at boot up, please do:"
+ einfo " rc-update venus default"
+ einfo
+ einfo "* To get started, run venus-setup and vice-setup"
+ einfo
+}
diff --git a/net-fs/coda/files/coda-6.0.6-gcc3.4.patch b/net-fs/coda/files/coda-6.0.6-gcc3.4.patch
new file mode 100644
index 000000000000..246310ac9033
--- /dev/null
+++ b/net-fs/coda/files/coda-6.0.6-gcc3.4.patch
@@ -0,0 +1,46 @@
+diff -Naur coda-6.0.6.old/coda-src/kerndep/pioctl.h coda-6.0.6/coda-src/kerndep/pioctl.h
+--- coda-6.0.6.old/coda-src/kerndep/pioctl.h 2003-05-23 20:26:31.000000000 +0200
++++ coda-6.0.6/coda-src/kerndep/pioctl.h 2004-05-10 15:28:51.172684560 +0200
+@@ -100,7 +100,8 @@
+
+
+ /* people who understand ioctling probably know why this is useful... */
+-#define _VICEIOCTL(id) (_IOW('V', id, struct ViceIoctl))
++//#define _VICEIOCTL(id) (_IOW('V', id, struct ViceIoctl))
++#define _VICEIOCTL(id) (_IOC(_IOC_WRITE,'V',id,sizeof(struct ViceIoctl)))
+ #define _VALIDVICEIOCTL(com) (com >= _VICEIOCTL(0) && com <= _VICEIOCTL(255))
+
+
+diff -Naur coda-6.0.6.old/coda-src/venus/comm.cc coda-6.0.6/coda-src/venus/comm.cc
+--- coda-6.0.6.old/coda-src/venus/comm.cc 2004-02-02 20:32:34.000000000 +0100
++++ coda-6.0.6/coda-src/venus/comm.cc 2004-05-10 14:52:08.982468360 +0200
+@@ -173,7 +173,7 @@
+ sei.AckPoint = sftp_ackpoint;
+ sei.PacketSize = sftp_packetsize;
+ sei.EnforceQuota = 1;
+- sei.Port.Tag = (enum PortTag)0;
++ sei.Port.Tag = (PortTag)0;
+ SFTP_Activate(&sei);
+
+ /* RPC2 initialization. */
+diff -Naur coda-6.0.6.old/coda-src/venus/fso.h coda-6.0.6/coda-src/venus/fso.h
+--- coda-6.0.6.old/coda-src/venus/fso.h 2004-03-05 22:15:53.000000000 +0100
++++ coda-6.0.6/coda-src/venus/fso.h 2004-05-10 14:49:23.400640624 +0200
+@@ -539,7 +539,7 @@
+ void DetachHdbBindings();
+ void DetachHdbBinding(binding *, int =0);
+ int PredetermineFetchState(int, int);
+- void SetFetchAllowed(enum HoardFetchState new_state)
++ void SetFetchAllowed(HoardFetchState new_state)
+ { FetchAllowed = new_state; }
+ int IsFetchAllowed()
+ { if (FetchAllowed == HF_Fetch)
+@@ -547,7 +547,7 @@
+ else
+ return 0;
+ }
+- void SetAskingAllowed(enum HoardAskState new_state)
++ void SetAskingAllowed(HoardAskState new_state)
+ { AskingAllowed = new_state; }
+ int IsAskingAllowed()
+ { if (AskingAllowed == HA_Ask)
diff --git a/net-fs/coda/files/digest-coda-6.0.6 b/net-fs/coda/files/digest-coda-6.0.6
new file mode 100644
index 000000000000..c59c07b92ede
--- /dev/null
+++ b/net-fs/coda/files/digest-coda-6.0.6
@@ -0,0 +1 @@
+MD5 1feb4b431b72f725b568cc57a759714f coda-6.0.6.tar.gz 1497287
diff --git a/net-fs/coda/metadata.xml b/net-fs/coda/metadata.xml
index bbb117a5aac6..fd5998d86003 100644
--- a/net-fs/coda/metadata.xml
+++ b/net-fs/coda/metadata.xml
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
+<herd>net-fs</herd>
<maintainer>
- <email>dragonheart@gentoo.org</email>
- <name>Daniel Black</name>
- <description>probably volunteered when I shouldn't off</description>
+ <email>dragonheart@gentoo.org</email>
+ <description>Maintaining until net-fs gets off its feet</description>
+</maintainer>
+<maintainer>
+ <email>net-fs@gentoo.org</email>
</maintainer>
</pkgmetadata>