public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/xrootd/files/, sci-physics/xrootd/
Date: Tue,  3 Jan 2012 03:07:15 +0000 (UTC)	[thread overview]
Message-ID: <640400b381e157e6da8d3797dccea28bb9b09ea8.bicatali@gentoo> (raw)

commit:     640400b381e157e6da8d3797dccea28bb9b09ea8
Author:     Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Tue Jan  3 02:10:02 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Jan  3 02:10:02 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=640400b3

move dependency for xrootd from main tree

---
 sci-physics/xrootd/ChangeLog              |   26 --------
 sci-physics/xrootd/files/cmsd.initd       |   30 ---------
 sci-physics/xrootd/files/frm_purged.initd |   30 ---------
 sci-physics/xrootd/files/frm_xfrd.initd   |   30 ---------
 sci-physics/xrootd/files/xrootd.confd     |   21 ------
 sci-physics/xrootd/files/xrootd.initd     |   28 ---------
 sci-physics/xrootd/metadata.xml           |   15 -----
 sci-physics/xrootd/xrootd-3.1.0.ebuild    |   95 -----------------------------
 8 files changed, 0 insertions(+), 275 deletions(-)

diff --git a/sci-physics/xrootd/ChangeLog b/sci-physics/xrootd/ChangeLog
deleted file mode 100644
index 127144e..0000000
--- a/sci-physics/xrootd/ChangeLog
+++ /dev/null
@@ -1,26 +0,0 @@
-# ChangeLog for sci-physics/xrootd
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*xrootd-3.1.0 (03 Dec 2011)
-
-  03 Dec 2011; Andrew Savchenko <bircoph@gmail.com> +xrootd-3.1.0.ebuild,
-  +files/cmsd.initd, +files/frm_purged.initd, +files/frm_xfrd.initd,
-  +files/xrootd.confd, +files/xrootd.initd, +metadata.xml:
-  XRootD isn't really a new program in this overlay. It was
-  previously bundled within sci-physics/root, but now it is unbundled
-  upstream and needs to be installed as a separate package in order
-  to be used from ROOT.
-
-  Aside from standard xrootd distribution, this ebuild may install
-  useful pdf documentation from the official web site.
-
-  Program was tested on ~x86 and ~amd64 with some basic setup, though
-  no real production tests were done. Please note, that xrootd and
-  accompany daemons do not work with root privileges any longer, so
-  special xrootd user was used.
-
-  Another note: all daemons MUST use the same config (-c
-  /etc/xrootd/your._config), that's why there is only one conf.d file
-  for all four daemons.
-

diff --git a/sci-physics/xrootd/files/cmsd.initd b/sci-physics/xrootd/files/cmsd.initd
deleted file mode 100644
index 105bd55..0000000
--- a/sci-physics/xrootd/files/cmsd.initd
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-source /etc/conf.d/xrootd
-
-depend() {
-    need net
-    use logger dns
-    provide root-file-server
-}
-
-start() {
-    ebegin "Starting Cluster Management Service daemon"
-    start-stop-daemon --start --quiet --user ${XROOTD_USER} \
-	--make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \
-	--exec /usr/bin/${RC_SVCNAME} --background -- \
-        -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \
-        ${CMSD_OPTS}
-    eend $?
-}
-
-stop() {
-    ebegin "Stopping Cluster Management Service daemon"
-    start-stop-daemon --stop --quiet \
-	--pidfile /var/run/${RC_SVCNAME}.pid \
-	--exec /usr/bin/${RC_SVCNAME}
-    eend $?
-}

diff --git a/sci-physics/xrootd/files/frm_purged.initd b/sci-physics/xrootd/files/frm_purged.initd
deleted file mode 100644
index 1e1f2c8..0000000
--- a/sci-physics/xrootd/files/frm_purged.initd
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-source /etc/conf.d/xrootd
-
-depend() {
-    need net
-    use logger dns
-    provide root-file-server
-}
-
-start() {
-    ebegin "Starting File Residency Manager purge daemon"
-    start-stop-daemon --start --quiet --user ${XROOTD_USER} \
-	--make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \
-	--exec /usr/bin/${RC_SVCNAME} --background -- \
-        -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \
-        ${FRM_PURGED_OPTS}
-    eend $?
-}
-
-stop() {
-    ebegin "Stopping File Residency Manager purge daemon"
-    start-stop-daemon --stop --quiet \
-	--pidfile /var/run/${RC_SVCNAME}.pid \
-	--exec /usr/bin/${RC_SVCNAME}
-    eend $?
-}

