Skip to content
Snippets Groups Projects
Commit 069aef2a authored by Fons Rademakers's avatar Fons Rademakers
Browse files

new Debian and RedHat package scripts. By Christian Holm.

git-svn-id: http://root.cern.ch/svn/root/trunk@5030 27541ba8-7e3a-0410-8455-c3a389f83636
parent 7552354e
No related branches found
No related tags found
No related merge requests found
Showing with 1075 additions and 0 deletions
short: OpenInventor OpenGL support for 3D rendering in ROOT
long:
This package provides an OpenGL interface based on OpenInventor for 3D
rendering of geometries and so on. It's used extensively by the BRAHMS
and STAR collaborations at Brookhaven National Laboratory for event
displays.
@prefix@/include/root/TGLKernel.h
@prefix@/include/root/TRootGL*
@prefix@/include/root/TWin32GL*
@prefix@/include/root/TRootWGL.h
@prefix@/include/root/TRootOIViewer.h
@prefix@/lib/root/libRGL.so*
?package(root-bin):needs=X11 section=Apps/Math\
title="ROOT"\
longtitle="ROOT'a Object Oriented Technologies"\
command="xterm -e @prefix@/bin/root"
application/x-root; root %s; needsterminal; description=ROOT Archive; nametemplate=%s.root
#! /bin/sh
# prerm script for root-daemon
#
# see: dh_installdeb(1)
set -e
if [ "$1" != "upgrade" ]
then
update-alternatives --remove cint @prefix@/bin/cint.root
update-alternatives --remove makecint @prefix@/bin/makecint.root
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#! /bin/sh
# postinst script for root-daemon
#
# see: dh_installdeb(1)
set -e
case "$1" in
configure)
# Install lines in /etc/inetd.conf for ROOT daemon services
# The rootd for remote file acces
update-inetd --group OTHER --add \
'rootd\tstream\ttcp\tnowait\troot\t@prefix@/bin/rootd\trootd -i'
# The PROOF daemon for Parallel computing
update-inetd --group OTHER --add \
'proofd\tstream\ttcp\tnowait\troot\t@prefix@/bin/proofd\tproofd\t@prefix@/share/root'
# Install lines in /etc/services - should not be done here, rather
# the lines should be added by netbase maintainer. Will ask for
# these at some later point.
if ! grep -qs ^proofd /etc/services ; then
echo "proofd 1093/tcp # ROOT" >> /etc/services
fi
if ! grep -qs ^rootd /etc/services ; then
echo "rootd 1094/tcp # ROOT" >> /etc/services
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
# Nothing to be done here
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#! /bin/sh
# postrm script for root-daemon
#
# see: dh_installdeb(1)
set -e
case "$1" in
purge|abort-install)
# Remove the rootd user and group
# Taken from mysql-server package and modified for ROOT
# rm -rf /var/spool/rootd
userdel -r rootd
reason=$?
if [ $reason -ne 0 ] ; then
# Could not remove user. Ignore.
echo "Couldn't remove user rootd, check it. Reason"
case $reason in
1) echo "can't update password file" ;;
2) echo "bad command syntax" ;;
6) echo "specified user doesn't exist" ;;
8) echo "user currently logged in" ;;
10) echo "can't update group file" ;;
12) echo "can't remove home directory" ;;
*) echo "Unknown" ;;
esac
fi
;;
remove|upgrade|failed-upgrade|abort-upgrade|disappear)
# Nothing to be done here
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 0
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
#! /bin/sh
# preinst script for root-daemon
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
case "$1" in
install|upgrade)
# Install user rootd for anonymous file access in /var/spool/rootd
# directory.
# The lines below are taken from the mysql-server package, and
# modified to reflects the needs of rootd.
# Make sure we can add a user properly
if [ ! -x "`which adduser`" ]; then
echo "I need adduser(8) from the adduser package !";
exit 1;
fi
if [ ! -x "`which addgroup`" ]; then
echo "I need addgroup(8) from the adduser package !";
exit 1;
fi
if [ ! -x "`which usermod`" ]; then
echo "I need usermod(8) from the passwd package !";
exit 1;
fi
# Now we have to ensure the following state:
# /etc/passwd: rootd:x:Anonymous rootd:/var/spool/rootd:/bin/false
# /etc/group: rootd:x:72:rootd
if ! grep -q ^rootd: /etc/group; then
addgroup --system rootd
fi
if ! grep -q ^rootd: /etc/passwd; then
#echo Adding system user: rootd.
adduser --system --ingroup rootd \
--gecos "Anonymous rootd" \
--home /var/spool/rootd rootd >/dev/null
fi
# creating rootd home directory
if ! test -d /var/spool/rootd; then
mkdir /var/spool/rootd
fi
# modifying the user
usermod -c "Anonymous rootd" rootd
usermod -d "/var/spool/rootd" rootd
usermod -g "rootd" rootd
usermod -s "/bin/false" rootd
# Since the home directory was created before putting the user
# into the rootd group and moreover we cannot guarantee that
# the permissions were correctly *before* calling this script,
# we fix them now.
#echo
#echo "SECURITY: Fixing permission of /var/spool/rootd !"
#echo "(I.e. replacing GIDs other than root and rootd with rootd.)"
#echo
chown rootd.rootd /var/spool/rootd
find /var/spool/rootd \
-not \( -group root -or -group rootd \) \
-exec chgrp rootd {} \;
# Create the tmp and pub directories in /var/spool/rootd and
# make them world read- and writeable.
if [ ! -d /var/spool/rootd/tmp ] ; then
mkdir -p /var/spool/rootd/tmp
chmod 777 /var/spool/rootd/tmp
fi
if [ ! -d /var/spool/rootd/pub ] ; then
mkdir -p /var/spool/rootd/pub
chmod 777 /var/spool/rootd/pub
fi
# Nothing to be done here
# if [ "$1" = "upgrade" ]
# then
# start-stop-daemon --stop --quiet --oknodo \
# --pidfile /var/run/root.pid \
# --exec @prefix@/sbin/root 2>/dev/null || true
# fi
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#! /bin/sh
# prerm script for root-daemon
#
# see: dh_installdeb(1)
set -e
case "$1" in
remove)
update-inetd --remove rootd
update-inetd --remove proofd
;;
upgrade|deconfigure)
# Nothing to be done here
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
Package: root-gliv
Architecture: any
Depends: libroot (= ${Source-Version}), ${shlibs:Depends}
Provides: root-glviewer
Conflicts: root-gl
Description: @short@
@long@
######################################################################
#
# opengl Sub package
#
%package -n root-gliv
Group: ROOT
Summary: @short@
%description -n root-gliv
@long@
#---------------------------------------------------------------------
# Files that go into this package
%files -n root-gliv -f @files@
#---------------
%post -n root-gliv
# Update /etc/ld.so.cache
ldconfig
This diff is collapsed.
.\"
.\" $Id: root.1,v 1.1 2001/08/15 13:30:48 rdm Exp $
.\"
.TH HADD 1 "Version 3" "ROOT"
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH NAME
hadd \- Merge ROOT histogram files into one file
.SH SYNOPSIS
.B hadd
.I "outputfile inputfiles ..."
.SH "DESCRIPTION"
This program will add histograms from a list of
.B ROOT
files and write them to a target
.B ROOT
file. The target file is newly created and must not be identical to
one of the source files.
.SH "SEE ALSO"
.SB
\fIroot\fR(1)
.PP
.SE
For extensive documentation on the \fBROOT\fR system, see
.UR http://root.cern.ch
\fIhttp://root.cern.ch\fR
.UE
.PP
A \fBUsers Guide\fR is avaliable from
.UR http://root.cern.ch/root/UsersGuide.html
\fIhttp://root.cern.ch/root/UsersGuide.html\fR
.UE
.PP
The classes of ROOT are all documented on
.UR http://root.cern.ch/root/html/ClassIndex.html
\fIhttp://root.cern.ch/root/html/ClassIndex.html\fR
.UE
.SH "ORIGINAL AUTHORS"
Sven A. Schmidt
.UR sven.schmidt@cern.ch
\fIsven.schmidt@cern.ch\fR, Dirk Geppert, and Rene Brun
.UR Rene.Brun@cern.ch
\fIRene.Brun@cern.ch\fR
.SH "COPYRIGHT"
ROOT Software Terms and Conditions
.PP
The authors hereby grant permission to use, copy, and distribute this
software and its documentation for any purpose, provided that existing
copyright notices are retained in all copies and that this notice is
included verbatim in any distributions. Additionally, the authors grant
permission to modify this software and its documentation for any purpose,
provided that such modifications are not distributed without the explicit
consent of the authors and that existing copyright notices are retained in
all copies. Users of the software are asked to feed back problems, benefits,
and/or suggestions about the software to the ROOT Development Team
(rootdev@root.cern.ch). Support for this software - fixing of bugs,
incorporation of new features - is done on a best effort basis. All bug
fixes and enhancements will be made available under the same terms and
conditions as the original software,
.PP
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF,
EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.PP
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS
PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO
OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
MODIFICATIONS.
.SH AUTHOR
This manual page was written by Christian Holm Christensen
<cholm@nbi.dk>, for the Debian GNU/Linux system (but may be used by
others).
.\"
.\" $Log: root.1,v $
.\" Revision 1.1 2001/08/15 13:30:48 rdm
.\" move man files to new subdir man1. This makes it possible to add
.\" $ROOTSYS/man to MANPATH and have "man root" work.
.\"
.\" Revision 1.2 2001/04/23 09:10:12 rdm
.\" updates by Christian Holm for making debian and RedHat packages.
.\"
.\" Revision 1.1 2000/12/08 17:41:01 rdm
.\" man pages of all ROOT executables provided by Christian Holm.
.\"
.\"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment