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
commit5568760db1e49bff23a32db67d7cd80a60a2f4b4 (patch)
tree80315af922f196ec4e7986d701d439f3ce12b69b /net-fs/coda
parentAdded s390 keywords (Manifest recommit) (diff)
downloadgentoo-2-5568760db1e49bff23a32db67d7cd80a60a2f4b4.tar.gz
gentoo-2-5568760db1e49bff23a32db67d7cd80a60a2f4b4.tar.bz2
gentoo-2-5568760db1e49bff23a32db67d7cd80a60a2f4b4.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/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
6 files changed, 186 insertions, 7 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/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>