diff --git a/sci-physics/xrootd/files/frm_xfrd.initd b/sci-physics/xrootd/files/frm_xfrd.initd
deleted file mode 100644
index 68da1cb..0000000
--- a/sci-physics/xrootd/files/frm_xfrd.initd
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-source /etc/conf.d/xrootd
-
-depend() {
-    need net
-    use logger dns
-    provide root-file-server
-}
-
-start() {
-    ebegin "Starting File Residency Manager transfer daemon"
-    start-stop-daemon --start --quiet --user ${XROOTD_USER} \
-	--make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \
-	--exec /usr/bin/${RC_SVCNAME} --background -- \
-        -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \
-        ${FRM_XFRD_OPTS}
-    eend $?
-}
-
-stop() {
-    ebegin "Stopping File Residency Manager transfer daemon"
-    start-stop-daemon --stop --quiet \
-	--pidfile /var/run/${RC_SVCNAME}.pid \
-	--exec /usr/bin/${RC_SVCNAME}
-    eend $?
-}

diff --git a/sci-physics/xrootd/files/xrootd.confd b/sci-physics/xrootd/files/xrootd.confd
deleted file mode 100644
index 0e847e5..0000000
--- a/sci-physics/xrootd/files/xrootd.confd
+++ /dev/null
@@ -1,21 +0,0 @@
-# conf.d file for xroot, cmsd, frm_purged, frm_xfrd daemons
-
-# User to run as, please note that:
-# 1) daemons will refuse to run as root;
-# 2) several dirs must be created with an appropriate permissions
-# and ownership, so be careful when changing default 'xrootd' user.
-XROOTD_USER="xrootd"
-
-# Configuration file MUST be the same for all four daemons.
-# See /etc/xrootd for available simple defaults.
-XROOTD_CONF="/etc/xrootd/xrootd-clustered.cfg"
-
-# Logdir for all daemons
-XROOTD_LOGDIR="/var/log/xrootd"
-
-# Additional options for each daemon, please refer to their
-# documentation for details
-XROOTD_OPTS=""
-CMSD_OPTS=""
-FRM_PURGED=""
-FRM_XFRD=""

diff --git a/sci-physics/xrootd/files/xrootd.initd b/sci-physics/xrootd/files/xrootd.initd
deleted file mode 100644
index 64992b7..0000000
--- a/sci-physics/xrootd/files/xrootd.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-depend() {
-    need net
-    use logger dns
-    provide root-file-server
-}
-
-start() {
-    ebegin "Starting extended ROOTD file server"
-    start-stop-daemon --start --quiet --user ${XROOTD_USER} \
-	--make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \
-        --exec /usr/bin/${RC_SVCNAME} --background -- \
-        -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \
-        ${XROOTD_OPTS}
-    eend $?
-}
-
-stop() {
-    ebegin "Stopping extended ROOTD file server"
-    start-stop-daemon --stop --quiet \
-	--pidfile /var/run/${RC_SVCNAME}.pid \
-	--exec /usr/bin/${RC_SVCNAME}
-    eend $?
-}

diff --git a/sci-physics/xrootd/metadata.xml b/sci-physics/xrootd/metadata.xml
deleted file mode 100644
index fbfe13f..0000000
--- a/sci-physics/xrootd/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>sci-physics</herd>
-	<longdescription lang="en">
-  XROOTD software framework is a fully generic suite for fast, low latency and
-  scalable data access, which can serve natively any kind of data, organized as
-  a hierarchical filesystem-like namespace, based on the concept of directory.
-  It is usually used with <pkg>sci-physics/root</pkg> and its PROOF facilities
-  for cluster computing in high energy physics.
-	</longdescription>
-	<use>
-		<flag name="fuse">Enable the <pkg>sys-fs/fuse</pkg> filesystem driver</flag>
-	</use>
-</pkgmetadata>

