public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Diego Elio Pettenò" <flameeyes@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/flameeyes:master commit in: net-fs/coda/, net-fs/coda/files/
Date: Tue, 15 Nov 2011 14:44:39 +0000 (UTC)	[thread overview]
Message-ID: <eab536dd958e16e272207857c956eb073cc16e16.flameeyes@gentoo> (raw)

commit:     eab536dd958e16e272207857c956eb073cc16e16
Author:     Diego Elio Pettenò <flameeyes <AT> flameeyes <DOT> eu>
AuthorDate: Tue Nov 15 14:41:50 2011 +0000
Commit:     Diego Elio Pettenò <flameeyes <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 14:41:50 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/flameeyes.git;a=commit;h=eab536dd

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 513f9c404068cc6c047a3e4acd16003ba4235a1d SHA1 9751932290d4ada9f385e1f06f8615f51dbfd58a SHA256 19c6a23ea6e7b4ca0501f49a9a742330e575e8a8afa86d9f45988bf4eb6f8c3f

diff --git a/net-fs/coda/coda-6.1.2.ebuild b/net-fs/coda/coda-6.1.2.ebuild
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="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="~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.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 )"
-
-DEPEND="${RDEPEND}
-	sys-apps/gawk
-	sys-devel/bison
-	virtual/os-headers"
-
-src_unpack() {
-	unpack ${A}
-
-	epatch "${FILESDIR}/${P}-fbsd.patch"
-}
-
-src_compile() {
-	local myflags=""
-
-	append-flags -fno-strict-aliasing
-
-	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 "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 "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=/.*,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
-
-	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 =${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/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=$(/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=""
-	if ! [ "$(< $vicedir/hostname)" = "$(< $vicedir/db/scm)" ] ; then
-		auth2opts="-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
-===================================================================
---- 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, 
-     char confstr[4];
-     
- 	close(pfd[1]);
--    if(setpgrp() < 0) { perror("setpgrp"); exit(EXIT_FAILURE); }
-+    if(setpgid(0, 0) < 0) { perror("setpgrp"); exit(EXIT_FAILURE); }
-     
-     sprintf(confstr, "%d", conflict_type);
- 
-Index: coda-6.1.2/coda-src/kerndep/pioctl.h
-===================================================================
---- 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);
- 
--#if defined(__APPLE__) && defined(__MACH__)
-+#if ( defined(__APPLE__) && defined(__MACH__) ) || defined(__FreeBSD__)
- /*
-  * These are absent from Darwin's <sys/ioccom.h>.
-+ * 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 2004/07/26 17:50:21 griffon26 Exp $
-
-depend() {
-	need net auth2
-}
-
-start() {
-	local vicedir=$(/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")" = "$(< "$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=$(/usr/sbin/codaconfedit server.conf vicedir)
-	ebegin "Stopping coda-update"
-
-	if [ "$(< $vicedir/hostname)" = "$(< $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/codasrv-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=$(/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/codasrv \
-		--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 $?
-}



                 reply	other threads:[~2011-11-15 14:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eab536dd958e16e272207857c956eb073cc16e16.flameeyes@gentoo \
    --to=flameeyes@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox