From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RQKFk-0006mF-L3 for garchives@archives.gentoo.org; Tue, 15 Nov 2011 14:44:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1F7C21C02F; Tue, 15 Nov 2011 14:44:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3D19221C029 for ; Tue, 15 Nov 2011 14:44:40 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9EBFC1B401C for ; Tue, 15 Nov 2011 14:44:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1506880042 for ; Tue, 15 Nov 2011 14:44:39 +0000 (UTC) From: "Diego Elio Pettenò" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Diego Elio Pettenò" Message-ID: Subject: [gentoo-commits] dev/flameeyes:master commit in: net-fs/coda/, net-fs/coda/files/ X-VCS-Repository: dev/flameeyes X-VCS-Files: net-fs/coda/Manifest net-fs/coda/coda-6.1.2.ebuild net-fs/coda/files/auth2-init-6.1.2 net-fs/coda/files/coda-6.1.2-fbsd.patch net-fs/coda/files/coda-update-init-6.1.2 net-fs/coda/files/codasrv-init-6.1.2 net-fs/coda/files/venus-init-6.1.2 X-VCS-Directories: net-fs/coda/ net-fs/coda/files/ X-VCS-Committer: flameeyes X-VCS-Committer-Name: Diego Elio Pettenò X-VCS-Revision: eab536dd958e16e272207857c956eb073cc16e16 Date: Tue, 15 Nov 2011 14:44:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3a21499a-66d4-49f9-b923-f8f785b3aa3e X-Archives-Hash: cb22f64c1cdabbc6717b19e01439dafe commit: eab536dd958e16e272207857c956eb073cc16e16 Author: Diego Elio Petten=C3=B2 flameeyes eu> AuthorDate: Tue Nov 15 14:41:50 2011 +0000 Commit: Diego Elio Petten=C3=B2 gentoo org> CommitDate: Tue Nov 15 14:41:50 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/flameeyes.git;= a=3Dcommit;h=3Deab536dd Remove coda ebuild. --- net-fs/coda/Manifest | 1 - net-fs/coda/coda-6.1.2.ebuild | 280 ------------------------= ------ net-fs/coda/files/auth2-init-6.1.2 | 35 ---- net-fs/coda/files/coda-6.1.2-fbsd.patch | 29 --- net-fs/coda/files/coda-update-init-6.1.2 | 42 ----- net-fs/coda/files/codasrv-init-6.1.2 | 30 ---- net-fs/coda/files/venus-init-6.1.2 | 27 --- 7 files changed, 0 insertions(+), 444 deletions(-) diff --git a/net-fs/coda/Manifest b/net-fs/coda/Manifest deleted file mode 100644 index 87aa996..0000000 --- a/net-fs/coda/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coda-6.1.2.tar.gz 1571467 RMD160 513f9c404068cc6c047a3e4acd16003ba4= 235a1d SHA1 9751932290d4ada9f385e1f06f8615f51dbfd58a SHA256 19c6a23ea6e7b= 4ca0501f49a9a742330e575e8a8afa86d9f45988bf4eb6f8c3f diff --git a/net-fs/coda/coda-6.1.2.ebuild b/net-fs/coda/coda-6.1.2.ebuil= d deleted file mode 100644 index fa989ac..0000000 --- a/net-fs/coda/coda-6.1.2.ebuild +++ /dev/null @@ -1,280 +0,0 @@ -# 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.2 = 2006/10/18 05:00:22 tsunam Exp $ - -inherit eutils flag-o-matic - -IUSE=3D"kerberos krb4 ssl" - -DESCRIPTION=3D"Coda is an advanced networked filesystem developed at Car= negie Mellon Univ." -HOMEPAGE=3D"http://www.coda.cs.cmu.edu/" -SRC_URI=3D"http://www.coda.cs.cmu.edu/pub/coda/src/${P}.tar.gz" - -SLOT=3D"0" -LICENSE=3D"GPL-2" -KEYWORDS=3D"~amd64 ~ppc ~x86" - -# partly based on the deps suggested by Mandrake's RPM, and/or on my cur= rent -# versions. Also, definely needs coda.h from linux-headers. -RDEPEND=3D">=3Dsys-libs/lwp-2.1 - >=3Dnet-libs/rpc2-2.0 - >=3Dsys-libs/rvm-1.11 - >=3Dsys-libs/db-3 - >=3Dsys-libs/ncurses-4 - >=3Dsys-libs/readline-3 - >=3Ddev-lang/perl-5.8 - krb4? ( app-crypt/kth-krb ) - kerberos? ( virtual/krb5 ) - ssl? ( dev-libs/openssl )" - -DEPEND=3D"${RDEPEND} - sys-apps/gawk - sys-devel/bison - virtual/os-headers" - -src_unpack() { - unpack ${A} - - epatch "${FILESDIR}/${P}-fbsd.patch" -} - -src_compile() { - local myflags=3D"" - - append-flags -fno-strict-aliasing - - use krb4 && myflags=3D"${myflags} --with-krb4 - --with-krb4-includes=3D/usr/athena/include" - use kerberos && myflags=3D"${myflags} --with-krb5" - use ssl && myflags=3D"${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=3D"" \ - prefix=3D"${D}/usr" \ - sysconfdir=3D"${D}/etc/coda" \ - mandir=3D"${D}/usr/share/man" \ - infodir=3D"${D}/usr/share/info" \ - oldincludedir=3D"${D}/usr/include" client-install \ - || die "client-install failed" - - emake \ - SINIT-SCRIPTS=3D"" \ - prefix=3D"${D}/usr" \ - sysconfdir=3D"${D}/etc/coda" \ - mandir=3D"${D}/usr/share/man" \ - infodir=3D"${D}/usr/share/info" \ - oldincludedir=3D"${D}/usr/include" server-install \ - || die "server-install failed" - - dodoc README* ChangeLog CREDITS - - newinitd "${FILESDIR}/venus-init-${PV}" venus - newinitd "${FILESDIR}/coda-update-init-${PV}" coda-update - newinitd "${FILESDIR}/codasrv-init-${PV}" codasrv - newinitd "${FILESDIR}/auth2-init-${PV}" 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=3D/.*,vicedir=3D/var/lib/vice," \ - "${D}/etc/coda/server.conf.ex" - - sed -i -e "s,^#mountpoint=3D/.*,mountpoint=3D/mnt/coda," \ - "${D}/etc/coda/venus.conf.ex" - - # Fix conflict with backup.sh from tar - mv -f "${D}"/usr/sbin/backup{,-coda}.sh - - keepdir /var/lib/vice - keepdir /mnt/coda - keepdir /usr/coda - keepdir /usr/coda/spool - - diropts -m0700 - keepdir /usr/coda/etc - keepdir /usr/coda/venus.cache -} - -pkg_postinst () { - elog - 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 =3D${PF}" -} - -pkg_config () { - - # Set of default configuration values - local CODA_ROOT_DIR=3D"/var/lib/vice" - local CODA_TEST_VOLUME=3D"codatestvol" - local CODA_TEST_VOLUME_MOUNTPOINT=3D"test" - local CODA_ADMIN_UID=3D"6000" - local CODA_ADMIN_NAME=3D"codaroot" - local CODA_STORAGE_DIR=3D"/var/lib/vice" - local RVM_LOG_PARTITION=3D"rvmlogpartition.img" - local RVM_DATA_PARTITION=3D"rvmdatapartition.img" - local VICE_PARTITION=3D"vicepa" - local UPDATE_AUTHENTICATION_TOKEN=3D"updatetoken" - local AUTH2_AUTHENTICATION_TOKEN=3D"auth2token" - local VOLUTIL_AUTHENTICATION_TOKEN=3D"volutiltoken" - - # Do not modify after this line - - local FQDN=3D$(hostname --fqdn) - local CODA_MOUNTPOINT=3D$(codaconfedit venus.conf mountpoint) - - # Make sure coda is not running before we start messing with its files - if [ "x$(pidof auth2)" !=3D "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)" !=3D "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 sp= ace" - 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_STORAG= E_DIR}]: " - read new_storage_dir - if [ "x${new_storage_dir}" !=3D "x" ]; then - CODA_STORAGE_DIR=3D${new_storage_dir} - fi - echo - - # Check if an existing server.conf is in the way - conf=3D$(codaconfedit server.conf) - intheway=3D - if [ ${conf} !=3D /dev/null ]; then - intheway=3D"${intheway} ${conf}" - fi - - # Check if an existing vice root dir is in the way - if [ -e ${CODA_ROOT_DIR} ]; then - intheway=3D"${intheway} ${CODA_ROOT_DIR}" - fi - - # Check if an existing vice partition is in the way - if [ -e ${CODA_STORAGE_DIR}/${VICE_PARTITION} ]; then - intheway=3D"${intheway} ${CODA_STORAGE_DIR}/${VICE_PARTITION}" - fi - - if [ "x${intheway}" !=3D "x" ]; then - eerror "Please remove the following items manually first if you want t= o" - 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 th= at 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_TES= T_VOLUME_MOUNTPOINT}" - echo - einfon "Are you sure you want to do this? (y/n) " - read answer - if [ "x${answer}" !=3D "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=3D`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=3D`createvol_rep ${CODA_TEST_VOLUME} ${FQDN} 2>&1 <<- E= OF - n - EOF` - if ! volutil info ${CODA_TEST_VOLUME} &> /dev/null; then - eerror "Unable to create writable volume, output of createvol_rep foll= ows" - 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_V= OLUME_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 do= cumentation." - echo - einfo "Tip: use pdbtool to add a normal coda user and clog to authentic= ate and get write access." -} - diff --git a/net-fs/coda/files/auth2-init-6.1.2 b/net-fs/coda/files/auth2= -init-6.1.2 deleted file mode 100644 index d2a642c..0000000 --- a/net-fs/coda/files/auth2-init-6.1.2 +++ /dev/null @@ -1,35 +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/auth2,v 1.4 2004/07= /26 17:50:21 griffon26 Exp $ - -depend() { - need net -} - -start() { - local vicedir=3D$(/usr/sbin/codaconfedit server.conf vicedir) - - if [ ! -e "$vicedir/hostname" ] ; then - eerror "Please run vice-setup before starting the service..." - return 1 - fi - - local auth2opts=3D"" - if ! [ "$(< $vicedir/hostname)" =3D "$(< $vicedir/db/scm)" ] ; then - auth2opts=3D"-chk" - fi - - ebegin "Starting auth2" - - start-stop-daemon --start --quiet --exec /usr/sbin/auth2 \ - --background -- ${auth2opts} - - eend $? -} - -stop() { - ebegin "Stopping auth2" - start-stop-daemon --stop --quiet --exec /usr/sbin/auth2 - eend $? -} diff --git a/net-fs/coda/files/coda-6.1.2-fbsd.patch b/net-fs/coda/files/= coda-6.1.2-fbsd.patch deleted file mode 100644 index 8b9f82a..0000000 --- a/net-fs/coda/files/coda-6.1.2-fbsd.patch +++ /dev/null @@ -1,29 +0,0 @@ -Index: coda-6.1.2/coda-src/venus/fso1.cc -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---- coda-6.1.2.orig/coda-src/venus/fso1.cc -+++ coda-6.1.2/coda-src/venus/fso1.cc -@@ -2925,7 +2925,7 @@ int fsobj::LaunchASR(int conflict_type,=20 - char confstr[4]; - =20 - close(pfd[1]); -- if(setpgrp() < 0) { perror("setpgrp"); exit(EXIT_FAILURE); } -+ if(setpgid(0, 0) < 0) { perror("setpgrp"); exit(EXIT_FAILURE); } - =20 - sprintf(confstr, "%d", conflict_type); -=20 -Index: coda-6.1.2/coda-src/kerndep/pioctl.h -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---- coda-6.1.2.orig/coda-src/kerndep/pioctl.h -+++ coda-6.1.2/coda-src/kerndep/pioctl.h -@@ -42,9 +42,10 @@ in coda.h */ - int pioctl(const char *path, unsigned long com, struct - ViceIoctl *vidata, int follow); -=20 --#if defined(__APPLE__) && defined(__MACH__) -+#if ( defined(__APPLE__) && defined(__MACH__) ) || defined(__FreeBSD__) - /* - * These are absent from Darwin's . -+ * And from FreeBSD too. - */ - #define _IOC_NRBITS 8 - #define _IOC_TYPEBITS 8 diff --git a/net-fs/coda/files/coda-update-init-6.1.2 b/net-fs/coda/files= /coda-update-init-6.1.2 deleted file mode 100644 index 9ad607c..0000000 --- a/net-fs/coda/files/coda-update-init-6.1.2 +++ /dev/null @@ -1,42 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/files/coda-update,v 1.4 2= 004/07/26 17:50:21 griffon26 Exp $ - -depend() { - need net auth2 -} - -start() { - local vicedir=3D$(/usr/sbin/codaconfedit server.conf vicedir) - - if [ ! -e "$vicedir/hostname" ] ; then - eerror "Please run vice-setup before starting the service..." - return 1 - fi - - ebegin "Starting coda-update" - - # Check to see if we are the SCM. - if [ "$(< "$vicedir/hostname")" =3D "$(< "$vicedir/db/scm")" ] ; then - start-stop-daemon --start --quiet --exec /usr/sbin/updatesrv - fi - - start-stop-daemon --start --quiet --exec /usr/sbin/updateclnt - - eend $? -} - -stop() { - local vicedir=3D$(/usr/sbin/codaconfedit server.conf vicedir) - ebegin "Stopping coda-update" - - if [ "$(< $vicedir/hostname)" =3D "$(< $vicedir/db/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/codasrv-init-6.1.2 b/net-fs/coda/files/cod= asrv-init-6.1.2 deleted file mode 100644 index c3f9192..0000000 --- a/net-fs/coda/files/codasrv-init-6.1.2 +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/coda/files/codasrv,v 1.5 2004/= 07/26 17:50:21 griffon26 Exp $ - -depend() { - need net coda-update auth2 -} - -start() { - local vicedir=3D$(/usr/sbin/codaconfedit server.conf vicedir) - - if [ ! -e "$vicedir/hostname" ] ; then - eerror "Please run vice-setup before starting the service..." - return 1 - fi - - ebegin "Starting codasrv" - start-stop-daemon --start --background --exec /usr/sbin/codasrv \ - --pidfile /var/lib/vice/srv/pid - eend $? -} - -stop() { - ebegin "Stopping codasrv" - /usr/sbin/volutil shutdown - start-stop-daemon --stop --retry 30/TERM --oknodo --exec /usr/sbin/coda= srv \ - --pidfile /var/lib/vice/srv/pid - eend $? -} diff --git a/net-fs/coda/files/venus-init-6.1.2 b/net-fs/coda/files/venus= -init-6.1.2 deleted file mode 100644 index 520a517..0000000 --- a/net-fs/coda/files/venus-init-6.1.2 +++ /dev/null @@ -1,27 +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 -} - -start() { - if ! /usr/sbin/codaconfedit venus.conf &>/dev/null; then - eerror "Please run venus-setup before starting the service..." - return 1 - fi - - ebegin "Starting venus" - start-stop-daemon --start --exec /usr/sbin/venus - eend $? -} - -stop() { - ebegin "Stopping venus" - start-stop-daemon --stop --exec /usr/sbin/venus - umount -l coda - eend $? -}