diff --git a/sci-physics/xrootd/xrootd-3.1.0.ebuild b/sci-physics/xrootd/xrootd-3.1.0.ebuild
deleted file mode 100644
index 405697f..0000000
--- a/sci-physics/xrootd/xrootd-3.1.0.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit cmake-utils eutils
-
-DURI="http://xrootd.slac.stanford.edu/doc/prod"
-
-DESCRIPTION="XRootD is a scalable ROOT remote file server"
-HOMEPAGE="http://xrootd.slac.stanford.edu/index.html"
-SRC_URI="http://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz
-		 doc? (
-			${DURI}/Syntax_config.pdf
-			${DURI}/xrd_config.pdf
-			${DURI}/ofs_config.pdf
-			${DURI}/cms_config.pdf
-			${DURI}/sec_config.pdf
-			${DURI}/xrd_monitoring.pdf
-			${DURI}/frm_config.pdf
-			${DURI}/XRdv297.pdf
-		 )"
-
-LICENSE="xrootd"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse kerberos perl readline ssl"
-
-RDEPEND="
-	!<sci-physics/root-5.32
-	sys-libs/zlib
-	fuse? ( sys-fs/fuse )
-	kerberos? ( virtual/krb5 )
-	perl? (
-		dev-lang/perl
-		readline? ( dev-perl/Term-ReadLine-Perl )
-	)
-	readline? ( sys-libs/readline )
-	ssl? ( dev-libs/openssl )
-"
-DEPEND="${RDEPEND}
-	perl? ( dev-lang/swig )"
-
-pkg_setup() {
-	enewgroup xrootd
-	enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd
-}
-
-src_configure() {
-	mycmakeargs=(
-		"-DCMAKE_BUILD_TYPE=Release"
-		$(cmake-utils_use_enable fuse)
-		$(cmake-utils_use_enable kerberos KRB5)
-		$(cmake-utils_use_enable perl)
-		$(cmake-utils_use_enable readline)
-		$(cmake-utils_use_enable ssl CRYPTO)
-	)
-	cmake-utils_src_configure
-}
-
-src_install() {
-	cmake-utils_src_install
-
-	# base configs
-	insinto /etc/xrootd
-	doins "${S}"/packaging/common/*.cfg
-
-	# create aux dirs and correct permissions so that xrootd
-	# will be happy as a non-priviledged user
-	fowners root:xrootd "${EPREFIX}"/etc/xrootd
-	keepdir "${EPREFIX}"/var/log/xrootd
-	keepdir "${EPREFIX}"/var/run/xrootd
-	keepdir "${EPREFIX}"/var/spool/xrootd
-	fowners xrootd:xrootd "${EPREFIX}"/var/{log,run,spool}/xrootd
-
-	for i in cmsd frm_purged frm_xfrd xrootd; do
-		newinitd "${FILESDIR}"/${i}.initd ${i}
-	done
-	# all daemons MUST use single master config file
-	newconfd "${FILESDIR}"/xrootd.confd xrootd
-
-	dodoc README docs/ReleaseNotes.txt
-	if use doc; then
-		dodoc \
-			"${DISTDIR}"/Syntax_config.pdf \
-			"${DISTDIR}"/xrd_config.pdf \
-			"${DISTDIR}"/ofs_config.pdf \
-			"${DISTDIR}"/cms_config.pdf \
-			"${DISTDIR}"/sec_config.pdf \
-			"${DISTDIR}"/xrd_monitoring.pdf \
-			"${DISTDIR}"/frm_config.pdf \
-			"${DISTDIR}"/XRdv297.pdf
-	fi
-}



                 reply	other threads:[~2012-01-03  3:07 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=640400b381e157e6da8d3797dccea28bb9b09ea8.bicatali@gentoo \
    --to=bicatali@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