summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-03-06 17:04:22 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-03-06 17:04:22 +0000
commit7a488be856c5917449b0f2f901ce699dc21e2d6f (patch)
tree8e2bbb12948a9e7ad6f6af69a96bfedcddcb0b40 /net-libs/xrootd
parentVersion bump. (diff)
downloadgentoo-2-7a488be856c5917449b0f2f901ce699dc21e2d6f.tar.gz
gentoo-2-7a488be856c5917449b0f2f901ce699dc21e2d6f.tar.bz2
gentoo-2-7a488be856c5917449b0f2f901ce699dc21e2d6f.zip
Version bump
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/xrootd')
-rw-r--r--net-libs/xrootd/ChangeLog9
-rw-r--r--net-libs/xrootd/xrootd-3.1.1.ebuild93
2 files changed, 100 insertions, 2 deletions
diff --git a/net-libs/xrootd/ChangeLog b/net-libs/xrootd/ChangeLog
index a04aedf2c10c..7b0a3989d2fd 100644
--- a/net-libs/xrootd/ChangeLog
+++ b/net-libs/xrootd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/xrootd
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/ChangeLog,v 1.1 2011/12/19 19:36:35 bicatali Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/ChangeLog,v 1.2 2012/03/06 17:04:22 bicatali Exp $
+
+*xrootd-3.1.1 (06 Mar 2012)
+
+ 06 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.1.1.ebuild:
+ Version bump
19 Dec 2011; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.1.0.ebuild,
+files/cmsd.confd, +files/cmsd.initd, +files/frm_purged.initd,
diff --git a/net-libs/xrootd/xrootd-3.1.1.ebuild b/net-libs/xrootd/xrootd-3.1.1.ebuild
new file mode 100644
index 000000000000..8f3d61b943a6
--- /dev/null
+++ b/net-libs/xrootd/xrootd-3.1.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/xrootd-3.1.1.ebuild,v 1.1 2012/03/06 17:04:22 bicatali Exp $
+
+EAPI=4
+
+inherit cmake-utils eutils
+
+DURI="http://xrootd.slac.stanford.edu/doc/prod"
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/"
+SRC_URI="${HOMEPAGE}/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="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse kerberos perl readline ssl"
+
+RDEPEND="!<sci-physics/root-5.32[xrootd]
+ 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() {
+# "-DCMAKE_BUILD_TYPE=Release"
+ mycmakeargs=(
+ $(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 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
+
+ local i
+ 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 docs/ReleaseNotes.txt
+ use doc && \
+ 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
+}