summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2014-06-13 12:05:20 +0000
committerTiziano Müller <dev-zero@gentoo.org>2014-06-13 12:05:20 +0000
commit9cbb08609a9a3094e8137f94fd173a6909c58f07 (patch)
tree00db2c38dd4c0a8fab01a05f2229e317a67e42f9 /net-libs
parentalpha/amd64/arm/ia64/ppc/ppc64/sparc/x86 stable wrt bug #513062 (diff)
downloadhistorical-9cbb08609a9a3094e8137f94fd173a6909c58f07.tar.gz
historical-9cbb08609a9a3094e8137f94fd173a6909c58f07.tar.bz2
historical-9cbb08609a9a3094e8137f94fd173a6909c58f07.zip
Initial commit, required for spice-gtk, ebuild written by me.
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x1A5D023975B0583D!
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/phodav/ChangeLog10
-rw-r--r--net-libs/phodav/Manifest28
-rw-r--r--net-libs/phodav/files/70-spice-webdavd.rules1
-rw-r--r--net-libs/phodav/files/spice-webdavd.initd17
-rw-r--r--net-libs/phodav/metadata.xml9
-rw-r--r--net-libs/phodav/phodav-0.4.ebuild54
6 files changed, 119 insertions, 0 deletions
diff --git a/net-libs/phodav/ChangeLog b/net-libs/phodav/ChangeLog
new file mode 100644
index 000000000000..8da2101cd356
--- /dev/null
+++ b/net-libs/phodav/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-libs/phodav
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/phodav/ChangeLog,v 1.1 2014/06/13 12:05:09 dev-zero Exp $
+
+*phodav-0.4 (13 Jun 2014)
+
+ 13 Jun 2014; Tiziano Müller <dev-zero@gentoo.org>
+ +files/70-spice-webdavd.rules, +files/spice-webdavd.initd, +metadata.xml,
+ +phodav-0.4.ebuild:
+ Initial commit, required for spice-gtk, ebuild written by me.
diff --git a/net-libs/phodav/Manifest b/net-libs/phodav/Manifest
new file mode 100644
index 000000000000..07ad49f6a653
--- /dev/null
+++ b/net-libs/phodav/Manifest
@@ -0,0 +1,28 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX 70-spice-webdavd.rules 159 SHA256 eb5b7af994160f4283da3e2a8c19954171818c0c26240a8f56d52f8e90a3aa22 SHA512 f9a427f0d4f4db4aa3e0c7a4f77281b405ebde3e932bf591f018f39f6094fa47f16649534b2dc45434433367f60b98d58e32e49c5b03ba1333015319de5644cc WHIRLPOOL d03a9a703a42eccecfafd064c79ea048afcad3d6a578fefb444c35b8be57b23e9304ebaf22ba44c4e56b5500d13ebd3246cc8e5a4506e8f30caf32aa000a8d23
+AUX spice-webdavd.initd 461 SHA256 b5c5ed8e9c38a77542062328608c091faf04e81ffb9ba37a0e3b68e97d71cb84 SHA512 9c38481ea8d59c4abee273080e7c48804c1453669804de008a98324c47e21253cbedf7b78e734afd12f4769fe3b451972f44d1dfd53012e2af02605a7fb2b916 WHIRLPOOL bbabf3162a0a8d73d1f682849bbaab7ff448fddcf8906dcf864a4a158433259e3d70fe878b9fa7309104f8918a696f0143c1c10c3815a6cc68f5008fdcbacc57
+DIST phodav-0.4.tar.xz 272476 SHA256 5d14bfd4d733f680fca6875586308879b78a3c4892bd95a2d8dc4aabd24614b6 SHA512 f6d624fb3df945e1b5fad1d31e849949a8c784a9f48adcf35b4714605a7f181c53b878bce307f8ca868d9a66425adddb0341db21294f7f25777b62dca7a1c662 WHIRLPOOL 767b3888f870e3e4739c9432cb162cb2e595ac4ac2582abc3174b4220455adbbfdeed8f70f39477ca3557c1f93af6bb8c03d62277fca7ffe6a14d0a83ae8f1d3
+EBUILD phodav-0.4.ebuild 1279 SHA256 62c918314be9984a81c64e5a2131ec86d3eea0e05bd910f715520e63fbb3113f SHA512 6aa7c195543e2e1e11fb1d5fa52402b248e8e0b333155701dc3c648121b7aa00bb5549078df8a5b5fff0ca6dc0ed17dec40f436dba5b662b05d9c2ce54b0eeda WHIRLPOOL ff3456c594b3735ab44c1dd8ba7cb661bb50d0cb2f21aedea7129edfae06be6ddce6c7383e91c05b045ffffe9f33259e3a0b18fe444e77b5ee1f34a183f2cfb0
+MISC ChangeLog 447 SHA256 225cb290af3d5698977b551d2133a35b502c8c241cd84e81854b1e2145ce92a6 SHA512 0065bbb0a450f01d98cf25a24a0001096d2298ca20770c6c1f4995c47767f2cf877a48936f1d47f372c041a3ba69f438aeb5481a259f5991142573189b7a3e68 WHIRLPOOL bce7c5ab2cad0e1b0e8609fdf0b8c1f66c2237e0be2786649cddd805b43c0f71fa941e2584ba8f5a5d48987d40b087e32c892cacbece1f6fca194ddb49fa4c08
+MISC metadata.xml 274 SHA256 6e84d747ddc74347d27f49c5cb8b35cec69a074f5cb4dbe1c12181801f436209 SHA512 06e99dded0d50805f3a1df21de0b33afdadd8967a5ff1ef0eea9ad6c535653962caf04a07244fb6c8d00413305cb0ecbebff8cc00461eda74292cd5b42c9198f WHIRLPOOL 121dc4dcaf5dacdba46280d83ede4584598aaba799f5fecf4003e7307a8d2527dc5b3f10fb5c09e280a39ca0410a800b28d3cde5139188bf7fcef9fde06f1c53
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQJ8BAEBCABmBQJTmuj2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCMjM3NDkyMkQ0OTFBMUIyMzgzNkZBMkUx
+QTVEMDIzOTc1QjA1ODNEAAoJEBpdAjl1sFg9gewP/1QJzALkZOvSCH53tnM2HNJN
+Sg1nCz/0zn+0IylfloHJny5APSkXpH9cXxxgXIPBJV2Vs6OoykQ6dHoXjkA7J+27
+OgWu3+1kcdNeR3B8lA8bbPZSroFEqapNo3g3W8z2MIPnrCGLS3Xvnc++0INbtCOw
+l8uIGfVzZbZMCTcSOZNxrU3jzDfMbpyPZp1HqCSUhg9VVWFWUrFzGXYdtTHb5haa
+06g+nDQDpZjXpMqTb5664OL8KDP2qXVg2kICYikz7F6yn+QMnJBBWVVusRCH61oM
+Qx4ZPWtAn6HoTggKLuAa18Qdmvvwrc/kJlbuetpHqDspQZaeVSR9ae7WpJjqYS8t
+JUJ0ZQ4X0dVJpna0QotOK901d+IbQEzJ3iATBCF1+MYsqfLnMQLRyLySXg99wsmx
+4qZJu+Ap8yl7O9lW4knrC//ia5zg+mKy8xa9y836Wn30Jxay0FefR57/cVGuANZS
+6lm4+PI+3MMKdxoLEg7uq9wRdKUin55MlNdN0BQ9B5kkedkyxhLArbDnI2AWTbhK
+GrhaxL0TnNbjqH1uUwdynuAdqGXEv4RMH6ZOpMhwnahgX7Br/hy0LoEDC9U4bbXD
+ljpAbJgoev9NpcVbsgFYQELTn9LZ24bBVcHH+jUkzXvGcjz3jlULmM0VtHwuJXdi
+JMXgenq8GxCqZUPVQRda
+=l+YG
+-----END PGP SIGNATURE-----
diff --git a/net-libs/phodav/files/70-spice-webdavd.rules b/net-libs/phodav/files/70-spice-webdavd.rules
new file mode 100644
index 000000000000..80c3b02bc933
--- /dev/null
+++ b/net-libs/phodav/files/70-spice-webdavd.rules
@@ -0,0 +1 @@
+ACTION=="add", SUBSYSTEM=="virtio-ports", ENV{DEVLINKS}=="/dev/virtio-ports/org.spice-space.webdav.0", RUN+="/bin/env /etc/init.d/spice-webdavd --quiet start"
diff --git a/net-libs/phodav/files/spice-webdavd.initd b/net-libs/phodav/files/spice-webdavd.initd
new file mode 100644
index 000000000000..9f83542f3685
--- /dev/null
+++ b/net-libs/phodav/files/spice-webdavd.initd
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/phodav/files/spice-webdavd.initd,v 1.1 2014/06/13 12:05:09 dev-zero Exp $
+
+description="Spice guest utility for file sharing via WebDAV"
+
+command="/usr/sbin/spice-webdavd"
+command_args="--port 9843"
+
+pidfile="/run/${SVCNAME}.pid"
+command_background="yes"
+
+depend() {
+ need dbus
+ use avahi
+}
diff --git a/net-libs/phodav/metadata.xml b/net-libs/phodav/metadata.xml
new file mode 100644
index 000000000000..a8b26c11f754
--- /dev/null
+++ b/net-libs/phodav/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnome</herd>
+ <herd>virtualization</herd>
+ <use>
+ <flag name='spice'>Install the spice-webdavd guest agent</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-libs/phodav/phodav-0.4.ebuild b/net-libs/phodav/phodav-0.4.ebuild
new file mode 100644
index 000000000000..8b5a59f7a27f
--- /dev/null
+++ b/net-libs/phodav/phodav-0.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/phodav/phodav-0.4.ebuild,v 1.1 2014/06/13 12:05:09 dev-zero Exp $
+
+EAPI=5
+
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 systemd udev
+
+DESCRIPTION="WebDav server implementation using libsoup"
+HOMEPAGE="https://wiki.gnome.org/phodav"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="avahi spice systemd"
+
+RDEPEND="dev-libs/glib
+ net-libs/libsoup:2.4
+ dev-libs/libxml2
+ avahi? ( net-dns/avahi )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40.0
+ >=dev-util/gtk-doc-am-1.10
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-static \
+ $(use_with avahi) \
+ --with-udevdir=$(get_udevdir) \
+ --with-systemdsystemunitdir=$(systemd_get_unitdir)
+
+ if ! use avahi ; then
+ sed -i -e 's|avahi-daemon.service||' data/spice-webdavd.service || die
+ fi
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use spice ; then
+ if ! use systemd ; then
+ newinitd "${FILESDIR}/spice-webdavd.initd" spice-webdavd
+ udev_dorules "${FILESDIR}/70-spice-webdavd.rules"
+ rm -r "${D}$(systemd_get_unitdir)" || die
+ fi
+ else
+ rm -r "${D}"{/usr/sbin,$(get_udevdir),$(systemd_get_unitdir)} || die
+ fi
+}