summaryrefslogtreecommitdiff
path: root/net-libs/davix
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/davix')
-rw-r--r--net-libs/davix/Manifest4
-rw-r--r--net-libs/davix/davix-0.6.7.ebuild69
-rw-r--r--net-libs/davix/files/davix-0.6.7-uio.patch12
-rw-r--r--net-libs/davix/metadata.xml11
4 files changed, 96 insertions, 0 deletions
diff --git a/net-libs/davix/Manifest b/net-libs/davix/Manifest
new file mode 100644
index 000000000000..bc5cdb2bb275
--- /dev/null
+++ b/net-libs/davix/Manifest
@@ -0,0 +1,4 @@
+AUX davix-0.6.7-uio.patch 316 BLAKE2B 71bf63feb080a4c34f8b672516d8237149bee9d360c7b0d289ac6b226e65427651a688679ec42cc2bf30304a53211d33b06fdccdda228e90b40e21ed7da48cea SHA512 0874cc8c04118e97c176e901bfeaafa13d3a76ec8589b045845133f3f8633e7b75a007ba10990ac4ee1bfe344294d27265510f64171cecd9110fd0b41d71ada2
+DIST davix-0.6.7.tar 3346429 BLAKE2B 7510c628cd1d346ed5f4dca6100207e5e2efa3a98d0caf63dbe3ba39f58a9b11c330c95cd2d40d60d8f2497355d4cb2f2d7537babfef287a5905f32322363d90 SHA512 5cb830e415a4ab87b7b046fbd8ba615379766f4fa4b886a271b0c248c05968b9a3cb144751b44d5fd62f5e07bdb7610c0505e44f2702147f6f006b49a4b3d8ce
+EBUILD davix-0.6.7.ebuild 1424 BLAKE2B 869eb94a41d0a5217d34415dbd786c82ce1f6191f349b85d8bb465bdfe040a73ee34cdba4a21ad842be0dfd05e0b569fce04a9f31a5b1820cf64877707809e5a SHA512 87ed2d05e165f08b5136a2fc6d096f17a6c6b4624f98862e60a7021fa0a8129c04d056d3e359bfd4d8fc4aa7658fff4dd6fbe28201e2a12c36ed2c347fe2b816
+MISC metadata.xml 327 BLAKE2B c075f375c74797f407cff004dd39e41ab7b60d4e5039f8c9d6c214ce7af54ccec989807d1a09656c87dbce164f1da0289c655f215265ef011abd40b47c5fa841 SHA512 12db2d285a12948788387cbb97fdb299ebd3cdaf50832f1271fcb8cae3a9f7acd1deb7aff4392bdd082e97747d714359fa427bcd0ec9f28f2ecea74703ab9ab0
diff --git a/net-libs/davix/davix-0.6.7.ebuild b/net-libs/davix/davix-0.6.7.ebuild
new file mode 100644
index 000000000000..99b1a2b454cb
--- /dev/null
+++ b/net-libs/davix/davix-0.6.7.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="High-performance file management over WebDAV/HTTP"
+HOMEPAGE="https://dmc.web.cern.ch/projects/davix"
+SRC_URI="http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/${PN}/${PV}/${P}.tar.gz -> ${P}.tar"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc ipv6 test tools"
+
+CDEPEND="
+ dev-libs/libxml2:2=
+ dev-libs/openssl:0=
+ sys-apps/util-linux:0=
+"
+
+DEPEND="${CDEPEND}
+ doc? (
+ app-doc/doxygen[dot]
+ dev-python/sphinx
+ )
+ virtual/pkgconfig
+"
+
+RDEPEND="${CDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-uio.patch
+)
+
+REQUIRED_USE="test? ( tools )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
+ -DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${P}"
+ -DENABLE_HTML_DOCS=$(usex doc)
+ -DENABLE_IPV6=$(usex ipv6)
+ -DENABLE_TOOLS=$(usex tools)
+ -DHTML_INSTALL_DIR="${EPREFIX}/usr/share/doc/${P}/html"
+ -DSOUND_INSTALL_DIR="${EPREFIX}/usr/share/${PN}/sounds"
+ -DSTATIC_LIBRARY=OFF
+ -DSYSCONF_INSTALL_DIR="${EPREFIX}/etc"
+ -DBUILD_TESTING=$(usex test)
+ -DUNIT_TESTS=$(usex test)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ if use doc; then
+ cmake-utils_src_compile doc
+ fi
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if ! use tools; then
+ rm -rf "${ED}/usr/share/man/man1"
+ fi
+}
diff --git a/net-libs/davix/files/davix-0.6.7-uio.patch b/net-libs/davix/files/davix-0.6.7-uio.patch
new file mode 100644
index 000000000000..fc7194d05d3d
--- /dev/null
+++ b/net-libs/davix/files/davix-0.6.7-uio.patch
@@ -0,0 +1,12 @@
+diff --git a/deps/libneon/src/ne_socket.c b/deps/libneon/src/ne_socket.c
+index affc8d7..b4f8ea1 100644
+--- a/deps/libneon/src/ne_socket.c
++++ b/deps/libneon/src/ne_socket.c
+@@ -34,6 +34,7 @@
+ #ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+ #endif
++#include <sys/uio.h>
+
+ #ifdef __linux__
+ #include <sys/ioctl.h>
diff --git a/net-libs/davix/metadata.xml b/net-libs/davix/metadata.xml
new file mode 100644
index 000000000000..74c9ee6f13b6
--- /dev/null
+++ b/net-libs/davix/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>amadio@gentoo.org</email>
+ <name>Guilherme Amadio</name>
+ </maintainer>
+ <use>
+ <flag name="tools">Install additional tools</flag>
+ </use>
+</pkgmetadata>