diff options
-rw-r--r-- | net-fs/coda/ChangeLog | 206 | ||||
-rw-r--r-- | net-fs/coda/Manifest | 31 | ||||
-rw-r--r-- | net-fs/coda/coda-6.0.15.ebuild | 267 | ||||
-rw-r--r-- | net-fs/coda/coda-6.9.4.ebuild | 285 | ||||
-rw-r--r-- | net-fs/coda/coda-6.9.5.ebuild | 290 | ||||
-rw-r--r-- | net-fs/coda/files/6.0.15/auth2 | 53 | ||||
-rw-r--r-- | net-fs/coda/files/6.0.15/coda-update | 60 | ||||
-rw-r--r-- | net-fs/coda/files/6.0.15/codasrv | 44 | ||||
-rw-r--r-- | net-fs/coda/files/6.0.15/venus | 31 | ||||
-rw-r--r-- | net-fs/coda/files/coda-6.0.15-mit-krb5-struct.patch | 29 | ||||
-rw-r--r-- | net-fs/coda/files/fixdeps.patch | 17 | ||||
-rw-r--r-- | net-fs/coda/files/gentoo-init.patch | 27 | ||||
-rw-r--r-- | net-fs/coda/files/vice-setup.in.patch | 64 | ||||
-rw-r--r-- | net-fs/coda/metadata.xml | 19 |
14 files changed, 0 insertions, 1423 deletions
diff --git a/net-fs/coda/ChangeLog b/net-fs/coda/ChangeLog deleted file mode 100644 index b813c4325c03..000000000000 --- a/net-fs/coda/ChangeLog +++ /dev/null @@ -1,206 +0,0 @@ -# ChangeLog for net-fs/coda -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/ChangeLog,v 1.37 2011/09/28 22:49:36 ssuominen Exp $ - - 28 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> coda-6.9.4.ebuild, - coda-6.9.5.ebuild: - Use gentoo mirrors. - - 28 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> coda-6.9.4.ebuild, - coda-6.9.5.ebuild, -files/scripts.tar.bz2: - Rename scripts.tar.bz2 to coda_scripts.tar.bz2 and upload it to mirrors wrt - #328651. This is because binary files are not preferred in gentoo-x86. - -*coda-6.9.5 (10 May 2010) - - 10 May 2010; George Shapovalov <george@gentoo.org> +coda-6.9.5.ebuild, - +files/vice-setup.in.patch: - new version out. Looks like upstream decided to transition to FHS - compliant paths. - - 20 Jan 2010; George Shapovalov <george@gentoo.org> coda-6.9.4.ebuild: - fixed omission in path substitution in server-setup scripts - -*coda-6.9.4 (11 Dec 2009) - - 11 Dec 2009; George Shapovalov <george@gentoo.org> +coda-6.9.4.ebuild, - +files/fixdeps.patch, +files/gentoo-init.patch, +files/scripts.tar.bz2: - added new major version, heavily reworked. See bugs #193012 and #144234 - for related info/discussions. Also fixes #281029 - - 12 Jul 2008; Luca Longinotti <chtekk@gentoo.org> +files/6.0.15/auth2, - +files/6.0.15/coda-update, +files/6.0.15/codasrv, -files/auth2, - -files/coda-update, -files/codasrv, coda-6.0.15.ebuild: - Move init-scripts to prepare for update from bug #193012. Also minimal - cleanup of ebuild. - - 19 May 2007; Maurice van der Pot <griffon26@gentoo.org> - -files/coda-6.0.10-venus-setup-fix.patch, - -files/coda-6.0.14-with-includes-fix.patch, -files/6.0.10/venus, - -files/6.0.11/venus, -files/6.0.12/venus, -files/6.0.14/venus, - metadata.xml, -coda-6.0.10.ebuild, -coda-6.0.11.ebuild, - -coda-6.0.12.ebuild, -coda-6.0.14.ebuild: - Removed old coda ebuilds and related files and turned over maintenance to - net-fs. - - 06 May 2007; Marius Mauch <genone@gentoo.org> coda-6.0.10.ebuild, - coda-6.0.11.ebuild, coda-6.0.12.ebuild, coda-6.0.15.ebuild: - Replacing einfo with elog - - 29 Apr 2007; Maurice van der Pot <griffon26@gentoo.org> - coda-6.0.14.ebuild, coda-6.0.15.ebuild: - Fixed use of DEPEND/RDEPEND fixing bug #169554 submitted by Diego Pettenò - <flameeyes@gmail.com> - - 28 Apr 2007; Sven Wegener <swegener@gentoo.org> coda-6.0.10.ebuild, - coda-6.0.11.ebuild, coda-6.0.12.ebuild, coda-6.0.14.ebuild, - coda-6.0.15.ebuild: - Fix *initd, *confd and *envd calls (#17388, #174266) - - 11 Apr 2007; Maurice van der Pot <griffon26@gentoo.org> - coda-6.0.14.ebuild, coda-6.0.15.ebuild: - Removed kth-krb dependency for bug #173354. Use kerberos 5 instead. - - 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: - Transition to Manifest2. - - 18 Oct 2006; Joshua Jackson <tsunam@gentoo.org> coda-6.0.15.ebuild: - Stable x86;bug #150382 - -*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) - - 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: - Fixed mistake in previous fix. It should be emerge --config, - not ebuild --config. - - 17 Oct 2005; Maurice van der Pot <griffon26@gentoo.org> - -files/6.0.8/venus, -coda-6.0.8.ebuild, coda-6.0.10.ebuild, - coda-6.0.11.ebuild, coda-6.0.12.ebuild: - Removed old version 6.0.8 and replaced ebuild ... config with - ebuild --config ... (bug #109482) - - 23 Sep 2005; Maurice van der Pot <griffon26@gentoo.org> - +files/6.0.12/venus, +coda-6.0.12.ebuild: - Added coda 6.0.12 - - 07 Jul 2005; Maurice van der Pot <griffon26@gentoo.org> - +files/6.0.11/venus, coda-6.0.8.ebuild, coda-6.0.10.ebuild, - coda-6.0.11.ebuild: - Again added venus init script, this time for 6.0.11. - Also added perl to run-time dependencies. - - 08 Jun 2005; Maurice van der Pot <griffon26@gentoo.org> - -files/coda-6.0.3-iowr.patch, -files/6.0.7/venus, +files/6.0.10/venus, - -files/coda-6.0.6-gcc3.4.patch, -files/venus, -coda-6.0.3.ebuild, - -coda-6.0.6.ebuild, -coda-6.0.7.ebuild, coda-6.0.8.ebuild, - coda-6.0.10.ebuild, +coda-6.0.11.ebuild: - - Added new coda version 6.0.11 - - Added venus init script that was forgotten when coda 6.0.10 was added. - - Removed old coda versions. - - Made coda 6.0.8 depend on lwp 1.12, because it doesn't work with 2.0. - - Adapted to changed location of source packages - - Added workaround for bug #93791 reported by Toralf Förster - <toralf.foerster@gmx.de> to all ebuilds until a more permanent - solution can be implemented. - -*coda-6.0.10 (05 May 2005) - - 05 May 2005; Maurice van der Pot <griffon26@gentoo.org> - +files/coda-6.0.10-venus-setup-fix.patch, +coda-6.0.10.ebuild: - Added new release. - - 05 Feb 2005; Maurice van der Pot <griffon26@gentoo.org> coda-6.0.8.ebuild: - Stable on x86 - -*coda-6.0.8 (27 Dec 2004) - - 27 Dec 2004; Maurice van der Pot <griffon26@gentoo.org> - +files/6.0.8/venus, coda-6.0.7.ebuild, +coda-6.0.8.ebuild: - Fixed some cosmetic errors in RDEPEND and marked coda-6.0.7 stable on x86 - Added new version coda-6.0.8 - - 06 Nov 2004; Maurice van der Pot <griffon26@gentoo.org> coda-6.0.6.ebuild, - coda-6.0.7.ebuild: - Coda backup script is now installed as backup-coda.sh to prevent a - collision with tar's backup.sh. Thanks to Alexander Skwar - <askwar@digitalprojects.com> in bug #70231. - - 23 Oct 2004; Maurice van der Pot <griffon26@gentoo.org> +files/6.0.7/venus, - coda-6.0.7.ebuild: - Fixed init script to not start venus in the background as it now daemonizes - after startup. Also adapted pkg_config to work with new createvol_rep. - -*coda-6.0.7 (23 Oct 2004) - - 23 Oct 2004; Maurice van der Pot <griffon26@gentoo.org> coda-6.0.6.ebuild, - +coda-6.0.7.ebuild: - Version bump for new coda release - Marked coda-6.0.6 stable on x86 - - 05 Oct 2004; Maurice van der Pot <griffon26@gentoo.org> coda-6.0.6.ebuild: - During setup of the initial configuration, first ask the user where to - store file data, so the location can be checked for an existing vice - partition that needs to be removed. - - 03 Oct 2004; Maurice van der Pot <griffon26@gentoo.org> coda-6.0.6.ebuild: - Ebuild now allows user to set up initial configuration after installation. - - 12 Aug 2004; Maurice van der Pot <griffon26@gentoo.org> coda-6.0.6.ebuild: - Changed dependency from sys-kernel/linux-headers to virtual/os-headers - Thanks to Mike Nerone <mike@nerone.org> for reporting it in bug #57996. - Corrected versions of dependencies in RDEPEND to match those in DEPEND - - 26 Jul 2004; Maurice van der Pot <griffon26@gentoo.org> metadata.xml, - files/auth2, files/coda-update, files/codasrv, files/venus, - coda-6.0.3.ebuild, coda-6.0.6.ebuild: - Fixed several issues with init scripts that popped up in the comments - of bug #26132. Fixed omission in einfo in both ebuilds. Took over - maintenance from Daniel Black <dragonheart@gentoo.org> - - 17 Jul 2004; Daniel Black <dragonheart@gentoo.org> files/auth2, - files/coda-update, files/codasrv, files/venus: - Scripts enhanced thanks to Maurice van der Pot <griffon26@kfk4ever.com> in bug - #26132 - - 12 May 2004; David Holm <dholm@gentoo.org> coda-6.0.6.ebuild: - Added to ~ppc. - -*coda-6.0.6 (12 May 2004) - - 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 - -*coda-6.0.3 (24 Mar 2004) - - 24 Mar 2004; Daniel Black <dragonheart@gentoo.org> coda-6.0.3.ebuild, - files/auth2, files/coda-6.0.3-iowr.patch, files/coda-update, files/codasrv, - files/venus: - inital import based off bug #26132. Still work in progress - I want to - automate the install a lot more but its hard! Thanks to Michael C. Ferguson - mcf@augustmail.com who put together the intial ebuilds for this - diff --git a/net-fs/coda/Manifest b/net-fs/coda/Manifest deleted file mode 100644 index ff53383e5d11..000000000000 --- a/net-fs/coda/Manifest +++ /dev/null @@ -1,31 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX 6.0.15/auth2 1045 RMD160 5401419520f25d628451ebae451be2b841080fea SHA1 6a0cbe1374430b948908c076094d50348cce77d1 SHA256 ea756698336b89cde04bb8bde3193cc6c16f8292aff9e5e6df14f01548b8590d -AUX 6.0.15/coda-update 1227 RMD160 5c8ddfa0056d4338e06e885f659cf59cb49cd5a4 SHA1 6967b5de3c419f76877be62157d0fe629539edd8 SHA256 0dbf4e14001d3750fe0b1be2a7b9ce5c9ec5de1dbeb3dcfbbd6a7ccb2c9d0226 -AUX 6.0.15/codasrv 945 RMD160 bc402bfc9851f46ca43dd606c63eaef0202cec64 SHA1 01529252b86fa7dad381a7698bfe40dee51288b7 SHA256 d35464e43f36475136f7e1a2cf4f9e8700cf02041ec5ed44921dd1bbc1b97a33 -AUX 6.0.15/venus 703 RMD160 f80659e9d3a5ad1a7ca755dc372e48cc34df8fbe SHA1 2cfac9787f30347eedf6d183862aec6406b29865 SHA256 01bd6353fadb6e0f2c0bd6c3c6f9d89dd7cb893211bf45d1b2d4b93fa1d99de2 -AUX coda-6.0.15-mit-krb5-struct.patch 1282 RMD160 440a95a89ab8e650bc9af98807cda8d1b674ff18 SHA1 4a68d977fb4d8db4e8566038d12ddba58d3d52f4 SHA256 990fce3c2a81eb68b973acf973c5b15717b99b8381c3becfb98458d286f0a663 -AUX fixdeps.patch 535 RMD160 8d32b43dc061abb8fe6217b93e43db39a3c4d0a4 SHA1 192becc79e916d51593f2c951041cb2211dbc753 SHA256 97f66bba4abf8b21b839bbee72b98ec987948aafd4f4e23f91b6a616e5fb81bf -AUX gentoo-init.patch 974 RMD160 c55195e237892732bb2a0b806717126aacc040c0 SHA1 848e0891d02ad5b2cddf0765b959057ee92e697e SHA256 601095a7f0cacc2a8a3600bbb9c0d2b9c9df388fdc111b7d980b0caa3c0f9669 -AUX vice-setup.in.patch 2137 RMD160 cb7105b318594a79af499f305b96e128a78b5c1e SHA1 0a6339020c721eb13547ce2e20a0a0326d5fbf2e SHA256 5a1eb365a9bb3d53692967ac5f86ca8bfc273928abaf6bbc2d14fa5e524f23d7 -DIST coda-6.0.15.tar.gz 1573599 RMD160 b453c61a89b71482a8b690a54036c9b6ce1a9c56 SHA1 f245251654bc6859f599b26f79a4ce8799b8c6bd SHA256 aec4140a7bfec26c4991b6865e4c5672633b3bd6dac11fef1102db8ecdee8edd -DIST coda-6.9.4.tar.gz 1687157 RMD160 5b90115cf5c29d0f6f4d3271e4a81b9c72b83186 SHA1 49024ac22090f47b245d83a37fe5cc81f4d7335c SHA256 87995da7155f5f99e9ec19e8250d98b97544a9d5531d1b79d3c77557ef200285 -DIST coda-6.9.5.tar.gz 1723098 RMD160 9ef0643aacc7d1352ef253af00d4c7e6ad9e1f78 SHA1 248af27c506f5c3be4c4e53f821c9c904580fe60 SHA256 3bfcdce4eccbf389a850705fee4fb73e65a24322699894d0e076f82aac4a9443 -DIST coda_scripts.tar.bz2 1344 RMD160 5b55d1a503c2756b296be7ae5047481c1726255c SHA1 970ea990c321f1857eacb5d21dd8602b320696c0 SHA256 d1e88102507141042ddf01fccc9d716b1b84539fcbb840fc6ef755de42d6f449 -EBUILD coda-6.0.15.ebuild 7625 RMD160 4111bc6ead524da6176e545144b7c0906359f693 SHA1 25b12772be4a670755a3594f3e0942d82402713f SHA256 c5d63a493b8683f54b6265c377d6118e6a9aa55db86ac6134349b9b7dee75cdb -EBUILD coda-6.9.4.ebuild 7922 RMD160 fa7e901d943af30d6a41dd230bdba10e962bae85 SHA1 aad801e00f9b4c9d21dfa1fddd43ac0fd591d65b SHA256 5a23e3ed6cee1d8ef45f850a68b69907873a442056c51be58555dc86627dba0c -EBUILD coda-6.9.5.ebuild 8433 RMD160 d1d291a9a1c52ff8727c8a67bb34867af1801aba SHA1 5078504d767c7b57e346dad442f9a8830f306081 SHA256 921406e7c25c166fd69a338f2d2ec414a3311772892cf9b81012b4c76f75f82d -MISC ChangeLog 8688 RMD160 659c87169edba464a4bf6daf52fb758aa69a3f18 SHA1 d9d35928c22e6f4298e2ec1999426ba0b867e6e5 SHA256 d556e71e6c5f714df66ae619577da66783534c88fb9d03d54ed551d190f836b2 -MISC metadata.xml 1002 RMD160 53f6c1005025bb79632d28b6cfd5b31c11a820b3 SHA1 4c4b6141afccc80460ab1da7326918928ce1e6a0 SHA256 cc81b1aff5055f80c7f5fd0c478766c29c074343cc928aa46260b0fede9141d2 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) - -iQEcBAEBAgAGBQJOg6SiAAoJEEdUh39IaPFNuMQIAIZi3p0pIKzsUmkI6+3/b7bs -Jx4vIPmwOL9pco1tQtF5W4x4aSRoGfCSuQhcuGEUiqsYTqvxaawIJN9WFPfP/F0R -ktf8G2KRI3gmKuryb7TeGFTh4/HUrnAp0zp18OUn+TbCoNgJUU+FcYRsRjXRHmcj -nsDpKJhFmBiQ5Lguqb7+eTLNeneQs5PPtu9x6QIo+WUy8JzH6QVHOODiyoTEQe2c -X65MfmV54vecG7/pcdq6diXGHCKq1D/b4QvumJPH2Q8YOcGazQXqar2LQ9u5AuxU -gaj6hsl8XMrpsoiCh4Q3IYJxNAjesZ+KkxBmI51V4KBZtY4l00iNngo4DBj6M5k= -=XJfE ------END PGP SIGNATURE----- diff --git a/net-fs/coda/coda-6.0.15.ebuild b/net-fs/coda/coda-6.0.15.ebuild deleted file mode 100644 index 47f0f4687048..000000000000 --- a/net-fs/coda/coda-6.0.15.ebuild +++ /dev/null @@ -1,267 +0,0 @@ -# Copyright 1999-2011 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.12 2011/03/28 08:42:54 ssuominen Exp $ - -inherit eutils - -KEYWORDS="~ppc x86" - -DESCRIPTION="Coda is an advanced networked filesystem developed at Carnegie Mellon Uni." -HOMEPAGE="http://www.coda.cs.cmu.edu/" -SRC_URI="http://www.coda.cs.cmu.edu/pub/coda/src/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -IUSE="kerberos ssl" - -# partly based on the deps suggested by Mandrake's RPM, and/or on my current versions -# Also, definely needs coda.h from linux-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 - kerberos? ( virtual/krb5 ) - ssl? ( dev-libs/openssl )" - -DEPEND="${RDEPEND} - sys-apps/gawk - sys-devel/bison - sys-apps/grep - virtual/os-headers" - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}"/${P}-mit-krb5-struct.patch -} - -src_compile() { - local myflags="" - - use kerberos && myflags="${myflags} --with-krb5" - use ssl && myflags="${myflags} --with-openssl" - - econf ${myflags} || die "econf 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 client-install failed" - - emake \ - SINIT-SCRIPTS="" \ - prefix="${D}"/usr \ - sysconfdir="${D}"/etc/coda \ - mandir="${D}"/usr/share/man \ - infodir="${D}"/usr/share/info \ - oldincludedir="${D}"/usr/include server-install || die "emake server-install failed" - - dodoc README* ChangeLog CREDITS - - doinitd "${FILESDIR}"/${PV}/venus - doinitd "${FILESDIR}"/${PV}/coda-update - doinitd "${FILESDIR}"/${PV}/codasrv - doinitd "${FILESDIR}"/${PV}/auth2 - - 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() { - elog "To enable the coda at boot up, please do:" - elog " rc-update add codasrv default" - elog " rc-update add venus default" - elog - elog "To get started, run vice-setup and venus-setup." - elog - elog "Alternatively you can get a default coda setup by running:" - elog " 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/coda-6.9.4.ebuild b/net-fs/coda/coda-6.9.4.ebuild deleted file mode 100644 index 3f4973182c0e..000000000000 --- a/net-fs/coda/coda-6.9.4.ebuild +++ /dev/null @@ -1,285 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/coda-6.9.4.ebuild,v 1.4 2011/09/28 22:49:36 ssuominen Exp $ - -inherit autotools eutils toolchain-funcs - -IUSE="client server coda_layout coda_symlinks kerberos" -# client : causes the coda client (venus) to be built. -# server : causes the coda server (vice) to be built. -# coda_layout : doesn't apply FHS compliancy patches. Use this if using any directory -# other than /coda for the mount point makes you upset. -# coda_symlinks : create legacy symlinks if FHS layout is used. - -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 - mirror://gentoo/coda_scripts.tar.bz2" #328651 - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~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. -RDEPEND=">=sys-libs/lwp-2.1 - >=net-libs/rpc2-2.6 - >=sys-libs/rvm-1.15 - >=sys-libs/db-3 - >=sys-libs/ncurses-4 - >=sys-libs/readline-3 - >=dev-lang/perl-5.8 - kerberos? ( virtual/krb5 )" - -DEPEND="${RDEPEND} - sys-apps/gawk - sys-devel/bison - sys-apps/grep - virtual/os-headers" - -pkg_setup() { - echo - einfo "gcc-version = $(gcc-version)" - echo - - if [[ "$(gcc-version)" > "4.3" ]]; then - ewarn - eerror "coda needs gcc < 4.4 to build cleanly" - ewarn - die "coda needs gcc < 4.4 to build cleanly" - fi - - if ! use client && ! use server; then - eerror "Neither client nor server is enabled." - eerror "Please enable at least one of these flags!" - die "at least one of client or server flags should be on!" - fi - - if ! use coda_layout; then - einfo - ewarn "FHS compliancy is selected!" - ewarn "There is nothing wrong with this, however this is still a special" - ewarn "modification to coda code and settings." - ewarn "If you are unsire, please add coda_layout to use flags of net-fs/coda" - ewarn "and restart the emerge." - einfo - sleep 5 - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - tar xjpf "${DISTDIR}"/coda_scripts.tar.bz2 - epatch "${FILESDIR}"/fixdeps.patch - epatch "${FILESDIR}"/gentoo-init.patch - - if ! use coda_layout; then - einfo "seding sources.." - # First, some common substitutions. - # As this is a rather critical subsystem and screwing paths can break - # user's data, protect all seds by die. - # - # NOTE: gentoo specific init scripts installed as a part of unpack ${A} - # have some paths specified inside. However these will be autoupdated by - # below seds for free, no need for special care. - # - # first, special cases under /usr/coda - # for spool, look only in subdirs, as we do not want to touch ChangeLog - grep -rl "/usr/coda/spool" "${S}"/*/* | xargs \ - sed -i -e "s:/usr/coda/spool:/var/spool/coda:" \ - || die "setting FHS compliant paths failed" - - # coda/etc used to contain vstab file, which normally would reside in - # /etc/coda. However this file was deprecated, so no special handling.. - # do only subdirs here too. - grep -rl "/usr/coda/etc" "${S}"/*/* | xargs \ - sed -i -e "s:/usr/coda/etc:/var/log/coda:" \ - || die "setting FHS compliant paths failed" - - grep -rl "/usr/coda/venus.cache" "${S}"/* | xargs \ - sed -i -e "s:/usr/coda/venus.cache:/var/cache/coda:" \ - || die "setting FHS compliant paths failed" - - # what's left in /usr/coda goes to /var/lib/coda - # NOTE: dumplits.5 man page seems unduly touched by this sed, ignoring - # for now.. - grep -rl "/usr/coda" "${S}"/*/* | xargs \ - sed -i -e "s:/usr/coda:/var/lib/coda:" \ - || die "setting FHS compliant paths failed" - - # move /coda to /mnt/coda - grep -rle "[[:space:]\"=]/coda" "${S}"/*/* | xargs \ - sed -i -e "s:\([[:space:]\"=]\)/coda:\1/mnt/coda:" \ - || die "setting FHS compliant paths failed" - - # move /vice and /vicepX under /var/lib/coda/ - grep -rle "[[:space:]\"=\[]/vice" "${S}"/*/* | xargs \ - sed -i -e "s:\([[:space:]\"=\[]\)/vice:\1/var/lib/coda/vice:g" \ - || die "setting FHS compliant paths failed" - fi - - eautoreconf -} - -my_build_venus_prereqs() { - # Coda uses a recursive make with some directories depending - # on objects built in other directories, so run make inside - # the prerequisite dirs first. This builds everything required - # by venus in the order listed in coda-src/Makefile.am. - - cd "${S}/lib-src" - emake || die "emake failed" - - # auth2 depends on kerndep - cd "${S}/coda-src/kerndep" - emake || die "emake failed" - - # auth2 depends on util. - cd "${S}/coda-src/util" - emake || die "emake failed" - - # librepair depends on vicedep - cd "${S}/coda-src/vicedep" - emake || die "emake failed" - - # venus depends on dir - cd "${S}/coda-src/dir" - emake || die "emake failed" - - # venus depends on al - cd "${S}/coda-src/al" - emake || die "emake failed" - - # librepair depends on auth2 - cd "${S}/coda-src/auth2" - emake || die "emake failed" - - # venus depends on vv - cd "${S}/coda-src/vv" - emake || die "emake failed" - - # venus depends on lka - cd "${S}/coda-src/lka" - emake || die "emake failed" - - # venus depends on vol - cd "${S}/coda-src/vol" - emake || die "emake failed" - - # venus depends on librepair - cd "${S}/coda-src/librepair" - emake || die "emake failed" -} - -src_compile() { - local myflags="" - - # Coda uses type punning in a way that violates assumptions made by -O2 - # and friends (via -fstrict-aliasing). Disable this optimization where - # required. - local my_safe_cflags="${CFLAGS} -fno-strict-aliasing" - local my_safe_cxxflags="${CXXFLAGS} -fno-strict-aliasing" - - # Include the server/client code. - use client && myflags="${myflags} --enable-client" - use server && myflags="${myflags} --enable-server" - - # Enable kerboeros? - if use kerberos; then - myflags="${myflags} --with-crypto --with-krb5" - myflags="${myflags} --with-krb5-includes=/usr/include/krb5" - myflags="${myflags} --with-krb5-libs=/usr/lib" - fi - - # Perform the actual configure. - econf ${myflags} || die "configure failed" - - # Build any prerequisites for venus. - my_build_venus_prereqs - - # Venus uses unsafe type punning, so disable - # some optimizations for venus. - pushd coda-src/venus - emake \ - CFLAGS="${my_safe_cflags}" \ - CXXFLAGS="${my_safe_cxxflags}" \ - || die "emake failed" - popd - - # Now run make in the source directory to finish the compile. - emake -j1 || die "emake failed" -} - -src_install () { - emake DESTDIR="${D}" install - - dodoc INSTALL* README* NEWS ChangeLog AUTHORS - - use server && doinitd coda-src/scripts/codasrv - use client && doinitd coda-src/scripts/venus - - # Fix conflict with backup.sh from tar - mv -f "${D}"/usr/sbin/backup{,-coda}.sh - - if use coda_layout; then - # Create coda specific layout - dodir /usr/coda - dodir /usr/coda/etc - dodir /usr/coda/spool - if use server; then - dodir /vice - dodir /vicepa - fi - if use client; then - dodir /coda - diropts -m0700 - dodir /usr/coda/venus.cache - fi - else - # Create FHS compliant layout - dodir /var/lib/coda - dodir /var/log/coda - dodir /var/spool/coda - - if use server; then - dodir /var/lib/coda/vice - dodir /var/lib/coda/vicepa - fi - - if use client; then - dodir /mnt/coda - dosym mnt/coda /coda - diropts -m0700 - dodir /var/cache/coda - fi - - if use coda_symlinks; then - # Symlink traditional coda dirs to gentoo dirs. - # NOTE: /coda symlink is unconditional for compatibility of client apps - dosym ../var/lib/coda /usr/coda - if use server; then - dosym var/lib/coda/vice /vice - dosym var/lib/coda/vicepa /vicepa - fi - fi - fi -} - -pkg_preinst () { - enewgroup codaroot - enewuser codaroot -1 -1 -1 codaroot -} - -pkg_postinst () { - einfo - elog "To enable the coda server at boot up, please do:" - elog " rc-update add codasrv default" - elog - elog "To enable the coda client at boot up, do:" - elog " rc-update add venus default" - elog - elog "To get started, run vice-setup and/or venus-setup." - einfo -} diff --git a/net-fs/coda/coda-6.9.5.ebuild b/net-fs/coda/coda-6.9.5.ebuild deleted file mode 100644 index cd14374795d9..000000000000 --- a/net-fs/coda/coda-6.9.5.ebuild +++ /dev/null @@ -1,290 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/coda-6.9.5.ebuild,v 1.3 2011/09/28 22:49:36 ssuominen Exp $ - -inherit autotools eutils toolchain-funcs - -IUSE="client server coda_layout coda_symlinks kerberos" -# client : causes the coda client (venus) to be built. -# server : causes the coda server (vice) to be built. -# coda_layout : doesn't apply FHS compliancy patches. Use this if using any directory -# other than /coda for the mount point makes you upset. -# coda_symlinks : create legacy symlinks if FHS layout is used. - -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 - mirror://gentoo/coda_scripts.tar.bz2" #328651 - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~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. -RDEPEND=">=sys-libs/lwp-2.1 - >=net-libs/rpc2-2.6 - >=sys-libs/rvm-1.15 - >=sys-libs/db-3 - >=sys-libs/ncurses-4 - >=sys-libs/readline-3 - >=dev-lang/perl-5.8 - kerberos? ( virtual/krb5 )" - -DEPEND="${RDEPEND} - sys-apps/gawk - sys-devel/bison - sys-apps/grep - virtual/os-headers" - -pkg_setup() { - echo - einfo "gcc-version = $(gcc-version)" - echo - - if ! use client && ! use server; then - eerror "Neither client nor server is enabled." - eerror "Please enable at least one of these flags!" - die "at least one of client or server flags should be on!" - fi - - if use coda_layout; then - einfo - ewarn "You selected coda (legacy) layout." - ewarn "Please note, that coda itself have transitioned to more FHS" - ewarn "compilant layout starting with version 6.9.5. Although not all" - ewarn "internal paths seem to have been updated." - ewarn "Use with care!" - einfo - ewarn "In case you are updating existing installation it is" - ewarn "recommended to keep old layout in conf files or perform a clean" - ewarn "transition - copying data externally to fresh version." - einfo - sleep 5 - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - tar xjpf "${DISTDIR}"/coda_scripts.tar.bz2 - epatch "${FILESDIR}"/fixdeps.patch - epatch "${FILESDIR}"/vice-setup.in.patch - - if ! use coda_layout; then - einfo "seding sources.." - # First, some common substitutions. - # As this is a rather critical subsystem and screwing paths can break - # user's data, protect all seds by die. - # - # NOTE: gentoo specific init scripts installed as a part of unpack ${A} - # have some paths specified inside. However these will be autoupdated by - # below seds for free, no need for special care. - # - # first, special cases under /usr/coda - # for spool, look only in subdirs, as we do not want to touch ChangeLog - grep -rl "/usr/coda/spool" "${S}"/*/* | xargs \ - sed -i -e "s:/usr/coda/spool:/var/spool/coda:" \ - || die "setting FHS compliant paths failed" - - # coda/etc used to contain vstab file, which normally would reside in - # /etc/coda. However this file was deprecated, so no special handling.. - # do only subdirs here too. - grep -rl "/usr/coda/etc" "${S}"/*/* | xargs \ - sed -i -e "s:/usr/coda/etc:/var/log/coda:" \ - || die "setting FHS compliant paths failed" - - # stuff uder venus.cache need special care - # "real cache" goues under /var/cache and pid related files under - # /var/run - grep -rl "cachedir=/usr/coda/venus.cache" "${S}"/* | xargs \ - sed -i -e "s:cachedir=/usr/coda/venus.cache:cachedir=/var/cache/coda:" \ - || die "setting FHS compliant paths failed" - sed -i -e "s:DFLT_CD \"/usr/coda/venus.cache\":DFLT_CD \"/var/cache/coda\":" \ - "${S}"/coda-src/venus/venus.private.h || die "seding venus.private.h failed" - grep -rl "/usr/coda/venus.cache" "${S}"/* | xargs \ - sed -i -e "s:/usr/coda/venus.cache:/var/run/coda:" \ - || die "setting FHS compliant paths failed" - - # what's left in /usr/coda goes to /var/lib/coda - # NOTE: dumplits.5 man page seems unduly touched by this sed, ignoring - # for now.. - grep -rl "/usr/coda" "${S}"/*/* | xargs \ - sed -i -e "s:/usr/coda:/var/lib/coda:" \ - || die "setting FHS compliant paths failed" - - # move /coda to /mnt/coda - grep -rle "[[:space:]\"=]/coda" "${S}"/*/* | xargs \ - sed -i -e "s:\([[:space:]\"=]\)/coda:\1/mnt/coda:" \ - || die "setting FHS compliant paths failed" - - # move /vice and /vicepX under /var/lib/coda/ - grep -rle "[[:space:]\"=\[]/vice" "${S}"/*/* | xargs \ - sed -i -e "s:\([[:space:]\"=\[]\)/vice:\1/var/lib/coda/vice:g" \ - || die "setting FHS compliant paths failed" - fi - - eautoreconf -} - -my_build_venus_prereqs() { - # Coda uses a recursive make with some directories depending - # on objects built in other directories, so run make inside - # the prerequisite dirs first. This builds everything required - # by venus in the order listed in coda-src/Makefile.am. - - cd "${S}/lib-src" - emake || die "emake failed" - - # auth2 depends on kerndep - cd "${S}/coda-src/kerndep" - emake || die "emake failed" - - # auth2 depends on util. - cd "${S}/coda-src/util" - emake || die "emake failed" - - # librepair depends on vicedep - cd "${S}/coda-src/vicedep" - emake || die "emake failed" - - # venus depends on dir - cd "${S}/coda-src/dir" - emake || die "emake failed" - - # venus depends on al - cd "${S}/coda-src/al" - emake || die "emake failed" - - # librepair depends on auth2 - cd "${S}/coda-src/auth2" - emake || die "emake failed" - - # venus depends on vv - cd "${S}/coda-src/vv" - emake || die "emake failed" - - # venus depends on lka - cd "${S}/coda-src/lka" - emake || die "emake failed" - - # venus depends on vol - cd "${S}/coda-src/vol" - emake || die "emake failed" - - # venus depends on librepair - cd "${S}/coda-src/librepair" - emake || die "emake failed" -} - -src_compile() { - local myflags="" - - # Coda uses type punning in a way that violates assumptions made by -O2 - # and friends (via -fstrict-aliasing). Disable this optimization where - # required. - local my_safe_cflags="${CFLAGS} -fno-strict-aliasing" - local my_safe_cxxflags="${CXXFLAGS} -fno-strict-aliasing" - - # Include the server/client code. - use client && myflags="${myflags} --enable-client" - use server && myflags="${myflags} --enable-server" - - # Enable kerboeros? - if use kerberos; then - myflags="${myflags} --with-crypto --with-krb5" - myflags="${myflags} --with-krb5-includes=/usr/include/krb5" - myflags="${myflags} --with-krb5-libs=/usr/lib" - fi - - # Perform the actual configure. - econf ${myflags} || die "configure failed" - - # Build any prerequisites for venus. - my_build_venus_prereqs - - # Venus uses unsafe type punning, so disable - # some optimizations for venus. - pushd coda-src/venus - emake \ - CFLAGS="${my_safe_cflags}" \ - CXXFLAGS="${my_safe_cxxflags}" \ - || die "emake failed" - popd - - # Now run make in the source directory to finish the compile. - emake -j1 || die "emake failed" -} - -src_install () { - emake DESTDIR="${D}" install - - dodoc INSTALL* README* NEWS ChangeLog AUTHORS - - use server && doinitd coda-src/scripts/codasrv - use client && doinitd coda-src/scripts/venus - - # Fix conflict with backup.sh from tar - mv -f "${D}"/usr/sbin/backup{,-coda}.sh - - if use coda_layout; then - # Create coda specific layout - dodir /usr/coda - dodir /usr/coda/etc - dodir /usr/coda/spool - if use server; then - dodir /vice - dodir /vicepa - fi - if use client; then - dodir /coda - diropts -m0700 - dodir /usr/coda/venus.cache - fi - else - # Create FHS compliant layout - dodir /var/lib/coda - dodir /var/log/coda - dodir /var/spool/coda - - if use server; then - dodir /var/lib/coda/vice - dodir /var/lib/coda/vicepa - fi - - if use client; then - dodir /mnt/coda - dosym mnt/coda /coda - diropts -m0700 - dodir /var/cache/coda - fi - - if use coda_symlinks; then - # Symlink traditional coda dirs to gentoo dirs. - # NOTE: /coda symlink is unconditional for compatibility of client apps - dosym ../var/lib/coda /usr/coda - if use server; then - dosym var/lib/coda/vice /vice - dosym var/lib/coda/vicepa /vicepa - fi - fi - fi -} - -pkg_preinst () { - enewgroup codaroot - enewuser codaroot -1 -1 -1 codaroot -} - -pkg_postinst () { - einfo - elog "To enable the coda server at boot up, please do:" - elog " rc-update add codasrv default" - elog - elog "To enable the coda client at boot up, do:" - elog " rc-update add venus default" - elog - elog "To get started, run vice-setup and/or venus-setup." - einfo -} diff --git a/net-fs/coda/files/6.0.15/auth2 b/net-fs/coda/files/6.0.15/auth2 deleted file mode 100644 index 9e1f3386e85d..000000000000 --- a/net-fs/coda/files/6.0.15/auth2 +++ /dev/null @@ -1,53 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 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/auth2,v 1.1 2008/07/12 22:31:41 chtekk Exp $ - -depend() { - need net -} - -checkconfig() { - if [ ! -e $vicedir/hostname ] ; then - eerror "Please run vice-setup before starting the service..." - return 1 - fi -} - -we_are_scm() { - if [ "`cat $vicedir/hostname`" = "`cat $vicedir/db/scm`" ] ; then - return 0 - else - return 1 - fi -} - -getvicedir() { - vicedir=`/usr/sbin/codaconfedit server.conf vicedir` -} - -start() { - getvicedir - - checkconfig || return 1 - - ebegin "Starting auth2" - - # Check to see if we are the SCM. If not, we must add -chk to auth2 - - if (! we_are_scm) ; then - start-stop-daemon --start --quiet --exec /usr/sbin/auth2 \ - --background -- -chk - else - start-stop-daemon --start --quiet --exec /usr/sbin/auth2 \ - --background - fi - - eend $? -} - -stop() { - ebegin "Stopping auth2" - start-stop-daemon --stop --quiet --exec /usr/sbin/auth2 - eend $? -} diff --git a/net-fs/coda/files/6.0.15/coda-update b/net-fs/coda/files/6.0.15/coda-update deleted file mode 100644 index 7d9cd34f8bf1..000000000000 --- a/net-fs/coda/files/6.0.15/coda-update +++ /dev/null @@ -1,60 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 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/coda-update,v 1.1 2008/07/12 22:31:41 chtekk Exp $ - -depend() { - need net auth2 -} - -checkconfig() { - if [ ! -e $vicedir/hostname ] ; then - eerror "Please run vice-setup before starting the service..." - return 1 - fi -} - -we_are_scm() { - if [ "`cat $vicedir/hostname`" = "`cat $vicedir/db/scm`" ] ; then - return 0 - else - return 1 - fi -} - -getvicedir() { - vicedir=`/usr/sbin/codaconfedit server.conf vicedir` -} - -start() { - getvicedir - - checkconfig || return 1 - - ebegin "Starting coda-update" - - # Check to see if we are the SCM. - if we_are_scm ; then - start-stop-daemon --start --quiet --exec /usr/sbin/rpc2portmap - start-stop-daemon --start --quiet --exec /usr/sbin/updatesrv - fi - - start-stop-daemon --start --quiet --exec /usr/sbin/updateclnt - - eend $? -} - -stop() { - ebegin "Stopping coda-update" - - getvicedir - - if we_are_scm ; then - start-stop-daemon --stop --quiet --exec /usr/sbin/rpc2portmap - start-stop-daemon --stop --quiet --exec /usr/sbin/updatesrv - fi - - start-stop-daemon --stop --quiet --exec /usr/sbin/updateclnt - - eend $? -} diff --git a/net-fs/coda/files/6.0.15/codasrv b/net-fs/coda/files/6.0.15/codasrv deleted file mode 100644 index 7bf9fd4655a9..000000000000 --- a/net-fs/coda/files/6.0.15/codasrv +++ /dev/null @@ -1,44 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 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/codasrv,v 1.1 2008/07/12 22:31:41 chtekk Exp $ - -depend() { - need net coda-update auth2 -} - -checkconfig() { - if [ ! -e $vicedir/hostname ] ; then - eerror "Please run vice-setup before starting the service..." - return 1 - fi -} - -we_are_scm() { - if [ "`cat $vicedir/hostname`" = "`cat $vicedir/db/scm`" ] ; then - return 0 - else - return 1 - fi -} - -getvicedir() { - vicedir=`/usr/sbin/codaconfedit server.conf vicedir` -} - -start() { - getvicedir - - checkconfig || return 1 - - ebegin "Starting codasrv" - start-stop-daemon --start --background --exec /usr/sbin/codasrv - eend $? -} - -stop() { - ebegin "Stopping codasrv" - msg=`/usr/sbin/volutil shutdown 2>&1` || echo "$msg" - start-stop-daemon --stop --quiet --retry 30/TERM --oknodo --exec /usr/sbin/codasrv - eend $? -} diff --git a/net-fs/coda/files/6.0.15/venus b/net-fs/coda/files/6.0.15/venus deleted file mode 100644 index f4666630cdff..000000000000 --- a/net-fs/coda/files/6.0.15/venus +++ /dev/null @@ -1,31 +0,0 @@ -#!/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 $? -} diff --git a/net-fs/coda/files/coda-6.0.15-mit-krb5-struct.patch b/net-fs/coda/files/coda-6.0.15-mit-krb5-struct.patch deleted file mode 100644 index d74a159b699b..000000000000 --- a/net-fs/coda/files/coda-6.0.15-mit-krb5-struct.patch +++ /dev/null @@ -1,29 +0,0 @@ -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); diff --git a/net-fs/coda/files/fixdeps.patch b/net-fs/coda/files/fixdeps.patch deleted file mode 100644 index 7c64a5c59e47..000000000000 --- a/net-fs/coda/files/fixdeps.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -Nuar coda-6.9.3.old/coda-src/auth2/Makefile.am coda-6.9.3/coda-src/auth2/Makefile.am ---- coda-6.9.3.old/coda-src/auth2/Makefile.am 2007-12-17 09:20:25.000000000 -0800 -+++ coda-6.9.3/coda-src/auth2/Makefile.am 2008-07-06 14:10:10.000000000 -0700 -@@ -20,11 +20,11 @@ - if WANT_KERBEROS - if WANT_KRB4 - KRBSRC += krb4.c --LIBKRB += $(LIBKRB4) -+LIBKRB += $(LIBKRB4) ../util/libutil.la - endif - if WANT_KRB5 - KRBSRC += krb5.c --LIBKRB += $(LIBKRB5) -+LIBKRB += $(LIBKRB5) ../util/libutil.la - endif - KRBSRC += krbcommon.c krbcommon.h - endif diff --git a/net-fs/coda/files/gentoo-init.patch b/net-fs/coda/files/gentoo-init.patch deleted file mode 100644 index 05b52081b6f3..000000000000 --- a/net-fs/coda/files/gentoo-init.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -ruaN coda-6.9.3.old/coda-src/scripts/Makefile.am coda-6.9.3/coda-src/scripts/Makefile.am ---- coda-6.9.3.old/coda-src/scripts/Makefile.am 2007-12-11 12:06:17.000000000 -0800 -+++ coda-6.9.3/coda-src/scripts/Makefile.am 2008-07-06 22:44:57.000000000 -0700 -@@ -9,9 +9,7 @@ - sbin_SCRIPTS += venus-setup - dist_sbin_SCRIPTS += volmunge - dist_man_MANS += venus-setup.8 volmunge.8 --if SYSVINIT --init_SCRIPTS += venus.init --endif -+init_SCRIPTS += venus - endif - if BUILD_SERVER - sbin_SCRIPTS += bldvldb.sh createvol_rep purgevol_rep startserver vice-setup \ -@@ -21,11 +19,7 @@ - vice-setup-srvdir vice-setup-user - dist_man_MANS += bldvldb.sh.8 createvol_rep.8 maxgroupid.5 purgevol_rep.8 \ - startserver.8 vice-setup.8 volumelist.5 --if SYSVINIT --dist_init_SCRIPTS += auth2.init codasrv.init update.init --else --init_SCRIPTS += rc.vice --endif -+init_SCRIPTS += codasrv - endif - EXTRA_DIST = findparents.sh volinfo.pl volsizes.pl - CLEANFILES = $(sbin_SCRIPTS) $(init_SCRIPTS) diff --git a/net-fs/coda/files/vice-setup.in.patch b/net-fs/coda/files/vice-setup.in.patch deleted file mode 100644 index 9e5cf6ec5a88..000000000000 --- a/net-fs/coda/files/vice-setup.in.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff -ru coda-6.9.5.orig/coda-src/scripts/vice-setup.in coda-6.9.5/coda-src/scripts/vice-setup.in ---- coda-6.9.5.orig/coda-src/scripts/vice-setup.in 2008-08-08 21:09:37.000000000 +0200 -+++ coda-6.9.5/coda-src/scripts/vice-setup.in 2010-05-10 17:12:22.013409206 +0200 -@@ -345,57 +345,9 @@ - DP=`cat ${vicedir}/db/vicetab | awk '{print $2}' | head -n 1` - echo "Congratulations: your configuration is ready..." - echo -- -- start="" -- yesno="" -- until [ "x$yesno" != x ]; do -- echon 'Shall I try to get things started? (y/n) ' -- read yesno -- done -- if [ "x$yesno" = xy -o "x$yesno" = xyes -o "x$yesno" = xY ]; then -- start=Y -- else -- echo "Here is what you would have to do to get things up and running" -- fi -- -- set -e -- echo " - Coda authentication server (auth2 &)" -- [ "$start" ] && @sbindir@/auth2 & -- echo " - Coda update server (updatesrv)" -- [ "$start" ] && @sbindir@/updatesrv -- echo " - Coda update client (updateclnt -h $hn)" -- [ "$start" ] && @sbindir@/updateclnt -h $hn -- -- if [ $numservers = 1 ]; then -- echo " - Coda file server (startserver)" -- [ "$start" ] && @sbindir@/startserver -- else -- echo " - Coda file servers:" -- n=1 -- while [ $n -le $numservers ]; do -- echo " startserver -n $n" -- [ "$start" ] && @sbindir@/startserver -n $n -- n=`expr $n + 1` -- done -- fi -- echo -- -- if [ "$start" ] ; then -- echo -- echo "Nice, it looks like everything went ok" -- echo "Now I'll try to create an initial root volume" -- fi -- -- echo " - createvol_rep / ${hn}${DP}" -- [ "$start" ] && @sbindir@/createvol_rep / ${hn}${DP} -- -- if [ "$start" ] ; then -- echo -- echo "That seems to have worked..." -- echo "If you have a working Coda client you should now be able to" -- echo "access the new Coda realm" -- echo " - cfs lv /coda/${hn}/" -- fi -+ echo "To test configuration run /etc/init.d/codasrv start" -+ echo "To start coda server at boot, run rc-update add codasrv default" -+ echo "To create root volume run: createvol_rep / ${hn}${DP}" - echo - echo "enjoy Coda." - echo " for more information see http://www.coda.cs.cmu.edu." diff --git a/net-fs/coda/metadata.xml b/net-fs/coda/metadata.xml deleted file mode 100644 index 147ae0d0efd7..000000000000 --- a/net-fs/coda/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>net-fs</herd> -<use> - <flag name='client'>Build and install the client components of coda - filesystem. At least one of client or server should be enabled.</flag> - <flag name='coda_layout'>Use legacy filesystem layout instead of FHS - compliant one. Note: /coda symlink is installed unconditionally - when FHS layout is used. Therefore the /coda namespace is preserved - with either layout.</flag> - <flag name='coda_symlinks'>Install legacy symlinks when FHS layout has been - selected (-coda_layout). You should only need this if you use local - scripts or 3rd party apps relying on precise layout. Note: /coda symlink - is installed unconditionally, so the namespace is preserved in any case.</flag> - <flag name='server'>Build and install the server components of coda - filesystem. Note: at least one of client/server flags must be enabled.</flag> -</use> -</pkgmetadata> |