diff options
author | Maurice van der Pot <griffon26@gentoo.org> | 2006-05-03 18:21:26 +0000 |
---|---|---|
committer | Maurice van der Pot <griffon26@gentoo.org> | 2006-05-03 18:21:26 +0000 |
commit | 1c61a3cf6d70a31819e88ea163f9e8a74570a9b9 (patch) | |
tree | 46ee9841061a1957bd8e4dbde231ee509230b4ba /net-fs/coda | |
parent | Re-recommit manifest for sha256 issues. (diff) | |
download | historical-1c61a3cf6d70a31819e88ea163f9e8a74570a9b9.tar.gz historical-1c61a3cf6d70a31819e88ea163f9e8a74570a9b9.tar.bz2 historical-1c61a3cf6d70a31819e88ea163f9e8a74570a9b9.zip |
Added coda 6.0.14 and solved bug #130870
Package-Manager: portage-2.1_pre9-r5
Diffstat (limited to 'net-fs/coda')
-rw-r--r-- | net-fs/coda/ChangeLog | 12 | ||||
-rw-r--r-- | net-fs/coda/Manifest | 79 | ||||
-rw-r--r-- | net-fs/coda/coda-6.0.12.ebuild | 4 | ||||
-rw-r--r-- | net-fs/coda/coda-6.0.14.ebuild | 279 | ||||
-rw-r--r-- | net-fs/coda/files/6.0.14/venus | 31 | ||||
-rw-r--r-- | net-fs/coda/files/coda-6.0.14-with-includes-fix.patch | 68 | ||||
-rw-r--r-- | net-fs/coda/files/digest-coda-6.0.14 | 3 |
7 files changed, 463 insertions, 13 deletions
diff --git a/net-fs/coda/ChangeLog b/net-fs/coda/ChangeLog index fd19b77e0279..eed93e2b05c7 100644 --- a/net-fs/coda/ChangeLog +++ b/net-fs/coda/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-fs/coda -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/ChangeLog,v 1.22 2005/10/23 09:49:37 griffon26 Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/ChangeLog,v 1.23 2006/05/03 18:21:26 griffon26 Exp $ + +*coda-6.0.14 (03 May 2006) + + 03 May 2006; Maurice van der Pot <griffon26@gentoo.org> + +files/coda-6.0.14-with-includes-fix.patch, +files/6.0.14/venus, + +coda-6.0.14.ebuild: + Added version 6.0.14 of coda and included a fix for bug #130870 reported by + Steven Brudenell <sbrudene@andrew.cmu.edu>. 23 Oct 2005; Maurice van der Pot <griffon26@gentoo.org> coda-6.0.10.ebuild, coda-6.0.11.ebuild, coda-6.0.12.ebuild: diff --git a/net-fs/coda/Manifest b/net-fs/coda/Manifest index 84eac576d316..148c91203a21 100644 --- a/net-fs/coda/Manifest +++ b/net-fs/coda/Manifest @@ -1,25 +1,86 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 a1ccb711cf71f01ddb5118676c3a9bd1 ChangeLog 5333 -MD5 c048c72d0ae39dc5e46aa54d70669160 coda-6.0.10.ebuild 7736 -MD5 304c6f62d91a078ed731d55cb9a6d43e coda-6.0.11.ebuild 7659 -MD5 88d284f6d2265c46ef1b18e7116da46a coda-6.0.12.ebuild 7659 +AUX 6.0.10/venus 703 RMD160 3c095be8097b614e50a594dd6345fa8ad461d968 SHA1 ba61ebc034af2e2d58bc105fde8728ce8bcab87f SHA256 43ab1ade96f5d964239d3a5de9ae5166ef02cef3f7e62c4355be2214e10d729f size 703 MD5 b4e38a53462318a1c6db3a3b1d7e3db3 files/6.0.10/venus 703 +RMD160 3c095be8097b614e50a594dd6345fa8ad461d968 files/6.0.10/venus 703 +SHA256 43ab1ade96f5d964239d3a5de9ae5166ef02cef3f7e62c4355be2214e10d729f files/6.0.10/venus 703 +AUX 6.0.11/venus 703 RMD160 b37c4bd3ce939a0148c9f58e25fa040f09a5ef59 SHA1 420bca9fd56a2898b6ebc04fe240be6e13141533 SHA256 37d4edc824ae0479a0805087700a7452e1b5c2658949d0dd561b3a736fd291c4 size 703 MD5 818953dac5d5dd5981ea6b6125cc7d91 files/6.0.11/venus 703 +RMD160 b37c4bd3ce939a0148c9f58e25fa040f09a5ef59 files/6.0.11/venus 703 +SHA256 37d4edc824ae0479a0805087700a7452e1b5c2658949d0dd561b3a736fd291c4 files/6.0.11/venus 703 +AUX 6.0.12/venus 703 RMD160 9ffbac78ae7db20120ddf0ce730eb240e805ef31 SHA1 b058f8922fca986436a6e8c47cac1056f5c6d857 SHA256 26b5211f6e9c661b6fe8d7373a706f001bbbd90cdf70fc0c1881e42d335daf17 size 703 MD5 e8eceaf4a75c95c4960701632ab31578 files/6.0.12/venus 703 +RMD160 9ffbac78ae7db20120ddf0ce730eb240e805ef31 files/6.0.12/venus 703 +SHA256 26b5211f6e9c661b6fe8d7373a706f001bbbd90cdf70fc0c1881e42d335daf17 files/6.0.12/venus 703 +AUX 6.0.14/venus 703 RMD160 a1c066251854dd8b83689c03f75363cfbe29c749 SHA1 2f77b9a7c5f6beb5dac2681473e40d83e398b44d SHA256 afd065bb41ccce6607ce547196e43bf9154f2b061f6cef387b9d0c059f7b78c5 size 703 +MD5 79b376378dde906a05f0ba1b800da603 files/6.0.14/venus 703 +RMD160 a1c066251854dd8b83689c03f75363cfbe29c749 files/6.0.14/venus 703 +SHA256 afd065bb41ccce6607ce547196e43bf9154f2b061f6cef387b9d0c059f7b78c5 files/6.0.14/venus 703 +AUX auth2 1041 RMD160 987b108810cd52fef087e58633a7c15402660631 SHA1 c6b6751d0a9061b3c6423fe4ad07c831eedeca57 SHA256 2990536d366098d56ce248e23a377d227ba556e4dda0f4fe2208d62bc00857a9 size 1041 MD5 1ea6425841d7fed645aad9d06d728ff7 files/auth2 1041 +RMD160 987b108810cd52fef087e58633a7c15402660631 files/auth2 1041 +SHA256 2990536d366098d56ce248e23a377d227ba556e4dda0f4fe2208d62bc00857a9 files/auth2 1041 +AUX coda-6.0.10-venus-setup-fix.patch 662 RMD160 e76eb49e54c341095a8edf5edbd153277981072f SHA1 3440352459bcde328787ed8e42012888158431dd SHA256 2557d15501f07139e75333e01654760885c648c7d1ad7ce560f66e8b04db7761 size 662 MD5 bc3186837c0aeaec912e7040cadd36d9 files/coda-6.0.10-venus-setup-fix.patch 662 +RMD160 e76eb49e54c341095a8edf5edbd153277981072f files/coda-6.0.10-venus-setup-fix.patch 662 +SHA256 2557d15501f07139e75333e01654760885c648c7d1ad7ce560f66e8b04db7761 files/coda-6.0.10-venus-setup-fix.patch 662 +AUX coda-6.0.14-with-includes-fix.patch 2404 RMD160 dea8eff606954cc6cd1b38887d2012b341fdf712 SHA1 f2d0d40d1a03e8f20f85ee7a9dd5ce7182b89734 SHA256 b49bc9d44bee3de163e11853416cf2f0469503102e397b3ba95b2d6086207089 size 2404 +MD5 1499938f848a04daad137f7be1ffe4e7 files/coda-6.0.14-with-includes-fix.patch 2404 +RMD160 dea8eff606954cc6cd1b38887d2012b341fdf712 files/coda-6.0.14-with-includes-fix.patch 2404 +SHA256 b49bc9d44bee3de163e11853416cf2f0469503102e397b3ba95b2d6086207089 files/coda-6.0.14-with-includes-fix.patch 2404 +AUX coda-update 1223 RMD160 0e3479b2c3295b3a24e2cf2e8667d261b2dd582c SHA1 3e5020975ef3c0cba1f06e830210dd50dcf06000 SHA256 2f625980cd3e8ce6b27662886c62f28f6ff9b9a61e233f56a7fc1fea54175e6a size 1223 MD5 78b3c40cf0a838d73ed8a67e9d153589 files/coda-update 1223 +RMD160 0e3479b2c3295b3a24e2cf2e8667d261b2dd582c files/coda-update 1223 +SHA256 2f625980cd3e8ce6b27662886c62f28f6ff9b9a61e233f56a7fc1fea54175e6a files/coda-update 1223 +AUX codasrv 941 RMD160 ccab4d3477da91b9bc04ad78d041d9dfe10f96eb SHA1 ca8c7023ecba0e95ac953bf5531c1a420787ec4f SHA256 deb56c566064b7a3f6abe1518214450a1a5d27e62b603c78665eba3ecaddc76a size 941 MD5 f40f2b0227b97168e8dcd64c86f2e8cc files/codasrv 941 +RMD160 ccab4d3477da91b9bc04ad78d041d9dfe10f96eb files/codasrv 941 +SHA256 deb56c566064b7a3f6abe1518214450a1a5d27e62b603c78665eba3ecaddc76a files/codasrv 941 +DIST coda-6.0.10.tar.gz 1558454 size 1558454 +DIST coda-6.0.11.tar.gz 1558534 size 1558534 +DIST coda-6.0.12.tar.gz 1568219 size 1568219 +DIST coda-6.0.14.tar.gz 1570164 RMD160 ae6e7cffb6a0c8f05e476ae5e8aa41597d87adb4 SHA256 7e6907f6cabb654450da37832878dcbcbb39591993d6dedc44a4ea8747144160 size 1570164 +EBUILD coda-6.0.10.ebuild 7736 RMD160 406fa8a8bb3910bb137652af5194eea02da325bd SHA1 aa4e3d12a80080c5914d32a13b2765254ccbd9f7 SHA256 5624500753307858e67da6feb0fdb70a50730aee0ca617bdc3eed45200edd378 size 7736 +MD5 c048c72d0ae39dc5e46aa54d70669160 coda-6.0.10.ebuild 7736 +RMD160 406fa8a8bb3910bb137652af5194eea02da325bd coda-6.0.10.ebuild 7736 +SHA256 5624500753307858e67da6feb0fdb70a50730aee0ca617bdc3eed45200edd378 coda-6.0.10.ebuild 7736 +EBUILD coda-6.0.11.ebuild 7659 RMD160 f8e2dc148fbf5f1341c82745662cd88e0845471a SHA1 419c64d686f32ebea3daabc589db3d6a9d5a63c0 SHA256 246cbe277935c8150e62e10253bda39e363efbd4a8ad851fbf41801e118128c0 size 7659 +MD5 304c6f62d91a078ed731d55cb9a6d43e coda-6.0.11.ebuild 7659 +RMD160 f8e2dc148fbf5f1341c82745662cd88e0845471a coda-6.0.11.ebuild 7659 +SHA256 246cbe277935c8150e62e10253bda39e363efbd4a8ad851fbf41801e118128c0 coda-6.0.11.ebuild 7659 +EBUILD coda-6.0.12.ebuild 7659 RMD160 e0233bb39abdd10b2b9e0e4b47d7a7e708d383d4 SHA1 59d02941b3d7b839a8900f53c40f6201e802d6c7 SHA256 ec98cac2b78fbcee3d6a1569b021196f49a3a31f7db3e373f4868e0c0a999d5b size 7659 +MD5 1c3de1e5ed7f7add9de3f095e963da1f coda-6.0.12.ebuild 7659 +RMD160 e0233bb39abdd10b2b9e0e4b47d7a7e708d383d4 coda-6.0.12.ebuild 7659 +SHA256 ec98cac2b78fbcee3d6a1569b021196f49a3a31f7db3e373f4868e0c0a999d5b coda-6.0.12.ebuild 7659 +EBUILD coda-6.0.14.ebuild 7844 RMD160 714724ae29d2a61e3cd1a84bdd0c080600c468c2 SHA1 cfaa9b4fea9caf1a918e2b6432554ca63de16c4f SHA256 ea56edaf83d356452c669f7376a7213e51bb9a5ebfcadd90cb0fd208e98ca0fb size 7844 +MD5 a0fdeb023b336c153fc4546d343738e3 coda-6.0.14.ebuild 7844 +RMD160 714724ae29d2a61e3cd1a84bdd0c080600c468c2 coda-6.0.14.ebuild 7844 +SHA256 ea56edaf83d356452c669f7376a7213e51bb9a5ebfcadd90cb0fd208e98ca0fb coda-6.0.14.ebuild 7844 +MISC ChangeLog 5635 RMD160 3504acdd90f1587a09dc54e44e51a32d8c6e1a5e SHA1 2196894ae521b4da33311b10189a029d43c15d18 SHA256 dec19dc41c4e5c3e9e04197275e69232cf17968fe3defffae0e17ccf0e63deef size 5635 +MD5 72e1b24b7f0dccc8f0cba0d783f63b6a ChangeLog 5635 +RMD160 3504acdd90f1587a09dc54e44e51a32d8c6e1a5e ChangeLog 5635 +SHA256 dec19dc41c4e5c3e9e04197275e69232cf17968fe3defffae0e17ccf0e63deef ChangeLog 5635 +MISC metadata.xml 321 RMD160 86e364bcf223d3b10336e9847d4cf894b6c1d37d SHA1 c65875300db289f322f516b1892e9a36f22c00a7 SHA256 df5cec1112c3c697b4069ee011ee6dcbb7a0fe6726bfeea2499105ea910c178a size 321 +MD5 f905a614fde3a85e0adefb203ece18fc metadata.xml 321 +RMD160 86e364bcf223d3b10336e9847d4cf894b6c1d37d metadata.xml 321 +SHA256 df5cec1112c3c697b4069ee011ee6dcbb7a0fe6726bfeea2499105ea910c178a metadata.xml 321 MD5 fcba6f871a054b13f4f49b5c64c746f2 files/digest-coda-6.0.10 64 +RMD160 64c3e51ecbc91884f8215b2cb827c4a048b9ddba files/digest-coda-6.0.10 64 +SHA256 c26dfc95d730384df239a25de8f163b21dfd5cf027085429a5fe01c257abe8b6 files/digest-coda-6.0.10 64 MD5 90ab5e322be7ffed9b181e74c6c35072 files/digest-coda-6.0.11 64 +RMD160 66d7811f72cf790d5317400c93831a33012b14c5 files/digest-coda-6.0.11 64 +SHA256 d701c6c387c954a48ae85bc8d7b508d8865d4255017acec1ada74fe0cbc50b4a files/digest-coda-6.0.11 64 MD5 57ae3214fc33e1ba8d8d4d0406ad9afe files/digest-coda-6.0.12 64 -MD5 f905a614fde3a85e0adefb203ece18fc metadata.xml 321 +RMD160 8a829cedc76283284df1ed56bbc4d1a0ad48c14d files/digest-coda-6.0.12 64 +SHA256 e401d8aa4a5f59febeb62f056882ce89675895e708f9601b91fe43eb5ba6b415 files/digest-coda-6.0.12 64 +MD5 5edb1c78f1b65680a4c70913212b69b0 files/digest-coda-6.0.14 238 +RMD160 43f8c31d7f642b069b540e6db9eb803a96e86ba6 files/digest-coda-6.0.14 238 +SHA256 84d04c8f0e3eca4af0b7e8e9cc77ea02aa356e71128d5c55b8bf8c007a7fdcbf files/digest-coda-6.0.14 238 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) +Version: GnuPG v1.4.2.2 (GNU/Linux) -iD8DBQFDW1zHMGnpIbeahxwRAi10AKCy5S3+9Mgh8CgrZ02Ts0Pv7l9EsQCgjf1Z -Fwj94tV/X3wiCllx1bjiUhU= -=9uNn +iD8DBQFEWPSvMGnpIbeahxwRAkQ5AJwMZDgUUgTFv4c0BpupNEILT2NfdQCfRG10 +JCUSEeDLvnCcbcBw4h9a5K4= +=YT8W -----END PGP SIGNATURE----- diff --git a/net-fs/coda/coda-6.0.12.ebuild b/net-fs/coda/coda-6.0.12.ebuild index 22ba43a0afd7..d0b40702518a 100644 --- a/net-fs/coda/coda-6.0.12.ebuild +++ b/net-fs/coda/coda-6.0.12.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/coda-6.0.12.ebuild,v 1.3 2005/10/23 09:49:37 griffon26 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/coda-6.0.12.ebuild,v 1.4 2006/05/03 18:21:26 griffon26 Exp $ inherit eutils diff --git a/net-fs/coda/coda-6.0.14.ebuild b/net-fs/coda/coda-6.0.14.ebuild new file mode 100644 index 000000000000..55f3dc7bf286 --- /dev/null +++ b/net-fs/coda/coda-6.0.14.ebuild @@ -0,0 +1,279 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/coda-6.0.14.ebuild,v 1.1 2006/05/03 18:21:26 griffon26 Exp $ + +inherit autotools eutils + +IUSE="kerberos krb4 ssl" + +DESCRIPTION="Coda is an advanced networked filesystem developed at Carnegie Mellon Univ." +HOMEPAGE="http://www.coda.cs.cmu.edu/" +SRC_URI="http://www.coda.cs.cmu.edu/pub/coda/src/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" + +# 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="${RDEPEND} + sys-apps/gawk + sys-devel/bison + sys-apps/grep + virtual/os-headers" + +RDEPEND=">=sys-libs/lwp-2.1 + >=net-libs/rpc2-1.28 + >=sys-libs/rvm-1.11 + >=sys-libs/db-3 + >=sys-libs/ncurses-4 + >=sys-libs/readline-3 + >=dev-lang/perl-5.8 + krb4? ( app-crypt/kth-krb ) + kerberos? ( virtual/krb5 ) + ssl? ( dev-libs/openssl )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-with-includes-fix.patch" + eautoreconf +} + +src_compile() { + local myflags="" + + use krb4 && myflags="${myflags} --with-krb4 + --with-krb4-includes=/usr/athena/include" + use kerberos && myflags="${myflags} --with-krb5" + use ssl && myflags="${myflags} --with-openssl" + + 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 + + exeinto /etc/init.d + doexe ${FILESDIR}/${PV}/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 + + 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 + + # Fix conflict with backup.sh from tar + mv -f ${D}/usr/sbin/backup{,-coda}.sh + + 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 add codasrv default" + einfo " rc-update add venus default" + einfo + einfo "To get started, run vice-setup and venus-setup." + einfo + einfo "Alternatively you can get a default coda setup by running:" + einfo " emerge --config =${PF}" +} + +pkg_config () { + + # Set of default configuration values + local CODA_ROOT_DIR="/var/lib/vice" + local CODA_TEST_VOLUME="codatestvol" + local CODA_TEST_VOLUME_MOUNTPOINT="test" + local CODA_ADMIN_UID="6000" + local CODA_ADMIN_NAME="codaroot" + local CODA_STORAGE_DIR="/var/lib/vice" + local RVM_LOG_PARTITION="rvmlogpartition.img" + local RVM_DATA_PARTITION="rvmdatapartition.img" + local VICE_PARTITION="vicepa" + local UPDATE_AUTHENTICATION_TOKEN="updatetoken" + local AUTH2_AUTHENTICATION_TOKEN="auth2token" + local VOLUTIL_AUTHENTICATION_TOKEN="volutiltoken" + + # Do not modify after this line + + local FQDN=$(hostname --fqdn) + local CODA_MOUNTPOINT=$(codaconfedit venus.conf mountpoint) + + # Make sure coda is not running before we start messing with its files + if [ "x$(pidof auth2)" != "x" ]; then + eerror "Please stop coda, coda-update and auth2 first." + exit 1 + fi + + # Also make sure venus is not running + if [ "x$(pidof venus)" != "x" ]; then + eerror "Please stop venus first." + exit 1 + fi + + # Ask for the location of (amongst other things) the vice partition + ewarn "This default configuration of coda will require 350MB of free space" + ewarn "for Recoverable Virtual Memory. Additional space is required for" + ewarn "the files that you store on your coda volume." + echo + einfon "Please specify where coda should store this data [${CODA_STORAGE_DIR}]: " + read new_storage_dir + if [ "x${new_storage_dir}" != "x" ]; then + CODA_STORAGE_DIR=${new_storage_dir} + fi + echo + + # Check if an existing server.conf is in the way + conf=$(codaconfedit server.conf) + intheway= + if [ ${conf} != /dev/null ]; then + intheway="${intheway} ${conf}" + fi + + # Check if an existing vice root dir is in the way + if [ -e ${CODA_ROOT_DIR} ]; then + intheway="${intheway} ${CODA_ROOT_DIR}" + fi + + # Check if an existing vice partition is in the way + if [ -e ${CODA_STORAGE_DIR}/${VICE_PARTITION} ]; then + intheway="${intheway} ${CODA_STORAGE_DIR}/${VICE_PARTITION}" + fi + + if [ "x${intheway}" != "x" ]; then + eerror "Please remove the following items manually first if you want to" + eerror "set up a default coda configuration:" + for item in ${intheway}; do + eerror "\t${item}" + done + exit 1 + fi + + einfo "A default coda server and client configuration will be set up that consists of:" + einfo "- a coda SCM (System Control Machine)" + einfo "- a coda administrator '${CODA_ADMIN_NAME}' with coda uid ${CODA_ADMIN_UID} and password 'changeme'" + einfo "- a coda root volume available at /mnt/coda/${FQDN}" + einfo "- a test volume mounted at ${CODA_MOUNTPOINT}/${FQDN}/${CODA_TEST_VOLUME_MOUNTPOINT}" + echo + einfon "Are you sure you want to do this? (y/n) " + read answer + if [ "x${answer}" != "xy" ]; then + exit 1 + fi + echo + + einfo "Setting up vice (the coda server)..." + vice-setup > /dev/null <<- EOF + yes + ${CODA_ROOT_DIR} + y + ${UPDATE_AUTHENTICATION_TOKEN} + ${AUTH2_AUTHENTICATION_TOKEN} + ${VOLUTIL_AUTHENTICATION_TOKEN} + 1 + ${CODA_ADMIN_UID} + ${CODA_ADMIN_NAME} + yes + ${CODA_STORAGE_DIR}/${RVM_LOG_PARTITION} + 20M + ${CODA_STORAGE_DIR}/${RVM_DATA_PARTITION} + 315M + y + ${CODA_STORAGE_DIR}/${VICE_PARTITION} + y + 2M + n + EOF + + # Start coda server + /etc/init.d/codasrv start || exit 1 + + # Workaround to increase the likelihood that the coda server finished + # starting up. Once there is a nicer way to detect this, it should + # probably be added to the codasrv init script. + # See http://www.coda.cs.cmu.edu/maillists/codalist/codalist-2004/6954.html + sleep 5 + + einfo "Creating root volume..." + # Create root volume + createvoloutput=`createvol_rep / ${FQDN} 2>&1 <<- EOF + n + EOF` + if ! volutil info / &> /dev/null + then + eerror "Unable to create root volume, output of createvol_rep follows" + echo "$createvoloutput" + exit 1 + fi + + einfo "Creating test volume..." + # Create test volume + createvoloutput=`createvol_rep ${CODA_TEST_VOLUME} ${FQDN} 2>&1 <<- EOF + n + EOF` + if ! volutil info ${CODA_TEST_VOLUME} &> /dev/null; then + eerror "Unable to create writable volume, output of createvol_rep follows" + echo "$createvoloutput" + exit 1 + fi + + einfo "Setting up venus (the coda client)..." + venus-setup ${FQDN} 20000 > /dev/null + + /etc/init.d/venus start + + einfo "Mounting test volume at ${CODA_MOUNTPOINT}/${FQDN}/${CODA_TEST_VOLUME_MOUNTPOINT}" + clog ${CODA_ADMIN_NAME}@${FQDN} > /dev/null <<- EOF + changeme + EOF + + cfs mkmount ${CODA_MOUNTPOINT}/${FQDN}/${CODA_TEST_VOLUME_MOUNTPOINT} ${CODA_TEST_VOLUME} + + echo + einfo "The coda server and client have been set up successfully." + einfo "Please refer to http://www.coda.cs.cmu.edu/doc/html/ for Coda documentation." + echo + einfo "Tip: use pdbtool to add a normal coda user and clog to authenticate and get write access." +} + diff --git a/net-fs/coda/files/6.0.14/venus b/net-fs/coda/files/6.0.14/venus new file mode 100644 index 000000000000..4afa719cf187 --- /dev/null +++ b/net-fs/coda/files/6.0.14/venus @@ -0,0 +1,31 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/files/6.0.14/venus,v 1.1 2006/05/03 18:21:26 griffon26 Exp $ + +depend() { + need net + after codasrv +} + +checkconfig() { + if ! /usr/sbin/codaconfedit venus.conf &>/dev/null; then + eerror "Please run venus-setup before starting the service..." + return 1 + fi +} + +start() { + checkconfig || return 1 + + ebegin "Starting venus" + start-stop-daemon --start --quiet --exec /usr/sbin/venus > /dev/null + eend $? +} + +stop() { + ebegin "Stopping venus" + start-stop-daemon --stop --quiet --exec /usr/sbin/venus + umount -l coda &>/dev/null + eend $? +} diff --git a/net-fs/coda/files/coda-6.0.14-with-includes-fix.patch b/net-fs/coda/files/coda-6.0.14-with-includes-fix.patch new file mode 100644 index 000000000000..df299415c61f --- /dev/null +++ b/net-fs/coda/files/coda-6.0.14-with-includes-fix.patch @@ -0,0 +1,68 @@ +diff -ruN coda-6.0.14/configs/coda_macros.m4 coda-6.0.14-fixed/configs/coda_macros.m4 +--- coda-6.0.14/configs/coda_macros.m4 2005-08-09 21:30:43.000000000 +0200 ++++ coda-6.0.14-fixed/configs/coda_macros.m4 2006-05-02 20:20:31.014296000 +0200 +@@ -116,12 +116,12 @@ + AC_DEFUN(CODA_CHECK_OPENSSL, + [AC_ARG_WITH(openssl, + [ --with-openssl Link against openssl library], +- [AC_CHECK_HEADERS(openssl/md5.h openssl/sha.h) ++ [CODA_OPTION_LIBRARY(openssl) ++ AC_CHECK_HEADERS(openssl/md5.h openssl/sha.h) + coda_save_LIBS="$LIBS" + AC_SEARCH_LIBS(SHA1_Init, crypto, [test "$ac_cv_search_SHA1_Init" = "none required" || LIBCRYPTO="$ac_cv_search_SHA1_Init"]) + AC_CHECK_FUNCS([MD5_Init SHA1_Init]) +- LIBS="$coda_save_LIBS"]) +- CODA_OPTION_LIBRARY(openssl)]) ++ LIBS="$coda_save_LIBS"])]) + + AC_DEFUN(CODA_CHECK_LIBCOMERR, + [AC_CHECK_HEADERS(com_err.h) +@@ -131,7 +131,8 @@ + AC_DEFUN(CODA_CHECK_KRB4, + [AC_ARG_WITH(krb4, + [ --with-krb4 Link against kerberos4 libraries], +- [CODA_CHECK_LIBCOMERR ++ [CODA_OPTION_LIBRARY(krb4) ++ CODA_CHECK_LIBCOMERR + AC_CHECK_HEADERS(krb.h des.h) + coda_save_LIBS="$LIBS" + LIBS="$LIBCOMERR $LIBS" +@@ -140,14 +141,14 @@ + LIBS="$coda_save_LIBS" + if test "$ac_cv_search_krb_get_lrealm" != no ; then + AC_DEFINE(HAVE_KRB4, 1, [Define if kerberos 4 is available]) +- fi]) +- CODA_OPTION_LIBRARY(krb4)]) ++ fi])]) + + AC_SUBST(LIBKRB5) + AC_DEFUN(CODA_CHECK_KRB5, + [AC_ARG_WITH(krb5, + [ --with-krb5 Link against kerberos5 libraries], +- [CODA_CHECK_LIBCOMERR ++ [CODA_OPTION_LIBRARY(krb5) ++ CODA_CHECK_LIBCOMERR + AC_CHECK_HEADERS(krb5.h) + if test "$ac_cv_header_krb5_h" = yes -a "$ac_cv_header_com_err_h" = yes;then + coda_save_LIBS="$LIBS" +@@ -181,8 +182,7 @@ + fi + else + AC_MSG_WARN([Couldn't find krb5.h and com_err.h headers, not using kerberos 5]) +- fi]) +- CODA_OPTION_LIBRARY(krb5)]) ++ fi])]) + + + dnl --------------------------------------------- +@@ -248,8 +248,8 @@ + dnl AC_DEFUN(CODA_OPTION_CRYPTO, + dnl [AC_ARG_WITH($1, + dnl [ --with-$1 Link against $1 libraries], +-dnl [AC_DEFINE(USE_`$1 | $as_tr_cpp`, 1, [Define if you want to use $1 libraries])]) +-dnl CODA_OPTION_LIBRARY($1)]) ++dnl [CODA_OPTION_LIBRARY($1) ++dnl AC_DEFINE(USE_`$1 | $as_tr_cpp`, 1, [Define if you want to use $1 libraries])])]) + + AC_DEFUN(CODA_OPTION_LWP_PT, + [AC_ARG_WITH(lwp-pt, diff --git a/net-fs/coda/files/digest-coda-6.0.14 b/net-fs/coda/files/digest-coda-6.0.14 new file mode 100644 index 000000000000..f1e79c123241 --- /dev/null +++ b/net-fs/coda/files/digest-coda-6.0.14 @@ -0,0 +1,3 @@ +MD5 bf387348ca0c3cd833ab69272f53de54 coda-6.0.14.tar.gz 1570164 +RMD160 ae6e7cffb6a0c8f05e476ae5e8aa41597d87adb4 coda-6.0.14.tar.gz 1570164 +SHA256 7e6907f6cabb654450da37832878dcbcbb39591993d6dedc44a4ea8747144160 coda-6.0.14.tar.gz 1570164 |