# ChangeLog for net-fs/coda
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/ChangeLog,v 1.24 2006/06/08 12:47:31 griffon26 Exp $
+
+*coda-6.0.15 (08 Jun 2006)
+
+ 08 Jun 2006; Maurice van der Pot <griffon26@gentoo.org>
+ +files/6.0.15/venus, +files/coda-6.0.15-mit-krb5-struct.patch,
+ +coda-6.0.15.ebuild:
+ Added new version 6.0.15 of coda. Please read the upstream changelog
+ for notes on compatibility with older versions. Also fixed bug #135604
+ submitted by Julian Golderer <glua@4-mail.net>.
*coda-6.0.14 (03 May 2006)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 6.0.10/venus 703 RMD160 3c095be8097b614e50a594dd6345fa8ad461d968 SHA1 ba61ebc034af2e2d58bc105fde8728ce8bcab87f SHA256 43ab1ade96f5d964239d3a5de9ae5166ef02cef3f7e62c4355be2214e10d729f size 703
+AUX 6.0.10/venus 703 RMD160 3c095be8097b614e50a594dd6345fa8ad461d968 SHA1 ba61ebc034af2e2d58bc105fde8728ce8bcab87f SHA256 43ab1ade96f5d964239d3a5de9ae5166ef02cef3f7e62c4355be2214e10d729f
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
+AUX 6.0.11/venus 703 RMD160 b37c4bd3ce939a0148c9f58e25fa040f09a5ef59 SHA1 420bca9fd56a2898b6ebc04fe240be6e13141533 SHA256 37d4edc824ae0479a0805087700a7452e1b5c2658949d0dd561b3a736fd291c4
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
+AUX 6.0.12/venus 703 RMD160 9ffbac78ae7db20120ddf0ce730eb240e805ef31 SHA1 b058f8922fca986436a6e8c47cac1056f5c6d857 SHA256 26b5211f6e9c661b6fe8d7373a706f001bbbd90cdf70fc0c1881e42d335daf17
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
+AUX 6.0.14/venus 703 RMD160 a1c066251854dd8b83689c03f75363cfbe29c749 SHA1 2f77b9a7c5f6beb5dac2681473e40d83e398b44d SHA256 afd065bb41ccce6607ce547196e43bf9154f2b061f6cef387b9d0c059f7b78c5
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
+AUX 6.0.15/venus 703 RMD160 f80659e9d3a5ad1a7ca755dc372e48cc34df8fbe SHA1 2cfac9787f30347eedf6d183862aec6406b29865 SHA256 01bd6353fadb6e0f2c0bd6c3c6f9d89dd7cb893211bf45d1b2d4b93fa1d99de2
+MD5 4c5419eb9ad61725cccab17c6814d75e files/6.0.15/venus 703
+RMD160 f80659e9d3a5ad1a7ca755dc372e48cc34df8fbe files/6.0.15/venus 703
+SHA256 01bd6353fadb6e0f2c0bd6c3c6f9d89dd7cb893211bf45d1b2d4b93fa1d99de2 files/6.0.15/venus 703
+AUX auth2 1041 RMD160 987b108810cd52fef087e58633a7c15402660631 SHA1 c6b6751d0a9061b3c6423fe4ad07c831eedeca57 SHA256 2990536d366098d56ce248e23a377d227ba556e4dda0f4fe2208d62bc00857a9
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
+AUX coda-6.0.10-venus-setup-fix.patch 662 RMD160 e76eb49e54c341095a8edf5edbd153277981072f SHA1 3440352459bcde328787ed8e42012888158431dd SHA256 2557d15501f07139e75333e01654760885c648c7d1ad7ce560f66e8b04db7761
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
+AUX coda-6.0.14-with-includes-fix.patch 2404 RMD160 dea8eff606954cc6cd1b38887d2012b341fdf712 SHA1 f2d0d40d1a03e8f20f85ee7a9dd5ce7182b89734 SHA256 b49bc9d44bee3de163e11853416cf2f0469503102e397b3ba95b2d6086207089
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
+AUX coda-6.0.15-mit-krb5-struct.patch 1282 RMD160 440a95a89ab8e650bc9af98807cda8d1b674ff18 SHA1 4a68d977fb4d8db4e8566038d12ddba58d3d52f4 SHA256 990fce3c2a81eb68b973acf973c5b15717b99b8381c3becfb98458d286f0a663
+MD5 a0a6426e7900368fe51ee458cd75854e files/coda-6.0.15-mit-krb5-struct.patch 1282
+RMD160 440a95a89ab8e650bc9af98807cda8d1b674ff18 files/coda-6.0.15-mit-krb5-struct.patch 1282
+SHA256 990fce3c2a81eb68b973acf973c5b15717b99b8381c3becfb98458d286f0a663 files/coda-6.0.15-mit-krb5-struct.patch 1282
+AUX coda-update 1223 RMD160 0e3479b2c3295b3a24e2cf2e8667d261b2dd582c SHA1 3e5020975ef3c0cba1f06e830210dd50dcf06000 SHA256 2f625980cd3e8ce6b27662886c62f28f6ff9b9a61e233f56a7fc1fea54175e6a
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
+AUX codasrv 941 RMD160 ccab4d3477da91b9bc04ad78d041d9dfe10f96eb SHA1 ca8c7023ecba0e95ac953bf5531c1a420787ec4f SHA256 deb56c566064b7a3f6abe1518214450a1a5d27e62b603c78665eba3ecaddc76a
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
+DIST coda-6.0.10.tar.gz 1558454
+DIST coda-6.0.11.tar.gz 1558534
+DIST coda-6.0.12.tar.gz 1568219
+DIST coda-6.0.14.tar.gz 1570164 RMD160 ae6e7cffb6a0c8f05e476ae5e8aa41597d87adb4 SHA1 71c871fbfb1ce36dc3c81c6ac9109c19da59774f SHA256 7e6907f6cabb654450da37832878dcbcbb39591993d6dedc44a4ea8747144160
+DIST coda-6.0.15.tar.gz 1573599 RMD160 b453c61a89b71482a8b690a54036c9b6ce1a9c56 SHA1 f245251654bc6859f599b26f79a4ce8799b8c6bd SHA256 aec4140a7bfec26c4991b6865e4c5672633b3bd6dac11fef1102db8ecdee8edd
+EBUILD coda-6.0.10.ebuild 7736 RMD160 406fa8a8bb3910bb137652af5194eea02da325bd SHA1 aa4e3d12a80080c5914d32a13b2765254ccbd9f7 SHA256 5624500753307858e67da6feb0fdb70a50730aee0ca617bdc3eed45200edd378
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
+EBUILD coda-6.0.11.ebuild 7659 RMD160 f8e2dc148fbf5f1341c82745662cd88e0845471a SHA1 419c64d686f32ebea3daabc589db3d6a9d5a63c0 SHA256 246cbe277935c8150e62e10253bda39e363efbd4a8ad851fbf41801e118128c0
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
+EBUILD coda-6.0.12.ebuild 7659 RMD160 e0233bb39abdd10b2b9e0e4b47d7a7e708d383d4 SHA1 59d02941b3d7b839a8900f53c40f6201e802d6c7 SHA256 ec98cac2b78fbcee3d6a1569b021196f49a3a31f7db3e373f4868e0c0a999d5b
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
+EBUILD coda-6.0.14.ebuild 7844 RMD160 714724ae29d2a61e3cd1a84bdd0c080600c468c2 SHA1 cfaa9b4fea9caf1a918e2b6432554ca63de16c4f SHA256 ea56edaf83d356452c669f7376a7213e51bb9a5ebfcadd90cb0fd208e98ca0fb
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
+EBUILD coda-6.0.15.ebuild 7828 RMD160 af7e72de99bb074e7a9a19aa11f6d502e5fe2d9b SHA1 4cf75ea6bc5ab28d6698ddbc43b2eff4e4ca399e SHA256 087eb4f102ac0c9f92103505aee54ac3a05591c42ec59ab3f2efe15c62fec6bb
+MD5 cd49187e2eeabf6b48c5c93824d4cada coda-6.0.15.ebuild 7828
+RMD160 af7e72de99bb074e7a9a19aa11f6d502e5fe2d9b coda-6.0.15.ebuild 7828
+SHA256 087eb4f102ac0c9f92103505aee54ac3a05591c42ec59ab3f2efe15c62fec6bb coda-6.0.15.ebuild 7828
+MISC ChangeLog 6004 RMD160 df47c4bfce606f3c261475994379428be4590733 SHA1 51e925f69fb5d8e3bb77704c07bbae3bb4e8f92a SHA256 c267e20c8e705bc6a810563eb6de0d5022790efe6250d22eab709ff7be5e885a
+MD5 30a5d357c66a1ee4f5e4355f40e197f0 ChangeLog 6004
+RMD160 df47c4bfce606f3c261475994379428be4590733 ChangeLog 6004
+SHA256 c267e20c8e705bc6a810563eb6de0d5022790efe6250d22eab709ff7be5e885a ChangeLog 6004
+MISC metadata.xml 321 RMD160 86e364bcf223d3b10336e9847d4cf894b6c1d37d SHA1 c65875300db289f322f516b1892e9a36f22c00a7 SHA256 df5cec1112c3c697b4069ee011ee6dcbb7a0fe6726bfeea2499105ea910c178a
MD5 f905a614fde3a85e0adefb203ece18fc metadata.xml 321
RMD160 86e364bcf223d3b10336e9847d4cf894b6c1d37d metadata.xml 321
SHA256 df5cec1112c3c697b4069ee011ee6dcbb7a0fe6726bfeea2499105ea910c178a metadata.xml 321
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
+MD5 d24b8415ea4b8b4e0b4d91795feee1cf files/digest-coda-6.0.15 238
+RMD160 a96c5001f91aa82790aa4898d5b99f781698e595 files/digest-coda-6.0.15 238
+SHA256 f6797218436be8ac15dea9d7fd714da06bcff5158f63725e591220eca9b0c86e files/digest-coda-6.0.15 238
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
+Version: GnuPG v1.4.3 (GNU/Linux)
-iD8DBQFEWPSvMGnpIbeahxwRAkQ5AJwMZDgUUgTFv4c0BpupNEILT2NfdQCfRG10
-JCUSEeDLvnCcbcBw4h9a5K4=
-=YT8W
+iD8DBQFEiBxsMGnpIbeahxwRAn1HAKDE/gTaWFsPvqzW9WUmg3DQczRgigCffvtG
+pzDqGRyCUL7iZFv1nytL9SI=
+=mbIx
-----END PGP SIGNATURE-----
--- /dev/null
+# 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.15.ebuild,v 1.1 2006/06/08 12:47:31 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-2.0
+ >=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}-mit-krb5-struct.patch"
+}
+
+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."
+}
+
--- /dev/null
+#!/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.15/venus,v 1.1 2006/06/08 12:47:31 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 $?
+}
--- /dev/null
+diff -ruN coda-6.0.15/coda-src/auth2/krb5.c coda-6.0.15-fixed/coda-src/auth2/krb5.c
+--- coda-6.0.15/coda-src/auth2/krb5.c 2005-04-13 16:27:00.000000000 +0200
++++ coda-6.0.15-fixed/coda-src/auth2/krb5.c 2006-06-08 14:11:17.287528250 +0200
+@@ -54,14 +54,14 @@
+ #define tkt_realm(t) ((t)->client->realm)
+ #define tkt_realmlen(t) (strlen((t)->client->realm))
+ #define tkt_client(t) ((t)->client)
+-#define tkt_key(t) ((t)->ticket.key)
++#define tkt_key(t) (&(t)->ticket.key)
+ #define key_data(k) ((k)->keyvalue.data)
+ #define key_length(k) ((k)->keyvalue.length)
+ #else
+ #define tkt_realm(t) ((t)->enc_part2->client->realm.data)
+ #define tkt_realmlen(t) ((t)->enc_part2->client->realm.length)
+ #define tkt_client(t) ((t)->enc_part2->client)
+-#define tkt_key(t) ((t)->session)
++#define tkt_key(t) ((t)->enc_part2->session)
+ #define key_data(k) ((k)->contents)
+ #define key_length(k) ((k)->length)
+ #endif
+@@ -334,7 +334,7 @@
+ /* now prepare the keys */
+
+ /* hKey is the md5 hash of the kerberos session secret */
+- HashSecret(key_data(&tkt_key(ticket)), key_length(&tkt_key(ticket)), hKey);
++ HashSecret(key_data(tkt_key(ticket)), key_length(tkt_key(ticket)), hKey);
+
+ /* sKey is a random sequence of bytes */
+ GenerateSecret(sKey);
--- /dev/null
+MD5 c43004c25ec919ff8a7114259215c0a0 coda-6.0.15.tar.gz 1573599
+RMD160 b453c61a89b71482a8b690a54036c9b6ce1a9c56 coda-6.0.15.tar.gz 1573599
+SHA256 aec4140a7bfec26c4991b6865e4c5672633b3bd6dac11fef1102db8ecdee8edd coda-6.0.15.tar.gz 1573599