diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/xrootd/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/xrootd/files')
-rw-r--r-- | net-libs/xrootd/files/cmsd.confd | 9 | ||||
-rw-r--r-- | net-libs/xrootd/files/cmsd.initd | 35 | ||||
-rw-r--r-- | net-libs/xrootd/files/frm_purged.initd | 35 | ||||
-rw-r--r-- | net-libs/xrootd/files/frm_xfrd.initd | 35 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd-no-werror.patch | 11 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd.confd | 21 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd.initd | 33 |
7 files changed, 179 insertions, 0 deletions
diff --git a/net-libs/xrootd/files/cmsd.confd b/net-libs/xrootd/files/cmsd.confd new file mode 100644 index 000000000000..ab5aa8c614f0 --- /dev/null +++ b/net-libs/xrootd/files/cmsd.confd @@ -0,0 +1,9 @@ +# conf.d file for cmsd daemon + +# User to run as (default is root) +CMSD_USER="root" + +# +# Please refer to the cmsd(1) man(1) page for more +# information on command line parameters. +CMSD_OPTS="" diff --git a/net-libs/xrootd/files/cmsd.initd b/net-libs/xrootd/files/cmsd.initd new file mode 100644 index 000000000000..eb8b4470b345 --- /dev/null +++ b/net-libs/xrootd/files/cmsd.initd @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +. /etc/conf.d/xrootd + +depend() { + need net + use logger dns + provide root-file-server +} + +start_pre() { + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd +} + +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/net-libs/xrootd/files/frm_purged.initd b/net-libs/xrootd/files/frm_purged.initd new file mode 100644 index 000000000000..9b7db734adb5 --- /dev/null +++ b/net-libs/xrootd/files/frm_purged.initd @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +. /etc/conf.d/xrootd + +depend() { + need net + use logger dns + provide root-file-server +} + +start_pre() { + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd +} + +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/net-libs/xrootd/files/frm_xfrd.initd b/net-libs/xrootd/files/frm_xfrd.initd new file mode 100644 index 000000000000..b33f3f9b0322 --- /dev/null +++ b/net-libs/xrootd/files/frm_xfrd.initd @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +. /etc/conf.d/xrootd + +depend() { + need net + use logger dns + provide root-file-server +} + +start_pre() { + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd +} + +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/net-libs/xrootd/files/xrootd-no-werror.patch b/net-libs/xrootd/files/xrootd-no-werror.patch new file mode 100644 index 000000000000..d9f3b1c52f7b --- /dev/null +++ b/net-libs/xrootd/files/xrootd-no-werror.patch @@ -0,0 +1,11 @@ +--- cmake/XRootDOSDefs.cmake.orig 2014-06-04 20:31:15.000000000 +0400 ++++ cmake/XRootDOSDefs.cmake 2014-08-21 12:12:55.397368485 +0400 +@@ -15,7 +15,7 @@ + # GCC + #------------------------------------------------------------------------------- + if( CMAKE_COMPILER_IS_GNUCXX ) +- set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror" ) ++ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" ) + set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter" ) + # gcc 4.1 is retarded + execute_process( COMMAND ${CMAKE_C_COMPILER} -dumpversion diff --git a/net-libs/xrootd/files/xrootd.confd b/net-libs/xrootd/files/xrootd.confd new file mode 100644 index 000000000000..0e847e53e69c --- /dev/null +++ b/net-libs/xrootd/files/xrootd.confd @@ -0,0 +1,21 @@ +# 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/net-libs/xrootd/files/xrootd.initd b/net-libs/xrootd/files/xrootd.initd new file mode 100644 index 000000000000..ffffa6c4470e --- /dev/null +++ b/net-libs/xrootd/files/xrootd.initd @@ -0,0 +1,33 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need net + use logger dns + provide root-file-server +} + +start_pre() { + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd +} + +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 $? +} |