Version bump. Fixes bug 294922 and bug 267545. Thanks Robin Kauffman and Steffen...
authorKacper Kowalik <xarthisius@gentoo.org>
Fri, 18 Jun 2010 08:55:29 +0000 (08:55 +0000)
committerKacper Kowalik <xarthisius@gentoo.org>
Fri, 18 Jun 2010 08:55:29 +0000 (08:55 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

net-libs/libinfinity/ChangeLog
net-libs/libinfinity/Manifest
net-libs/libinfinity/files/infinoted.confd [new file with mode: 0644]
net-libs/libinfinity/files/infinoted.initd [new file with mode: 0644]
net-libs/libinfinity/libinfinity-0.4.1.ebuild [new file with mode: 0644]

index 63e181a096f21df4e17429903c740797871c80bb..ec02b891585f5946980ee454ddb82fdecde5a089 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for net-libs/libinfinity
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libinfinity/ChangeLog,v 1.3 2010/06/13 09:10:18 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libinfinity/ChangeLog,v 1.4 2010/06/18 08:55:28 xarthisius Exp $
+
+*libinfinity-0.4.1 (18 Jun 2010)
+
+  18 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org>
+  +libinfinity-0.4.1.ebuild, +files/infinoted.confd, +files/infinoted.initd:
+  Version bump. Fixes bug 294922 and bug 267545. Thanks Robin Kauffman and
+  Steffen Stramm for their work
 
   13 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> metadata.xml:
   Adding myself as co-maintainer
index 58495f9486772c2136708579174827e80ae73716..ab8b786bf2d2d1e6e191d1ccf5b8c04ac1c3c24d 100644 (file)
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX infinoted.confd 395 RMD160 6d65d107f1daac7053d1a1c5eacf2adf0085b42d SHA1 41db13e7d64a3834fd82c796a12726ce9e71e609 SHA256 f5a7063c677736b97754c79eddfa0bac365cc0488683076340c515c150be48e7
 AUX infinoted.confd-0.2 395 RMD160 6d65d107f1daac7053d1a1c5eacf2adf0085b42d SHA1 41db13e7d64a3834fd82c796a12726ce9e71e609 SHA256 f5a7063c677736b97754c79eddfa0bac365cc0488683076340c515c150be48e7
+AUX infinoted.initd 647 RMD160 e013fde2f1339c6a6f7a31651a6d5c72bc6ac7f1 SHA1 09eafc2cdbb2ec0fe075f1f5c3171b66574a2dbb SHA256 e80094fd36ab8d0105e1364606cd511a3c9be7a9b3ceeb3c0967446461cac65e
 AUX infinoted.initd-0.2 649 RMD160 e54fca1da9ff780dbef43ce7a4a2838a61721415 SHA1 d5e5264722fd207d5dadee1db6287035ef030536 SHA256 254e62035058099b14fdff02496345755c4e37087202de86246585c1d3268581
 DIST libinfinity-0.2.0.tar.gz 1288436 RMD160 f4494e00c342116430fb59085e483fd61ef44267 SHA1 115f5c37910d998c0c147f5d3d81272c6d6d6822 SHA256 e4abc6793b30588e6bfa84d426b97cece5213af2b93c3d8b5f9295da4fac7d98
+DIST libinfinity-0.4.1.tar.gz 1498966 RMD160 d93995e0c0ebd70c407134a5bbd099988d002e08 SHA1 48783168a5c3a8835f3b8dd5369cde9be07baba6 SHA256 268361fb555c60d99caa3a82489ae25eab3712ae04452104cb3a4ebebb91beed
 EBUILD libinfinity-0.2.0.ebuild 1602 RMD160 490bb341a398af2c11eba179326922dfa934085f SHA1 20fefd3edc3a03324ae954ccf8689026d3145bd7 SHA256 a9031194d201c400cd2f0f497cb7e8bb35c8ce081d9ab54696432e46df093e4e
-MISC ChangeLog 683 RMD160 eb49e4d87aec02830aa2dca6a1ea54ca73f39315 SHA1 9124f9994d5f7c36f8b5f36dc6855ff4bc4619de SHA256 19cb17f19c4a513fb962bf9eff57a508584a3aca0fe0b0f4b788caf0bd01aac5
+EBUILD libinfinity-0.4.1.ebuild 1769 RMD160 6f49aa6e40753b2ab884c96740075cbdf07a05d8 SHA1 23e7b3ede4c3391c4e15374dc36fe43d024770ad SHA256 7815e636f17c809e6d799901270d3f2e66d8ac20fb29b910348492fed62c778d
+MISC ChangeLog 956 RMD160 6424b9e3e80fa00b2d3035945a8f2df7f55d1a80 SHA1 ca7ad6d5b9d9457dffe3bbf0a465334338fb2ca6 SHA256 107cc5e9c3f35294a4da27fc8f9d3719a3281cffe2852e7da2cb95d3ee537cfb
 MISC metadata.xml 561 RMD160 cb58745920cb407aa12923b01e9d6a29516b25a1 SHA1 135a3ba1990ab66389873e205f02618206af202d SHA256 43314f621b991f1e130129f3612c1dd73b27777e4d6c14eeabe503f98beada29
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
-
-iJwEAQECAAYFAkwUoIUACgkQIiMqcbOVdxQotAP+KVIwG/AbT+Kd9ffKNzbdwq46
-ITPZUorAquPndzz/7c/IMKD+B2WC4pzRs1tQBvgnmrNR4LasY6YF99bWGgIgFX64
-sGAunqLdNm2WrqR74vPd8MzYs6hc/cT3K7xC9AuTTk5qyWdMyLi5WqIpQddP/t5s
-wI6miszmDCD7QX0zUaU=
-=ahZA
------END PGP SIGNATURE-----
diff --git a/net-libs/libinfinity/files/infinoted.confd b/net-libs/libinfinity/files/infinoted.confd
new file mode 100644 (file)
index 0000000..81e62a4
--- /dev/null
@@ -0,0 +1,12 @@
+# Config file for /etc/init.d/infinoted for Gentoo Linux
+
+USER="infinote"
+GROUP="infinote"
+UMASK="007"
+
+PIDFILE="/var/run/infinoted.pid"
+
+# Please read `infinoted --help` for other options.
+# This is a fast setup for local networks only (maybe not even those),
+# make sure you use appropriate security on untrusted networks.
+OPTIONS="--root-directory=/var/lib/infinote --security-policy=no-tls"
diff --git a/net-libs/libinfinity/files/infinoted.initd b/net-libs/libinfinity/files/infinoted.initd
new file mode 100644 (file)
index 0000000..cc11004
--- /dev/null
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libinfinity/files/infinoted.initd,v 1.1 2010/06/18 08:55:29 xarthisius Exp $
+
+
+depend() {
+       need net
+}
+
+start() {
+       ebegin "Starting infinoted"
+       start-stop-daemon \
+               --start --quiet --background --make-pidfile \
+               --pidfile /var/run/infinoted.pid \
+               --exec /usr/bin/infinoted \
+               --user ${USER} --group ${GROUP} --umask 007 \
+               -- ${OPTIONS}
+       eend $?
+}
+
+stop() {
+       ebegin "Stopping infinoted"
+       start-stop-daemon \
+               --stop --quiet \
+               --pidfile /var/run/infinoted.pid
+       eend $?
+}
diff --git a/net-libs/libinfinity/libinfinity-0.4.1.ebuild b/net-libs/libinfinity/libinfinity-0.4.1.ebuild
new file mode 100644 (file)
index 0000000..a9120a0
--- /dev/null
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libinfinity/libinfinity-0.4.1.ebuild,v 1.1 2010/06/18 08:55:28 xarthisius Exp $
+
+EAPI=2
+
+inherit eutils versionator
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="An implementation of the Infinote protocol written in GObject-based C."
+HOMEPAGE="http://gobby.0x539.de/"
+SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="avahi doc gtk server static-libs"
+
+RDEPEND=">=sys-libs/e2fsprogs-libs-1.41.4
+       dev-libs/glib:2
+       dev-libs/libxml2
+       net-libs/gnutls
+       >=net-misc/gsasl-0.2.21
+       avahi? ( net-dns/avahi )
+       gtk? ( >=x11-libs/gtk+-2.12:2 )"
+DEPEND="${RDEPEND}
+       >=dev-util/pkgconfig-0.23
+       doc? ( dev-util/gtk-doc )"
+
+pkg_setup() {
+       if use server ; then
+               enewgroup infinote 100
+               enewuser infinote 100 /bin/bash /var/lib/infinote infinote
+       fi
+}
+
+src_configure() {
+       econf \
+               $(use_enable doc gtk-doc) \
+               $(use_with gtk inftextgtk) \
+               $(use_with gtk infgtk) \
+               $(use_with server infinoted) \
+               $(use_enable static-libs static) \
+               $(use_with avahi) \
+               $(use_with avahi libdaemon)
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die
+       dodoc AUTHORS NEWS README TODO || die
+
+       if use server ; then
+               newinitd "${FILESDIR}/infinoted.initd" infinoted
+               newconfd "${FILESDIR}/infinoted.confd" infinoted
+
+               keepdir /var/lib/infinote
+               fowners infinote:infinote /var/lib/infinote
+               fperms 770 /var/lib/infinote
+
+               dosym /usr/bin/infinoted-${MY_PV} /usr/bin/infinoted
+
+               elog "Add local users who should have local access to the documents"
+               elog "created by infinoted to the infinote group."
+               elog "The documents are saved in /var/lib/infinote per default."
+       fi
+}